| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360 | 
							- <?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: sect1.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/.
 
-   
 
-   ======================================================================
 
- -->
 
- <grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
 
-   <start combine="choice">
 
-     <choice>
 
-       <ref name="db.sect1"/>
 
-       <ref name="db.sect2"/>
 
-       <ref name="db.sect3"/>
 
-       <ref name="db.sect4"/>
 
-       <ref name="db.sect5"/>
 
-     </choice>
 
-   </start>
 
-   <define name="db.toplevel.sections" combine="choice">
 
-     <oneOrMore>
 
-       <ref name="db.sect1"/>
 
-     </oneOrMore>
 
-     <zeroOrMore>
 
-       <ref name="db.simplesect"/>
 
-     </zeroOrMore>
 
-   </define>
 
-   <!-- ====================================================================== -->
 
-   <define name="db.sect1.sections">
 
-     <choice>
 
-       <group>
 
-         <oneOrMore>
 
-           <ref name="db.sect2"/>
 
-         </oneOrMore>
 
-         <zeroOrMore>
 
-           <ref name="db.simplesect"/>
 
-         </zeroOrMore>
 
-       </group>
 
-       <oneOrMore>
 
-         <ref name="db.simplesect"/>
 
-       </oneOrMore>
 
-     </choice>
 
-   </define>
 
-   <div>
 
-     <db:refname>sect1</db:refname>
 
-     <db:refpurpose>A top-level section of document</db:refpurpose>
 
-     <define name="db.sect1.status.attribute">
 
-       <ref name="db.status.attribute"/>
 
-     </define>
 
-     <define name="db.sect1.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.sect1.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.sect1.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-         <optional>
 
-           <ref name="db.label.attribute"/>
 
-         </optional>
 
-         <optional>
 
-           <ref name="db.sect1.status.attribute"/>
 
-         </optional>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.sect1.info">
 
-       <ref name="db._info.title.req"/>
 
-     </define>
 
-     <define name="db.sect1">
 
-       <element name="sect1">
 
-         <ref name="db.sect1.attlist"/>
 
-         <ref name="db.sect1.info"/>
 
-         <choice>
 
-           <group>
 
-             <oneOrMore>
 
-               <ref name="db.all.blocks"/>
 
-             </oneOrMore>
 
-             <optional>
 
-               <ref name="db.sect1.sections"/>
 
-             </optional>
 
-           </group>
 
-           <ref name="db.sect1.sections"/>
 
-         </choice>
 
-         <zeroOrMore>
 
-           <ref name="db.navigation.components"/>
 
-         </zeroOrMore>
 
-       </element>
 
-     </define>
 
-   </div>
 
-   <!-- ====================================================================== -->
 
-   <define name="db.sect2.sections">
 
-     <choice>
 
-       <group>
 
-         <oneOrMore>
 
-           <ref name="db.sect3"/>
 
-         </oneOrMore>
 
-         <zeroOrMore>
 
-           <ref name="db.simplesect"/>
 
-         </zeroOrMore>
 
-       </group>
 
-       <oneOrMore>
 
-         <ref name="db.simplesect"/>
 
-       </oneOrMore>
 
-     </choice>
 
-   </define>
 
-   <div>
 
-     <db:refname>sect2</db:refname>
 
-     <db:refpurpose>A subsection within a sect1</db:refpurpose>
 
-     <define name="db.sect2.status.attribute">
 
-       <ref name="db.status.attribute"/>
 
-     </define>
 
-     <define name="db.sect2.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.sect2.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.sect2.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-         <optional>
 
-           <ref name="db.label.attribute"/>
 
-         </optional>
 
-         <optional>
 
-           <ref name="db.sect2.status.attribute"/>
 
-         </optional>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.sect2.info">
 
-       <ref name="db._info.title.req"/>
 
-     </define>
 
-     <define name="db.sect2">
 
-       <element name="sect2">
 
-         <ref name="db.sect2.attlist"/>
 
-         <ref name="db.sect2.info"/>
 
-         <choice>
 
-           <group>
 
-             <oneOrMore>
 
-               <ref name="db.all.blocks"/>
 
-             </oneOrMore>
 
-             <optional>
 
-               <ref name="db.sect2.sections"/>
 
-             </optional>
 
-           </group>
 
-           <ref name="db.sect2.sections"/>
 
-         </choice>
 
-         <zeroOrMore>
 
-           <ref name="db.navigation.components"/>
 
-         </zeroOrMore>
 
-       </element>
 
-     </define>
 
-   </div>
 
-   <!-- ====================================================================== -->
 
-   <define name="db.sect3.sections">
 
-     <choice>
 
-       <group>
 
-         <oneOrMore>
 
-           <ref name="db.sect4"/>
 
-         </oneOrMore>
 
-         <zeroOrMore>
 
-           <ref name="db.simplesect"/>
 
-         </zeroOrMore>
 
-       </group>
 
-       <oneOrMore>
 
