I worked on this in late July/early August. The code I wrote is still sitting around my personal CVS repository, so I can send you a copy of the code if you'd like. I specifically didn't need to support mutation events, so you'd need to write code to dispatch those events.

Here's a post and set of attached code proposed by Markus Bernhardt last year, which may be of interest to you:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg00434.html

You may just want to extend the native DOM implmentation provided by DOM4J to support DOM2 events, which might be easier but I haven't looked at the source of those classes so there may be hitches someplace.

best,
christian.

Richard Dynes wrote:

Thanks Christian,

How long ago did you do this?

Richard

Christian Niles([EMAIL PROTECTED])@Sun, Oct 19, 2003 at 11:35:36AM -0400:


Hi Richard,
From my own research and posts, there doesn't seem to be a DOM4J event API. I ended up writing a quick, application-specific event system for my own needs, but it's no longer in use and isn't likely to be useful for your application. However, I'd love to see a generic event system for DOM4J, so I hope you can find the time to fill this need.


best,
christian.

Richard Dynes wrote:



Hi,

We (SilkSpeed) are working on an XML Editor supporting W3C
XML Schema document editing (vis. MS InfoPath, Altova XmlSpy) that
will provide W3C XML Schema Part 2 (Datatypes) validation
(http://www.w3.org/TR/xmlschema-2/).  We are also interested
in support for an Event Model similar to the DOM Level 2
part 1.6.4, mutation events (http://www.w3.org/TR/DOM-Level-2-Events).



<snip>...






-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com
_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to