Getting The Child Tag Based On Parent Tag From Xml
guys i have the following xml I need to parse the xml like this First i need to goto that
Solution 1:
Please try this
NodeList image = doc.getElementsByTagName("Point");
Node singleTerminalNode = image.item(i);
Element firstLevel = (Element)singleTerminalNode;
NodeList value1Nodes = (firstLevel).getElementsByTagName("Image");
imagess = ((Element)value1Nodes.item(imageindex)).getAttribute("name");
Post a Comment for "Getting The Child Tag Based On Parent Tag From Xml"