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. Advertising

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. Karl
    Replies:
    3
    Views:
    351
  2. Binesh Bannerjee
    Replies:
    3
    Views:
    1,632
    Martin Honnen
    Nov 27, 2004
  3. Tjerk Wolterink

    XSchema: help

    Tjerk Wolterink, Sep 1, 2005, in forum: XML
    Replies:
    1
    Views:
    552
    Soren Kuula
    Sep 1, 2005
  4. Tjerk Wolterink

    XInclude and XSchema

    Tjerk Wolterink, Oct 11, 2005, in forum: XML
    Replies:
    9
    Views:
    1,746
    Tjerk Wolterink
    Oct 13, 2005
  5. Tjerk Wolterink

    XSchema Problem with xs:any

    Tjerk Wolterink, Oct 27, 2005, in forum: XML
    Replies:
    2
    Views:
    7,793
    Tjerk Wolterink
    Oct 27, 2005
Loading...

Share This Page