Share via


IXMLNodeFactory

4/8/2010

Implement the IXMLNodeFactory interface 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 IXMLNodeFactory interface 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

Reference

HTML Control API Interfaces