view dtd/ThML10.dtd @ 60:206e94730bf0

fix multi-sed-contra
author ht
date Sat, 02 Jan 2010 17:48:01 +0000
parents bca6df27dbfd
children
line wrap: on
line source

<!--
    ThML: Theological Markup Language for electronic texts and 
    digital libraries.

    ThML is an extension of the Voyager version 4.0 Strict DTD.

    Author: Harry Plantinga
    Version 1.0b3, 1999-08-18
    Namespace = http://www.ccel.org/Profiles/ThML

    Filename: ThML.dtd
    
    Version b3: added filebreak="nnn" attribute to div1..div6 elements.
    In CCEL software this specifies minimum desired filesize for
    splitting a document into multiple files.

    Version 1.04: added <include href="..."/> element for splitting
    a ThML file in pieces. Added shorttitle="..." attribute to div1..
    div6 and <include/>, for a short page-head title for section.

    Version 1.05: added n, 
    Version 1.06: added type attribute to <term> element
    Version 1.07: added url, source, surl, type attributes to <def>, to support 
    	"external" dictionaries (really link bases), 2006-02-28
    Version 1.08: made some mods to hymn.mod to further standardize hymnal
	handling and support our new hymnary database application
-->

 <!-- Name files we will want to include -->

 <!ENTITY % Voyager.entities SYSTEM "html-entities.mod">
 <!ENTITY % Voyager.chars SYSTEM "html-chars.mod">
 <!ENTITY % Voyager.base SYSTEM "html-base.mod">
 <!ENTITY % Voyager.phrases SYSTEM "html-phrases.mod">
 <!ENTITY % Voyager.lists SYSTEM "html-lists.mod">
 <!ENTITY % Voyager.blocktext SYSTEM "html-blocktext.mod">
 <!ENTITY % Voyager.object SYSTEM "html-object.mod">
 <!ENTITY % Voyager.img SYSTEM "html-img.mod">
 <!ENTITY % Voyager.forms SYSTEM "html-forms.mod">
 <!ENTITY % Voyager.tables SYSTEM "html-tables.mod">

 <!ENTITY % ThML.ebook SYSTEM "ebook.mod">
 <!ENTITY % ThML.bible SYSTEM "bible.mod">
 <!ENTITY % ThML.hymn  SYSTEM "hymn.mod">

 <!-- Customize entities that control the content model -->

 <!ENTITY % block.forms "form | fieldset">
 <!ENTITY % media "|object | img | map">
 <!ENTITY % fontstyle "tt | i | b | big | small">
 <!ENTITY % phrase "em | strong | dfn | code | q | sub | sup |
                    samp | kbd | var | cite | abbr | acronym" >
 <!ENTITY % lists "ul | ol | dl">
 <!ENTITY % inline.forms "input | select | label | textarea | button">
 <!ENTITY % blocktext "pre | hr | blockquote | address">
 <!ENTITY % misc "ins | del | script | noscript | added | deleted | 
            index | pb | scripContext | scripRef | scripCom | scripture">
 <!ENTITY % extra.inline "| %fontstyle; | %phrase; | %inline.forms; |
            date | foreign | name | note | sync | unclear">
 <!ENTITY % extra.block "| %lists; | %blocktext; | %block.forms; | table |
            glossary | argument | verse | attr | insertIndex | hymn | include">

 <!--
   Now include the files using the names we declared
   earlier, starting with the entities file and ending
   with the base file. The entities file defines the
   standard content models for elements declared in the
   following files.
 -->

 %Voyager.entities;
 %Voyager.chars;

 %ThML.bible;
 %ThML.hymn;
 %ThML.ebook;

 %Voyager.phrases;
 %Voyager.lists;
 %Voyager.blocktext;
 %Voyager.object;
 %Voyager.img;
 %Voyager.forms;
 %Voyager.tables;
 %Voyager.base;

<!ELEMENT ThML.head (title?, base?, generalInfo?, printSourceInfo?, 
    electronicEdInfo, (script|style|meta|link)*)>

<!ELEMENT ThML.body (div1|added|deleted)*>
<!ATTLIST ThML.body 
    xml:space    (default|preserve) "preserve">

<!ELEMENT ThML (ThML.head, ThML.body, ThML*)>