xschema: problem

Discussion in 'XML' started by Tjerk Wolterink, Sep 1, 2005.

  1. I want to define an schema
    that allows the following documents:

    The name of the elements do not matter,
    but all the elements should have the following
    attribute:

    <xsd:attribute name="type" type="xsd:string"/>



    thus allows the following documents


    <doc type="multiple">
    <name type="string"/>
    <mobile-phone-number type="number"/>
    <more-info type="xhtml">
    </more-info>

    </doc>


    Is that possible with xschema?
     
    Tjerk Wolterink, Sep 1, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Suurkuusk
    Replies:
    0
    Views:
    4,254
    Andreas Suurkuusk
    Jul 27, 2003
  2. Ted Miller
    Replies:
    0
    Views:
    5,510
    Ted Miller
    Sep 13, 2003
  3. Karl
    Replies:
    3
    Views:
    471
  4. Binesh Bannerjee
    Replies:
    3
    Views:
    1,823
    Martin Honnen
    Nov 27, 2004
  5. Tjerk Wolterink

    XSchema: help

    Tjerk Wolterink, Sep 1, 2005, in forum: XML
    Replies:
    1
    Views:
    656
    Soren Kuula
    Sep 1, 2005
  6. Tjerk Wolterink

    XInclude and XSchema

    Tjerk Wolterink, Oct 11, 2005, in forum: XML
    Replies:
    9
    Views:
    2,203
    Tjerk Wolterink
    Oct 13, 2005
  7. Tjerk Wolterink

    XSchema Problem with xs:any

    Tjerk Wolterink, Oct 27, 2005, in forum: XML
    Replies:
    2
    Views:
    8,040
    Tjerk Wolterink
    Oct 27, 2005
  8. Mike

    Problem problem problem :( Need Help

    Mike, May 7, 2004, in forum: ASP General
    Replies:
    2
    Views:
    804
    Bullschmidt
    May 11, 2004
Loading...