A
asd
Hi all,
The code below gets me a list of all the nodes within the node object
called xml_tags_root.
NodeList nl = xml_tags_root.getChildNodes();
The length of nodelist I get is double the number of actual elements!
This is because after every element node there is text node which is (I
think) the whitespace in the XML document.
Is there a way to get only the element nodes?
Please advice.
thanks,
ASD
The code below gets me a list of all the nodes within the node object
called xml_tags_root.
NodeList nl = xml_tags_root.getChildNodes();
The length of nodelist I get is double the number of actual elements!
This is because after every element node there is text node which is (I
think) the whitespace in the XML document.
Is there a way to get only the element nodes?
Please advice.
thanks,
ASD