On Thu, Jul 01, 2004 at 10:14:12AM +0200, Niels van Kampenhout wrote: > Hello Nina, > > Unfortunately I do not know anything about XForms. As far as I know it is not > related to CForms.
XForms is targeted at client-side form handling, and we did not find it to be well suited to client-server use when the form needs to interact with the server, such as for database access. The forms technologies in Cocoon that were related to XForms (XMLForms, JXForms) have been deprectated and have been replaced with Cocoon Forms (CForms) which is a different technology that sees to meet these needs quite well. > However at Hippo we have made several websites that make extensive use of CForms, > where the form definitions, templates and binding definitions are being generated on > the fly from an XML schema, using three XSLs. These XSLs expect the schema to have a > certain structure, so the schemas are made with the form, that is being generated > from them, in mind. The most difficult part of writing these XSLs is coping with the > fact that schemas have an implicit structure (with references to elements). > > The result of this effort is that adding forms to your websites becomes very easy. > In one case we have our customer deliver a new schema to us, and we can update the > form on the website with virtually no work! > > If you are interested I can make these XSLs available as an example, although at > this point I do not consider them to be an example of very clear XSL programming ;) Yes, please do post your code. I have seen several people interested in schema-generated forms who would probably like to see an example of working code that implements this idea. --Tim Larson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
