- From: Jerome Marc <marcjero@hotmail.com>
- Date: Fri, 22 Sep 2000 19:39:32 GMT
- To: simon@weft.co.uk, josef@mozquito.com, www-forms@w3.org
I agree with you XSLT : is powerfull enough to generate HTML from XForms model and instance. Using Apache Cocoon you can run several XSLT processes whithout parsing at each step. The DOM structure is used as input in following transformations, so it's costless. I wrote an XSLT stylesheet that melts model+instance with simple HTML. Moreover, adding the "href" attribute into "model" and "instance" tag, only one XSLT process is necessary even if instance data and model are located in different files or data source. I used Cocoon + the XForm stylesheet + the Tamino database like this : - An XML document with XForm model + XHTML tags - The stylesheet gets instance data from Tamino and produces the final HTML page You can do more, separating logic (model part) from presentation (XHTML tags) and I did it of course. But one transformation is enough for me. Jerome Marc Software AG France _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.
Received on Friday, 22 September 2000 16:10:42 UTC