Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

Implement the IXMLNodeFactoryinterface and plug it into the NodeSource (or IXMLParser). For the IXMLParser, calls to the NodeFactory are made as it parses the XML document.

The following table shows the methods of the IXMLNodeFactory interface, with a description of the purpose of each.

Method Description

IXMLNodeFactory::BeginChildren

Called when a node can contain children

IXMLNodeFactory::CreateNode

Called during parsing for every element (the main method for this interface)

IXMLNodeFactory::EndChildren

Called when all the subelements of the given element are complete

IXMLNodeFactory::Error

Called when the parser encounters an error in the XML document

IXMLNodeFactory::NotifyEvent

Tells the IXMLNodeFactoryinterface where it is in the XML document

Requirements

Header xmlparser.h
Library xmlparser.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also