Posting after going through many related posts on StackOverflow Am using Document Builder for XML Parsing. Here is the code: FileInputStream in = new FileInputStream(file); Document doc; doc = dBuilder.parse(in, "UTF-8");// doc.getDocumentElement().normalize(); NodeList nList = doc.getElementsByTagName("TEXT"); String VALUE =""; for (int temp = 0; temp < nList.getLength(); temp++) { Node nNode = nList.item(temp); if (nNode.getNodeType() […]
The post Issues with Document Builder for XML parsing appeared first on BlogoSfera.