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?


Reply via email to