Title: XSD Question

I am trying to setup a  schema that has some restrictions.

The first section of the schema has rules

<rules>
  <rule>
     <name>rule1</name>
     <data> …</data>
  </rule>
  <rule>
     <name>rule2</name>
     <data>….</data>
  </rule>
</rules>

Now the question … I have another section that references these rules.
How do I define the restriction so that elements in this section can
only reference rules that exist??

<calendars>
  <calendar>
    <name>calendar1</name>
    <rules>
       <rule>rule1</rule>
    <rules>
  </calendar>

</calendars>


Joseph Favero
President, Obsidian Solutions, Inc.
tel 1.303.741-4893
cell 1.303.522.4663

[EMAIL PROTECTED]
http://www.obsidiansoln.com

Reply via email to