-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAttrAndCrit.xsd
More file actions
20 lines (18 loc) · 915 Bytes
/
AttrAndCrit.xsd
File metadata and controls
20 lines (18 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://xmcda-modular.github.io/2017/examples/AttrAndCrit"
xmlns:xm="http://xmcda-modular.github.io/2017/xsd" xmlns:xac="http://xmcda-modular.github.io/2017/examples/AttrAndCrit"
elementFormDefault="unqualified">
<xs:import namespace="http://xmcda-modular.github.io/2017/xsd"
schemaLocation="https://raw.githubusercontent.com/oliviercailloux/xmcda-modular/master/xmcda-modular.xsd"></xs:import>
<xs:element name="AttrAndCrit">
<xs:complexType>
<xs:sequence>
<!-- Note that this example is silly: as the attribute is embedded into
the criterion, there is no need to repeat it as a top-level element. -->
<xs:element name="attribute" type="xm:attribute" />
<xs:element name="criterion" type="xm:criterion" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>