- From: Urs Muntwyler <umuntwyler@a-f.ch>
- Date: Fri, 9 Nov 2001 10:02:46 -0500 (EST)
- To: xmlschema-dev@w3.org
hi there,
How do I validate an element {If} which must have exactly ONE
attribute out of a set of two attributes {defined,notDefined}:
<If defined="..."> OR <If notDefined=".."> (both valid)
BUT NOT <If defined="..." notDefined="..."> AND NOT <If> (both not valid)
I would need anything like <xs:choice>, but this does only exist for
elements, not for attributes.
Many thanks in advance,
Urs.
Urs Muntwyler
A&F Computersysteme AG, Switzerland
umuntwyler@a-f.ch
Received on Friday, 9 November 2001 10:35:27 UTC