Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

ParseXmlFilter

 

struct ParseXmlFilter

This abstract class serves as filter for ParseXML function, allowing it to ignore certain parts of source XML.

 

Public Method List

 

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.

 

 

IgnoreXmlPaths

 

class IgnoreXmlPaths : public ParseXmlFilter

This filter can be used to ignore some tags, defined by path, from xml.

 

Constructor detail

 

IgnoreXmlPaths(const char *s)

s is semicolon separated list of paths. Components of path, tag ids, are separated by '/', also path starts with '/'.

 

Last edit by cxl on 12/02/2017. Do you want to contribute?. T++