Hi, I have an application written in C++ and using TinyXML2.
I have a case that I want to print the XML of only a specific part of the file, for example:
< a >
..< b >
....< c >
......< 1/ >
......< 2/ >
....< /c >
..< /b >
< /a >
I have a method that is called passing a XMLEment that represents < c >...< /c >. I'd like from this method to print the XML from this XMLElement, like this:
< c >
..< 1/ >
..< 2/ >
< /c >
I tried to cast the XMLElement to a XMLDocument to use doc.Print() but didn't work.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.