At 3:51 pm +0100 26/11/01, Giacomo Pati wrote: >Quoting Berin Loritsch <[EMAIL PROTECTED]>: > >> Ugo Cei wrote: >> >> > Giacomo Pati wrote: >> >
>> > - write a Source (this I hadn't even figured until I read Giacomo's >> > mail) > >This is nothing I thought of doing. This is something I have been discussing with Sylvain and others. I have been trying to write an RT about it ....... For instance (yeah, sorry I am crap at these diagrams!). This could be an XSP Generator or XSP Action (the request data should already have been validated by a previous Action): Request | | XSP:Capture[file.xml] --{DOM}--> XSP:XUpdate[with user data] --{DOM}--> XSP:Write[file.xml] Where : "XSP:Capture" is the Capture TagLib (or similar) fed by SAX events from (in this case) a FileGenerator "WritableSource" which has the capability to temporarily "lock" the source during the transaction. "XSP:XUpdate" would be the XUpdate standard written as an XSP TagLib, receiving, manipulating and outputting a DOM or SAX Events. "XSP:Write" represents "releasing" the "WritableSource" which in this case results in the modified DOM being written back to file and the lock being released. The idea is to provide similar functionality to the old FP Cocoon 1 TagLib, but (this time) to disassociate the XML manipulation from the source or destination, so that the modified XML could be written to file, sent to SQL, Castor, stored temporarily in the user's session, whatever. regards Jeremy -- ___________________________________________________________________ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre <mailto:[EMAIL PROTECTED]> <http://www.media.demon.co.uk> <phone:+44.[0].20.7737.6831> <pager:[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]