Subject: [xsl] XML -> XML preserving CDATA From: "Roman Heinz" <rheinz@xxxxxxxxx> Date: Wed, 12 Sep 2001 11:12:04 +0200 |
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> which would be obviously invalid input for further processing. I can't use <xsl:output cdata-section-elements="foo, bar"/> because I don't know which elements will have a CDATA section during development. How can this be done? regards, Roman XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] invalid character was fou, G. Ken Holman | Thread | RE: [xsl] XML -> XML preserving CDA, Julian Reschke |
Re: [xsl] invalid character was fou, G. Ken Holman | Date | RE: [xsl] XML -> XML preserving CDA, Julian Reschke |
Month |