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: Including CDATA tags in XSLT...


> 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

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