DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: XML editors, parsing schema documents. Help Me!

  1. #1
    Ed Walker Guest

    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?

  2. #2
    Russell Jones Guest

    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?




  3. #3
    Ed Walker Guest

    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>


  4. #4
    Ed Walker Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center