indent XML and keep cdata sections?
XML / XSL
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all! Using MSXML 6. 1. So I have a DOM. I add CDATA section. I save. I get xml with in it but no indentation. - we know DOM doesn't "pretty print". Ok. 2. Now I add ISAXXMLReader/IMXWriter pair to handle formatting of my output xml from DOM and get indentation but CDATA section declaration is lost. I mean in the out put I get: my data here So how do I keep CDATA section declaration? Who losses it? The writer? The reader that reads DOM? :confused: Thanks a lot in advance!