how to read only part of xml file using javax.xml.parsers.DocumentBuilder?




<?xml version="1.0" encoding="UTF-8"?>


this is my test.xml file. i want to read only those attributes which are of class node and all of those coming under class node. like in this case attribute name="billNo". and not the root element and its attribute. how should i skip reading root element/?


No comments:

Post a Comment