Subject:CDATA preservation Author:Tony Lavinio Date:17 May 2010 02:09 PM
Few systems that process XML do, or even could.
CDATA is just an alternate syntax for text - anything that can go in a CDATA region can be expressed, although with escape characters, without being wrapped.
When XML parsers read in plain text or CDATA sections, they convert them all internally to plain text - there is no difference in the XML data model.
As long as the writer of the original stream, and the consumer of the output both parse XML according to the rules (and to be a conforming parser, a program *must* obey the rules), there should be no problem in using the output.
Subject:CDATA preservation Author:Michael Nevins Date:17 May 2010 02:55 PM
I am a bit confused here. My XML instance document contains the CDATA properly. I need to maintain the existing CDATA format through the XQuery process. The link you sent does not seem to address my situation.
Thanks,
Michael A. Nevins
Northrop Grumman
Electronic Systems