|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:copy and disable-output-escaping
Hi,
I'm using Saxon-B 9.0.0.6. I've following XSL-Example: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:template match="/"> <xsl:variable name="test"><xsl:text disable-output-escaping="yes"><![CDATA[<b>5</b>]]></xsl:text></xsl:variable> <xsl:copy-of select="$test"></xsl:copy-of> </xsl:template> </xsl:stylesheet> The output of $test in any browser is <b>5</b> but I want that the number 5 is bold. If I only use <xsl:text disable-output-escaping="yes"><![CDATA[<b>5</b>]]></xsl:text> it works. It also works using Xalan 2.70 processor. Can somebody help me? That's only a example which shall explain my problem. I know that I could write <b>5</b> without <xsl:text> and without CDATA. Thx Walter ps: sorry for my bad english
|
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
|

Cart








