FDO API Reference Feature Data Objects

virtual FDO_API_COMMON FdoBoolean FdoXmlReader::Parse FdoXmlSaxHandler saxHandler = NULL,
FdoXmlSaxContext saxContext = NULL,
FdoBoolean  incremental = false
[pure virtual]
 

Parses the XML document.

Parameters:
saxHandler Input SAX Handler to receive the FdoMathUtility events. This object is pushed onto the SAX Handler stack when parse() starts and popped when parse() is finished. If NULL then no handler is pushed, meaning that the current top SAX Handler receives the events. If saxHander is NULL and there is on current top SAX Handler then this function does a parse and reports syntax errors, but does no semantic processing.
saxContext Input Caller-specific contextual information that is pass to all SAX callbacks.
incremental Input true: an incremental (progressive) parse is performed. The first call to FdoXmlReader::Parse() causes the XML document to be read from the current position until the FdoXmlSaxHandler::EndElement() callback returns false or the end of the document is reached. On subsequent calls to Parse() the read continues where the previous call left off. false: the whole document is parsed in a single call to FdoXmlReader::Parse(). The FdoXmlSaxHandler::EndElement() return value is ignored. If a previous call was made to FdoXmlReader::Parse(), with incremental = true, then the rest of the document is parsed ( the EndElement() return value is ignored ).
Returns:
Returns true if the end of the document has not yet been reached

Comments or suggestions? Send us feedback.