public Node parse(InputSource input) throws IOException, SAXException {
        getXMLReader().parse(input);
        return parent;
    }
public Node parse ( InputSource input ) throws IOException , SAXException { getXMLReader ( ) . parse ( input ) ; return parent ; }
Parse the content of the specified input source into a tree of Nodes.

@param input the InputSource for the XML to parse
@return the root node of the parsed tree of Nodes
@throws SAXException Any SAX exception, possibly
wrapping another exception.
@throws IOException  An IO exception from the parser,
possibly from a byte stream or character stream
supplied by the application.