IXMLNodeSource::SetFactory
This method plugs in a custom IXMLNodeFactory interface. The IXMLNodeSource interface (or the parser) delegates to this IXMLNodeFactory for each element it finds in the XML source. Use IXMLNodeSource::GetFactory to retrieve the custom IXMLNodeFactory later.
Syntax
HRESULT SetFactory(
IXMLNodeFactory * pNodeFactory
);
Parameters
- pNodeFactory
[in] Pointer to the IXMLNodeFactory interface to be plugged in.
Return Values
This function returns S_OK if the function is successful, otherwise an error code is returned (E_FAIL).
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: xmlparser.h
Library: xmlparser.lib
See Also
IXMLNodeSource | IXMLNodeFactory | IXMLNodeSource::GetFactory
Send Feedback on this topic to the authors