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/