Re: Defining unique pair of elements

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.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/

Received on Thursday, 20 March 2003 04:39:49 UTC