- From: Scott, Michael Gordon <Michael.Gordon.Scott@kla-tencor.com>
- Date: Thu, 20 Mar 2003 09:27:42 -0800
- To: "'Cams Ismael'" <Ismael.Cams@siemens.com>, "'Jeni Tennison'" <jeni@jenitennison.com>
- Cc: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Would it be allowable to do something like this instead?
<modules>
<module>
<masteragent>
</masteragent>
</module>
<module>
<proxyagent>
</proxyagent>
<proxyagent>
</proxyagent>
</module>
</modules>
If so, use <xsd:choose>, then set <xsd:element proxyagend minOccurs="1"
maxOccurs="unbounded">
-----Original Message-----
From: Cams Ismael [mailto:Ismael.Cams@siemens.com]
Sent: Thursday, March 20, 2003 6:56 AM
To: 'Jeni Tennison'
Cc: 'xmlschema-dev@w3.org'
Subject: RE: Defining unique pair of elements
So the only solution to perform what I need is rename my <module> tags, if I
only want to use XSD.
I am a little surprised this isn't possible in XSD. But maybe am I missing
something here.
Anyway thanks a lot for the provided help.
Kind regards,
Ismaël
Received on Thursday, 20 March 2003 12:27:54 UTC