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

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

From: Micah Dubinko <micah@dubinko.info>
Date: Mon, 22 Nov 2004 10:59:31 -0700
Message-ID: <41A22903.2060400@dubinko.info>
To: John.Hockaday@ga.gov.au
CC: www-forms@w3.org

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.



John.Hockaday@ga.gov.au wrote:

>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
>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
>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.
>John Hockaday
>Geoscience Australia
>GPO Box 378
>Canberra ACT 2601
>(02) 6249 9735

  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 Monday, 22 November 2004 17:58:08 UTC

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