472,351 Members | 1,538 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,351 software developers and data experts.

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

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
2 10616


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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Adam Retter | last post by:
Hi Guys, I have a need to create a html form based on my schema. I initially decided to do this using xql, have got some way but am finding this...
2
by: Giedrius | last post by:
I would like to create a typed dataset, from which I could create such xml document using WriteXML method. Is it possible? ............ <Fields...
2
by: Cassandra | last post by:
My data entry form has thirty one fields. After I go to a new record and enter all the fields, how can I create another new record out of the same...
5
by: Tilfried Weissenberger | last post by:
Hi, I would like to specify a group of Properties/Fields of some objects on a WinForm, for which I would like to have the values loaded from the...
2
by: filbennett | last post by:
Hi Everyone, I'm generally unfamiliar with Access form design, but have programmed Cold Fusion applications for a couple of years. I'd like to...
5
by: pw | last post by:
I'm an experienced Access/VBA programmer, trying to become competent using VB.net. Using base vb.net it seems to me to be an AWFUL amount of work...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the...
8
by: Wingot | last post by:
Hey, I have a program I am trying to write using Visual C#, SQL Server 2005/2008, and Visual Studio 2008, and one part of it includes a...
12
by: tekctrl | last post by:
Environment; Win2K PC with 1Gb of RAM and plenty of HD space running Access 2002 Issue; Access presents a blank data entry form in the Forms view...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.