xschema: problem

  • Thread starter Tjerk Wolterink
  • Start date
T

Tjerk Wolterink

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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,251
Members
46,851
Latest member
CristineKo

Latest Threads

Top