xsl-list
[Top] [All Lists]

Re: XDQL query

2005-03-17 15:32:50

 
  
   >all our stylesheets build <meta> tags as follows:
   >
   >    <xsl:text disable-output-escaping="yes">
   >            &lt;meta name="keywords" content="</xsl:text>
   >    <xsl:value-of select="search_keywords"/>
   >    <xsl:text disable-output-escaping="yes">"&gt;</xsl:text>
   >


  you may want to promote your "meta" tag to a fullblown element, and write it 
  out as:

  <xsl:element name="meta">
  ...contents here
  </xsl:element>

Or more simply (and equivalently) just

<meta name="keywords" content="{search_keywords}"/>

Either way you definitely don't want to use disable-output-escaping.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>