- systemId
- The system identifier (URI).
Type Reason Org.Xml.Sax.SAXException Any SAX exception, possibly wrapping another exception. Java.IO.IOException An IO exception from the parser, possibly from a byte stream or character stream supplied by the application.
Parse an XML document from a system identifier (URI).
java Example
parse(new InputSource(systemId));
This method is a shortcut for the common case of reading a document from a system identifier. It is the exact equivalent of the following:
If the system identifier is a URL, it must be fully resolved by the application before it is passed to the parser.