I need something like this:
<xmlData><elementA> (*) </elementA></xmlData>
(*) <xmlData2><elementB>HelloWorld</elementB></xmlData2>
How can I insert the (*) xml string to the placeholder in xmlData (well formed XML)?
(parsed with tinyXML in C++)
Thank you very much!
Well, you could just use TinyXML to create your XML-DOM 🙂
If you just want to use plain old printing, replace the following characters:
I also like to replace “>” with “>” for consistency.