W3C home > Mailing lists > Public > www-forms@w3.org > August 2002

Re: XForms to XHTML (Was: xforms in xhtml, styled using xsl?)

From: Roger Perttu <roger.perttu@easit.se>
Date: Thu, 22 Aug 2002 14:47:42 +0200
Message-ID: <3D64DD6E.5080209@easit.se>
To: AndrewWatt2001@aol.com
CC: www-forms@w3.org

AndrewWatt2001@aol.com wrote:

> In a message dated 21/08/2002 16:23:37 GMT Daylight Time, 
> roger.perttu@easit.se writes:
>
>
>> I'm trying to learn xforms and I need some XSLT sample templates that
>> can convert any xform to simple xhtml. I've used Google without luck.
>>
>> thanks,
>> Roger P
>
>
>
> Roger,
>
> Just curiosity but why do want to convert an XForms document to an 
> XHTML one? What workflow do you have in mind?

We are using MS asp to create HTML forms from JavaScript objects:

<%= LABEL_USER_LNAME %><br>
<input class="FixedSize" type="text" size="20" maxlength="50" 
tabindex="0" <%= FormClass.nameValue(Case1.User, "LName", 
Case1.User.LName) %> onChange="Case1User.fieldChanged();"><br>
<%= LABEL_USER_PHONE0 %><br>
<input class="FixedSize" type="text" size="20" maxlength="50" 
tabindex="0" <%= FormClass.nameValue(Case1.User, "Phone0", 
Case1.User.Phone[0]) %> onChange="Case1User.fieldChanged();"><br>

It's a total mess of data, meta data and web design. I intend to 
represent the objects using XML and use XSLT to create the HTML forms. I 
could invent my own data/meta data representation but I guess I could 
use the relevant parts of  XForms.

>
>
> Or is it a learning process for you to informally map XForms 
> structures to more conventional HTML/XHTML forms?

Yes, that too.

>
>
> Andrew Watt
Received on Thursday, 22 August 2002 08:51:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:51 GMT