S
Steve Roberts
I want to write a graphical view of an XML tree, using a DOM interface, that
allows the XML tree to be edited, with nodes being added or removed.
For this I was going to create a basic tree structure, mirroring the
structure held in the DOM. Every node of the new tree would reference a
matching DOM node. However, I'm not familiar enough with the DOM to know if
it's possible to uniquely identify every DOM node, in such a manner that the
reference to the DOM node will remain intact even after new nodes have been
added into the DOM.
Does anyone know if this is possible ?
Does DOM label its nodes with a unique ID value ?
For reference, I'm itending to use the Xerces C++ DOM parser.
Any help much appreciated.
Thanks,
Steve
allows the XML tree to be edited, with nodes being added or removed.
For this I was going to create a basic tree structure, mirroring the
structure held in the DOM. Every node of the new tree would reference a
matching DOM node. However, I'm not familiar enough with the DOM to know if
it's possible to uniquely identify every DOM node, in such a manner that the
reference to the DOM node will remain intact even after new nodes have been
added into the DOM.
Does anyone know if this is possible ?
Does DOM label its nodes with a unique ID value ?
For reference, I'm itending to use the Xerces C++ DOM parser.
Any help much appreciated.
Thanks,
Steve