W3C home > Mailing lists > Public > www-forms@w3.org > November 2004

RE: Generation of Xforms HTML web page using a XML Schema Definition

From: Dharmesh Mistry <Dharmesh.Mistry@edgeipk.com>
Date: Mon, 22 Nov 2004 18:10:47 -0000
Message-ID: <6E80CFEBE068F44BAD79EB89CA1FD5910B5F22@edgemail01.uk.edgeipk.com>
To: "Micah Dubinko" <micah@dubinko.info>, <John.Hockaday@ga.gov.au>
Cc: <www-forms@w3.org>

Sorry if I am a little slow to understand this, but I am searching for a
practical use of your scenario?

However on the question of generating XForms from schema defs then this
is a problem addressed by Polaris in the UK. Polaris (a UK general
insurance standards group) like many standards companies produces
standard schema's for insurance products. They wanted to generate XForms
from these schema's. So then created "annotated schema's" which could be
parsed to generate XForms. (This is all public domain).

Our experience of this is for basic user interaction this is very
possible, given some annotation. However when more interactive user
experience is required you end up with a very heavily "annotated"
schema.......thus mitigating many of the benefits of doing so in the
first place.


Kind regards.................Dharmesh


---------------------------------------------------------------
Dharmesh Mistry
CTO, edge IPK
E: dharmesh@edgeipk.com 
M: 07789 222 015
 
Newbury Office                   T  +44 (0) 1635 231 231    F  +44 (0)
1635 569 371
------------------------------------------------------------------------
--------------------------------------------
This message may contain information which is confidential or
privileged.
If you are not the intended recipient, please advise the sender
immediately by reply
e-mail and delete this message and any attachments without retaining a
copy.
 
edge IPK Limited
Registered office - 9 Wardle Avenue, Tilehurst, Reading, Berkshire RG31
6JR
Registered in England No. 4286817
-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On
Behalf Of Micah Dubinko
Sent: 22 November 2004 18:00
To: John.Hockaday@ga.gov.au
Cc: www-forms@w3.org
Subject: Re: Generation of Xforms HTML web page using a XML Schema
Definition


I started doing something like this for a client, but it just got way 
too complicated.

How about this:

1. Start with an XML instance document

2. Add small annotations for calculations, etc.

3. Transform the instance document directly into XForms, including 
default values taken from the instance.

Much simple, and so far working well.

http://examploforms.org

..micah

John.Hockaday@ga.gov.au wrote:

>Hi,
>
>Can Xforms generate an HTML web form page from an XSD?  Eg. DTD,
RELAXNG, XML
>Schema.  I would like to have some type of software that reads an XSD
and
>generates an HTML web forms page that complies to that XSD.  When the
user
>fills out and submits the HTML form the contents would generate and XML
>document instance that complies to the XSD.  
>
>Similarly, it would be good if Xforms can solve this following
scenario:
>
>1. a user cuts and pastes an XML document instance into an HTML text
input
>form and submits it, 
>
>2. software gets the XSD that is referenced in the submitted XML
document
>instance,
>
>3. the software then generates an Xforms HTML web page that complies
with the
>referenced XSD,
>
>4. the software then populates the contents of the Xforms HTML web page
with
>the content from the submitted XML document instance,
>
>5. the user can submit the Xforms HTML web page after they have edited
the
>content,
>
>6. the software then checks to see if the now edited content of the
Xforms
>HTML web page complies with the XSD and lets the user know of
compliance or
>and errors.
>
>It would be fantastic if Xforms or some other W3C specification can do
this.
>
>Thanks.
>
>John Hockaday
>Geoscience Australia
>GPO Box 378
>Canberra ACT 2601
>(02) 6249 9735
>http://www.ga.gov.au/ 
>john.hockaday\@ga.gov.au
>  
>

-- 
  Available for consulting. XForms, web forms, information overload.
  Micah Dubinko                           mailto:micah@dubinko.info
  Brain Attic, L.L.C.                        http://brainattic.info
  Yahoo IM: mdubinko
  Learn XForms today: http://xformsinstitute.com
Received on Tuesday, 23 November 2004 04:01:45 GMT

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