List of utility methods to do XML InputStream Parse
List | parseXml(InputStream is, String elementsTagName) parse Xml List<String> list = new ArrayList<String>(); DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); try { DocumentBuilder db = dbf.newDocumentBuilder(); Document doc = db.parse(is); NodeList nodeList = doc.getElementsByTagName(elementsTagName); int len = nodeList.getLength(); for (int i = 0; i < len; i++) { ... |