This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: CDATA in XSLT output




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




-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Jason Macki
Sent: Wednesday, October 17, 2001 3:32 PM
To: xsl-list@lists.mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]