Matt Flaherty wrote: > I think I need to clarify the problem a bit. > The comparison will be done with two trees "as is" and without > interaction with a user.
OK. > I just want to recursively compare the > "updated" tree to the base one and make a decision about whether and > what type of change has occurred at each node. What I'd like to know is > how can I compare the two trees efficiently through the Traversal > interface The Traversal utility cannot help you to do that. There is currently nothing in the XXE API which could help you to do that. > and how can I exploit the DocumentListener (or UndoManager) > interface to see what changes I've applied to the base tree to bring it > up to date? I'm sorry but it is very difficult to answer the above questions. > I could also dress up the nodes of the base tree with > deltaxml markup and use Xpath to get at the results. There are numerous > ways I could go about this, but I want to reuse as much purpose built > functionality as I can.

