By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,107 Members | 1,609 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,107 IT Pros & Developers. It's quick & easy.

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

P: n/a
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

Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a


Michael Hertz wrote:
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/...r-html-authors
and a list of implementations
http://www.w3.org/MarkUp/Forms/#implementations

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

P: n/a

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:40********@olaf.komtel.net...


Michael Hertz wrote:
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/...r-html-authors
and a list of implementations
http://www.w3.org/MarkUp/Forms/#implementations

--

Martin Honnen
http://JavaScript.FAQTs.com/


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
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.