This repository has been archived by the owner on Aug 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
xml.xsd
38 lines (38 loc) · 1.83 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
<?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:ns1="http://www.tei-c.org/ns/1.0">
<xs:import namespace="http://www.tei-c.org/ns/1.0" schemaLocation="teisimple.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" type="ns1:data.language">
<xs:annotation>
<xs:documentation>(language) indicates the language of the element content using a tag generated according to BCP 47.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="base" type="ns1:data.pointer">
<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: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>