1 <!-- ============================================================= -->
2 <!-- Gamebook Document Type Definition v0.13 -->
3 <!-- ============================================================= -->
6 This DTD was designed around XML 1.0.
8 This gamebook DTD is aimed primarily at the books under development by
9 Project Aon (http://www.projectaon.org/). Future versions may be of
14 24 May 2011 (version 0.13.2)
15 * added the "relationship" attribute to the "creator" and "contributor"
18 23 May 2011 (version 0.13.1)
19 * added the "sort-name" attribute to the "creator" and "contributor"
22 5 November 2010 (version 0.13.0)
23 * changed the "is" attribute on the "when" element to "value"
25 25 October 2010 (version 0.12.7)
26 * Made the "signpost" element mixed content
28 13 September 2010 (version 0.12.6)
29 * Added the "poetry" element
31 30 July 2010 (version 0.12.5)
32 * Added the "originalwidth", "posx", and "posy" attributes to the
35 28 July 2010 (version 0.12.4)
36 * Added the "choose", "when", and "otherwise" elements
38 1 April 2009 (version 0.12.3)
39 * Added the "start" attribute to ordered lists.
40 * Added the "value" attribute to list items.
42 19 December 2006 (version 0.12.2)
43 * Added the "line" element to the inline elements list.
45 19 December 2006 (version 0.12.1)
46 * Upgraded the table model to included "caption", "colgroup", "thead",
47 "tfoot", and "tbdoy" elements and the cell scoping attributes
48 "rowspan", "colspan", "axis", and "scope".
49 * Deprecated the "br" element in favor of the "line" element.
51 25 March 2006 (version 0.12.0)
52 * Added "illref", "illustrations" and "illgroup". Still backwards
55 26 December 2005 (version 0.11.4)
56 * Added link.attributes and the optional "series" attribute to
57 "bookref", and fleshed out the "bookref" and "footref"
60 5 December 2005 (version 0.11.3)
61 * Corrected ATTLISTs of character elements
62 * Added "ch.apos", "ch.frac116", and "ch.plus" elements
64 9 April 2005 (version 0.11.2)
65 * Added the following inline elements: "bookref", "footref".
66 * Added the character elements to replace the use of character
67 entities (except in attributes). These allow a processor (e.g.
68 a XSL transformation) to decide how characters should be
69 represented, not this DTD.
71 18 April 2003 (version 0.11.1)
72 * Added the following inline elements: "onomatopoeia", "spell",
75 27 January 2003 (version 0.11.0)
76 * Moved the optional "footnotes" element between the "meta" and
79 10 January 2003 (version 0.10.4)
80 * Removed the "inline.content" entity from the declaration of the
81 contents of the "blockquote" element. This will break some existing
84 7 January 2003 (version 0.10.3)
85 * Made the "src", "width", and "height" attributes of the "instance"
88 4 January 2003 (version 0.10.2)
89 * Moved the specialized character entity definitions into module
92 5 October 2002 (version 0.10.1)
93 * Added the "lellips" and "minus" entities and changed the definition
94 of the "emdash" entity.
96 5 September 2002 (version 0.10.0)
97 * Added the "quote" element.
99 31 August 2002 (version 0.9.1)
100 * Added the "xml:lang" attribute to the "core.attributes" entity.
101 Although this could be used for most elements, it is primarily
102 aimed at the "foreign" element.
104 6 July 2002 (version 0.9)
105 * Replaced the "caption" element and the "illustrator" attribute with
106 the use of the "meta" element.
107 * Renamed the "illustration-instance" element to simply "instance".
108 * Removed the "character-attribute" element.
109 * Added the "typ" element for typographical markup.
110 * Removed the "shortname" attribute.
112 1 June 2002 (version 0.8.3)
113 * Removed the "marker" attribute from the "footnote" element.
115 29 April 2002 (vesion 0.8.2)
116 * Changed the content of the "enemy" element from "#PCDATA" to
119 4 April 2002 (version 0.8.1)
120 * Added the "thinspace" entity
122 3 April 2002 (version 0.8.0)
123 * Added the "thought" element.
124 * Added the "foreign" element.
126 15 March 2002 (version 0.7.0)
127 * Changed the name of the "illustration-set" element to "illustration"
128 and changed the name of the "illustration" element to
129 "illustration-instance".
130 * Made many minor changes to bring the DTD up to current practice.
132 11 May 2001 (version 0.6.0)
133 * Removed the "publication-date" element.
135 5 May 2001 (version 0.5.0)
136 * Added facilities for transformation to LaTeX - mainly appropriate
138 * Added the "marker" attribute to the "footnote" element.
140 1 May 2001 (version 0.4.0)
142 * Added the "link" element to the set of allowable "meta" elements.
143 Although not a Dublin Core meta-data element, it's functionality
144 adds a lot to the document.
146 30 April 2001 (version 0.3.0)
148 * Changed the basic orgranization of the sections by allowing them to
149 have their own meta section instead of a "section-title" element.
150 * Changed the name of the "section-data" element to simply "data".
152 17 April 2001 (version 0.2.0)
154 * Changed some of the block and inline elements in order to make them
157 14 April 2001 (version 0.1.0)
161 <!-- ============================================================= -->
163 <!-- ============================================================= -->
164 <!-- Table of Contents -->
165 <!-- ============================================================= -->
171 B. Character Entities
172 II. Hierarchical Elements
175 V. Character Elements
178 A. Valid Document Example
182 <!-- ============================================================= -->
184 <!-- ============================================================= -->
186 <!-- ::::::::::::::::::::: General Entities :::::::::::::::::::::: -->
188 <!ENTITY % character.content "ch.apos | ch.nbsp | ch.iexcl | ch.cent | ch.pound | ch.curren | ch.yen | ch.brvbar | ch.sect | ch.uml | ch.copy | ch.ordf | ch.laquo | ch.not | ch.shy | ch.reg | ch.macr | ch.deg | ch.plusmn | ch.sup2 | ch.sup3 | ch.acute | ch.micro | ch.para | ch.middot | ch.cedil | ch.sup1 | ch.ordm | ch.raquo | ch.frac14 | ch.frac12 | ch.frac34 | ch.iquest | ch.Agrave | ch.Aacute | ch.Acirc | ch.Atilde | ch.Auml | ch.Aring | ch.AElig | ch.Ccedil | ch.Egrave | ch.Eacute | ch.Ecirc | ch.Euml | ch.Igrave | ch.Iacute | ch.Icirc | ch.Iuml | ch.ETH | ch.Ntilde | ch.Ograve | ch.Oacute | ch.Ocirc | ch.Otilde | ch.Ouml | ch.times | ch.Oslash | ch.Ugrave | ch.Uacute | ch.Ucirc | ch.Uuml | ch.Yacute | ch.THORN | ch.szlig | ch.agrave | ch.aacute | ch.acirc | ch.atilde | ch.auml | ch.aring | ch.aelig | ch.ccedil | ch.egrave | ch.eacute | ch.ecirc | ch.euml | ch.igrave | ch.iacute | ch.icirc | ch.iuml | ch.eth | ch.ntilde | ch.ograve | ch.oacute | ch.ocirc | ch.otilde | ch.ouml | ch.divide | ch.oslash | ch.ugrave | ch.uacute | ch.ucirc | ch.uuml | ch.yacute | ch.thorn | ch.yuml | ch.ampersand | ch.lsquot | ch.rsquot | ch.ldquot | ch.rdquot | ch.minus | ch.endash | ch.emdash | ch.ellips | ch.lellips | ch.blankline | ch.percent | ch.thinspace | ch.frac116 | ch.plus">
190 <!ENTITY % inline.content "#PCDATA | a | bookref | footref | em | strong | thought | foreign | quote | cite | code | line | br | typ | onomatopoeia | spell | item | %character.content;">
192 <!ENTITY % block.content "p | ul | ol | dl | table | blockquote | illustration | combat | choice | hr | illref | poetry">
194 <!ENTITY % mixed.content "choose | signpost">
196 <!ENTITY % core.attributes "
198 xml:lang CDATA #IMPLIED
201 <!ENTITY % link.attributes "
206 <!ENTITY % cell.align.attributes "
207 align ( left | center | right | justify | char ) #IMPLIED
209 valign ( top | middle | bottom | baseline ) #IMPLIED
212 <!ENTITY % cell.scope.attributes "
213 rowspan CDATA #IMPLIED
214 colspan CDATA #IMPLIED
216 scope ( row | col | rowgroup | colgroup ) #IMPLIED
219 <!-- :::::::::::::::::::: Character Entities ::::::::::::::::::::: -->
221 <!ENTITY lt "&#60;"><!-- left angle bracket -->
222 <!ENTITY gt ">"> <!-- right angle bracket -->
223 <!ENTITY amp "&#38;"><!-- ampersand -->
224 <!ENTITY apos "'"> <!-- apostrophe = single quotation mark -->
225 <!ENTITY quot """> <!-- double quotation mark -->
229 It is the responsibility of the document to define relevant character
230 entities in its internal subset. See also Character Elements below.
234 <!-- ============================================================= -->
235 <!-- Hierarchical Elements -->
236 <!-- ============================================================= -->
239 <!ELEMENT gamebook ( meta, section+ )>
241 version CDATA #REQUIRED
242 xml:lang CDATA #IMPLIED
246 The "version" attribute represents the revision number of the gamebook
247 DTD. This allows gamebook processors to make decisions about the
248 suitability of the data.
250 The "xml:lang" attribute specifies the primary language of the
251 document. The data should conform to the IETF RFC1766.
253 http://www.ietf.org/rfc/rfc1766.txt
257 <gamebook version="0.12" xml:lang="en-UK">
258 <meta . . .> . . . </meta>
259 <section . . .> . . . </section>
263 <gamebook version="0.12" > . . . </gamebook>
267 <!-- :::::::::::::::::::::::: meta Element ::::::::::::::::::::::: -->
270 The children of the meta element are designed to directly translate to
271 the Dublin Core Element Set v1.1. For a description of each Dublin
272 Core element, visit the following URL:
274 (http://dublincore.org/documents/1999/07/02/dces/)
276 Although many Dublin Core elements will probably never have any real
277 relevance to gamebooks, all are included for completeness's sake.
279 [editor: add dc: namespace to isolate dublin core elements
280 http://dublincore.org/documents/2001/10/26/dcmi-namespace/ ]
282 Note: The "link" element doesn't correspond directly to any Dublin
283 Core element. It has been added here for required functionality.
286 <!ELEMENT meta ( title | creator | subject | description | publisher | contributor | date | type | format | identifier | source | language | relation | coverage | rights | link)*>
289 The "meta" element represents underlying information about the
290 document. It should contain any number of the Dublin Core 1.1
296 <title . . .> . . . </title>
297 <creator . . .> . . . </creator>
303 <!ELEMENT title ( %inline.content; | %mixed.content; )*>
308 <!ELEMENT creator ( %inline.content; | %block.content; | %mixed.content; )*>
311 relationship CDATA #IMPLIED
312 sort-name CDATA #IMPLIED
316 The "relationship" optional attribute defines the relationship of the creator
317 denoted by this element to the document. While the list of possible values is
318 not constrained by the DTD, the normative list is defined by the MARC Code List
319 for Relators <http://www.loc.gov/marc/relators/>.
321 The "sort-name" optional attribute contains the a name to be used for sorting.
325 <creator relationship="aut" sort-name="Dever, Joe">Joe Dever</creator>
329 <!ELEMENT subject ( %inline.content; | %block.content; | %mixed.content; )*>
334 <!ELEMENT description ( %inline.content; | %block.content; | %mixed.content; )*>
335 <!ATTLIST description
339 <!ELEMENT publisher ( %inline.content; | %block.content; | %mixed.content; )*>
344 <!ELEMENT contributor ( %inline.content; | %block.content; | %mixed.content; )*>
345 <!ATTLIST contributor
347 relationship CDATA #IMPLIED
348 sort-name CDATA #IMPLIED
352 The "relationship" optional attribute defines the relationship of the creator
353 denoted by this element to the document. While the list of possible values is
354 not constrained by the DTD, the normative list is defined by the MARC Code List
355 for Relators <http://www.loc.gov/marc/relators/>.
357 The "sort-name" optional attribute contains the a name to be used for sorting.
361 <contributor sort-name="Smith, Reader">Reader Smith</contributor>
365 <!ELEMENT date ( year, month, day )>
371 The "date" element has been extended beyond the specification made in
372 the Dublin Core. It should contain "year", "month" and "day" elements.
377 <year . . .> . . . </year>
378 <month . . .> . . . </month>
379 <day . . .> . . . </day>
384 <!ELEMENT year ( #PCDATA )>
387 The year should be specified in full digit numeric format.
395 <!ELEMENT month ( #PCDATA )>
398 The month should be specified in numeric format with January as "1",
399 February as "2", etc.
407 <!ELEMENT day ( #PCDATA )>
410 The "day" element specifies the day of the month in numeric format.
418 <!ELEMENT type ( %inline.content; | %mixed.content; )*>
423 <!ELEMENT format ( %inline.content; | %mixed.content; )*>
428 <!ELEMENT identifier ( %inline.content; | %mixed.content; )*>
433 <!ELEMENT source ( %inline.content; | %mixed.content; )*>
438 <!ELEMENT language ( %inline.content; | %mixed.content; )*>
443 <!ELEMENT relation ( %inline.content; | %mixed.content; )*>
448 <!ELEMENT coverage ( %inline.content; | %block.content; | %mixed.content; )*>
453 <!ELEMENT rights ( %inline.content; | %block.content; | %mixed.content; )*>
458 <!ELEMENT link EMPTY>
462 idrefs IDREFS #IMPLIED>
465 The "link" element has been added to the Dublin Core elements to
466 represent relationships to other parts of the document. The "idrefs"
467 attribute has been added to allow relationships that are held with
468 more than one part of the document.
472 <link class="next" idref="dedicate" />
474 <link class="friends" idrefs="dedicate cmbtrulz" />
478 <!-- ::::::::::::::::::::: section Element ::::::::::::::::::::::: -->
480 <!ELEMENT section ( meta, footnotes?, illustrations?, data )>
487 The "section" element represents one hierarchical level of data.
488 Section elements can be nested (inside the "data" element) in
489 order to create more complex data representations.
491 A "section" element can used as a linking element. The most useful way
492 to utilize this is to make it a named anchor and thus the target of a
498 <meta><title . . .> . . . </title></meta>
499 <data . . .> . . . </data>
500 <footnotes . . .> . . . </footnotes>
504 <meta><title . . .> . . . </title></meta>
507 <section id="dedication">
508 <meta><title . . .> . . . </title></meta>
509 <data . . .> . . . </data>
517 <!ELEMENT data ( %block.content; | %mixed.content; | section )*>
523 The "data" element contains the main data contained within
524 a section. Note that a nested section structure can be created by
525 including a "section" element within the content of the "data"
532 <combat . . .> . . . </combat>
537 <section . . .> . . . </section>
542 <!ELEMENT illustrations ( illustration | illgroup )*>
543 <!ATTLIST illustrations
548 The "illustrations" element represents a collection of illustrations.
549 The illustrations, or illustration groups, should be listed in the
550 order they appear in the book.
555 <illustration . . . />
556 <illgroup . . .>. . .</illgroup>
562 <!ELEMENT illgroup ( illustration )*>
570 The "illgroup" element represents a group of illustrations contained
571 within one section. It is used when individual links to the each
572 illustration from the illustrations index are not wanted.
576 <illgroup idref=". . .">
577 <illustration . . . />
578 <illustration . . . />
582 <illgroup idref=". . ." class="hidden">
583 <illustration . . . />
584 <illustration . . . />
590 <!ELEMENT footnotes ( footnote )*>
596 The "footnotes" element represents the collection of extra-textual
597 information contained within "footnote" elements.
602 <footnote . . .> . . . </footnote>
603 <footnote . . .> . . . </footnote>
609 <!ELEMENT footnote ( %block.content; | %mixed.content; )*>
616 The "footnote" element contains extra-textual information. It can be
617 used as a linking element and can thus be used to refer back to a
618 named anchor within the document.
623 <p . . .>This paragraph requires an appropriate footnote
624 <a id="reference" idref="footnote-reference" . . ./>.
629 <footnote id="footnote-reference" idref="reference">
630 <p . . .>This is the appropriate footnote.</p>
637 <!-- ============================================================= -->
638 <!-- Block Elements -->
639 <!-- ============================================================= -->
641 <!-- :::::::::::::::::::::::::: Lists :::::::::::::::::::::::::::: -->
643 <!ELEMENT ul ( li )*>
649 The "ul" represents an unordered list.
654 <li . . .> . . . </li>
655 <li . . .> . . . </li>
661 <!ELEMENT ol ( li )*>
668 The "ol" element represents an ordered list.
673 <li . . .> . . . First Item . . . </li>
674 <li . . .> . . . Second Item . . . </li>
678 The "start" attribute can be used to start a list from a number
683 <ol start="4"> . . . </ol>
687 <!ELEMENT li ( %inline.content; | %block.content; | %mixed.content; )*>
694 The "li" element is a generic list item used within both ordered and
695 unordered lists (i.e. "ol" and "ul" elements).
702 <li>another list item</li>
707 <li>first list item</li>
708 <li>second list item</li>
712 The "value" attribute can be used to restart numbering in ordered lists. It has no meaning when used in unordered lists.
715 <li>this item is numbered 1</li>
716 <li>this item is numbered 2</li>
717 <li value="10">this item is numbered 10</li>
718 <li>this item is numbered 11</li>
723 <!ELEMENT dl ( dt, dd? )*>
729 The "dl" element represents a list of terms and their definitions.
734 <dt . . .> . . . First Term . . . </dt>
735 <dd . . .> . . . First Term's Definition . . . </dd>
737 <dt . . .> . . . Second Term . . . </dt>
738 <dd . . .> . . . Second Term's Definition . . . </dd>
739 <dt . . .> . . . Third Term with No Definition . . . </dt>
744 <!ELEMENT dt ( %inline.content; | %mixed.content; )*>
750 The "dt" element represents a definition term within a definition
751 list. It should be immediately followed by its definitions contained
752 within "dd" elements.
758 <dt>Definition Term</dt>
759 <dd . . .> . . . Definition . . . </dd>
765 <!ELEMENT dd ( %inline.content; | %block.content; | %mixed.content; )*>
771 The "dd" element contains a definition.
775 <dt . . .> . . . Term to be defined . . . </dt>
776 <dd>Definition of the term.</dd>
780 <!-- :::::::::::::::::::::::::: Tables ::::::::::::::::::::::::::: -->
782 <!ELEMENT table ( caption?, colgroup*, thead?, tfoot?, ( tr+ | tbody+ ))>
784 summary CDATA #IMPLIED
789 The "table" element represents tabular data. It's data is organized
795 <tr . . .> . . . </tr>
796 <tr . . .> . . . </tr>
802 <!ELEMENT caption ( %inline.content; | %mixed.content; )*>
808 The "caption" element contains a brief description of the data
809 contained in the table and the structure of the table.
814 <caption>Random Number Table</caption>
820 <!ELEMENT colgroup EMPTY>
826 The "colgroup" element explicitly groups several columns of tabular data
827 together. The "span" attribute specifies the number of columns to be
828 grouped. This is primarily useful for non-visual user agents.
835 <colgroup span="13"/>
841 <!ELEMENT thead ( tr+ )>
847 The "thead" element contains rows of data designated as the table
848 header. It creates a rowgroup for the purposes of the "scope"
849 attribute in the "th" and "td" elements.
856 <tr . . .> . . . </tr>
864 <!ELEMENT tfoot ( tr+ )>
870 The "tfoot" element contains rows of data designated as the table
871 footer. It creates a rowgroup for the purposes of the "scope"
872 attribute in the "th" and "td" elements.
879 <tr . . .> . . . </tr>
887 <!ELEMENT tbody ( tr+ )>
893 The "tbody" element contains rows of data designated as the part
894 of the main table data. More than one "tbody" element is allowed per
895 "table" element. It creates a rowgroup for the purposes of the "scope"
896 attribute in the "th" and "td" elements.
903 <tr . . .> . . . </tr>
911 <!ELEMENT tr ( th | td )*>
917 The "tr" element contains a collection of "th" and "td" elements that
918 represent one row of a "table".
925 <th . . .> . . . </th>
926 <td . . .> . . . </td>
934 <!ELEMENT th ( %inline.content; | %mixed.content; )*>
937 %cell.align.attributes;
938 %cell.scope.attributes;
942 The "th" contains a table header used to label a particular row or
943 column of tabular data.
945 The "scope" attribute specifies to what extent the data of this header
946 applies. The "axis" attribute is a comma-separated list of categories
947 to which the element belongs.
954 <td . . .> . . . </td>
955 <td . . .> . . . </td>
961 <!ELEMENT td ( %inline.content; | %mixed.content; )*>
964 %cell.align.attributes;
965 %cell.scope.attributes;
969 The "td" element contains one cell of tabular data.
971 The "scope" attribute may be used in conjunction with a "td" element to
972 specify that though its data isn't considered header data, it functions
973 as a label for the data. For example, a character's name is a label for a row
974 of the character's statistics, but it is not a header.
986 <!-- :::::::::::::::::::::: Miscellaneous :::::::::::::::::::::::: -->
988 <!ELEMENT p ( %inline.content; | %mixed.content; )*>
994 The "p" element contains a paragraph.
998 <p>This is a (short) paragraph.</p>
1002 <!ELEMENT blockquote ( %block.content; | %mixed.content; )*>
1003 <!ATTLIST blockquote
1008 The "blockquote" element contains a lengthy quotation which isn't
1009 contained within a paragraph.
1014 <p>There was once a Kai monk from Sommerlund . . .</p>
1019 <!ELEMENT poetry ( line+ )*>
1025 The "poetry" element contains a poem that is organized into a
1026 sequence of lines contained in "line" elements.
1031 <line>When the full moon shines o<ch.apos/>er the temple deep,</line>
1032 <line>A sacrifice will stir from sleep</line>
1033 <line>The legions of a long forgotten lord.</line>
1034 <line>When a fair royal maid on the altar dies,</line>
1035 <line>The dead of Maakengorge shall rise</line>
1036 <line>To claim their long-awaited reward.</line>
1041 <!ELEMENT combat ( enemy, enemy-attribute+ )>
1047 The "combat" element contains one combat represented by the enemy's
1048 name and attributes.
1053 <enemy . . .> . . . </enemy>
1054 <enemy-attribute . . .> . . . </enemy-attribute>
1055 <enemy-attribute . . .> . . . </enemy-attribute>
1061 <!ELEMENT enemy ( %inline.content; | %mixed.content; )*>
1067 The "enemy" element contains an enemy's name.
1073 <enemy>12-foot Giak</enemy>
1079 <!ELEMENT enemy-attribute ( #PCDATA )*>
1080 <!ATTLIST enemy-attribute
1085 The "enemy-attribute" element contains one particular attribute which
1092 <enemy-attribute>30</enemy-attribute>
1098 <!ELEMENT choice ( %inline.content; | %mixed.content; | link-text )*>
1105 The "choice" element contains the text describing a choice presented
1106 within a section. It's a linking element and therefore can link to
1107 the place to which the choice leads.
1109 The choice element can contain "link-text" elements which suggest text
1110 that should be used by the user agent to represent the hyperlink.
1114 <section id="section12" . . .> . . . </section>
1116 <choice idref="section12">If you would like to fight the 12-foot Giak,
1117 <link-text . . .> . . . turn to 12. . . . </link-text>
1122 <!ELEMENT link-text ( %inline.content; | %mixed.content; )*>
1128 The "link-text" element contains text which is suggested for use by
1129 hypertext user interfaces to represent one end of a hyperlink.
1135 <link-text>the unfortunately ubiquitous "Click Here!"</link-text>
1141 <!ELEMENT illustration ( meta?, instance+ )>
1142 <!ATTLIST illustration
1149 The "illustration" element contains a set of alternate
1150 representations of a particular illustration.
1155 <meta> . . . </meta>
1156 <instance . . .> . . . </instance>
1157 <instance . . .> . . . </instance>
1163 <!ELEMENT instance ( %inline.content; | %block.content; | %mixed.content; )*>
1167 width CDATA #IMPLIED
1168 height CDATA #IMPLIED
1169 mime-type CDATA #IMPLIED
1170 originalwidth CDATA #IMPLIED
1176 The "instance" element describes one instance of an illustration.
1178 The "src" attribute is a URL for the data file for the illustration.
1180 The "width" and "height" attributes contain the dimensions of the
1183 The "mime-type" attribute can contain an appropriate label for the
1184 format of the illustration file (e.g. "image/png" or "image/jpeg").
1186 The "originalwidth" attribute contains the width of the illustration
1187 as it appears in the printed books. It is given including a unit
1190 The "posx" and "posx" attributes are hints for the positioning of the
1191 illustration when the PDF is generated.
1193 The "instance" element can contain block or inline content that
1194 is intended to replace graphical illustrations.
1198 <illustration . . .>
1200 <instance src="17.gif" width="386" height="532" type="image/gif" />
1201 <instance src="" width="" height="" type="text" >
1204 <instance class="pdf" src="sword.pdf" originalwidth="54mm" />
1210 <!ELEMENT illref EMPTY>
1218 The "illref" element is used to mark the location of an illustration.
1219 The actual illustration is declared elsewhere.
1221 Since the placement of a particular illustration may depend on the
1222 output format, one "illref" is required for each format.
1226 <illref idref="ill2" class="html"/>
1227 <illref idref="ill2" class="pdf"/>
1231 <!ELEMENT signpost ( %inline.content; | %block.content; | %mixed.content; )*>
1237 The "signpost" element contains the text of a sign or message that
1238 should be presented offset from surrounding text.
1242 <signpost>RENDALIM'S LABORATORY</signpost>
1252 The "hr" element designates a horizontal rule. Since this is a
1253 presentational tag, it should be used sparingly in cases where new
1254 logical divisions of the text begin which aren't given a unique
1263 <!ELEMENT choose ( when+, otherwise? )>
1266 test CDATA #REQUIRED
1268 <!ELEMENT when ( %inline.content; | %block.content; | %mixed.content; )*>
1271 value CDATA #IMPLIED
1273 <!ELEMENT otherwise ( %inline.content; | %block.content; | %mixed.content; )*>
1279 The "choose", "when", and "otherwise" elements work together to provide a
1280 simple way to include content based on conditions. The value to be tested
1281 is specified in the "choose" element with the "test" attribute. Only the first
1282 "when" element whose "value" attribute matches the value of the test is included. If none pass, the "otherwise" element is included.
1286 <choose test="linkable">
1288 <when value="true">included if linkable is true</when>
1289 <when value="false">included if linkable is false</when>
1290 <when value="3">included if linkable is 3</when>
1291 <otherwise>included if linkable is none of the above</otherwise>
1296 <!-- ============================================================= -->
1297 <!-- Inline Elements -->
1298 <!-- ============================================================= -->
1300 <!ELEMENT a ( %inline.content; | %mixed.content; )*>
1308 The "a" element is used to contain inline content that should be a
1309 hypertext anchor. The "a" element should not contain another linking
1310 element (e.g. "a", "bookref", "footref").
1312 The "href" attribute is added to allow a reference outside of the
1319 <a idref="section12" id="foo">Section 12</a>
1325 <!ELEMENT bookref ( %inline.content; | %mixed.content; )*>
1329 series CDATA #IMPLIED
1330 book CDATA #REQUIRED
1331 section CDATA #IMPLIED
1335 The "bookref" element is used to contain inline content that should be a
1336 hypertext anchor to another book.
1338 The "series" attribute is a tag that denotes the series of the book that
1339 the link points to. The attribute may be left out if the book is part of
1340 the same series as the one containing the link.
1342 The "book" attribute is a tag that denotes the book that the link points
1343 to. This is not necessarily a URL.
1345 The "section" attribute is a tag indicating which section to link to.
1346 This is not necessarily a URL. The attribute may be left out if no
1347 particular section is referred to.
1353 <bookref series="lw" book="11tpot" section="sect33">
1354 The Prisoners of Time: Section 33
1361 <bookref book="04wotw">Book 4</bookref>
1367 <!ELEMENT footref ( %inline.content; | %mixed.content; )*>
1374 The "footref" element is used to indicate the position of a reference
1375 to a "footnote" element. It should normally not contain any text.
1381 You lose 3EP.<footref id="footref1" idref="footnote1"/>
1387 <!ELEMENT em ( %inline.content; | %mixed.content; )*>
1393 The "em" element contains text that should be emphasized. Although not
1394 part of the DTD and therefore not guaranteed or required to be so, the
1395 text should be typeset with an italic font.
1399 <em>You are being attacked!</em>
1405 <!ELEMENT strong ( %inline.content; | %mixed.content; )*>
1411 The "strong" element contains text that should be emphasized. Although
1412 not part of the DTD and therefore not guaranteed or required to be so,
1413 the text should be typeset with a bold font weight.
1417 <strong>If</strong> you have the Talisman of Supreme Obscurity,
1423 <!ELEMENT thought ( %inline.content; | %mixed.content; )*>
1429 The "thought" element contains text that is the character's thoughts or is
1430 an overheard thought. Although not part of the DTD and therefore not
1431 guaranteed or required to be so, the text should be typeset with an italic
1436 Lone Wolf heard the words <thought>Die Northlander!</strong> echo in
1443 <!ELEMENT foreign ( %inline.content; | %mixed.content; )*>
1449 The "foreign" element contains a phrase in a non-native language.
1450 Although not part of the DTD and therefore not guaranteed or required
1451 to be so, the text should be typeset with an italic font face.
1455 The Giak horde attacked <foreign>en masse</foreign>.
1461 <!ELEMENT quote ( %inline.content; | %mixed.content; )*>
1467 The "quote" element contains an inline quotation.
1471 <p . . .>The Giak yelped <quote . . .>Oww!</quote></p>
1475 <!ELEMENT cite ( %inline.content; | %mixed.content; )*>
1481 The "cite" element contains the title of a sited resource.
1487 <cite>Flight from the Dark</cite>
1493 <!ELEMENT code ( %inline.content; | %mixed.content; )*>
1499 The "code" element contains data that should be interpreted as literal
1500 input to a computer (e.g. email addresses and URIs).
1504 <code>http://www.projectaon.org/</code>
1508 <!ELEMENT line ( %inline.content; | %mixed.content; )*>
1514 The "line" element contains one logical line of data in, for example,
1515 a poem. Its use should be confined to documents such as poems that
1516 require a particular line structure.
1520 <line>When the full moon rises o'er the temple deep,</line>
1521 <line>A sacrifice will stir from sleep</line>
1522 <line>The legions of a long forgotten lord.</line>
1532 The "br" indicates a required line break. Its use is deprecated in favor
1533 of the "line" element.
1539 There once was a Kai monk from Sommerlund<br />
1540 Who always wore a pink cummerbund<br />
1546 <!ELEMENT typ ( #PCDATA )>
1552 The "typ" element is used to denote purely typographical markup. For
1553 example, bold font face, italics, and smaller font are purely of
1554 typographical concern. Take care to not use this in place of logical
1555 markup such as the "em" element when it is more appropriate.
1559 The <typ class="bold">Project Aon</a> volunteers.
1563 <!ELEMENT onomatopoeia ( #PCDATA )>
1564 <!ATTLIST onomatopoeia
1569 The "onomatopoeia" element is used to denote words that imitate a
1570 sound (e.g., "whoosh", "bang").
1574 The <onomatopoeia>clang</onomatopoeia> of the bell is deafening.
1578 <!ELEMENT spell ( #PCDATA )>
1584 The "spell" element contains the name of a magic spell.
1588 Having had no success with his female peers, the acolyte learned the
1589 forbidden <spell>Attract Opposite Gender</spell> spell.
1593 <!ELEMENT item ( #PCDATA )>
1599 The "item" element contains the name of an item that the reader can
1600 pick up or interact with.
1604 Her <item>Sword</a> lay just out of reach.
1608 <!-- ============================================================= -->
1609 <!-- Character Elements -->
1610 <!-- ============================================================= -->
1613 The character elments provide a hook to specify a character without
1614 specifying the exact representation in target formats. The exact
1615 representation used is the responsibility of the processor (e.g XSLT
1618 Portions Copyright International Organization for Standardization 1986
1619 Permission to copy in any form is granted for use with conforming SGML
1620 systems and applications as defined in ISO 8879, provided this notice
1621 is included in all copies.
1625 <!-- no-break space = non-breaking space, U+00A0 ISOnum -->
1626 <!ELEMENT ch.apos EMPTY><!ATTLIST ch.apos %core.attributes;>
1628 <!-- no-break space = non-breaking space, U+00A0 ISOnum -->
1629 <!ELEMENT ch.nbsp EMPTY><!ATTLIST ch.nbsp %core.attributes;>
1631 <!-- inverted exclamation mark, U+00A1 ISOnum -->
1632 <!ELEMENT ch.iexcl EMPTY><!ATTLIST ch.iexcl %core.attributes;>
1634 <!-- cent sign, U+00A2 ISOnum -->
1635 <!ELEMENT ch.cent EMPTY><!ATTLIST ch.cent %core.attributes;>
1637 <!-- pound sign, U+00A3 ISOnum -->
1638 <!ELEMENT ch.pound EMPTY><!ATTLIST ch.pound %core.attributes;>
1640 <!-- currency sign, U+00A4 ISOnum -->
1641 <!ELEMENT ch.curren EMPTY><!ATTLIST ch.curren %core.attributes;>
1643 <!-- yen sign = yuan sign, U+00A5 ISOnum -->
1644 <!ELEMENT ch.yen EMPTY><!ATTLIST ch.yen %core.attributes;>
1646 <!-- broken bar = broken vertical bar, U+00A6 ISOnum -->
1647 <!ELEMENT ch.brvbar EMPTY><!ATTLIST ch.brvbar %core.attributes;>
1649 <!-- section sign, U+00A7 ISOnum -->
1650 <!ELEMENT ch.sect EMPTY><!ATTLIST ch.sect %core.attributes;>
1652 <!-- diaeresis = spacing diaeresis, U+00A8 ISOdia -->
1653 <!ELEMENT ch.uml EMPTY><!ATTLIST ch.uml %core.attributes;>
1655 <!-- copyright sign, U+00A9 ISOnum -->
1656 <!ELEMENT ch.copy EMPTY><!ATTLIST ch.copy %core.attributes;>
1658 <!-- feminine ordinal indicator, U+00AA ISOnum -->
1659 <!ELEMENT ch.ordf EMPTY><!ATTLIST ch.ordf %core.attributes;>
1661 <!-- left-pointing double angle quotation mark = left pointing guillemet, U+00AB ISOnum -->
1662 <!ELEMENT ch.laquo EMPTY><!ATTLIST ch.laquo %core.attributes;>
1664 <!-- not sign, U+00AC ISOnum -->
1665 <!ELEMENT ch.not EMPTY><!ATTLIST ch.not %core.attributes;>
1667 <!-- soft hyphen = discretionary hyphen, U+00AD ISOnum -->
1668 <!ELEMENT ch.shy EMPTY><!ATTLIST ch.shy %core.attributes;>
1670 <!-- registered sign = registered trade mark sign, U+00AE ISOnum -->
1671 <!ELEMENT ch.reg EMPTY><!ATTLIST ch.reg %core.attributes;>
1673 <!-- macron = spacing macron = overline = APL overbar, U+00AF ISOdia -->
1674 <!ELEMENT ch.macr EMPTY><!ATTLIST ch.macr %core.attributes;>
1676 <!-- degree sign, U+00B0 ISOnum -->
1677 <!ELEMENT ch.deg EMPTY><!ATTLIST ch.deg %core.attributes;>
1679 <!-- plus-minus sign = plus-or-minus sign, U+00B1 ISOnum -->
1680 <!ELEMENT ch.plusmn EMPTY><!ATTLIST ch.plusmn %core.attributes;>
1682 <!-- superscript two = superscript digit two = squared, U+00B2 ISOnum -->
1683 <!ELEMENT ch.sup2 EMPTY><!ATTLIST ch.sup2 %core.attributes;>
1685 <!-- superscript three = superscript digit three = cubed, U+00B3 ISOnum -->
1686 <!ELEMENT ch.sup3 EMPTY><!ATTLIST ch.sup3 %core.attributes;>
1688 <!-- acute accent = spacing acute, U+00B4 ISOdia -->
1689 <!ELEMENT ch.acute EMPTY><!ATTLIST ch.acute %core.attributes;>
1691 <!-- micro sign, U+00B5 ISOnum -->
1692 <!ELEMENT ch.micro EMPTY><!ATTLIST ch.micro %core.attributes;>
1694 <!-- pilcrow sign = paragraph sign, U+00B6 ISOnum -->
1695 <!ELEMENT ch.para EMPTY><!ATTLIST ch.para %core.attributes;>
1697 <!-- middle dot = Georgian comma = Greek middle dot, U+00B7 ISOnum -->
1698 <!ELEMENT ch.middot EMPTY><!ATTLIST ch.middot %core.attributes;>
1700 <!-- cedilla = spacing cedilla, U+00B8 ISOdia -->
1701 <!ELEMENT ch.cedil EMPTY><!ATTLIST ch.cedil %core.attributes;>
1703 <!-- superscript one = superscript digit one, U+00B9 ISOnum -->
1704 <!ELEMENT ch.sup1 EMPTY><!ATTLIST ch.sup1 %core.attributes;>
1706 <!-- masculine ordinal indicator, U+00BA ISOnum -->
1707 <!ELEMENT ch.ordm EMPTY><!ATTLIST ch.ordm %core.attributes;>
1709 <!-- right-pointing double angle quotation mark = right pointing guillemet, U+00BB ISOnum -->
1710 <!ELEMENT ch.raquo EMPTY><!ATTLIST ch.raquo %core.attributes;>
1712 <!-- vulgar fraction one quarter = fraction one quarter, U+00BC ISOnum -->
1713 <!ELEMENT ch.frac14 EMPTY><!ATTLIST ch.frac14 %core.attributes;>
1715 <!-- vulgar fraction one half = fraction one half, U+00BD ISOnum -->
1716 <!ELEMENT ch.frac12 EMPTY><!ATTLIST ch.frac12 %core.attributes;>
1718 <!-- vulgar fraction three quarters = fraction three quarters, U+00BE ISOnum -->
1719 <!ELEMENT ch.frac34 EMPTY><!ATTLIST ch.frac34 %core.attributes;>
1721 <!-- inverted question mark = turned question mark, U+00BF ISOnum -->
1722 <!ELEMENT ch.iquest EMPTY><!ATTLIST ch.iquest %core.attributes;>
1724 <!-- latin capital letter A with grave = latin capital letter A grave, U+00C0 ISOlat1 -->
1725 <!ELEMENT ch.Agrave EMPTY><!ATTLIST ch.Agrave %core.attributes;>
1727 <!-- latin capital letter A with acute, U+00C1 ISOlat1 -->
1728 <!ELEMENT ch.Aacute EMPTY><!ATTLIST ch.Aacute %core.attributes;>
1730 <!-- latin capital letter A with circumflex, U+00C2 ISOlat1 -->
1731 <!ELEMENT ch.Acirc EMPTY><!ATTLIST ch.Acirc %core.attributes;>
1733 <!-- latin capital letter A with tilde, U+00C3 ISOlat1 -->
1734 <!ELEMENT ch.Atilde EMPTY><!ATTLIST ch.Atilde %core.attributes;>
1736 <!-- latin capital letter A with diaeresis, U+00C4 ISOlat1 -->
1737 <!ELEMENT ch.Auml EMPTY><!ATTLIST ch.Auml %core.attributes;>
1739 <!-- latin capital letter A with ring above = latin capital letter A ring, U+00C5 ISOlat1 -->
1740 <!ELEMENT ch.Aring EMPTY><!ATTLIST ch.Aring %core.attributes;>
1742 <!-- latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1 -->
1743 <!ELEMENT ch.AElig EMPTY><!ATTLIST ch.AElig %core.attributes;>
1745 <!-- latin capital letter C with cedilla, U+00C7 ISOlat1 -->
1746 <!ELEMENT ch.Ccedil EMPTY><!ATTLIST ch.Ccedil %core.attributes;>
1748 <!-- latin capital letter E with grave, U+00C8 ISOlat1 -->
1749 <!ELEMENT ch.Egrave EMPTY><!ATTLIST ch.Egrave %core.attributes;>
1751 <!-- latin capital letter E with acute, U+00C9 ISOlat1 -->
1752 <!ELEMENT ch.Eacute EMPTY><!ATTLIST ch.Eacute %core.attributes;>
1754 <!-- latin capital letter E with circumflex, U+00CA ISOlat1 -->
1755 <!ELEMENT ch.Ecirc EMPTY><!ATTLIST ch.Ecirc %core.attributes;>
1757 <!-- latin capital letter E with diaeresis, U+00CB ISOlat1 -->
1758 <!ELEMENT ch.Euml EMPTY><!ATTLIST ch.Euml %core.attributes;>
1760 <!-- latin capital letter I with grave, U+00CC ISOlat1 -->
1761 <!ELEMENT ch.Igrave EMPTY><!ATTLIST ch.Igrave %core.attributes;>
1763 <!-- latin capital letter I with acute, U+00CD ISOlat1 -->
1764 <!ELEMENT ch.Iacute EMPTY><!ATTLIST ch.Iacute %core.attributes;>
1766 <!-- latin capital letter I with circumflex, U+00CE ISOlat1 -->
1767 <!ELEMENT ch.Icirc EMPTY><!ATTLIST ch.Icirc %core.attributes;>
1769 <!-- latin capital letter I with diaeresis, U+00CF ISOlat1 -->
1770 <!ELEMENT ch.Iuml EMPTY><!ATTLIST ch.Iuml %core.attributes;>
1772 <!-- latin capital letter ETH, U+00D0 ISOlat1 -->
1773 <!ELEMENT ch.ETH EMPTY><!ATTLIST ch.ETH %core.attributes;>
1775 <!-- latin capital letter N with tilde, U+00D1 ISOlat1 -->
1776 <!ELEMENT ch.Ntilde EMPTY><!ATTLIST ch.Ntilde %core.attributes;>
1778 <!-- latin capital letter O with grave, U+00D2 ISOlat1 -->
1779 <!ELEMENT ch.Ograve EMPTY><!ATTLIST ch.Ograve %core.attributes;>
1781 <!-- latin capital letter O with acute, U+00D3 ISOlat1 -->
1782 <!ELEMENT ch.Oacute EMPTY><!ATTLIST ch.Oacute %core.attributes;>
1784 <!-- latin capital letter O with circumflex, U+00D4 ISOlat1 -->
1785 <!ELEMENT ch.Ocirc EMPTY><!ATTLIST ch.Ocirc %core.attributes;>
1787 <!-- latin capital letter O with tilde, U+00D5 ISOlat1 -->
1788 <!ELEMENT ch.Otilde EMPTY><!ATTLIST ch.Otilde %core.attributes;>
1790 <!-- latin capital letter O with diaeresis, U+00D6 ISOlat1 -->
1791 <!ELEMENT ch.Ouml EMPTY><!ATTLIST ch.Ouml %core.attributes;>
1793 <!-- multiplication sign, U+00D7 ISOnum -->
1794 <!ELEMENT ch.times EMPTY><!ATTLIST ch.times %core.attributes;>
1796 <!-- latin capital letter O with stroke = latin capital letter O slash, U+00D8 ISOlat1 -->
1797 <!ELEMENT ch.Oslash EMPTY><!ATTLIST ch.Oslash %core.attributes;>
1799 <!-- latin capital letter U with grave, U+00D9 ISOlat1 -->
1800 <!ELEMENT ch.Ugrave EMPTY><!ATTLIST ch.Ugrave %core.attributes;>
1802 <!-- latin capital letter U with acute, U+00DA ISOlat1 -->
1803 <!ELEMENT ch.Uacute EMPTY><!ATTLIST ch.Uacute %core.attributes;>
1805 <!-- latin capital letter U with circumflex, U+00DB ISOlat1 -->
1806 <!ELEMENT ch.Ucirc EMPTY><!ATTLIST ch.Ucirc %core.attributes;>
1808 <!-- latin capital letter U with diaeresis, U+00DC ISOlat1 -->
1809 <!ELEMENT ch.Uuml EMPTY><!ATTLIST ch.Uuml %core.attributes;>
1811 <!-- latin capital letter Y with acute, U+00DD ISOlat1 -->
1812 <!ELEMENT ch.Yacute EMPTY><!ATTLIST ch.Yacute %core.attributes;>
1814 <!-- latin capital letter THORN, U+00DE ISOlat1 -->
1815 <!ELEMENT ch.THORN EMPTY><!ATTLIST ch.THORN %core.attributes;>
1817 <!-- latin small letter sharp s = ess-zed, U+00DF ISOlat1 -->
1818 <!ELEMENT ch.szlig EMPTY><!ATTLIST ch.szlig %core.attributes;>
1820 <!-- latin small letter a with grave = latin small letter a grave, U+00E0 ISOlat1 -->
1821 <!ELEMENT ch.agrave EMPTY><!ATTLIST ch.agrave %core.attributes;>
1823 <!-- latin small letter a with acute, U+00E1 ISOlat1 -->
1824 <!ELEMENT ch.aacute EMPTY><!ATTLIST ch.aacute %core.attributes;>
1826 <!-- latin small letter a with circumflex, U+00E2 ISOlat1 -->
1827 <!ELEMENT ch.acirc EMPTY><!ATTLIST ch.acirc %core.attributes;>
1829 <!-- latin small letter a with tilde, U+00E3 ISOlat1 -->
1830 <!ELEMENT ch.atilde EMPTY><!ATTLIST ch.atilde %core.attributes;>
1832 <!-- latin small letter a with diaeresis, U+00E4 ISOlat1 -->
1833 <!ELEMENT ch.auml EMPTY><!ATTLIST ch.auml %core.attributes;>
1835 <!-- latin small letter a with ring above = latin small letter a ring, U+00E5 ISOlat1 -->
1836 <!ELEMENT ch.aring EMPTY><!ATTLIST ch.aring %core.attributes;>
1838 <!-- latin small letter ae = latin small ligature ae, U+00E6 ISOlat1 -->
1839 <!ELEMENT ch.aelig EMPTY><!ATTLIST ch.aelig %core.attributes;>
1841 <!-- latin small letter c with cedilla, U+00E7 ISOlat1 -->
1842 <!ELEMENT ch.ccedil EMPTY><!ATTLIST ch.ccedil %core.attributes;>
1844 <!-- latin small letter e with grave, U+00E8 ISOlat1 -->
1845 <!ELEMENT ch.egrave EMPTY><!ATTLIST ch.egrave %core.attributes;>
1847 <!-- latin small letter e with acute, U+00E9 ISOlat1 -->
1848 <!ELEMENT ch.eacute EMPTY><!ATTLIST ch.eacute %core.attributes;>
1850 <!-- latin small letter e with circumflex, U+00EA ISOlat1 -->
1851 <!ELEMENT ch.ecirc EMPTY><!ATTLIST ch.ecirc %core.attributes;>
1853 <!-- latin small letter e with diaeresis, U+00EB ISOlat1 -->
1854 <!ELEMENT ch.euml EMPTY><!ATTLIST ch.euml %core.attributes;>
1856 <!-- latin small letter i with grave, U+00EC ISOlat1 -->
1857 <!ELEMENT ch.igrave EMPTY><!ATTLIST ch.igrave %core.attributes;>
1859 <!-- latin small letter i with acute, U+00ED ISOlat1 -->
1860 <!ELEMENT ch.iacute EMPTY><!ATTLIST ch.iacute %core.attributes;>
1862 <!-- latin small letter i with circumflex, U+00EE ISOlat1 -->
1863 <!ELEMENT ch.icirc EMPTY><!ATTLIST ch.icirc %core.attributes;>
1865 <!-- latin small letter i with diaeresis, U+00EF ISOlat1 -->
1866 <!ELEMENT ch.iuml EMPTY><!ATTLIST ch.iuml %core.attributes;>
1868 <!-- latin small letter eth, U+00F0 ISOlat1 -->
1869 <!ELEMENT ch.eth EMPTY><!ATTLIST ch.eth %core.attributes;>
1871 <!-- latin small letter n with tilde, U+00F1 ISOlat1 -->
1872 <!ELEMENT ch.ntilde EMPTY><!ATTLIST ch.ntilde %core.attributes;>
1874 <!-- latin small letter o with grave, U+00F2 ISOlat1 -->
1875 <!ELEMENT ch.ograve EMPTY><!ATTLIST ch.ograve %core.attributes;>
1877 <!-- latin small letter o with acute, U+00F3 ISOlat1 -->
1878 <!ELEMENT ch.oacute EMPTY><!ATTLIST ch.oacute %core.attributes;>
1880 <!-- latin small letter o with circumflex, U+00F4 ISOlat1 -->
1881 <!ELEMENT ch.ocirc EMPTY><!ATTLIST ch.ocirc %core.attributes;>
1883 <!-- latin small letter o with tilde, U+00F5 ISOlat1 -->
1884 <!ELEMENT ch.otilde EMPTY><!ATTLIST ch.otilde %core.attributes;>
1886 <!-- latin small letter o with diaeresis, U+00F6 ISOlat1 -->
1887 <!ELEMENT ch.ouml EMPTY><!ATTLIST ch.ouml %core.attributes;>
1889 <!-- division sign, U+00F7 ISOnum -->
1890 <!ELEMENT ch.divide EMPTY><!ATTLIST ch.divide %core.attributes;>
1892 <!-- latin small letter o with stroke, = latin small letter o slash, U+00F8 ISOlat1 -->
1893 <!ELEMENT ch.oslash EMPTY><!ATTLIST ch.oslash %core.attributes;>
1895 <!-- latin small letter u with grave, U+00F9 ISOlat1 -->
1896 <!ELEMENT ch.ugrave EMPTY><!ATTLIST ch.ugrave %core.attributes;>
1898 <!-- latin small letter u with acute, U+00FA ISOlat1 -->
1899 <!ELEMENT ch.uacute EMPTY><!ATTLIST ch.uacute %core.attributes;>
1901 <!-- latin small letter u with circumflex, U+00FB ISOlat1 -->
1902 <!ELEMENT ch.ucirc EMPTY><!ATTLIST ch.ucirc %core.attributes;>
1904 <!-- latin small letter u with diaeresis, U+00FC ISOlat1 -->
1905 <!ELEMENT ch.uuml EMPTY><!ATTLIST ch.uuml %core.attributes;>
1907 <!-- latin small letter y with acute, U+00FD ISOlat1 -->
1908 <!ELEMENT ch.yacute EMPTY><!ATTLIST ch.yacute %core.attributes;>
1910 <!-- latin small letter thorn, U+00FE ISOlat1 -->
1911 <!ELEMENT ch.thorn EMPTY><!ATTLIST ch.thorn %core.attributes;>
1913 <!-- latin small letter y with diaeresis, U+00FF ISOlat1 -->
1914 <!ELEMENT ch.yuml EMPTY><!ATTLIST ch.yuml %core.attributes;>
1917 <!-- ::::::::::::::::::::: Special Characters :::::::::::::::::::: -->
1920 <!ELEMENT ch.ampersand EMPTY><!ATTLIST ch.ampersand %core.attributes;>
1922 <!-- opening left quotation mark -->
1923 <!ELEMENT ch.lsquot EMPTY><!ATTLIST ch.lsquot %core.attributes;>
1925 <!-- closing right quotation mark -->
1926 <!ELEMENT ch.rsquot EMPTY><!ATTLIST ch.rsquot %core.attributes;>
1928 <!-- opening left double quotation mark -->
1929 <!ELEMENT ch.ldquot EMPTY><!ATTLIST ch.ldquot %core.attributes;>
1931 <!-- closing right double quotation mark -->
1932 <!ELEMENT ch.rdquot EMPTY><!ATTLIST ch.rdquot %core.attributes;>
1934 <!-- mathematical minus -->
1935 <!ELEMENT ch.minus EMPTY><!ATTLIST ch.minus %core.attributes;>
1938 <!ELEMENT ch.endash EMPTY><!ATTLIST ch.endash %core.attributes;>
1941 <!ELEMENT ch.emdash EMPTY><!ATTLIST ch.emdash %core.attributes;>
1944 <!ELEMENT ch.ellips EMPTY><!ATTLIST ch.ellips %core.attributes;>
1946 <!-- left ellipsis, used at the beginning of edited material -->
1947 <!ELEMENT ch.lellips EMPTY><!ATTLIST ch.lellips %core.attributes;>
1949 <!-- blank line to be filled in -->
1950 <!ELEMENT ch.blankline EMPTY><!ATTLIST ch.blankline %core.attributes;>
1952 <!-- percent sign -->
1953 <!ELEMENT ch.percent EMPTY><!ATTLIST ch.percent %core.attributes;>
1955 <!-- small horizontal space for use between adjacent quotation marks - added mainly for LaTeX's sake -->
1956 <!ELEMENT ch.thinspace EMPTY><!ATTLIST ch.thinspace %core.attributes;>
1958 <!-- vulgar fraction one sixteenth = fraction on sixteenth -->
1959 <!ELEMENT ch.frac116 EMPTY><!ATTLIST ch.frac116 %core.attributes;>
1961 <!-- mathematical plus -->
1962 <!ELEMENT ch.plus EMPTY><!ATTLIST ch.plus %core.attributes;>
1964 <!-- ============================================================= -->
1966 <!-- ============================================================= -->
1968 <!-- :::::::::::::: Valid Gamebook Document Example :::::::::::::: -->
1970 This document is not intended to document current practice in Project
1971 Aon. It is merely here to demonstrate the concepts of the Gamebook
1972 DTD. For current practice, please refer to published XML files.
1977 <?xml version="1.0" encoding="iso-8859-1"?>
1978 <!DOCTYPE gamebook SYSTEM "gamebook.dtd">
1980 <gamebook version="0.12" xml:lang="en-UK">
1983 <title>Flight from the Dark</title>
1984 <creator>Joe Dever and Gary Chalk</creator>
1985 <publisher>Project Aon</publisher>
1986 <date><year>2001</year><month>10</month><day>24</day></date>
1987 <rights>Copyright <ch.copy/> 1984 Joe Dever and Gary Chalk.</rights>
1990 <section id="section1">
1991 <meta><title>1</title></meta>
1993 <p>You must make haste for you sense it is not safe to linger by the smoking remains of the ruined monastery. The black-winged beasts could return at any moment. You must set out for the Sommerlund capital of Holmgard and tell the King the terrible news of the massacre: that the whole <ch.eacute/>lite of Kai warriors, save yourself, have been slaughtered. Without the Kai Lords to lead her armies, Sommerlund will be at the mercy of their ancient enemy, the Darklords.</p>
1994 <p>Fighting back tears, you bid farewell to your dead kinsmen. Silently, you promise that their deaths will be avenged. You turn away from the ruins and carefully descend the steep track.</p>
1995 <p>At the foot of the hill, the path splits into two directions, both leading into a large wood.</p>
1997 <choice idref="section85">If you wish to take the right path into the wood, <link-text>turn to 85</link-text>.</choice>
1998 <choice idref="section275">If you wish to follow the left track, <link-text>turn to 275</link-text>.</choice>
1999 <choice idref="section141">If you wish to use your Kai Discipline of Sixth Sense, <link-text>turn to 141</link-text>.</choice>
2002 <footnote><p>Later books use <quote>Sommlending</quote> as the possessive adjective for Sommerlund, contrary to the use of the word <quote>Sommerlund</quote> in the third sentence. This is probably not a typo, but a reflection of Joe Dever<ch.apos/>s later expansion of the vocabulary of Magnamund.</p></footnote>
2006 <section id="section17">
2007 <meta><title>17</title></meta>
2009 <p>You raise your weapon to strike at the beast as its razor-fanged mouth snaps shut just inches from your head. Buffeted by the beating of its wings you find it difficult to stand.</p>
2012 <instance src="1.gif" width="386" height="532" mime-type="image/gif" />
2015 <p>Deduct 1 point from your <typ class="attribute">COMBAT SKILL</typ> and fight the Kraan.</p>
2018 <enemy>Kraan:</enemy>
2019 <enemy-attribute>16</enemy-attribute>
2020 <enemy-attribute>24</enemy-attribute>
2023 <p>If you kill the creature, you quickly descend the far side of the hill to avoid the Giaks.</p>
2024 <p>Pick a number from the Random Number Table.</p>
2026 <choice idref="section53">If you pick 0, <link-text>turn to 53</link-text>.</choice>
2027 <choice idref="section274">If you pick 1<ch.endash/>2, <link-text>turn to 274</link-text>.</choice>
2028 <choice idref="section316">If you pick 3<ch.endash/>9, <link-text>turn to 316</link-text>.</choice>
2032 <section id="section53">
2033 <meta><title>53</title></meta>
2037 <section id="section85">
2038 <meta><title>85</title></meta>
2042 <section id="section141">
2043 <meta><title>141</title></meta>
2047 <section id="section274">
2048 <meta><title>274</title></meta>
2052 <section id="section275">
2053 <meta><title>275</title></meta>
2057 <section id="section316">
2058 <meta><title>316</title></meta>