0

Is there a way to get a parent node from a TiXmlElement? For example...

TiXmlElement *parent = child->ParentElement( "someName" );

If you can't do this in tinyxml, are there any other xml parsers that allow this?

random
  • 183
  • 13

1 Answers1

1

TinyXML's TiXmlElement is derived from TiXMLNode which contains a method called Parent().

random
  • 183
  • 13