Re: [xsl] XDQL query

Subject: Re: [xsl] XDQL query
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 17 Mar 2005 22:32:50 GMT
   >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
________________________________________________________________________

Current Thread