Hi,
I am new to the XML. Learning from all tutorial site.
I want to count the number of sub-children with in a child. Also when i used the xmlDoc.documentElement.childNodes[1].childNodes.length, i got 9 instead of 4. How to count the sub-children length (of element book)?
Below is the xml...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.