| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 3 |
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" |
| 4 |
vc:minVersion="1.1"> |
| 5 |
<xs:element name="tag"> |
| 6 |
<xs:complexType> |
| 7 |
<xs:sequence/> |
| 8 |
<xs:attribute name="name" type="xs:string"/> |
| 9 |
<xs:attribute name="abc" type="xs:integer"/> |
| 10 |
<xs:attribute name="def" type="xs:integer"/> |
| 11 |
<xs:assert test="(@abc and not(@def)) or (not(@abc) and @def)"/> |
| 12 |
</xs:complexType> |
| 13 |
</xs:element> |
| 14 |
</xs:schema> |