try {
XMLReader parser = XMLReaderFactory.createXMLReader();
String text = parser.getProperty( "http://xml.org/sax/properties/xml-string");
parser.parse( "test.xml");
} catch ( SAXException e) {
e.printStackTrace();
}
Returns the current string that is being processed by the XML Reader
http://xml.org/sax/properties/xml-string
Returns the current visited DOMNode if SAX is used as a DOM Iterator.
http://xml.org/sax/properties/dom-node
Description of the XML version.
http://xml.org/sax/properties/document-xml-version