[b1a51ac1] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
| 2 | <!--
|
---|
| 3 | This file is part of DocBook V5.0
|
---|
| 4 |
|
---|
| 5 | Copyright 1992-2008 HaL Computer Systems, Inc.,
|
---|
| 6 | O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
|
---|
| 7 | Corporation, Norman Walsh, Sun Microsystems, Inc., and the
|
---|
| 8 | Organization for the Advancement of Structured Information
|
---|
| 9 | Standards (OASIS).
|
---|
| 10 |
|
---|
| 11 | Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
|
---|
| 12 |
|
---|
| 13 | Permission to use, copy, modify and distribute the DocBook schema
|
---|
| 14 | and its accompanying documentation for any purpose and without fee
|
---|
| 15 | is hereby granted in perpetuity, provided that the above copyright
|
---|
| 16 | notice and this paragraph appear in all copies. The copyright
|
---|
| 17 | holders make no representation about the suitability of the schema
|
---|
| 18 | for any purpose. It is provided "as is" without expressed or implied
|
---|
| 19 | warranty.
|
---|
| 20 |
|
---|
| 21 | If you modify the DocBook schema in any way, label your schema as a
|
---|
| 22 | variant of DocBook. See the reference documentation
|
---|
| 23 | (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
|
---|
| 24 | for more information.
|
---|
| 25 |
|
---|
| 26 | Please direct all questions, bug reports, or suggestions for changes
|
---|
| 27 | to the docbook@lists.oasis-open.org mailing list. For more
|
---|
| 28 | information, see http://www.oasis-open.org/docbook/.
|
---|
| 29 |
|
---|
| 30 | ======================================================================
|
---|
| 31 | -->
|
---|
| 32 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
---|
| 33 | <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
|
---|
| 34 | <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
|
---|
| 35 | <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
|
---|
| 36 | <xs:element name="db.markup.inlines" abstract="true"/>
|
---|
| 37 | <!-- ====================================================================== -->
|
---|
| 38 | <xs:attributeGroup name="db.markup.role.attribute">
|
---|
| 39 | <xs:attribute name="role" use="required"/>
|
---|
| 40 | </xs:attributeGroup>
|
---|
| 41 | <xs:attributeGroup name="db.markup.attlist">
|
---|
| 42 | <xs:attribute name="role"/>
|
---|
| 43 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 44 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 45 | </xs:attributeGroup>
|
---|
| 46 | <xs:element name="markup" substitutionGroup="db:db.markup.inlines">
|
---|
| 47 | <xs:complexType mixed="true">
|
---|
| 48 | <xs:group ref="db:db._text"/>
|
---|
| 49 | <xs:attributeGroup ref="db:db.markup.attlist"/>
|
---|
| 50 | </xs:complexType>
|
---|
| 51 | </xs:element>
|
---|
| 52 | <!-- ====================================================================== -->
|
---|
| 53 | <xs:attributeGroup name="db.tag.role.attribute">
|
---|
| 54 | <xs:attribute name="role" use="required"/>
|
---|
| 55 | </xs:attributeGroup>
|
---|
| 56 | <xs:simpleType name="db.tag.class.enumeration">
|
---|
| 57 | <xs:restriction base="xs:token">
|
---|
| 58 | <xs:enumeration value="attribute">
|
---|
| 59 | <xs:annotation>
|
---|
| 60 | <xs:documentation>An attribute</xs:documentation>
|
---|
| 61 | </xs:annotation>
|
---|
| 62 | </xs:enumeration>
|
---|
| 63 | <xs:enumeration value="attvalue">
|
---|
| 64 | <xs:annotation>
|
---|
| 65 | <xs:documentation>An attribute value</xs:documentation>
|
---|
| 66 | </xs:annotation>
|
---|
| 67 | </xs:enumeration>
|
---|
| 68 | <xs:enumeration value="element">
|
---|
| 69 | <xs:annotation>
|
---|
| 70 | <xs:documentation>An element</xs:documentation>
|
---|
| 71 | </xs:annotation>
|
---|
| 72 | </xs:enumeration>
|
---|
| 73 | <xs:enumeration value="emptytag">
|
---|
| 74 | <xs:annotation>
|
---|
| 75 | <xs:documentation>An empty element tag</xs:documentation>
|
---|
| 76 | </xs:annotation>
|
---|
| 77 | </xs:enumeration>
|
---|
| 78 | <xs:enumeration value="endtag">
|
---|
| 79 | <xs:annotation>
|
---|
| 80 | <xs:documentation>An end tag</xs:documentation>
|
---|
| 81 | </xs:annotation>
|
---|
| 82 | </xs:enumeration>
|
---|
| 83 | <xs:enumeration value="genentity">
|
---|
| 84 | <xs:annotation>
|
---|
| 85 | <xs:documentation>A general entity</xs:documentation>
|
---|
| 86 | </xs:annotation>
|
---|
| 87 | </xs:enumeration>
|
---|
| 88 | <xs:enumeration value="localname">
|
---|
| 89 | <xs:annotation>
|
---|
| 90 | <xs:documentation>The local name part of a qualified name</xs:documentation>
|
---|
| 91 | </xs:annotation>
|
---|
| 92 | </xs:enumeration>
|
---|
| 93 | <xs:enumeration value="namespace">
|
---|
| 94 | <xs:annotation>
|
---|
| 95 | <xs:documentation>A namespace</xs:documentation>
|
---|
| 96 | </xs:annotation>
|
---|
| 97 | </xs:enumeration>
|
---|
| 98 | <xs:enumeration value="numcharref">
|
---|
| 99 | <xs:annotation>
|
---|
| 100 | <xs:documentation>A numeric character reference</xs:documentation>
|
---|
| 101 | </xs:annotation>
|
---|
| 102 | </xs:enumeration>
|
---|
| 103 | <xs:enumeration value="paramentity">
|
---|
| 104 | <xs:annotation>
|
---|
| 105 | <xs:documentation>A parameter entity</xs:documentation>
|
---|
| 106 | </xs:annotation>
|
---|
| 107 | </xs:enumeration>
|
---|
| 108 | <xs:enumeration value="pi">
|
---|
| 109 | <xs:annotation>
|
---|
| 110 | <xs:documentation>A processing instruction</xs:documentation>
|
---|
| 111 | </xs:annotation>
|
---|
| 112 | </xs:enumeration>
|
---|
| 113 | <xs:enumeration value="prefix">
|
---|
| 114 | <xs:annotation>
|
---|
| 115 | <xs:documentation>The prefix part of a qualified name</xs:documentation>
|
---|
| 116 | </xs:annotation>
|
---|
| 117 | </xs:enumeration>
|
---|
| 118 | <xs:enumeration value="comment">
|
---|
| 119 | <xs:annotation>
|
---|
| 120 | <xs:documentation>An SGML comment</xs:documentation>
|
---|
| 121 | </xs:annotation>
|
---|
| 122 | </xs:enumeration>
|
---|
| 123 | <xs:enumeration value="starttag">
|
---|
| 124 | <xs:annotation>
|
---|
| 125 | <xs:documentation>A start tag</xs:documentation>
|
---|
| 126 | </xs:annotation>
|
---|
| 127 | </xs:enumeration>
|
---|
| 128 | <xs:enumeration value="xmlpi">
|
---|
| 129 | <xs:annotation>
|
---|
| 130 | <xs:documentation>An XML processing instruction</xs:documentation>
|
---|
| 131 | </xs:annotation>
|
---|
| 132 | </xs:enumeration>
|
---|
| 133 | </xs:restriction>
|
---|
| 134 | </xs:simpleType>
|
---|
| 135 | <xs:attributeGroup name="db.tag.class.attribute">
|
---|
| 136 | <xs:attribute name="class" use="required" type="db:db.tag.class.enumeration"/>
|
---|
| 137 | </xs:attributeGroup>
|
---|
| 138 | <xs:attributeGroup name="db.tag.namespace.attribute">
|
---|
| 139 | <xs:attribute name="namespace" use="required" type="xs:anyURI"/>
|
---|
| 140 | </xs:attributeGroup>
|
---|
| 141 | <xs:attributeGroup name="db.tag.attlist">
|
---|
| 142 | <xs:attribute name="role"/>
|
---|
| 143 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 144 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 145 | <xs:attribute name="class" type="db:db.tag.class.enumeration"/>
|
---|
| 146 | <xs:attribute name="namespace" type="xs:anyURI"/>
|
---|
| 147 | </xs:attributeGroup>
|
---|
| 148 | <xs:element name="tag" substitutionGroup="db:db.markup.inlines">
|
---|
| 149 | <xs:complexType mixed="true">
|
---|
| 150 | <xs:group ref="db:db._text"/>
|
---|
| 151 | <xs:attributeGroup ref="db:db.tag.attlist"/>
|
---|
| 152 | </xs:complexType>
|
---|
| 153 | </xs:element>
|
---|
| 154 | <!-- ====================================================================== -->
|
---|
| 155 | <xs:attributeGroup name="db.symbol.class.attribute">
|
---|
| 156 | <xs:attribute name="class" use="required">
|
---|
| 157 | <xs:simpleType>
|
---|
| 158 | <xs:restriction base="xs:token">
|
---|
| 159 | <xs:enumeration value="limit">
|
---|
| 160 | <xs:annotation>
|
---|
| 161 | <xs:documentation>The value is a limit of some kind</xs:documentation>
|
---|
| 162 | </xs:annotation>
|
---|
| 163 | </xs:enumeration>
|
---|
| 164 | </xs:restriction>
|
---|
| 165 | </xs:simpleType>
|
---|
| 166 | </xs:attribute>
|
---|
| 167 | </xs:attributeGroup>
|
---|
| 168 | <xs:attributeGroup name="db.symbol.role.attribute">
|
---|
| 169 | <xs:attribute name="role" use="required"/>
|
---|
| 170 | </xs:attributeGroup>
|
---|
| 171 | <xs:attributeGroup name="db.symbol.attlist">
|
---|
| 172 | <xs:attribute name="role"/>
|
---|
| 173 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 174 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 175 | <xs:attribute name="class">
|
---|
| 176 | <xs:simpleType>
|
---|
| 177 | <xs:restriction base="xs:token">
|
---|
| 178 | <xs:enumeration value="limit">
|
---|
| 179 | <xs:annotation>
|
---|
| 180 | <xs:documentation>The value is a limit of some kind</xs:documentation>
|
---|
| 181 | </xs:annotation>
|
---|
| 182 | </xs:enumeration>
|
---|
| 183 | </xs:restriction>
|
---|
| 184 | </xs:simpleType>
|
---|
| 185 | </xs:attribute>
|
---|
| 186 | </xs:attributeGroup>
|
---|
| 187 | <xs:element name="symbol" substitutionGroup="db:db.markup.inlines">
|
---|
| 188 | <xs:complexType mixed="true">
|
---|
| 189 | <xs:group ref="db:db._text"/>
|
---|
| 190 | <xs:attributeGroup ref="db:db.symbol.attlist"/>
|
---|
| 191 | </xs:complexType>
|
---|
| 192 | </xs:element>
|
---|
| 193 | <!-- ====================================================================== -->
|
---|
| 194 | <xs:attributeGroup name="db.token.role.attribute">
|
---|
| 195 | <xs:attribute name="role" use="required"/>
|
---|
| 196 | </xs:attributeGroup>
|
---|
| 197 | <xs:attributeGroup name="db.token.attlist">
|
---|
| 198 | <xs:attribute name="role"/>
|
---|
| 199 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 200 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 201 | </xs:attributeGroup>
|
---|
| 202 | <xs:element name="token" substitutionGroup="db:db.markup.inlines">
|
---|
| 203 | <xs:complexType mixed="true">
|
---|
| 204 | <xs:group ref="db:db._text"/>
|
---|
| 205 | <xs:attributeGroup ref="db:db.token.attlist"/>
|
---|
| 206 | </xs:complexType>
|
---|
| 207 | </xs:element>
|
---|
| 208 | <!-- ====================================================================== -->
|
---|
| 209 | <xs:attributeGroup name="db.literal.role.attribute">
|
---|
| 210 | <xs:attribute name="role" use="required"/>
|
---|
| 211 | </xs:attributeGroup>
|
---|
| 212 | <xs:attributeGroup name="db.literal.attlist">
|
---|
| 213 | <xs:attribute name="role"/>
|
---|
| 214 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 215 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 216 | </xs:attributeGroup>
|
---|
| 217 | <xs:element name="literal" substitutionGroup="db:db.markup.inlines">
|
---|
| 218 | <xs:complexType mixed="true">
|
---|
| 219 | <xs:group ref="db:db._text"/>
|
---|
| 220 | <xs:attributeGroup ref="db:db.literal.attlist"/>
|
---|
| 221 | </xs:complexType>
|
---|
| 222 | </xs:element>
|
---|
| 223 | <!-- ====================================================================== -->
|
---|
| 224 | <xs:attributeGroup name="code.language.attribute">
|
---|
| 225 | <xs:attribute name="language" use="required"/>
|
---|
| 226 | </xs:attributeGroup>
|
---|
| 227 | <xs:attributeGroup name="db.code.role.attribute">
|
---|
| 228 | <xs:attribute name="role" use="required"/>
|
---|
| 229 | </xs:attributeGroup>
|
---|
| 230 | <xs:attributeGroup name="db.code.attlist">
|
---|
| 231 | <xs:attribute name="role"/>
|
---|
| 232 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 233 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 234 | <xs:attribute name="language"/>
|
---|
| 235 | </xs:attributeGroup>
|
---|
| 236 | <xs:element name="code" substitutionGroup="db:db.markup.inlines">
|
---|
| 237 | <xs:complexType mixed="true">
|
---|
| 238 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
| 239 | <xs:group ref="db:db.programming.inlines"/>
|
---|
| 240 | <xs:group ref="db:db._text"/>
|
---|
| 241 | </xs:choice>
|
---|
| 242 | <xs:attributeGroup ref="db:db.code.attlist"/>
|
---|
| 243 | </xs:complexType>
|
---|
| 244 | </xs:element>
|
---|
| 245 | <!-- ====================================================================== -->
|
---|
| 246 | <xs:attributeGroup name="db.constant.class.attribute">
|
---|
| 247 | <xs:attribute name="class" use="required">
|
---|
| 248 | <xs:simpleType>
|
---|
| 249 | <xs:restriction base="xs:token">
|
---|
| 250 | <xs:enumeration value="limit">
|
---|
| 251 | <xs:annotation>
|
---|
| 252 | <xs:documentation>The value is a limit of some kind</xs:documentation>
|
---|
| 253 | </xs:annotation>
|
---|
| 254 | </xs:enumeration>
|
---|
| 255 | </xs:restriction>
|
---|
| 256 | </xs:simpleType>
|
---|
| 257 | </xs:attribute>
|
---|
| 258 | </xs:attributeGroup>
|
---|
| 259 | <xs:attributeGroup name="db.constant.role.attribute">
|
---|
| 260 | <xs:attribute name="role" use="required"/>
|
---|
| 261 | </xs:attributeGroup>
|
---|
| 262 | <xs:attributeGroup name="db.constant.attlist">
|
---|
| 263 | <xs:attribute name="role"/>
|
---|
| 264 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 265 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 266 | <xs:attribute name="class">
|
---|
| 267 | <xs:simpleType>
|
---|
| 268 | <xs:restriction base="xs:token">
|
---|
| 269 | <xs:enumeration value="limit">
|
---|
| 270 | <xs:annotation>
|
---|
| 271 | <xs:documentation>The value is a limit of some kind</xs:documentation>
|
---|
| 272 | </xs:annotation>
|
---|
| 273 | </xs:enumeration>
|
---|
| 274 | </xs:restriction>
|
---|
| 275 | </xs:simpleType>
|
---|
| 276 | </xs:attribute>
|
---|
| 277 | </xs:attributeGroup>
|
---|
| 278 | <xs:element name="constant" substitutionGroup="db:db.markup.inlines">
|
---|
| 279 | <xs:complexType mixed="true">
|
---|
| 280 | <xs:group ref="db:db._text"/>
|
---|
| 281 | <xs:attributeGroup ref="db:db.constant.attlist"/>
|
---|
| 282 | </xs:complexType>
|
---|
| 283 | </xs:element>
|
---|
| 284 | </xs:schema>
|
---|