struct ParseXmlFilter
This abstract class serves as filter for ParseXML function, allowing it to ignore certain parts of source XML.
virtual bool DoTag(const String& tag) = 0
ParseXML calls this method when it is about to start parsing tag. If method returns true, tag is parsed and included in in resulting XmlNode, otherwise it is skipped.
virtual void EndTag()
ParseXML calls this method when it encounters end of tag.
class IgnoreXmlPaths : public ParseXmlFilter
This filter can be used to ignore some tags, defined by path, from xml.
IgnoreXmlPaths(const char *s)
s is semicolon separated list of paths. Components of path, tag ids, are separated by '/', also path starts with '/'.
|