Subject: RE: Including CDATA tags in XSLT...
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 3 Nov 2000 14:39:02 -0400 (EST)
|
> How can I write out the CDATA tag when I tranform one
> XML document to another XML document using XSLT ?
>
this is a rare case where XSLT does allow you some control over the lexical
representation of the output file: use the cdata-section-elements attribute
of <xsl:output>
> <NAME><![CDATA[Mrs%20Jane%20Fleming]]></NAME>
%20 does not represent a space in a CDATA section, only in an escaped URI.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|