Hey,

I have a template xml file that i am passing a pointer to into a function. In that function i need to read and write into the template and pass it as the output file. What is the best way to go about reading and writing in the template?

Any help is really appreciated. (p.s. i'm an xml and c++ n00b)

Recommended Answers

All 3 Replies

Member Avatar for jencas

.... and Microsoft MSXML, TinyXML, Xerces and many others

Looking at the previous code, they seemed to have used SAX from the Xerces library to parse their xml. I've looked at DOM and SAX and I'm leaning more towards DOM to edit xml files. Is there a way I can do it with SAX? is it better to use SAX or DOM?

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.