Providing a DOMDocument Object as a Parse() Parameter

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - SAX2 Developer's Guide

Passing a DOMDocument Object as a Parse() Parameter

To parse a DOMDocument object with SAX, all you have to do is create a DOMDocument object, for example:

    Dim xmlDoc As New DOMDocument50

Instead of a file or URL, specify the DOMDocument object as a parameter of the SAXXMLReader.parse() method, for example:

    rdr.parse xmlDoc

See Also

ISAXXMLReader Interface | parse Method | DOMDocument