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