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

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

From: Jerome Marc <marcjero@hotmail.com>
Date: Mon, 25 Sep 2000 15:52:25 GMT
To: schulze@dresden-informatik.de, www-forms@w3.org
Message-ID: <F1070rmTIVvLVKi3s1w00002c49@hotmail.com>
I agree with you XSLT can do the transformation. I made a stylesheet that 
generates IE4 and Netscape 4.0 compatible DHTML. It'not so heavy because I 
wrote a Javascript runtime in a .js file. The runtime is about 40K and is 
shared (downloaded once) between XForms generated pages.

>From: "Schulze, Matthias" <schulze@dresden-informatik.de>
>To: "'www-forms@w3.org'" <www-forms@w3.org>
>Subject: Re: Using XSL-T to convert XForm to HTML: Impossible?
>Date: Mon, 25 Sep 2000 17:19:46 +0200
> > 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 
>special server-side facilities.

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 Monday, 25 September 2000 11:52:57 UTC

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