1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<!--
XML Document DTD, version 1.00
document dtd
should allow for all standard writing of a document, title, author, summary,
main topics, sub topics, lists, figures, index
-->
<!ELEMENT Document (Title, Description, Summary?, (Chapter | ExternalChapter)*, Appendix*)>
<!ATTLIST Document version CDATA #FIXED "1.0">
<!ELEMENT Summary (Title, ExternalDiagram?, Body)>
<!ELEMENT Appendix (Title, ExternalDiagram?, Body, Section*)>
<!ELEMENT Chapter (Title, ExternalDiagram?, Body, Section*)>
<!ELEMENT Section (Title, ExternalDiagram?, Body, SubSection*)>
<!ELEMENT SubSection (Title, ExternalDiagram?, Body)>
<!ELEMENT Title (#PCDATA)>
<!ELEMENT Body (ExternalDiagram | p)*>
<!ELEMENT p ANY>
<!ELEMENT ExternalDiagram (#PCDATA)>
<!ATTLIST ExternalDiagram file CDATA #REQUIRED
showcode CDATA #IMPLIED>
<!ELEMENT ExternalSVG (#PCDATA)>
<!ATTLIST ExternalSVG file CDATA #REQUIRED>
<!ELEMENT ExternalChapter (#PCDATA)>
<!ATTLIST ExternalChapter file CDATA #REQUIRED>
<!ELEMENT index (#PCDATA)>
<!ELEMENT br (#PCDATA)>
<!ELEMENT i (#PCDATA)>
<!ELEMENT image (#PCDATA)>
<!ELEMENT a (#PCDATA)>
<!ELEMENT b (#PCDATA)>
<!ELEMENT blockquote (#PCDATA)>
<!ELEMENT code (#PCDATA)>
<!ELEMENT Version (#PCDATA)>
|