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