XmlDocument_newFromSAX
Creates a new XML document instance from a SAX Parser and a SAX InputSource.
#include "InterfaceFactory.h" DIRXML_EXPORT XmlDocument * IFAPI XmlDocument_newFromSAX ( NAMESPACE(SAX)Parser *parser, NAMESPACE(SAX)InputSource *inputSource);
Returns a pointer to an XML document interface.
In NativeInterface.h, the getDocumentSAX method returns a SAX parser and the getDocumentInputSource method returns an input source.
The returned instance must be destroyed by calling the XmlDocument_destroy method.
The XML document instance does not take ownership of the passed SAX parser instance or the passed SAX input source instance and so they must be freed after the XML document instance is destroyed.