tcl tDOM tree traversal
Hi all, I'm pretty new to tcl and tDOM both and I sure hope this is the right forum.
Basically I'm parsing an XML file in tDOM and extracting the data I need. However, in the XML files I'm parsing the depth of the items I'm looking for varies, I know the names of the elements I'm looking for, and it will be the same element name throughout, but the depth will vary.
Parent node item can have an infinite amount of children nodes item, and I need the data out of each one.
I was thinking of some kind of recursive depth first search but I don't even know if this can be accomplished with tDOM.
Any help is appreciated.