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 ]

Am back again.
Well, did some reading on XForms and tried out chiba. (http://chiba.sourceforge.net/)
Unfortunately, it comes with extremely poor documentation. There are about 10 samples to demonstrate the various features but all these are "end products". Not even a single case study which describes how to get to those forms in steps.
Even the mailing list is not very active. Any chiba experts around? We could take the discussion off the list if it is out of scope of this mailing list.
I tried to convert my schema, but its not working. Got some problems, solved them, but still, its not working. I have a few questions if there's a chiba expert/regular user around.
 
Thanks
Amol
 
----- Original Message -----
From: "Leif Stainsby" <stainsby@shaw.ca>
Sent: Wednesday, December 03, 2003 8:38 AM
Subject: Re: [xml-dev] W3C Schema to HTML form. Is a generic solution available?

> 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
>
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <
http://www.xml.org>, an
> initiative of OASIS <
http://www.oasis-open.org>
>
> The list archives are at
http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <
http://lists.xml.org/ob/adm.pl>
>
>




 

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

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