-
Notifications
You must be signed in to change notification settings - Fork 7
/
xinclude.xsd
77 lines (77 loc) · 2.73 KB
/
xinclude.xsd
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
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/2001/XInclude" xmlns:xinclude="http://www.w3.org/2001/XInclude" xmlns:tei="http://www.tei-c.org/ns/1.0">
<xs:import namespace="http://www.tei-c.org/ns/1.0" schemaLocation="document.xsd"/>
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
<xs:element name="include">
<xs:annotation>
<xs:documentation>The W3C XInclude element</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="xinclude:fallback"/>
</xs:sequence>
<xs:attribute name="href">
<xs:annotation>
<xs:documentation>pointer to the resource being included</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:anyURI">
<xs:pattern value="\S+"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="parse" default="xml">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="xml">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="text">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="xpointer" type="xs:string">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:attribute>
<xs:attribute name="encoding" type="xs:string">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:attribute>
<xs:attribute name="accept" type="xs:string">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:attribute>
<xs:attribute name="accept-charset" type="xs:string">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:attribute>
<xs:attribute name="accept-language" type="xs:string">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="fallback">
<xs:annotation>
<xs:documentation>Wrapper for fallback elements if an XInclude fails</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:group minOccurs="0" ref="tei:anyElement-fallback"/>
</xs:complexType>
</xs:element>
</xs:schema>