Walking Through XML in JavaScript Visiting All ChildNodes
-
Hi, Using JavaScript, I want to visit all ChildNodes recursively and the tagName,getAttribute of each (if present). Some may have a more depth of childNodes, some may not have. Can somebody help me with a small codesnippet for the same. I need this in JavaScript using Microsoft.XMLDOM Thanks and Regards, Deepak Deepak Kumar Vasudevan http://deepak.portland.co.uk/
-
Hi, Using JavaScript, I want to visit all ChildNodes recursively and the tagName,getAttribute of each (if present). Some may have a more depth of childNodes, some may not have. Can somebody help me with a small codesnippet for the same. I need this in JavaScript using Microsoft.XMLDOM Thanks and Regards, Deepak Deepak Kumar Vasudevan http://deepak.portland.co.uk/
What do u need? Do u need help with recursion? Do u need the API to the MSXML DOM? The latter can be found at msdn.microsoft.com/xml along with many samples.
"No matter where you go, there your are..." - Buckaoo Banzi
-pete