The Xerces DOM implementation supports DOM Level 2 events [1][2], specifically Mutation Events [3] which notify an application of modifications/additions/removals made to the DOM. I believe that's what you're looking for.
[1] http://www.w3.org/TR/DOM-Level-2-Events/ [2] http://xml.apache.org/xerces2-j/javadocs/api/org/w3c/dom/events/package-summary.html [3] http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mutationevents <[EMAIL PROTECTED]> wrote on 09/28/2005 05:08:57 AM: > I'm using xerces dom3 (version 2.6.2) to validate a dom document.The > document is displayed in a Jtree. The Jtree should always display > the latest content of the document. Problem is that the document. > normalizeDocument actually changes the content of the document (for > instance it inserts required attributes with fixed values). I don't > want to reload the whole Jtree. I am using an errorHandler for > notification of validation errors and will get an error when the > parser detects a default required attributes that is not present, > but how do I match this error with the attribute that is inserted? > In general : how can I get a notification of Node changes, inserts > (or removes) during the validation. > DD Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
