Hello,

I've parsed, read and edited an xml file.
But when I write the output file I get a mashed up xml output.
I would like to know if there is anyway to pretty print and output .xml file, like the DOMPrint example does on the cmd prmpt.

Thanks

Recommended Answers

All 4 Replies

is there some kind of beautifier that I can plug into VS++ to retrieve and re-format my file?

Not that I know of -- but then I don't know everything either :) Read through those google links to see if you can find one.

I read through a lot of links and couldn't really find a solution to this problem, but I did find a different way to input and output an xml file that gives the correct formatting. The only problem now, is trying to figure out how to use System.xml with C++ to do the same thing i did with Dom.

Thanks for your help here though :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.