 |
 |
 |
Hello schema-users,
I have as I hope a very simple problem. Unfortunately not for me:
This is my complexType:
<xs:complexType name="chapterType">
<xs:sequence>
<xs:element name="title"/>
<xs:choice>
<xs:element name="subtitle"/>
<xs:element name="author"/>
<xs:element name="para"/>
<xs:element name="sect1"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
I try to realise, that after the required title-element the author-,
para- and sect1-element can occure unboundedly and the subtitle-element
can occure only once. There should also be the restriction that if an
sect1-element occures the para-, author- or subtitle-element should not
occure.
Is this possible using schema? I would be very thankful for every hint
solving my problem.
Andreas
From gkholman@C... Sun Mar 09 22:52:34 2008
Received:
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |