[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Output CDATA tags
Inside my XSL I have a templates that just puts an HTML fragment into XML CDATA comments. <xsl:template match="td" mode="markup"> <xsl:text><![CDATA[</xsl:text> <xsl:copy-of select="child::node()"/> <xsl:text>]]></xsl:text> </xsl:template> What I want is that a <td> <span>foo...<br/></span </td> is transformed into a <td> <![CDATA[ <span>foo...<br/></span ]]> </td> But all I get is: <td> </xsl:text><xsl:copy-of select="child::node()"/> <xsl:text> </td> What am I doing wrong? Robert
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|