Mercurial > hg > Aquinas
diff dtd/ThML10.dtd @ 0:bca6df27dbfd
mostly unchanged from http://www.cc.org/dtd
| author | ht |
|---|---|
| date | Sat, 19 Jan 2008 22:54:40 +0000 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dtd/ThML10.dtd Sat Jan 19 22:54:40 2008 +0000 @@ -0,0 +1,95 @@ +<!-- + 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*)> +
