| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 | 
							- <?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: pool.rnc 7466 2007-09-27 14:03:55Z 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">
 
-     <ref name="db.admonition.blocks"/>
 
-   </start>
 
-   <define name="db.nopara.blocks" combine="choice">
 
-     <ref name="db.admonition.blocks"/>
 
-   </define>
 
-   <!-- ====================================================================== -->
 
-   <ctrl:exclude from="db.formal.blocks" exclude="db.admonition.blocks"/>
 
-   <ctrl:exclude from="db.admonition.blocks" exclude="db.admonition.blocks"/>
 
-   <ctrl:exclude from="db.footnote" exclude="db.admonition.blocks"/>
 
-   <ctrl:exclude from="db.caption" exclude="db.admonition.blocks"/>
 
-   <define name="db.admonition.blocks">
 
-     <choice>
 
-       <ref name="db.caution"/>
 
-       <ref name="db.important"/>
 
-       <ref name="db.note"/>
 
-       <ref name="db.tip"/>
 
-       <ref name="db.warning"/>
 
-     </choice>
 
-   </define>
 
-   <define name="db.admonition.contentmodel">
 
-     <ref name="db._info.title.only"/>
 
-     <oneOrMore>
 
-       <ref name="db.all.blocks"/>
 
-     </oneOrMore>
 
-   </define>
 
-   <!-- ====================================================================== -->
 
-   <div>
 
-     <db:refname>caution</db:refname>
 
-     <db:refpurpose>A note of caution</db:refpurpose>
 
-     <define name="db.caution.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.caution.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.caution.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.caution">
 
-       <element name="caution">
 
-         <ref name="db.caution.attlist"/>
 
-         <ref name="db.admonition.contentmodel"/>
 
-       </element>
 
-     </define>
 
-   </div>
 
-   <!-- ====================================================================== -->
 
-   <div>
 
-     <db:refname>important</db:refname>
 
-     <db:refpurpose>An admonition set off from the text</db:refpurpose>
 
-     <define name="db.important.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.important.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.important.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.important">
 
-       <element name="important">
 
-         <ref name="db.important.attlist"/>
 
-         <ref name="db.admonition.contentmodel"/>
 
-       </element>
 
-     </define>
 
-   </div>
 
-   <!-- ====================================================================== -->
 
-   <div>
 
-     <db:refname>note</db:refname>
 
-     <db:refpurpose>A message set off from the text</db:refpurpose>
 
-     <define name="db.note.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.note.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.note.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.note">
 
-       <element name="note">
 
-         <ref name="db.note.attlist"/>
 
-         <ref name="db.admonition.contentmodel"/>
 
-       </element>
 
-     </define>
 
-   </div>
 
-   <!-- ====================================================================== -->
 
-   <div>
 
-     <db:refname>tip</db:refname>
 
-     <db:refpurpose>A suggestion to the user, set off from the text</db:refpurpose>
 
-     <define name="db.tip.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.tip.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.tip.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.tip">
 
-       <element name="tip">
 
-         <ref name="db.tip.attlist"/>
 
-         <ref name="db.admonition.contentmodel"/>
 
-       </element>
 
-     </define>
 
-   </div>
 
-   <!-- ====================================================================== -->
 
-   <div>
 
-     <db:refname>warning</db:refname>
 
-     <db:refpurpose>An admonition set off from the text</db:refpurpose>
 
-     <define name="db.warning.role.attribute">
 
-       <attribute name="role"/>
 
-     </define>
 
-     <define name="db.warning.attlist">
 
-       <interleave>
 
-         <optional>
 
-           <ref name="db.warning.role.attribute"/>
 
-         </optional>
 
-         <ref name="db.common.attributes"/>
 
-         <ref name="db.common.linking.attributes"/>
 
-       </interleave>
 
-     </define>
 
-     <define name="db.warning">
 
-       <element name="warning">
 
-         <ref name="db.warning.attlist"/>
 
-         <ref name="db.admonition.contentmodel"/>
 
-       </element>
 
-     </define>
 
-   </div>
 
- </grammar>
 
 
  |