RE: [xsl] XML -> XML preserving CDATA

Subject: RE: [xsl] XML -> XML preserving CDATA
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Wed, 12 Sep 2001 11:34:05 +0200
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Roman Heinz
> Sent: Wednesday, September 12, 2001 11:12 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] XML -> XML preserving CDATA
>
>
> Hi *.
>
> I have to do a XML->XML transformation.
> My source XML can contain different (unknown) elements with CDATA
> sections,
> which should be copied preserving the CDATA sections untouched.
>
> <foo><![CDATA[ Chic&Apart ]]></foo>
> <bar><![CDATA[ 99 < 100 ]]></bar>
>
> Should pass the transformation untouched and shoud not result in
>
> <foo>Chic&Apart</foo>
> <bar>99 < 100</bar>

If you get this result, either your XSLT engine or your stylesheet
(disable-output-escaping???) is broken.


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


Current Thread