1
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
<xsd:include schemaLocation="types.xsd"/>
4
<xsd:element name="model">
6
<xsd:choice minOccurs="0" maxOccurs="unbounded">
7
<xsd:element name="bank" type="pcilib_bank_t" minOccurs="0" maxOccurs="unbounded" />
8
<xsd:element name="transform" type="pcilib_transform_view_t" minOccurs="0" maxOccurs="unbounded" />
9
<xsd:element name="enum" type="pcilib_enum_view_t" minOccurs="0" maxOccurs="unbounded">
10
<xsd:key name="pcilib_value_name_key">
11
<xsd:selector xpath="name" />
12
<xsd:field xpath="@value" />
15
<xsd:element name="unit" type="pcilib_unit_t" minOccurs="0" maxOccurs="unbounded">
16
<xsd:key name="pcilib_unit_transform_key">
17
<xsd:selector xpath="transform" />
18
<xsd:field xpath="@unit" />
24
<xsd:key name="pcilib_bank_key">
25
<xsd:selector xpath="bank" />
26
<xsd:field xpath="@name" />
28
<xsd:key name="pcilib_register_key">
29
<xsd:selector xpath="bank/register|bank/register/field" />
30
<xsd:field xpath="@name" />
32
<xsd:key name="pcilib_view_key">
33
<xsd:selector xpath="transform|enum" />
34
<xsd:field xpath="@name" />
36
<xsd:key name="pcilib_unit_key">
37
<xsd:selector xpath="unit" />
38
<xsd:field xpath="@name" />
41
<xsd:keyref name="pcilib_register_view_ref" refer="pcilib_view_key">
42
<xsd:selector xpath="bank/register/view|bank/register/field/view" />
43
<xsd:field xpath="@view" />
45
<xsd:keyref name="pcilib_unit_ref" refer="pcilib_unit_key">
46
<xsd:selector xpath="transform|enum" />
47
<xsd:field xpath="@unit" />