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