[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: CDATA in XSLT output
> 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> <xsl:output cdata-section-elements="node"/> But note, this only gives you limited control. The bottom line is, you shouldn't care whether the output is in CDATA, because <node><![CDATA[This is my value & I like it]]></node> is equivalent, in the data model, to <node>This is my value & I like it</node> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|