W3C home > Mailing lists > Public > www-forms@w3.org > September 2000

Re: AW: Using XSL-T to convert XForm to HTML: Impossible?

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
Message-ID: <F8WWMkTd0GqywELaAOr00002048@hotmail.com>
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 

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 
Received on Friday, 22 September 2000 16:10:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:03 UTC