On Wednesday, 12. February 2003 17:42, Robin Berjon wrote: > Kip Hampton wrote: > > Robin Berjon wrote: > >> Another would be the ability to populate a > >> form using an instance XML document and the possibility of recreating > >> a similar instance based on what is submitted back. > > > > XForms support aside for a sec, I've been pondering the idea of a > > roundtripping Provider for multi-screen apps. > > > > Ideas? Thoughts? Rotten tomatoes? > > That would be very cool and is a much better description of it than what I > said. Intermediate instances could also be saved so that it would be > trivial for a user to go back and forth in a multi-step application.
I have such a system, and it works quite well. But I did it with an XSP taglib, with an optional XSLT step beforehand, depending on whether the task is more like modifying a document (XSLT then transforms the source doc into XSP) or executing some action (you can use the taglib directly, very remotely resembling PerForm). It suffers from being undocumented, though, otherwise I would love to release it. (Robin, you know that stuff already, it's the RSDDL thingy I sent you last spring, only more of it, including multi-step support) It's validation language is perl, wrapped into a homebrew XML vocabulary which lets you specify the most common constraints via XML, more advanced stuff via custom code. It supports building of libraries containing common field types. It does not support arbitrary XML, more specifically, you can't mix text and subtags other than with textarea input fields (I use this for HTML input), and multiple tags of one name must always occur in one sequence, no other tags in between. It supports arbitrary styling via XSLT well, offering a default output which is at least usable. The downside: It is dog slow when XSLT is used for doc->xsp, due to no caching. I hope to fix that soon. If anyone (Robin?) would like to write initial docs, I would take time for explaining it - I do not at the moment have time to write docs myself. -- CU Joerg PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
