OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] W3C Schema to HTML form. Is a generic solutionavailable?

[ Lists Home | Date Index | Thread Index ]

Title: Re: [xml-dev] W3C Schema to HTML form. Is a generic solution available?
Have you thought about using XForms? It is designed to allow just want you need, but without the need to transform your XML. Instead you build a form that directly populates/edits the XML structures you have. Current implementations support a whole host of deployment scenarios.

Check out http://www.w3.org/MarkUp/Forms/ for more information about XForms and available implementations (over 20 listed, though in varying states of completeness)

All the best

Mark


From: "amol" <xmlforamol2@hotmail.com>
Date: Tue, 2 Dec 2003 13:21:10 +0530
To: <xml-dev@lists.xml.org>
Subject: [xml-dev] W3C Schema to HTML form. Is a generic solution available?

Am pretty new to xml and this is my first post.
 
Scenario:
1. Application has some data stored in xml format.
 
2. Application wants the user to be able to edit this data over the web.
 
3. This warrants the need for a generic application which can convert xml documents to html forms and html forms back to xml documents.
 
4. To generat a form, it would need to know the details of the individual elements, e.x., the data type, possible values if any, etc. Now, this is possible only if this form generator is able to read the "schema" of that xml document.
 
5. Thus, using the schema document, this application would generate a corresponding html form. The user will enter information in this form, and on submit, this application will again convert the form data into the required xml document.
 
This scenario looks pretty generic. Lot of people may have had to do this. Isnt there any open source solution to this problem anywhere?
I tried google for a solution but couldnt find a comprehensive one.
One approach could be to have xsl to convert any schema document to html form. Has anyone done it before?
 
Thanks in advance.
Amol





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS