klyn.io.xml.sax.SAXParser.parse
method

    public parse(systemId as String, handler as DefaultHandler) as Void throws IOException, SAXException:

Description

Parses a system identifier with a `DefaultHandler`.

Parameters

Parameter | Description
--- | ---
`systemId` | System identifier or local file path.
`handler` | Handler receiving SAX callbacks.

Throws

- IOException if input cannot be read.
- SAXException if parsing fails.

Example

    parser.parse("file:/tmp/doc.xml", DefaultHandler())