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
ISAXXMLReader Interface | parse Method | DOMDocument