To display each element name in a tree node with the same structure as the XML document you walk the document using the DOM interface and create each tree node with the text containing the DOM Element name value.
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.