RE: [xsl] CDATA in XSLT output

Subject: RE: [xsl] CDATA in XSLT output
From: "Corey Spitzer" <cspitzer@xxxxxxxxx>
Date: Wed, 17 Oct 2001 15:49:44 -0500

	<node>&lt;[!CDATA[ <xsl:value-of select="value" /> ]]&gt;</node>




-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Jason Macki
Sent: Wednesday, October 17, 2001 3:32 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] CDATA in XSLT output


Hello,

How can I write XSLT that outputs CDATA nodes?

For example, how would I modify XSLT code that looks like this:

<root>
	<node><xsl:value-of select="value" /></node>		
</root>

to produce an output like this:

<root>
	<node><![CDATA[ This is my value ]]></node>
</root>

Thanks,
Jason

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread