if (xmlReader == null) { xmlReader = XMLReaderFactory.createXMLReader(); }
    public Node toDOMNodeFromSAX(SAXSource source) throws ParserConfigurationException, IOException, SAXException {        SAX2DOM converter = new SAX2DOM(createDocument());        XMLReader xmlReader = source.getXMLReader();        xmlReader.setContentHandler(converter);        xmlReader.parse(source.getInputSource());        return converter.getDOM();    }