LOL. I may have figured out a way of representing DOM in tcl that fits non-OO semantics. I've already used the technique without realizing its potential for XML. Might be a little slower by the operation, but heck of a lot easier (for me) to visualize and use. Will explain with some examples after some sleep etc.
Basically: xml_obj_larr([list $node1 $node2 $node3 .. $nodeN]) [list $element1 $element2 ..]
In code I write '_larr' is array suffix short for list array ie. an array where each value is a list. In XDCPM, I put paths ie nodes in the hash to shortcut some network analysis..
goodnight,
Ben