Howto create form with entry fields from XML/XSD schema ??

M

Michael Hertz

Assume there is a XSD schema which describes the maximum possible number of fields which can occur in
a XML document.

How do I create such a form either as a HTML form or a text file from the XSD schema source?
The DOM tree is automatically created by the parser.
So there is only the need to create a form from this DOM tree.
I feel that such a tool should be already available because it is a standard task.

Does someone know such a utility?

Michael
 
M

Martin Honnen

Michael said:
Assume there is a XSD schema which describes the maximum possible number of fields which can occur in
a XML document.

How do I create such a form either as a HTML form or a text file from the XSD schema source?
The DOM tree is automatically created by the parser.
So there is only the need to create a form from this DOM tree.
I feel that such a tool should be already available because it is a standard task.

Does someone know such a utility?

Well XForms can use (is supposed to use) a W3C schema to specify the
data types/structure of the form. However the normal browsers like
Mozilla or IE do not support that although there are plugin based
extensions for MSIE on Windows I think and I know there are experimental
browsers like X-Smiles supporting XForms in XHTML.
XForms will be part of XHTML 2.0.
The XForms page is here
http://www.w3.org/MarkUp/Forms/
and contains links to the specification
http://www.w3.org/TR/2003/REC-xforms-20031014/
and intro for people coming from HTML
http://www.w3.org/MarkUp/Forms/2003/xforms-for-html-authors
and a list of implementations
http://www.w3.org/MarkUp/Forms/#implementations
 
J

Johnny Kent

Martin Honnen said:
Well XForms can use (is supposed to use) a W3C schema to specify the
data types/structure of the form. However the normal browsers like
Mozilla or IE do not support that although there are plugin based
extensions for MSIE on Windows I think and I know there are experimental
browsers like X-Smiles supporting XForms in XHTML.
XForms will be part of XHTML 2.0.
The XForms page is here
http://www.w3.org/MarkUp/Forms/
and contains links to the specification
http://www.w3.org/TR/2003/REC-xforms-20031014/
and intro for people coming from HTML
http://www.w3.org/MarkUp/Forms/2003/xforms-for-html-authors
and a list of implementations
http://www.w3.org/MarkUp/Forms/#implementations

Michael,
Also try this
http://www.xml.com/pub/a/2003/04/30/editing.html there's also a second
artilce
http://www.xml.com/pub/a/2003/06/25/editing.html

and also you'll get lots of reading from googling for 'forms from xml
schema'

Cheers,
Johnny
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,828
Latest member
LauraCastr

Latest Threads

Top