I have this XML file.I just parse this XML file.This example shows how to get the node by “name”, and display the value.How to show all records from database?
You can try this code in the loop.
Node nNode = nList.item(temp); NodeList list = nNode.getChildNodes(); list.item(0).getTextContent();