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.
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
5
posted
0
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.