summaryrefslogtreecommitdiff
path: root/slides/schema/xsd/xml.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'slides/schema/xsd/xml.xsd')
-rw-r--r--slides/schema/xsd/xml.xsd35
1 files changed, 35 insertions, 0 deletions
diff --git a/slides/schema/xsd/xml.xsd b/slides/schema/xsd/xml.xsd
new file mode 100644
index 0000000..24c87a9
--- /dev/null
+++ b/slides/schema/xsd/xml.xsd
@@ -0,0 +1,35 @@
+<?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:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
+ <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
+ <xs:attribute name="id" type="xs:ID"/>
+ <xs:attribute name="lang"/>
+ <xs:attribute name="base" type="xs:anyURI"/>
+ <xs:attributeGroup name="space">
+ <xs:attribute name="space" use="required" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="preserve">
+ <xs:annotation>
+ <xs:documentation>Whitespace must be preserved.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+ <xs:attributeGroup name="space1">
+ <xs:attribute name="space" use="required" form="qualified">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="preserve">
+ <xs:annotation>
+ <xs:documentation>Extra whitespace and line breaks must be preserved.</xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+</xs:schema>