<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=342323216-21022001>I
think I was thinking the idea was something different where new xml files were
presented and had to be compared. What you want is a listener. There
was a lot of discussion about adding listeners to JDOM early on and I was a
proponent at the time. However, the idea was scrapped in favor of a
simpler api. I agree with this now and seeing how time consuming it has
been to get to where we are now, I think its the correct approach for
JDOM. On the other hand, many improvements where made to make it easy to
subclass JDOM and add listeners to your hearts content ;^)</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=342323216-21022001></SPAN></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Christian Holmqvist
[mailto:acroo@iname.com]<BR><B>Sent:</B> Wednesday, February 21, 2001 10:15
AM<BR><B>To:</B> jdom-interest@jdom.org<BR><B>Subject:</B> RE: [jdom-interest]
Tracking changes<BR><BR></DIV></FONT>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=906595915-21022001>Hi</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=906595915-21022001>I
don't know what Josep is trying to do, but I'm in a simular
situation.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=906595915-21022001>A
client - server - admin tool that has to be able to change it's behaivor in
runtime, i.e. when changes is done to the by the admin it should be done to
the server (XML file with settings) then an event to those client that is
interested in the change could listen to the the "XMLChangedEvent" based on
what element that is changed. That would ofcourse be
preferbly...</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=906595915-21022001></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=906595915-21022001>Acctully runtime behaivour / changes / parsing and so
on to the Document has to be thought about, then the XML file can be used for
more then just data storage / transportation. (Just imagin that we just have
to implement a DTD / Schema for all data validation instead of endless lines
of code doing nothing then checking so the data is valid *woow*
*smile*)</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=906595915-21022001>/Christian</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>