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 solution available?

[ Lists Home | Date Index | Thread Index ]

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







 

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

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