hi, Could anyone tell me how can i read XML DOM object and find out the element it contains . document.getElementsByTagName is there but i have to give the tag name . I there any other method we can fin out the elemts and their values without knowing the tag names.
Joined: Jan 23, 2002
getChildNodes() gives you a list of all child nodes of the current node. If you're starting out from the root element, that's all you need to traverse the whole document.