-         <ref name="db.simplesect"/>
 
-       </oneOrMore>
 
-     </choice>
 
-   </define>
 
-   <div>
 
-     <db:refname>sect3</db:refname>
 
-     <db:refpurpose>A subsection within a sect2</db:refpurpose>
 
-     <define name="db.sect3.status.attribute">
 
-       <ref name="db.status.attribute"/>
 
-     </define>
 
-     <define name="db.sect3.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.sect3.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.sect3.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-         <optional>
 
-           <ref name="db.label.attribute"/>
 
-         </optional>
 
-         <optional>
 
-           <ref name="db.sect3.status.attribute"/>
 
-         </optional>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.sect3.info">
 
-       <ref name="db._info.title.req"/>
 
-     </define>
 
-     <define name="db.sect3">
 
-       <element name="sect3">
 
-         <ref name="db.sect3.attlist"/>
 
-         <ref name="db.sect3.info"/>
 
-         <choice>
 
-           <group>
 
-             <oneOrMore>
 
-               <ref name="db.all.blocks"/>
 
-             </oneOrMore>
 
-             <optional>
 
-               <ref name="db.sect3.sections"/>
 
-             </optional>
 
-           </group>
 
-           <ref name="db.sect3.sections"/>
 
-         </choice>
 
-         <zeroOrMore>
 
-           <ref name="db.navigation.components"/>
 
-         </zeroOrMore>
 
-       </element>
 
-     </define>
 
-   </div>
 
-   <!-- ====================================================================== -->
 
-   <define name="db.sect4.sections">
 
-     <choice>
 
-       <group>
 
-         <oneOrMore>
 
-           <ref name="db.sect5"/>
 
-         </oneOrMore>
 
-         <zeroOrMore>
 
-           <ref name="db.simplesect"/>
 
-         </zeroOrMore>
 
-       </group>
 
-       <oneOrMore>
 
-         <ref name="db.simplesect"/>
 
-       </oneOrMore>
 
-     </choice>
 
-   </define>
 
-   <div>
 
-     <db:refname>sect4</db:refname>
 
-     <db:refpurpose>A subsection within a sect3</db:refpurpose>
 
-     <define name="db.sect4.status.attribute">
 
-       <ref name="db.status.attribute"/>
 
-     </define>
 
-     <define name="db.sect4.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.sect4.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.sect4.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-         <optional>
 
-           <ref name="db.label.attribute"/>
 
-         </optional>
 
-         <optional>
 
-           <ref name="db.sect4.status.attribute"/>
 
-         </optional>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.sect4.info">
 
-       <ref name="db._info.title.req"/>
 
-     </define>
 
-     <define name="db.sect4">
 
-       <element name="sect4">
 
-         <ref name="db.sect4.attlist"/>
 
-         <ref name="db.sect4.info"/>
 
-         <choice>
 
-           <group>
 
-             <oneOrMore>
 
-               <ref name="db.all.blocks"/>
 
-             </oneOrMore>
 
-             <optional>
 
-               <ref name="db.sect4.sections"/>
 
-             </optional>
 
-           </group>
 
-           <ref name="db.sect4.sections"/>
 
-         </choice>
 
-         <zeroOrMore>
 
-           <ref name="db.navigation.components"/>
 
-         </zeroOrMore>
 
-       </element>
 
-     </define>
 
-   </div>
 
-   <!-- ====================================================================== -->
 
-   <define name="db.sect5.sections">
 
-     <oneOrMore>
 
-       <ref name="db.simplesect"/>
 
-     </oneOrMore>
 
-   </define>
 
-   <div>
 
-     <db:refname>sect5</db:refname>
 
-     <db:refpurpose>A subsection within a sect4</db:refpurpose>
 
-     <define name="db.sect5.status.attribute">
 
-       <ref name="db.status.attribute"/>
 
-     </define>
 
-     <define name="db.sect5.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.sect5.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.sect5.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-         <optional>
 
-           <ref name="db.label.attribute"/>
 
-         </optional>
 
-         <optional>
 
-           <ref name="db.sect5.status.attribute"/>
 
-         </optional>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.sect5.info">
 
-       <ref name="db._info.title.req"/>
 
-     </define>
 
-     <define name="db.sect5">
 
-       <element name="sect5">
 
-         <ref name="db.sect5.attlist"/>
 
-         <ref name="db.sect5.info"/>
 
-         <choice>
 
-           <group>
 
-             <oneOrMore>
 
-               <ref name="db.all.blocks"/>
 
-             </oneOrMore>
 
-             <optional>
 
-               <ref name="db.sect5.sections"/>
 
-             </optional>
 
-           </group>
 
-           <ref name="db.sect5.sections"/>
 
-         </choice>
 
-         <zeroOrMore>
 
-           <ref name="db.navigation.components"/>
 
-         </zeroOrMore>
 
-       </element>
 
-     </define>
 
-   </div>
 
- </grammar>
 
 
  |