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

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

From: Schulze, Matthias <schulze@dresden-informatik.de>
Date: Mon, 25 Sep 2000 17:19:46 +0200
Message-ID: <7140E412EB5ED411B8720050BF1123B003705D@www.dresden-informatik.de>
To: "'www-forms@w3.org'" <www-forms@w3.org>
> I've just been studying the XForm data model with a view to writing a
> XSL-T transform to convert an XForm for delivery on legacy HTML devices,
> I come to the conclusion that the separation of model and instance data
> this impossible. I cannot, in a single transformation, create a
> HTML form from an XForm document.

I've also spent some thoughts about XForms -> HTML transformation. Basicly 
I believe that the mere transformation _can_ be done by XSLT. But if you
the resulting HTML to validate the user-input against the model (e.g. the 
min/max constraints), you'll have to use scripts and event handlers to do
This requires quite heavy XSLT and sooner or later you'll end up with a  
XForms client implementation!

However, I don't think that a complete transformation will generally be
by means of HTML 4 plus Javascript 1.2.
E.g. if you consider requirements like 3.7 (expandable form control groups)
3.9 (saving and resuming), you'll have to rely on DOM support like in IE and

special server-side facilities.

Received on Monday, 25 September 2000 11:23:36 UTC

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