Debian Codegraph @

tests/test_cases/issues/issue_105/issue_105.xsd

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
4 <xs:element name="project" type="TProject">
5 <xs:key name="widgetId">
6 <xs:selector xpath=".//widgets/widget | .//logic/widget"/>
7 <xs:field xpath="@id"/>
8 </xs:key>
9 </xs:element>
10
11 <xs:complexType name="TProject">
12 <xs:choice minOccurs="0" maxOccurs="unbounded">
13 <xs:element name="protocols"/>
14 </xs:choice>
15 </xs:complexType>
16
17 </xs:schema>