<!-- mybook.dtd: derived from architectural forms in stbook.dtd. -->

<?ArcBase BookArch>

<!-- Architecture support declarations: 
     - General entity declaration to identify meta-DTD (base DTD).
     - Notation declaration identifying architecture definition document.
     - Attribute definition list identifying additional information.
-->

<!ENTITY % bookDTD SYSTEM "stbook.dtd">

<!NOTATION BookArch SYSTEM>
<!ATTLIST #notation BookArch
  ArcDocF  NAME  #FIXED book       -- Document element type in meta-DTD.   --
  ArcDTD   CDATA #FIXED "%bookDTD" -- Identify meta-DTD.                   --
  ArcFormA NAME  #FIXED stelement  -- Attribute that elements will use to  --
                                   -- specify meta-DTD's corresponding     --
                                   -- element type. See "attlist p" below. --
  ArcNamrA NAME  #FIXED stattr     -- For renaming attributes.             --
>

<!-- Revised element declarations from base architecture DTD. -->

<!-- New "varname" element type added.      -->
<!ENTITY  % inlines  "keyword|filename|varname">

<!-- Don't use stbook's "part" container around chapters. -->
<!ELEMENT book      - - (title,chapter+) +(%inlines;)>

<!-- Book element type's attributes.-->
<!ATTLIST book revdate CDATA #REQUIRED              -- Add a new one.       -- 
               editor  CDATA #IMPLIED               -- Rename stbook's      --
               stattr  NAMES #FIXED "author editor" -- "author" to "editor."-->

<!-- Substitute p element type for stbook.dtd's para. -->
<!ELEMENT chapter   - - (title,p+) +(%inlines;)> 
<!ELEMENT p - - (#PCDATA)>
<!ATTLIST p stelement NAME para    -- map p to stbook element "para" -- > 

<!ELEMENT (%inlines;) - - (#PCDATA) -(%inlines)>
<!ELEMENT title     - - (#PCDATA)>

<!-- end of mybook.dtd -->
