[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: W3C Schema to HTML form. Is a generic solution available?


leif stainsby
Hi Amol,

Have you looked into XForms?  It seems to address most of the issues you 
have stated below.  There is a nice open source (server-side) 
implementation called Chiba at:
      http://chiba.sourceforge.net/
By 'server-side', I mean it converts an XML document which includes some 
XForms elements into a document containing HTML+JavaScript which gets 
sent to the user-agent.  An alternative is to use a client-side 
implementation such as a plug-in.

Other XForms implementations can be found here:
      http://www.w3.org/MarkUp/Forms/#implementations

Regards,

...Leif


amol wrote:

> 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




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.