Steve Roberts
Usenet Archive
- Joined
- Jul 22, 2003
- Messages
- 2
- Reaction score
- 0
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
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