Subject:Cannot get CDATA to render properly when using copy or copy-of Author:Marc Feickert Date:29 Aug 2008 05:08 PM
I have some xml that gets output to me and contains stray HTM tags or does not escape < or & in the text areas. this causes me to have ill formed XML, and I cannot do transforms on it without a painstaking process of finding each error (the file is over 200MB). So I wrote a Perl script to put all the HTML in my document in CDATA.
Problem I have is that when I now try to transform it by using a for-each loop and copy-of to get each individual document I want, my CDATA area in the result XML have all the <>& escaped as htm entities, like so:
<div><span style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana">This will
enable you to run PAF 5 on a computer that does not have PAF 5
installed. To run the program:</span></div>
. How can I get it to output the actual characters? disable-output-escaping only works in a value-of statement.