123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- This file is part of DocBook V5.0
-
- Copyright 1992-2008 HaL Computer Systems, Inc.,
- O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
- Corporation, Norman Walsh, Sun Microsystems, Inc., and the
- Organization for the Advancement of Structured Information
- Standards (OASIS).
-
- Release: $Id: glossary.rnc 8931 2010-10-20 13:29:20Z nwalsh $
-
- Permission to use, copy, modify and distribute the DocBook schema
- and its accompanying documentation for any purpose and without fee
- is hereby granted in perpetuity, provided that the above copyright
- notice and this paragraph appear in all copies. The copyright
- holders make no representation about the suitability of the schema
- for any purpose. It is provided "as is" without expressed or implied
- warranty.
-
- If you modify the DocBook schema in any way, label your schema as a
- variant of DocBook. See the reference documentation
- (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
- for more information.
-
- Please direct all questions, bug reports, or suggestions for changes
- to the docbook@lists.oasis-open.org mailing list. For more
- information, see http://www.oasis-open.org/docbook/.
-
- ======================================================================
- -->
- <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">
- <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:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
- <xs:group name="db.glossary.inlines">
- <xs:choice>
- <xs:group ref="db:db.firstterm"/>
- <xs:group ref="db:db.glossterm"/>
- <xs:group ref="db:db._firstterm"/>
- <xs:group ref="db:db._glossterm"/>
- </xs:choice>
- </xs:group>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.baseform.attribute">
- <xs:attribute name="baseform"/>
- </xs:attributeGroup>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.glosslist.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glosslist.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- </xs:attributeGroup>
- <xs:group name="db.glosslist.info">
- <xs:sequence>
- <xs:group ref="db:db._info.title.only"/>
- </xs:sequence>
- </xs:group>
- <xs:element name="glosslist">
- <xs:complexType>
- <xs:sequence>
- <xs:group minOccurs="0" ref="db:db.glosslist.info"/>
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
- <xs:element maxOccurs="unbounded" ref="db:glossentry"/>
- </xs:sequence>
- <xs:attributeGroup ref="db:db.glosslist.attlist"/>
- </xs:complexType>
- </xs:element>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.glossentry.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossentry.sortas.attribute">
- <xs:attribute name="sortas" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossentry.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attribute name="sortas"/>
- </xs:attributeGroup>
- <xs:element name="glossentry">
- <xs:complexType>
- <xs:sequence>
- <xs:group ref="db:db.glossterm"/>
- <xs:element minOccurs="0" ref="db:acronym"/>
- <xs:element minOccurs="0" ref="db:abbrev"/>
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
- <xs:choice>
- <xs:element ref="db:glosssee"/>
- <xs:element maxOccurs="unbounded" ref="db:glossdef"/>
- </xs:choice>
- </xs:sequence>
- <xs:attributeGroup ref="db:db.glossentry.attlist"/>
- </xs:complexType>
- </xs:element>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.glossdef.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossdef.subject.attribute">
- <xs:attribute name="subject" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossdef.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attribute name="subject"/>
- </xs:attributeGroup>
- <xs:element name="glossdef">
- <xs:complexType>
- <xs:sequence>
- <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossseealso"/>
- </xs:sequence>
- <xs:attributeGroup ref="db:db.glossdef.attlist"/>
- </xs:complexType>
- </xs:element>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.glosssee.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glosssee.otherterm.attribute">
- <xs:attribute name="otherterm" use="required" type="xs:IDREF"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glosssee.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attribute name="otherterm" type="xs:IDREF"/>
- </xs:attributeGroup>
- <xs:element name="glosssee">
- <xs:complexType mixed="true">
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
- <xs:attributeGroup ref="db:db.glosssee.attlist"/>
- </xs:complexType>
- </xs:element>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.glossseealso.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossseealso.otherterm.attribute">
- <xs:attribute name="otherterm" use="required" type="xs:IDREF"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossseealso.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attribute name="otherterm" type="xs:IDREF"/>
- </xs:attributeGroup>
- <xs:element name="glossseealso">
- <xs:complexType mixed="true">
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
- <xs:attributeGroup ref="db:db.glossseealso.attlist"/>
- </xs:complexType>
- </xs:element>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.firstterm.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.firstterm.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attributeGroup ref="db:db.baseform.attribute"/>
- </xs:attributeGroup>
- <xs:group name="db.firstterm">
- <xs:sequence>
- <xs:element name="firstterm">
- <xs:complexType mixed="true">
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
- <xs:attributeGroup ref="db:db.firstterm.attlist"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:group>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db._firstterm.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db._firstterm.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attributeGroup ref="db:db.baseform.attribute"/>
- </xs:attributeGroup>
- <xs:group name="db._firstterm">
- <xs:sequence>
- <xs:element name="firstterm">
- <xs:complexType mixed="true">
- <xs:group ref="db:db._text"/>
- <xs:attributeGroup ref="db:db._firstterm.attlist"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:group>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.glossterm.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossterm.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attributeGroup ref="db:db.baseform.attribute"/>
- </xs:attributeGroup>
- <xs:group name="db.glossterm">
- <xs:sequence>
- <xs:element name="glossterm">
- <xs:complexType mixed="true">
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
- <xs:attributeGroup ref="db:db.glossterm.attlist"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:group>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db._glossterm.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db._glossterm.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attributeGroup ref="db:db.baseform.attribute"/>
- </xs:attributeGroup>
- <xs:group name="db._glossterm">
- <xs:sequence>
- <xs:element name="glossterm">
- <xs:complexType mixed="true">
- <xs:group ref="db:db._text"/>
- <xs:attributeGroup ref="db:db._glossterm.attlist"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- </xs:group>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.glossary.status.attribute">
- <xs:attributeGroup ref="db:db.status.attribute"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossary.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossary.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attribute name="label"/>
- <xs:attribute name="status"/>
- </xs:attributeGroup>
- <xs:group name="db.glossary.info">
- <xs:sequence>
- <xs:group ref="db:db._info"/>
- </xs:sequence>
- </xs:group>
- <xs:element name="glossary">
- <xs:complexType>
- <xs:sequence>
- <xs:group ref="db:db.glossary.info"/>
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
- <xs:choice>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossdiv"/>
- <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossentry"/>
- </xs:choice>
- <xs:element minOccurs="0" ref="db:bibliography"/>
- </xs:sequence>
- <xs:attributeGroup ref="db:db.glossary.attlist"/>
- </xs:complexType>
- </xs:element>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.glossdiv.status.attribute">
- <xs:attributeGroup ref="db:db.status.attribute"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossdiv.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.glossdiv.attlist">
- <xs:attribute name="role"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attribute name="label"/>
- <xs:attribute name="status"/>
- </xs:attributeGroup>
- <xs:group name="db.glossdiv.info">
- <xs:sequence>
- <xs:group ref="db:db._info.title.req"/>
- </xs:sequence>
- </xs:group>
- <xs:element name="glossdiv">
- <xs:complexType>
- <xs:sequence>
- <xs:group ref="db:db.glossdiv.info"/>
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
- <xs:element maxOccurs="unbounded" ref="db:glossentry"/>
- </xs:sequence>
- <xs:attributeGroup ref="db:db.glossdiv.attlist"/>
- </xs:complexType>
- </xs:element>
- <!-- ====================================================================== -->
- <xs:attributeGroup name="db.termdef.role.attribute">
- <xs:attribute name="role" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="db.termdef.attlist">
- <xs:attribute name="role"/>
- <xs:attribute name="sortas"/>
- <xs:attributeGroup ref="dbs:db.common.attributes"/>
- <xs:attributeGroup ref="db:db.common.linking.attributes"/>
- <xs:attributeGroup ref="db:db.baseform.attribute"/>
- </xs:attributeGroup>
- <xs:element name="termdef" substitutionGroup="db:db.technical.inlines">
- <xs:complexType mixed="true">
- <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
- <xs:attributeGroup ref="db:db.termdef.attlist"/>
- </xs:complexType>
- </xs:element>
- </xs:schema>
|