http://jexp.ru/index.php/Java_Tutorial/XML/CDATA
Converting CDATA Nodes into Text Nodes While Parsing an XML File
Converting CDATA Nodes into Text Nodes While Parsing an XML File
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setCoalescing(true);
Document doc = factory.newDocumentBuilder().parse(new File("infilename.xml"));
No comments:
Post a Comment