|
0
|
1 <!--
|
|
|
2 ThML: Theological Markup Language for electronic texts and
|
|
|
3 digital libraries.
|
|
|
4
|
|
|
5 ThML is an extension of the Voyager version 4.0 Strict DTD.
|
|
|
6
|
|
|
7 Author: Harry Plantinga
|
|
|
8 Version 1.0b3, 1999-08-18
|
|
|
9 Namespace = http://www.ccel.org/Profiles/ThML
|
|
|
10
|
|
|
11 Filename: ThML.dtd
|
|
|
12
|
|
|
13 Version b3: added filebreak="nnn" attribute to div1..div6 elements.
|
|
|
14 In CCEL software this specifies minimum desired filesize for
|
|
|
15 splitting a document into multiple files.
|
|
|
16
|
|
|
17 Version 1.04: added <include href="..."/> element for splitting
|
|
|
18 a ThML file in pieces. Added shorttitle="..." attribute to div1..
|
|
|
19 div6 and <include/>, for a short page-head title for section.
|
|
|
20
|
|
|
21 Version 1.05: added n,
|
|
|
22 Version 1.06: added type attribute to <term> element
|
|
|
23 Version 1.07: added url, source, surl, type attributes to <def>, to support
|
|
|
24 "external" dictionaries (really link bases), 2006-02-28
|
|
|
25 Version 1.08: made some mods to hymn.mod to further standardize hymnal
|
|
|
26 handling and support our new hymnary database application
|
|
|
27 -->
|
|
|
28
|
|
|
29 <!-- Name files we will want to include -->
|
|
|
30
|
|
|
31 <!ENTITY % Voyager.entities SYSTEM "html-entities.mod">
|
|
|
32 <!ENTITY % Voyager.chars SYSTEM "html-chars.mod">
|
|
|
33 <!ENTITY % Voyager.base SYSTEM "html-base.mod">
|
|
|
34 <!ENTITY % Voyager.phrases SYSTEM "html-phrases.mod">
|
|
|
35 <!ENTITY % Voyager.lists SYSTEM "html-lists.mod">
|
|
|
36 <!ENTITY % Voyager.blocktext SYSTEM "html-blocktext.mod">
|
|
|
37 <!ENTITY % Voyager.object SYSTEM "html-object.mod">
|
|
|
38 <!ENTITY % Voyager.img SYSTEM "html-img.mod">
|
|
|
39 <!ENTITY % Voyager.forms SYSTEM "html-forms.mod">
|
|
|
40 <!ENTITY % Voyager.tables SYSTEM "html-tables.mod">
|
|
|
41
|
|
|
42 <!ENTITY % ThML.ebook SYSTEM "ebook.mod">
|
|
|
43 <!ENTITY % ThML.bible SYSTEM "bible.mod">
|
|
|
44 <!ENTITY % ThML.hymn SYSTEM "hymn.mod">
|
|
|
45
|
|
|
46 <!-- Customize entities that control the content model -->
|
|
|
47
|
|
|
48 <!ENTITY % block.forms "form | fieldset">
|
|
|
49 <!ENTITY % media "|object | img | map">
|
|
|
50 <!ENTITY % fontstyle "tt | i | b | big | small">
|
|
|
51 <!ENTITY % phrase "em | strong | dfn | code | q | sub | sup |
|
|
|
52 samp | kbd | var | cite | abbr | acronym" >
|
|
|
53 <!ENTITY % lists "ul | ol | dl">
|
|
|
54 <!ENTITY % inline.forms "input | select | label | textarea | button">
|
|
|
55 <!ENTITY % blocktext "pre | hr | blockquote | address">
|
|
|
56 <!ENTITY % misc "ins | del | script | noscript | added | deleted |
|
|
|
57 index | pb | scripContext | scripRef | scripCom | scripture">
|
|
|
58 <!ENTITY % extra.inline "| %fontstyle; | %phrase; | %inline.forms; |
|
|
|
59 date | foreign | name | note | sync | unclear">
|
|
|
60 <!ENTITY % extra.block "| %lists; | %blocktext; | %block.forms; | table |
|
|
|
61 glossary | argument | verse | attr | insertIndex | hymn | include">
|
|
|
62
|
|
|
63 <!--
|
|
|
64 Now include the files using the names we declared
|
|
|
65 earlier, starting with the entities file and ending
|
|
|
66 with the base file. The entities file defines the
|
|
|
67 standard content models for elements declared in the
|
|
|
68 following files.
|
|
|
69 -->
|
|
|
70
|
|
|
71 %Voyager.entities;
|
|
|
72 %Voyager.chars;
|
|
|
73
|
|
|
74 %ThML.bible;
|
|
|
75 %ThML.hymn;
|
|
|
76 %ThML.ebook;
|
|
|
77
|
|
|
78 %Voyager.phrases;
|
|
|
79 %Voyager.lists;
|
|
|
80 %Voyager.blocktext;
|
|
|
81 %Voyager.object;
|
|
|
82 %Voyager.img;
|
|
|
83 %Voyager.forms;
|
|
|
84 %Voyager.tables;
|
|
|
85 %Voyager.base;
|
|
|
86
|
|
|
87 <!ELEMENT ThML.head (title?, base?, generalInfo?, printSourceInfo?,
|
|
|
88 electronicEdInfo, (script|style|meta|link)*)>
|
|
|
89
|
|
|
90 <!ELEMENT ThML.body (div1|added|deleted)*>
|
|
|
91 <!ATTLIST ThML.body
|
|
|
92 xml:space (default|preserve) "preserve">
|
|
|
93
|
|
|
94 <!ELEMENT ThML (ThML.head, ThML.body, ThML*)>
|
|
|
95
|