W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2002

Re: Help me please

From: Elena Litani <elitani@ca.ibm.com>
Date: Wed, 09 Oct 2002 10:20:54 -0400
Message-ID: <3DA43B46.4FBAB4C4@ca.ibm.com>
To: senthil kumar <senthil6680@yahoo.com>, www-dom@w3.org

senthil kumar wrote:
> i have to monitor the events happening in an XML file such as
> insert,update etc.i am using JAXP for my implementation. so i need a
> sample code or any other ideas about the usage of MutationEvent
> interface in JAXP.

JAXP allows you to load/save/transform a document, but it does not
define mutation events.
Mutation events is a part of DOM Level 2 Events specification [1]. 
Xerces2-J [2] implements mutation events, there are some test files in
CVS that might be helpful to you [3].
 

[1] http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/
[2] http://xml.apache.org/xerces2-j/index.html
[3] http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/tests/dom/events/

Good luck,
-- 
Elena Litani / IBM Toronto
Received on Wednesday, 9 October 2002 10:23:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT