org.xml.sax.ext.EntityResolver2.getExternalSubset
method

    public getExternalSubset(name as String, baseURI as String) as InputSource throws SAXException, IOException

Description

Provides an external subset when the document omits one.

Parameters

Parameter | Description
--- | ---
`name` | Document element name, or `null`.
`baseURI` | Base URI used to resolve relative identifiers.

Returns

Input source for the external subset, or `null`.

Throws

- SAXException if entity resolution fails.
- IOException if an I/O resource cannot be opened.

Example

    subset = resolver.getExternalSubset("book", baseURI)