logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

xsl generation of cdata sections: msg#00009

Subject: xsl generation of cdata sections
I thinking that i'm confused, but i'm having trouble generating a CDATA section from an xsl transform

<xsl:template match="/">
   <xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text>
<xsl:text disable-output-escaping="yes'><xsl:value-of select="($myvar)"/></xsl:text>
   </xsl:text disable-output-escaping="yes">]]></xsl:text>
</xsl:template>

etc

this majorly screws up, showing "disable-output-escaping" in the output.

or do i not have to specify the <![CDATA[]]> characters, and they will be generated if need be?





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