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

Generation of Xforms HTML web page using a XML Schema Definition

From: <John.Hockaday@ga.gov.au>
Date: Mon, 22 Nov 2004 09:43:51 +1100
Message-ID: <E97B4331B4C19943B69A80E15DE45C26013555D9@mail1.agso.gov.au>
To: <www-forms@w3.org>

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
Received on Monday, 22 November 2004 03:45:31 GMT

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