Le 8 nov. 04, à 16:08, Robert McIntosh a écrit :
Careful, XUpdate is really incomplete. For example, it has nothing for simple text-inserting or simple move of nodes.
Not quite clear about what you mean about text inserting. If you mean the
value of a node, it can do that.
Something which would be the equivalent of "inserting a string in the middle of a text-node".
How would you "listen to changes", that's the thing I don't know!From the setText/setAttributes/add node, etc. (and any others) I would fire property change events, just like good old javabeans.
In principle, that would be no problem. Now, there's a bit more places for this. For example the changes in the iterator of the children...
DOM Events is a W3C standard!It has been quite a while since I've worked with DOM, mainly because it
was such a pain. The MutationEvent might work. However I would just assume
not work with DOM if I didn't have too. Dom4j is much simpler :-)
My fear is that it's much work but dom4j would like it, for sure.
paul
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev