473,396 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 10675


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 difficult (it may be as I am very new to xql)....
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 Count=34> <Field Name="name1">value1</Field>...
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 data? Sometimes when I am entering new records,...
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 Registry, and saved to it upon closing of 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 build a data entry form in Access that allows the...
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 to create data-entry forms similar to what one...
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 data entered through a form. the real question is...
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 Schema called Client. Inside this schema, three tables...
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 when the New Record icon is used. However, it...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.