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

This method plugs in a custom IXMLNodeFactoryinterface. The IXMLNodeSourceinterface (or the parser) delegates to this IXMLNodeFactoryfor each element it finds in the XML source. Use IXMLNodeSource::GetFactoryto retrieve the custom IXMLNodeFactorylater.

Syntax

HRESULT SetFactory( 
  IXMLNodeFactory * 
pNodeFactory
);

Parameters

pNodeFactory

[in] Pointer to the IXMLNodeFactoryinterface to be plugged in

Return Value

This function returns S_OK if the function is successful. Otherwise, an error code is returned (E_FAIL).

Requirements

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

See Also