W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2003

Re: Defining unique pair of elements

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 20 Mar 2003 09:39:43 +0000
Message-ID: <131027216328.20030320093943@jenitennison.com>
To: Cams Ismael <Ismael.Cams@siemens.com>
CC: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

Hi IsmaŽl,

>> A. Define a moduleType type, and two derivations thereof --
>> masterAgentModule and proxyAgentModule. Then use xsi:type on
>> individual <module> elements to indicate whether they hold
>> <masterAgent> or <proxyAgent> elements.
> How can I restrict that there is just one element of type
> masterAgentModule available and 0 or more of type proxyAgentModule.

Err... sorry, my brain must have been hiccuping; you can't -- this
solution isn't a solution.



Jeni Tennison
Received on Thursday, 20 March 2003 04:39:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT