-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocument.xsd
More file actions
69 lines (69 loc) · 2.24 KB
/
document.xsd
File metadata and controls
69 lines (69 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="document">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="content">
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="signatory" type="xsd:string"/>
<xsd:element ref="party"/>
</xsd:choice>
<xsd:element ref="see-also" minOccurs="0"/>
<xsd:element ref="copyright" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="lang" type="xsd:language"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="party">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="signatory" type="xsd:string" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:token" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="see-also">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="link" type="reference" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="copyright">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="paragraph" type="text"/>
</xsd:choice>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="content">
<xsd:choice maxOccurs="unbounded">
<xsd:element name="paragraph" type="text"/>
<xsd:element name="section" type="content"/>
<xsd:element name="note" type="division"/>
</xsd:choice>
<xsd:attribute name="heading" type="xsd:token" use="required"/>
</xsd:complexType>
<xsd:complexType name="division">
<xsd:choice maxOccurs="unbounded">
<xsd:element name="paragraph" type="text"/>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="text" mixed="true">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="strong" type="xsd:string"/>
<xsd:element name="link" type="reference"/>
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="reference">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="href" type="xsd:anyURI" use="required"/>
<xsd:attribute name="lang" type="xsd:language"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>