-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathxml.xsd
54 lines (54 loc) · 2.25 KB
/
xml.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/XML/1998/namespace" 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/2001/XInclude" schemaLocation="xinclude.xsd"/>
<xs:attribute name="id" type="xs:ID">
<xs:annotation>
<xs:documentation>(identifier) provides a unique identifier for the element bearing the attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lang">
<xs:simpleType>
<xs:union memberTypes="xs:language">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="base">
<xs:annotation>
<xs:documentation>provides a base URI reference with which applications can resolve relative URI references into absolute URI references.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:anyURI">
<xs:pattern value="\S+"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="space">
<xs:annotation>
<xs:documentation>signals an intention about how white space should be managed by applications.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="default">
<xs:annotation>
<xs:documentation>signals that the application's default white-space processing modes are acceptable</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="preserve">
<xs:annotation>
<xs:documentation>indicates the intent that applications preserve all white space</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:schema>