-
XML editors, parsing schema documents. Help Me!
I am a student proposing to develop a program that parses an xml schema document
and produces an appropriate interface for data entry(i.e. correct input boxes
as specified in the schema). The data will then be stored in a valid, well-formed
xml document. Does anyone know if anything similar to this exists already?
-
Re: XML editors, parsing schema documents. Help Me!
I should think it would be much more useful to create a generalized schema
for describing interfaces and then parse documents that adhere to the schema
rather than creating a separate schema for each interface. However, the
answer to your question is yes--it's been done several times already. For
example, ASP.NET Web Forms run on that principle. Also, Mozilla's XUL
(http://www.xulplanet.com/tutorials/x...ef/index.shtml) is already
quite robust.
If you search google with "user interface described in XML", you'll get a
number of useful hits, for example:
http://developer.kde.org/documentati...nt/ch12lev1sec
3.html
Russell Jones
Executive Editor,
DevX.com
"Ed Walker" <eww01@aber.ac.uk> wrote in message
news:3d11b51a$1@10.1.10.29...
>
> I am a student proposing to develop a program that parses an xml schema
document
> and produces an appropriate interface for data entry(i.e. correct input
boxes
> as specified in the schema). The data will then be stored in a valid,
well-formed
> xml document. Does anyone know if anything similar to this exists already?
-
Re: XML editors, parsing schema documents. Help Me!
Thanks Russell, for your response. However, I am not sure we are talking about
the same thing. My plan is not to store interfaces in XML documents. I intend
to take ANY W3C schema document and create an interface for creating a valid
XML document. For example, if the schema document specifies an element like
this:
<xsd:element name = "message" type = "xsd:string" />
then the program (my program) would produce an interface with a label ("MESSAGE")
followed by a textbox into which a message can be typed. Upon completion,
the subsequent XML document would contain:
<message>Hi!</message>
-
Re: XML editors, parsing schema documents. Help Me!
Thanks Russell, for your response. However, I am not sure we are talking about
the same thing. My plan is not to store interfaces in XML documents. I intend
to take ANY W3C schema document and create an interface for creating a valid
XML document. For example, if the schema document specifies an element like
this:
<xsd:element name = "message" type = "xsd:string" />
then the program (my program) would produce an interface with a label ("MESSAGE")
followed by a textbox into which a message can be typed. Upon completion,
the subsequent XML document would contain:
<message>Hi!</message>
Do you or anyone know of anything similar to this?
Thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|