I am trying to parse an XML file and thanks to others
comments I think I am closing in on a solution.
Is there some way to identify the last sibling in an XML
file?Parsing an XML file
just read the last element of the childNodes of the node
you're targeting. i.e.
my_xml.childNodes[my_xml.childNodes.length].nodeName
will return the node name of the last child of my_xml.
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment