FDO .NET API Reference Feature Data Objects
System::Boolean OSGeo::FDO::Common::Xml::XmlReader::Parse ( OSGeo::FDO::Common::Xml::IXmlSaxHandler saxHandler,
OSGeo::FDO::Common::Xml::XmlSaxContext *  saxContext,
System::Boolean  incremental 
)

Parses the XML document.

Parameters:
saxHandler Input SAX Handler to receive the SaxHandler 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 XmlReader::Parse() causes the XML document to be read from the current position until the XmlSaxHandler::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 XmlReader::Parse(). The XmlSaxHandler::EndElement() return value is ignored. If a previous call was made to XmlReader::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.