Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
112 lines (94 sloc) 4.63 KB
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<!-- this could (should?) be expanded to include all the elements -->
<choice>
<ref name="set"/>
<ref name="setindex"/>
<ref name="book"/>
<ref name="part"/>
<ref name="reference"/>
<ref name="preface"/>
<ref name="chapter"/>
<ref name="appendix"/>
<ref name="article"/>
<ref name="bibliography"/>
<ref name="glossary"/>
<ref name="index"/>
<ref name="refentry"/>
<ref name="sect1"/>
<ref name="sect2"/>
<ref name="sect3"/>
<ref name="sect4"/>
<ref name="sect5"/>
<ref name="section"/>
<ref name="para"/>
</choice>
</start>
<!-- ...................................................................... -->
<!-- DocBook XML DTD V4.2 ................................................. -->
<!-- File docbookx.dtd .................................................... -->
<!-- Copyright 1992-2002 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).
$Id: docbook.rng,v 1.3 2002/12/27 18:48:19 nwalsh Exp $
Permission to use, copy, modify and distribute the DocBook XML DTD
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 DTD for
any purpose. It is provided "as is" without expressed or implied
warranty.
If you modify the DocBook DTD in any way, except for declaring and
referencing additional sets of general entities and declaring
additional notations, label your DTD as a variant of DocBook. See
the maintenance documentation 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/.
-->
<!-- ...................................................................... -->
<!-- This is the driver file for V4.2 of the DocBook DTD.
Please use the following formal public identifier to identify it:
"-//OASIS//DTD DocBook XML V4.2//EN"
For example, if your document's top-level element is Book, and
you are using DocBook directly, use the FPI in the DOCTYPE
declaration:
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[...]>
Or, if you have a higher-level driver file that customizes DocBook,
use the FPI in the parameter entity declaration:
<!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
%DocBookDTD;
See the documentation for detailed information on the parameter
entity and module scheme used in DocBook, customizing DocBook and
planning for interchange, and changes made since the last release
of DocBook.
-->
<!-- ...................................................................... -->
<!-- Enable SGML features ................................................. -->
<!-- ...................................................................... -->
<!-- Notation declarations ................................................ -->
<include href="dbnotn.rng"/>
<!-- ...................................................................... -->
<!-- ISO character entity sets ............................................ -->
<!-- euro sign, U+20AC NEW -->
<include href="dbcent.rng"/>
<!-- ...................................................................... -->
<!-- DTD modules .......................................................... -->
<!-- Information pool .............. -->
<include href="dbpool.rng"/>
<!-- Redeclaration placeholder ..... -->
<!-- Document hierarchy ............ -->
<include href="dbhier.rng"/>
<!-- ...................................................................... -->
<!-- Other general entities ............................................... -->
<!-- End of DocBook XML DTD V4.2 .......................................... -->
<!-- ...................................................................... -->
</grammar>