public parse(input as InputSource, handler as DefaultHandler) as Void throws IOException, SAXException:
Parses an input source with a DefaultHandler.
The handler is installed as entity resolver, DTD handler, content handler and error handler. If it also implements SAX extension handler interfaces, the matching SAX properties are configured before parsing.
| Parameter | Description |
|---|---|
input | XML input source. |
handler | Handler receiving SAX callbacks. |
parser.parse(InputSource("file:/tmp/doc.xml"), DefaultHandler())