Defining unique pair of elements

Hello everybody,

can somebody tell me how I can accomplish the following:

example.xml

<modules>
     <module>
	<masteragent>
	</masteragent>
     </module>
     <module>
	<proxyagent>
	</proxyagent>
     </module>
     <module>
	<proxyagent>
	</proxyagent>
     </module>
</modules>

The combination module - masteragent must be present just one time.
The combination module - proxagent may be available 0 or more times.

How can I define this with xsd ?

Kind regards,
Ismaël

Received on Wednesday, 19 March 2003 11:00:05 UTC