[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: refentry.rnc 8931 2010-10-20 13:29:20Z 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:group name="db.toplevel.refsection">
|
---|
| 37 | <xs:choice>
|
---|
| 38 | <xs:element maxOccurs="unbounded" ref="db:refsection"/>
|
---|
| 39 | <xs:element maxOccurs="unbounded" ref="db:refsect1"/>
|
---|
| 40 | </xs:choice>
|
---|
| 41 | </xs:group>
|
---|
| 42 | <xs:group name="db.secondlevel.refsection">
|
---|
| 43 | <xs:choice>
|
---|
| 44 | <xs:element maxOccurs="unbounded" ref="db:refsection"/>
|
---|
| 45 | <xs:element maxOccurs="unbounded" ref="db:refsect2"/>
|
---|
| 46 | </xs:choice>
|
---|
| 47 | </xs:group>
|
---|
| 48 | <!-- ====================================================================== -->
|
---|
| 49 | <xs:element name="db.reference.components" abstract="true">
|
---|
| 50 | <xs:complexType>
|
---|
| 51 | <xs:sequence>
|
---|
| 52 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
|
---|
| 53 | <xs:group ref="db:db.refentry.info"/>
|
---|
| 54 | <xs:element minOccurs="0" ref="db:refmeta"/>
|
---|
| 55 | <xs:element maxOccurs="unbounded" ref="db:refnamediv"/>
|
---|
| 56 | <xs:element minOccurs="0" ref="db:refsynopsisdiv"/>
|
---|
| 57 | <xs:group ref="db:db.toplevel.refsection"/>
|
---|
| 58 | </xs:sequence>
|
---|
| 59 | <xs:attributeGroup ref="db:db.refentry.attlist"/>
|
---|
| 60 | </xs:complexType>
|
---|
| 61 | </xs:element>
|
---|
| 62 | <!-- ====================================================================== -->
|
---|
| 63 | <xs:attributeGroup name="db.reference.status.attribute">
|
---|
| 64 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
| 65 | </xs:attributeGroup>
|
---|
| 66 | <xs:attributeGroup name="db.reference.role.attribute">
|
---|
| 67 | <xs:attribute name="role" use="required"/>
|
---|
| 68 | </xs:attributeGroup>
|
---|
| 69 | <xs:attributeGroup name="db.reference.attlist">
|
---|
| 70 | <xs:attribute name="role"/>
|
---|
| 71 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 72 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 73 | <xs:attribute name="status"/>
|
---|
| 74 | <xs:attribute name="label"/>
|
---|
| 75 | </xs:attributeGroup>
|
---|
| 76 | <xs:group name="db.reference.info">
|
---|
| 77 | <xs:sequence>
|
---|
| 78 | <xs:group ref="db:db._info.title.req"/>
|
---|
| 79 | </xs:sequence>
|
---|
| 80 | </xs:group>
|
---|
| 81 | <xs:element name="reference" substitutionGroup="db:db.divisions">
|
---|
| 82 | <xs:complexType>
|
---|
| 83 | <xs:sequence>
|
---|
| 84 | <xs:group ref="db:db.reference.info"/>
|
---|
| 85 | <xs:element minOccurs="0" ref="db:partintro"/>
|
---|
| 86 | <xs:element maxOccurs="unbounded" ref="db:db.reference.components"/>
|
---|
| 87 | </xs:sequence>
|
---|
| 88 | <xs:attributeGroup ref="db:db.reference.attlist"/>
|
---|
| 89 | </xs:complexType>
|
---|
| 90 | </xs:element>
|
---|
| 91 | <!-- ====================================================================== -->
|
---|
| 92 | <xs:attributeGroup name="db.refentry.status.attribute">
|
---|
| 93 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
| 94 | </xs:attributeGroup>
|
---|
| 95 | <xs:attributeGroup name="db.refentry.role.attribute">
|
---|
| 96 | <xs:attribute name="role" use="required"/>
|
---|
| 97 | </xs:attributeGroup>
|
---|
| 98 | <xs:attributeGroup name="db.refentry.attlist">
|
---|
| 99 | <xs:attribute name="role"/>
|
---|
| 100 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 101 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 102 | <xs:attribute name="status"/>
|
---|
| 103 | <xs:attribute name="label"/>
|
---|
| 104 | </xs:attributeGroup>
|
---|
| 105 | <xs:group name="db.refentry.info">
|
---|
| 106 | <xs:sequence>
|
---|
| 107 | <xs:group ref="db:db._info.title.forbidden"/>
|
---|
| 108 | </xs:sequence>
|
---|
| 109 | </xs:group>
|
---|
| 110 | <xs:element name="refentry" substitutionGroup="db:db.reference.components"/>
|
---|
| 111 | <!-- ====================================================================== -->
|
---|
| 112 | <xs:attributeGroup name="db.refmeta.role.attribute">
|
---|
| 113 | <xs:attribute name="role" use="required"/>
|
---|
| 114 | </xs:attributeGroup>
|
---|
| 115 | <xs:attributeGroup name="db.refmeta.attlist">
|
---|
| 116 | <xs:attribute name="role"/>
|
---|
| 117 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 118 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 119 | </xs:attributeGroup>
|
---|
| 120 | <xs:element name="refmeta">
|
---|
| 121 | <xs:complexType>
|
---|
| 122 | <xs:sequence>
|
---|
| 123 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
|
---|
| 124 | <xs:element ref="db:refentrytitle"/>
|
---|
| 125 | <xs:element minOccurs="0" ref="db:manvolnum"/>
|
---|
| 126 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:refmiscinfo"/>
|
---|
| 127 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
|
---|
| 128 | </xs:sequence>
|
---|
| 129 | <xs:attributeGroup ref="db:db.refmeta.attlist"/>
|
---|
| 130 | </xs:complexType>
|
---|
| 131 | </xs:element>
|
---|
| 132 | <!-- ====================================================================== -->
|
---|
| 133 | <xs:simpleType name="db.refmiscinfo.class.enumeration">
|
---|
| 134 | <xs:restriction base="xs:token">
|
---|
| 135 | <xs:enumeration value="source">
|
---|
| 136 | <xs:annotation>
|
---|
| 137 | <xs:documentation>The name of the software product or component to which this topic applies</xs:documentation>
|
---|
| 138 | </xs:annotation>
|
---|
| 139 | </xs:enumeration>
|
---|
| 140 | <xs:enumeration value="version">
|
---|
| 141 | <xs:annotation>
|
---|
| 142 | <xs:documentation>The version of the software product or component to which this topic applies</xs:documentation>
|
---|
| 143 | </xs:annotation>
|
---|
| 144 | </xs:enumeration>
|
---|
| 145 | <xs:enumeration value="manual">
|
---|
| 146 | <xs:annotation>
|
---|
| 147 | <xs:documentation>The section title of the reference page (e.g., User Commands)</xs:documentation>
|
---|
| 148 | </xs:annotation>
|
---|
| 149 | </xs:enumeration>
|
---|
| 150 | <xs:enumeration value="sectdesc">
|
---|
| 151 | <xs:annotation>
|
---|
| 152 | <xs:documentation>The section title of the reference page (believed synonymous with "manual" but in wide use)</xs:documentation>
|
---|
| 153 | </xs:annotation>
|
---|
| 154 | </xs:enumeration>
|
---|
| 155 | <xs:enumeration value="software">
|
---|
| 156 | <xs:annotation>
|
---|
| 157 | <xs:documentation>The name of the software product or component to which this topic applies (e.g., SunOS x.y; believed synonymous with "source" but in wide use)</xs:documentation>
|
---|
| 158 | </xs:annotation>
|
---|
| 159 | </xs:enumeration>
|
---|
| 160 | </xs:restriction>
|
---|
| 161 | </xs:simpleType>
|
---|
| 162 | <xs:attributeGroup name="db.refmiscinfo.class-enum.attribute">
|
---|
| 163 | <xs:attribute name="class" type="db:db.refmiscinfo.class.enumeration"/>
|
---|
| 164 | </xs:attributeGroup>
|
---|
| 165 | <xs:attributeGroup name="db.refmiscinfo.class-other.attribute">
|
---|
| 166 | <xs:attribute name="otherclass" use="required"/>
|
---|
| 167 | </xs:attributeGroup>
|
---|
| 168 | <xs:attributeGroup name="db.refmiscinfo.class-other.attributes">
|
---|
| 169 | <xs:attribute name="class" use="required">
|
---|
| 170 | <xs:simpleType>
|
---|
| 171 | <xs:restriction base="xs:token">
|
---|
| 172 | <xs:enumeration value="other">
|
---|
| 173 | <xs:annotation>
|
---|
| 174 | <xs:documentation>Indicates that the information is some 'other' kind.</xs:documentation>
|
---|
| 175 | </xs:annotation>
|
---|
| 176 | </xs:enumeration>
|
---|
| 177 | </xs:restriction>
|
---|
| 178 | </xs:simpleType>
|
---|
| 179 | </xs:attribute>
|
---|
| 180 | <xs:attributeGroup ref="db:db.refmiscinfo.class-other.attribute"/>
|
---|
| 181 | </xs:attributeGroup>
|
---|
| 182 | <xs:attributeGroup name="db.refmiscinfo.class.attribute">
|
---|
| 183 | <xs:attribute name="class">
|
---|
| 184 | <xs:simpleType>
|
---|
| 185 | <xs:union memberTypes="db:db.refmiscinfo.class.enumeration">
|
---|
| 186 | <xs:simpleType>
|
---|
| 187 | <xs:restriction base="xs:token">
|
---|
| 188 | <xs:enumeration value="other">
|
---|
| 189 | <xs:annotation>
|
---|
| 190 | <xs:documentation>Indicates that the information is some 'other' kind.</xs:documentation>
|
---|
| 191 | </xs:annotation>
|
---|
| 192 | </xs:enumeration>
|
---|
| 193 | </xs:restriction>
|
---|
| 194 | </xs:simpleType>
|
---|
| 195 | </xs:union>
|
---|
| 196 | </xs:simpleType>
|
---|
| 197 | </xs:attribute>
|
---|
| 198 | <xs:attribute name="otherclass"/>
|
---|
| 199 | </xs:attributeGroup>
|
---|
| 200 | <!-- ====================================================================== -->
|
---|
| 201 | <xs:attributeGroup name="db.refmiscinfo.role.attribute">
|
---|
| 202 | <xs:attribute name="role" use="required"/>
|
---|
| 203 | </xs:attributeGroup>
|
---|
| 204 | <xs:attributeGroup name="db.refmiscinfo.attlist">
|
---|
| 205 | <xs:attribute name="role"/>
|
---|
| 206 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 207 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 208 | <xs:attributeGroup ref="db:db.refmiscinfo.class.attribute"/>
|
---|
| 209 | </xs:attributeGroup>
|
---|
| 210 | <xs:element name="refmiscinfo">
|
---|
| 211 | <xs:complexType mixed="true">
|
---|
| 212 | <xs:group ref="db:db._text"/>
|
---|
| 213 | <xs:attributeGroup ref="db:db.refmiscinfo.attlist"/>
|
---|
| 214 | </xs:complexType>
|
---|
| 215 | </xs:element>
|
---|
| 216 | <!-- ====================================================================== -->
|
---|
| 217 | <xs:attributeGroup name="db.refnamediv.role.attribute">
|
---|
| 218 | <xs:attribute name="role" use="required"/>
|
---|
| 219 | </xs:attributeGroup>
|
---|
| 220 | <xs:attributeGroup name="db.refnamediv.attlist">
|
---|
| 221 | <xs:attribute name="role"/>
|
---|
| 222 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 223 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 224 | </xs:attributeGroup>
|
---|
| 225 | <xs:element name="refnamediv">
|
---|
| 226 | <xs:complexType>
|
---|
| 227 | <xs:sequence>
|
---|
| 228 | <xs:element minOccurs="0" ref="db:refdescriptor"/>
|
---|
| 229 | <xs:element maxOccurs="unbounded" ref="db:refname"/>
|
---|
| 230 | <xs:element ref="db:refpurpose"/>
|
---|
| 231 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:refclass"/>
|
---|
| 232 | </xs:sequence>
|
---|
| 233 | <xs:attributeGroup ref="db:db.refnamediv.attlist"/>
|
---|
| 234 | </xs:complexType>
|
---|
| 235 | </xs:element>
|
---|
| 236 | <!-- ====================================================================== -->
|
---|
| 237 | <xs:attributeGroup name="db.refdescriptor.role.attribute">
|
---|
| 238 | <xs:attribute name="role" use="required"/>
|
---|
| 239 | </xs:attributeGroup>
|
---|
| 240 | <xs:attributeGroup name="db.refdescriptor.attlist">
|
---|
| 241 | <xs:attribute name="role"/>
|
---|
| 242 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 243 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 244 | </xs:attributeGroup>
|
---|
| 245 | <xs:element name="refdescriptor">
|
---|
| 246 | <xs:complexType mixed="true">
|
---|
| 247 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
---|
| 248 | <xs:attributeGroup ref="db:db.refdescriptor.attlist"/>
|
---|
| 249 | </xs:complexType>
|
---|
| 250 | </xs:element>
|
---|
| 251 | <!-- ====================================================================== -->
|
---|
| 252 | <xs:attributeGroup name="db.refname.role.attribute">
|
---|
| 253 | <xs:attribute name="role" use="required"/>
|
---|
| 254 | </xs:attributeGroup>
|
---|
| 255 | <xs:attributeGroup name="db.refname.attlist">
|
---|
| 256 | <xs:attribute name="role"/>
|
---|
| 257 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 258 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 259 | </xs:attributeGroup>
|
---|
| 260 | <xs:element name="refname">
|
---|
| 261 | <xs:complexType mixed="true">
|
---|
| 262 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
---|
| 263 | <xs:attributeGroup ref="db:db.refname.attlist"/>
|
---|
| 264 | </xs:complexType>
|
---|
| 265 | </xs:element>
|
---|
| 266 | <!-- ====================================================================== -->
|
---|
| 267 | <xs:attributeGroup name="db.refpurpose.role.attribute">
|
---|
| 268 | <xs:attribute name="role" use="required"/>
|
---|
| 269 | </xs:attributeGroup>
|
---|
| 270 | <xs:attributeGroup name="db.refpurpose.attlist">
|
---|
| 271 | <xs:attribute name="role"/>
|
---|
| 272 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 273 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 274 | </xs:attributeGroup>
|
---|
| 275 | <xs:element name="refpurpose">
|
---|
| 276 | <xs:complexType mixed="true">
|
---|
| 277 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
---|
| 278 | <xs:attributeGroup ref="db:db.refpurpose.attlist"/>
|
---|
| 279 | </xs:complexType>
|
---|
| 280 | </xs:element>
|
---|
| 281 | <!-- ====================================================================== -->
|
---|
| 282 | <xs:attributeGroup name="db.refclass.role.attribute">
|
---|
| 283 | <xs:attribute name="role" use="required"/>
|
---|
| 284 | </xs:attributeGroup>
|
---|
| 285 | <xs:attributeGroup name="db.refclass.attlist">
|
---|
| 286 | <xs:attribute name="role"/>
|
---|
| 287 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 288 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 289 | </xs:attributeGroup>
|
---|
| 290 | <xs:element name="refclass">
|
---|
| 291 | <xs:complexType mixed="true">
|
---|
| 292 | <xs:sequence>
|
---|
| 293 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:application"/>
|
---|
| 294 | </xs:sequence>
|
---|
| 295 | <xs:attributeGroup ref="db:db.refclass.attlist"/>
|
---|
| 296 | </xs:complexType>
|
---|
| 297 | </xs:element>
|
---|
| 298 | <!-- ====================================================================== -->
|
---|
| 299 | <xs:attributeGroup name="db.refsynopsisdiv.role.attribute">
|
---|
| 300 | <xs:attribute name="role" use="required"/>
|
---|
| 301 | </xs:attributeGroup>
|
---|
| 302 | <xs:attributeGroup name="db.refsynopsisdiv.attlist">
|
---|
| 303 | <xs:attribute name="role"/>
|
---|
| 304 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 305 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 306 | </xs:attributeGroup>
|
---|
| 307 | <xs:group name="db.refsynopsisdiv.info">
|
---|
| 308 | <xs:sequence>
|
---|
| 309 | <xs:group ref="db:db._info"/>
|
---|
| 310 | </xs:sequence>
|
---|
| 311 | </xs:group>
|
---|
| 312 | <xs:element name="refsynopsisdiv">
|
---|
| 313 | <xs:complexType>
|
---|
| 314 | <xs:sequence>
|
---|
| 315 | <xs:group ref="db:db.refsynopsisdiv.info"/>
|
---|
| 316 | <xs:choice>
|
---|
| 317 | <xs:sequence>
|
---|
| 318 | <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
| 319 | <xs:group minOccurs="0" ref="db:db.secondlevel.refsection"/>
|
---|
| 320 | </xs:sequence>
|
---|
| 321 | <xs:group ref="db:db.secondlevel.refsection"/>
|
---|
| 322 | </xs:choice>
|
---|
| 323 | </xs:sequence>
|
---|
| 324 | <xs:attributeGroup ref="db:db.refsynopsisdiv.attlist"/>
|
---|
| 325 | </xs:complexType>
|
---|
| 326 | </xs:element>
|
---|
| 327 | <!-- ====================================================================== -->
|
---|
| 328 | <xs:attributeGroup name="db.refsection.status.attribute">
|
---|
| 329 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
| 330 | </xs:attributeGroup>
|
---|
| 331 | <xs:attributeGroup name="db.refsection.role.attribute">
|
---|
| 332 | <xs:attribute name="role" use="required"/>
|
---|
| 333 | </xs:attributeGroup>
|
---|
| 334 | <xs:attributeGroup name="db.refsection.attlist">
|
---|
| 335 | <xs:attribute name="role"/>
|
---|
| 336 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
| 337 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
| 338 | <xs:attribute name="status"/>
|
---|
| 339 | <xs:attribute name="label"/>
|
---|
| 340 | </xs:attributeGroup>
|
---|
| 341 | <xs:group name="db.refsection.info">
|
---|
| 342 | <xs:sequence>
|
---|
| 343 | <xs:group ref="db:db._info.title.req"/>
|
---|
| 344 | </xs:sequence>
|
---|
| 345 | </xs:group>
|
---|
| 346 | <xs:element name="refsection">
|
---|
| 347 | <xs:complexType>
|
---|
| 348 | <xs:sequence>
|
---|
| 349 | <xs:group ref="db:db.refsection.info"/>
|
---|
| 350 | <xs:choice>
|
---|
| 351 | <xs:sequence>
|
---|
| 352 | <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
| 353 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:refsection"/>
|
---|
| 354 | </xs:sequence>
|
---|
| 355 | <xs:element maxOccurs="unbounded" ref="db:refsection"/>
|
---|
| 356 | </xs:choice>
|
---|
| 357 | </xs:sequence>
|
---|
| 358 | <xs:attributeGroup ref="db:db.refsection.attlist"/>
|
---|
| 359 | </xs:complexType>
|
---|
| 360 | </xs:element>
|
---|
| 361 | </xs:schema>
|
---|