I want to do the exact same thing as the guy in this question.
I want to convert an XML child element (and all of its children) to an XML string, so if the XML structure were
<parent> <child> <value>abc</value> </child> <parent>
I want the xml for the child element, e.g.
<child> <value>abc</value> </child>
I don't care about whitespace. The problem is that the accepted answer from the other question appears to be out of date, because there is no "Print" method for XMLElement objects. Can I do this with TinyXml2?
No comments:
Post a Comment