Re: Help me please

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 UTC