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

    public parse(input as InputSource, handler as ContentHandler) as Void throws IOException, SAXException:

Description

Parses an input source with a content handler.

Parameters

Parameter | Description
--- | ---
`input` | XML input source.
`handler` | Content handler receiving document events.

Throws

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

Example

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