Hi Niels, Thanks for the reply, I would love to have a look at the three XSLs! You are doing exactly what I want to do, CForms and its binding framework seems very suitable for the forms task.
I'm aware of the problems, in terms of transformation, of the XML schema structure being so unrestricted and up to the developer. I assume you are aware of the different design styles proposed by Roger Costello on http://www.xfront.com/GlobalVersusLocal.html (Russian Doll, Salami Slice and Venetian Blind)? There is also a fourth style by Eve Maler called Garden of Eden, which is the "best" style in terms of reuse, followed by Venetian Blind. Are you using any of those styles or have you defined your own? I'm aware of two other efforts (other than yours) that claim to have "generic" XSLs in terms of being able to transform any schema, but they are somewhat difficult and most of all very time consuming to understand, and neither are producing forms. If you would like, it would be very much appreciated if you wanted to share some XSL with me and/or Cocoon. FYI I'm doing research in this area and might be able to return the favour in the future ;) Cheers, Nina > Hello Nina, > > Unfortunately I do not know anything about XForms. As far as I know it is not related to CForms. > > 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 ;) > > Niels van Kampenhout > Hippo > >> -----Original Message----- >> From: Nina Juliadotter [mailto:[EMAIL PROTECTED] >> Posted At: Thursday, July 01, 2004 6:44 AM >> Posted To: Cocoon User List >> Conversation: XML schema and XForms >> Subject: XML schema and XForms >> >> >> Hi all, >> >> I'm about to start a project where I generate a web form >> (could be HTML, XHTML or >> WML) from an XML schema, transformed by an XSLT file. >> Obvously, Cocoon is an ideal >> platform for this. Has anybody else used Cocoon for this >> before and care to share >> their expericences? >> >> I'm also looking at transforming the schema to XForms >> somehow, as that's suppose to >> be the new web forms standard. Is CForms is in fact an >> implementation of XForms? The >> W3C page http://www.w3.org/MarkUp/Forms/ says that Cocoon's >> XMLForm is an >> implementation of XForms, but that is deprecated and refers >> to JXForms as the >> implementation of XForms. So what's the difference between >> CForms and JXForms? >> CForms seem to be much more used, by looking at the postings >> to the mailinglist. >> >> So it boils down to 2 questions: >> 1. Is CForms an implementation of XForms and how does it >> differ from JXForms? Any >> recommendations which to use, from those with experience of >> these forms frameworks? >> 2. Has anybody used XSLT in Cocoon to transform a XML schema >> to an XForms form or >> XHTML/WML form and care to share their experiences? >> >> Cheers, >> Nina > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Cheers, Nina --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
