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
  
36
  
37
  
38
  
39
  
40
  
41
  
42
  
43
  
44
  
45
  
46
  
47
  
 
<!ELEMENT manual (dir*)> 
<!ATTLIST manual 
  version    CDATA    #REQUIRED 
  time-stamp CDATA    #REQUIRED 
  > 
 
<!ELEMENT dir (file|dir)*> 
<!ATTLIST dir 
  name   %String;   #REQUIRED 
  > 
 
<!ELEMENT file (chapter|appendix)*> 
<!ATTLIST file 
  name   CDATA      #IMPLIED 
  > 
 
<!ELEMENT chapter (insert-move|section)*> 
<!ATTLIST chapter 
  title  %String;   #REQUIRED 
  > 
 
<!ELEMENT chapter-ref EMPTY> 
<!ATTLIST chapter-ref 
  file   %String;   #REQUIRED 
  > 
 
<!ELEMENT section (subsection)*> 
 
<!ELEMENT subsection foo*> 
 
<!ELEMENT appendix foo*> 
 
<!-- One of file and name has to be set --> 
<!ELEMENT appendix-ref > 
<!ATTLIST appendix-ref 
  file   %String;   #IMPLIED 
  name   %String;   #IMPLIED 
  > 
 
<!-- level %Int; --> 
<!ELEMENT insert-move EMPTY> 
<!ATTLIST insert-move 
  entity %String;   #REQUIRED 
  >