W3C Schema to HTML form.Generic solution available?

amol <[email protected]> Tue, 2 Dec 2003 12:41:33 +0530
Newsgroups gmane.comp.java.sun.xml.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPart_000_0193_01C3B8D1.9E378460
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Am 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

-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:[email protected]
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:[email protected] the following message;
signoff xml-interest.

------=_NextPart_000_0193_01C3B8D1.9E378460
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>Am new to xml and this is my first=20
post.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>Scenario:</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>1. Application has some data stored =
in xml=20
format.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>2. Application wants the user to be =
able to edit=20
this data over the web.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>3. This warrants the need for a =
generic=20
application which can convert xml documents to html forms and html forms =
back to=20
xml documents.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>4. To generat a form, it would need =
to know the=20
details of the individual elements, e.x., the data type, possible values =
if any,=20
etc. Now, this is possible only if this form generator is able to read =
the=20
"schema" of that xml document.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>5. Thus, using the schema document, =
this=20
application would generate a corresponding html form. The user will =
enter=20
information in this form, and on submit, this application will again =
convert the=20
form data into the required xml document.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>This scenario looks pretty generic. =
Lot of people=20
may have had to do this. Isnt there any open source solution to this =
problem=20
anywhere?</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>I tried google for a solution but =
couldnt find a=20
comprehensive one.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>One approach could be to have xsl to =
convert any=20
schema document to html form. Has anyone done it before?</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>Amol</FONT></DIV></BODY></HTML>
-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:[email protected]
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:[email protected] the following message;
signoff xml-interest.

------=_NextPart_000_0193_01C3B8D1.9E378460--