gee,
that doesn't sound small !
Do you have an implementation of XUpdate mutations ?
I'd be looking for one on dom4j or jdom !
XUpdate has been implemented within such things as dbxml2, xindice, exists but I know no good standalone implement. (the xupdate web-pages mention two which are much incomplete, I think XUpdate itself is somewhat drifting).
As for an XML-in-memory-tree firing events, it looks like there's DOM events fired by Xerces DOM at least. Scott Howlett has been using this for XWing to implement GUI components with XML models... maybe this goes in your direction ?
paul
Le 5 nov. 04, à 16:19, Robert McIntosh a écrit :
I will soon be starting on an application that will use XML natively as the
domain data instead of java beans, and one requirement that I would like to
have is to send XUpdate statements to the server for data manipulation. To
achieve this I've been looking through the source code quite a bit and I'm
pretty sure about how to extend Dom4J to enable property change style
events, which a listener would use to build the XUpdate statement to send
to the server.
Unless someone already has this implemented in some way, I will probably
start on this fairly soon and wanted to two things. First would you be
interested in my contributing this back to dom4j for possible inclusion,
and two, any thoughts or hints as to what this should look like. My initial
thought was to create an implementation that wrapped the default
implementation but at the Element (or Node?) level intercept changes and
fire off the events. Then create a base listener that took the whole
document as an argument and based on the events could return back another
Document instance (which of course could be serialized) that represented
the XUpdates.
Thoughts?
- Robert
------------------------------------------------------- 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_id=5588&alloc_id=12065&op=click _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev
------------------------------------------------------- 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