<?xml version='1.0' encoding='UTF-8' ?>

<!ENTITY nbsp "&#160;">

<!ENTITY % inlinetags "em | strong | code | a | br | directive | module">

<!ENTITY % blocktags "p | example | note | table | ul | ol | dl | pre | img
| blockquote">

<!ENTITY % Block "(%blocktags;)*">

<!ENTITY % Inline "(#PCDATA | %inlinetags;)*">

<!ENTITY % BlockOrInline "(#PCDATA | %inlinetags; | %blocktags;)*">


<!-- <manualpage> is the root element. Each page has an internal name -->
<!ELEMENT manualpage (title, summary?, seealso*, section*)>
<!ATTLIST manualpage name CDATA #REQUIRED>

<!-- the page or section title -->
<!ELEMENT title %Inline;>

<!-- if existing, <summary> is the first section of the page. It may contain
     the teable of content and some text. A summary with the <content> element
     is recommended -->
<!ELEMENT summary (%Block; | content)+>

<!-- References to other documents or directives -->
<!ELEMENT seealso %Inline;>

<!-- a page may have one or more sections. Each section is named by an
     unique id. A section must have a title and some text. It may have
     subsections and a list of related modules and directives -->
<!ELEMENT section (title, (section | related | %blocktags;)*)>
<!ATTLIST section id CDATA #IMPLIED>

<!-- The <content> element appears only within the <summary> element and
     contains the toc of that page. The toc can either be generated from the
     section titles of that page or contain a list of references to other
     pages. -->
<!ELEMENT content (sectionref | a+ )>

<!-- the lists of related modules and/or related directives -->
<!ELEMENT related (modulelist | directivelist)+>

<!-- the <sectionref> element indicates, the toc have to be generated
     from the section titles -->
<!ELEMENT sectionref EMPTY>

<!-- list of related modules -->
<!ELEMENT modulelist (module)+>

<!-- list of related directives -->
<!ELEMENT directivelist (directive)+>

<!-- the correspnding module-->
<!ELEMENT module (#PCDATA)>

<!-- the corresponding directive -->
<!ELEMENT directive (#PCDATA)>
<!ATTLIST directive  module CDATA  #IMPLIED
                     type   CDATA  #IMPLIED >

<!ELEMENT p %Inline;>

<!ELEMENT em %Inline;>

<!ELEMENT strong %Inline;>

<!ELEMENT code %Inline;>

<!ELEMENT a %Inline;>
<!ATTLIST a  href CDATA #IMPLIED
             name CDATA #IMPLIED
             id   CDATA #IMPLIED
             rel  CDATA #IMPLIED >

<!ELEMENT br EMPTY>

<!ELEMENT example (#PCDATA | title | %inlinetags; | %blocktags;)*>

<!ELEMENT note (#PCDATA | title | %inlinetags; | %blocktags;)*>
<!ATTLIST note type CDATA #IMPLIED>

<!ELEMENT table (tr)+>
<!ATTLIST table summary     CDATA  #IMPLIED
                width       CDATA  #IMPLIED
                bgcolor     CDATA  #IMPLIED
                cellspacing CDATA  #IMPLIED
                cellpadding CDATA  #IMPLIED
                border      CDATA  #IMPLIED >

<!ELEMENT tr (th | td)+>
<!ATTLIST tr valign CDATA #IMPLIED >

<!ELEMENT th %BlockOrInline;>

<!ELEMENT td %BlockOrInline;>
<!ATTLIST td  colspan  CDATA  #IMPLIED
              rowspan  CDATA  #IMPLIED
              bgcolor  CDATA  #IMPLIED
              class    CDATA  #IMPLIED >

<!ELEMENT ul (li+)>

<!ELEMENT ol (li+)>
<!ATTLIST ol type CDATA  #IMPLIED>

<!ELEMENT li %BlockOrInline;>

<!ELEMENT dl (dd | dt)+>

<!ELEMENT dt %Inline;>

<!ELEMENT dd %BlockOrInline;>

<!ELEMENT pre %Inline;>

<!ELEMENT img EMPTY>
<!ATTLIST img
  src         CDATA   #REQUIRED
  alt         CDATA   #REQUIRED
  border      CDATA   #IMPLIED
  height      CDATA   #IMPLIED
  width       CDATA   #IMPLIED >

<!ELEMENT blockquote %BlockOrInline;>

<!-- Used in allmanualpages.xml -->
<!ELEMENT manualpagefilelist (manualpagefile+)>
<!ELEMENT manualpagefile (#PCDATA)>
<!ATTLIST manualpagefile name CDATA #REQUIRED>
