1 |
connolly |
1.7.2.1 |
<!-- Jul 1 93 version, minus backward-compatibility stuff. --> |
2 |
connolly |
1.7 |
|
3 |
connolly |
1.3 |
<!-- DTD definitions --> |
4 |
|
|
|
5 |
connolly |
1.2 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
6 |
connolly |
1.6 |
<!ENTITY % list " UL | OL | DIR | MENU "> |
7 |
|
|
<!ENTITY % literal " XMP | LISTING "> |
8 |
connolly |
1.2 |
|
9 |
|
|
<!ENTITY % bodyelement |
10 |
connolly |
1.6 |
"P | HR | %heading | |
11 |
|
|
%list | DL | ADDRESS | PRE | BLOCKQUOTE |
12 |
|
|
| %literal"> |
13 |
connolly |
1.3 |
|
14 |
connolly |
1.6 |
<!ENTITY % URL "CDATA" |
15 |
|
|
-- The term URL means a CDATA attribute |
16 |
|
|
whose value is a Uniform Resource Locator, |
17 |
|
|
as defined. (A URN may also be usable here when defined.) |
18 |
|
|
--> |
19 |
|
|
|
20 |
|
|
<!ENTITY % linkattributes |
21 |
|
|
"NAME NMTOKEN #IMPLIED |
22 |
|
|
HREF %URL; #IMPLIED |
23 |
|
|
REL CDATA #IMPLIED -- forward relationship type -- |
24 |
|
|
REV CDATA #IMPLIED -- reversed relationship type |
25 |
|
|
to referent data: |
26 |
|
|
|
27 |
|
|
PARENT CHILD, SIBLING, NEXT, TOP, |
28 |
|
|
DEFINITION, UPDATE, ORIGINAL etc. -- |
29 |
|
|
|
30 |
|
|
URN CDATA #IMPLIED -- universal resource number -- |
31 |
|
|
|
32 |
|
|
TITLE CDATA #IMPLIED -- advisory only -- |
33 |
connolly |
1.5 |
|
34 |
connolly |
1.6 |
METHODS NAMES #IMPLIED -- supported public methods of the object: |
35 |
|
|
TEXTSEARCH, GET, HEAD, ... -- |
36 |
connolly |
1.3 |
|
37 |
connolly |
1.6 |
"> |
38 |
|
|
|
39 |
|
|
|
40 |
connolly |
1.4 |
<!-- Document Element --> |
41 |
connolly |
1.2 |
|
42 |
connolly |
1.7.2.1 |
<!ELEMENT HTML O O (HEAD, BODY)> |
43 |
connolly |
1.6 |
|
44 |
connolly |
1.7.2.1 |
<!ELEMENT HEAD O O ( TITLE? & ISINDEX? & NEXTID? & LINK* |
45 |
connolly |
1.6 |
& BASE?)> |
46 |
connolly |
1.2 |
|
47 |
connolly |
1.7.2.1 |
<!ELEMENT TITLE - - (#PCDATA) |
48 |
connolly |
1.6 |
-- The TITLE element is not considered part of the flow of text. |
49 |
|
|
It should be displayed, for example as the page header or |
50 |
|
|
window title. |
51 |
|
|
--> |
52 |
connolly |
1.2 |
|
53 |
|
|
<!ELEMENT ISINDEX - O EMPTY |
54 |
connolly |
1.6 |
-- WWW clients should offer the option to perform a search on |
55 |
|
|
documents containing ISINDEX. |
56 |
|
|
--> |
57 |
|
|
|
58 |
connolly |
1.2 |
<!ELEMENT NEXTID - O EMPTY> |
59 |
connolly |
1.6 |
<!ATTLIST NEXTID N NAME #REQUIRED |
60 |
|
|
-- The number should be a name suitable for use |
61 |
|
|
for the ID of a new element. When used, the value |
62 |
|
|
has its numeric part incremented. EG Z67 becomes Z68 |
63 |
|
|
--> |
64 |
|
|
<!ELEMENT LINK - O EMPTY> |
65 |
|
|
<!ATTLIST LINK |
66 |
|
|
%linkattributes> |
67 |
|
|
|
68 |
|
|
<!ELEMENT BASE - O EMPTY -- Reference context for URLS --> |
69 |
|
|
<!ATTLIST BASE |
70 |
|
|
|
71 |
|
|
HREF %URL; #IMPLIED |
72 |
|
|
|
73 |
|
|
> |
74 |
connolly |
1.3 |
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
75 |
connolly |
1.6 |
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
76 |
|
|
> |
77 |
connolly |
1.3 |
|
78 |
|
|
<!ELEMENT (%inline;) - - (#PCDATA)> |
79 |
|
|
|
80 |
connolly |
1.6 |
<!ENTITY % text "#PCDATA | IMG | %inline;"> |
81 |
|
|
|
82 |
|
|
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
83 |
connolly |
1.4 |
|
84 |
connolly |
1.6 |
<!ENTITY % stext -- as htext but also nested structure -- |
85 |
|
|
"P | HR | %list | DL | ADDRESS |
86 |
|
|
| PRE | BLOCKQUOTE |
87 |
|
|
| %literal | %htext"> |
88 |
connolly |
1.5 |
|
89 |
connolly |
1.6 |
|
90 |
connolly |
1.7.2.1 |
<!ELEMENT BODY O O (%bodyelement|%htext;)*> |
91 |
connolly |
1.6 |
|
92 |
connolly |
1.4 |
|
93 |
connolly |
1.6 |
<!ELEMENT A - - (%text)> |
94 |
connolly |
1.4 |
<!ATTLIST A |
95 |
connolly |
1.6 |
%linkattributes; |
96 |
|
|
> |
97 |
|
|
|
98 |
|
|
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
99 |
|
|
<!ATTLIST IMG |
100 |
|
|
SRC %URL; #IMPLIED -- URL of document to embed -- |
101 |
|
|
> |
102 |
|
|
|
103 |
|
|
|
104 |
|
|
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
105 |
|
|
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
106 |
|
|
|
107 |
|
|
<!ELEMENT ( %heading ) - - (%htext;)+> |
108 |
|
|
|
109 |
|
|
<!ELEMENT DL - - (DT | DD | %stext;)*> |
110 |
|
|
<!-- Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+)) |
111 |
|
|
But mixed content is messy. -Dan Connolly |
112 |
connolly |
1.2 |
--> |
113 |
connolly |
1.6 |
|
114 |
|
|
<!ELEMENT DT - O EMPTY> |
115 |
|
|
<!ELEMENT DD - O EMPTY> |
116 |
|
|
|
117 |
|
|
<!ELEMENT (UL|OL) - - (%htext;|LI|P)+> |
118 |
|
|
<!ELEMENT (DIR|MENU) - - (%htext;|LI)+> |
119 |
|
|
<!-- Content should match ((LI,(%htext;)+)+) |
120 |
|
|
But mixed content is messy. |
121 |
connolly |
1.2 |
--> |
122 |
connolly |
1.5 |
<!ATTLIST (%list) |
123 |
connolly |
1.6 |
COMPACT NAME #IMPLIED -- COMPACT, etc.-- |
124 |
|
|
> |
125 |
connolly |
1.2 |
|
126 |
connolly |
1.6 |
<!ELEMENT LI - O EMPTY> |
127 |
connolly |
1.2 |
|
128 |
connolly |
1.6 |
<!ELEMENT BLOCKQUOTE - - (%htext;|P)+ |
129 |
|
|
-- for quoting some other source --> |
130 |
connolly |
1.3 |
|
131 |
connolly |
1.6 |
<!ELEMENT ADDRESS - - (%htext;|P)+> |
132 |
connolly |
1.2 |
|
133 |
connolly |
1.6 |
<!ELEMENT PRE - - (#PCDATA|%inline|A|P)+> |
134 |
connolly |
1.2 |
<!ATTLIST PRE |
135 |
connolly |
1.6 |
WIDTH NUMBER #implied |
136 |
connolly |
1.2 |
> |
137 |
|
|
|
138 |
connolly |
1.6 |
<!-- Mnemonic character entities. --> |
139 |
|
|
<!ENTITY AElig "Æ" -- capital AE diphthong (ligature) --> |
140 |
|
|
<!ENTITY Aacute "Á" -- capital A, acute accent --> |
141 |
|
|
<!ENTITY Acirc "Â" -- capital A, circumflex accent --> |
142 |
|
|
<!ENTITY Agrave "À" -- capital A, grave accent --> |
143 |
|
|
<!ENTITY Aring "Å" -- capital A, ring --> |
144 |
|
|
<!ENTITY Atilde "Ã" -- capital A, tilde --> |
145 |
|
|
<!ENTITY Auml "Ä" -- capital A, dieresis or umlaut mark --> |
146 |
|
|
<!ENTITY Ccedil "Ç" -- capital C, cedilla --> |
147 |
|
|
<!ENTITY ETH "Ð" -- capital Eth, Icelandic --> |
148 |
|
|
<!ENTITY Eacute "É" -- capital E, acute accent --> |
149 |
|
|
<!ENTITY Ecirc "Ê" -- capital E, circumflex accent --> |
150 |
|
|
<!ENTITY Egrave "È" -- capital E, grave accent --> |
151 |
|
|
<!ENTITY Euml "Ë" -- capital E, dieresis or umlaut mark --> |
152 |
|
|
<!ENTITY Iacute "Í" -- capital I, acute accent --> |
153 |
|
|
<!ENTITY Icirc "Î" -- capital I, circumflex accent --> |
154 |
|
|
<!ENTITY Igrave "Ì" -- capital I, grave accent --> |
155 |
|
|
<!ENTITY Iuml "Ï" -- capital I, dieresis or umlaut mark --> |
156 |
|
|
<!ENTITY Ntilde "Ñ" -- capital N, tilde --> |
157 |
|
|
<!ENTITY Oacute "Ó" -- capital O, acute accent --> |
158 |
|
|
<!ENTITY Ocirc "Ô" -- capital O, circumflex accent --> |
159 |
|
|
<!ENTITY Ograve "Ò" -- capital O, grave accent --> |
160 |
|
|
<!ENTITY Oslash "Ø" -- capital O, slash --> |
161 |
|
|
<!ENTITY Otilde "Õ" -- capital O, tilde --> |
162 |
|
|
<!ENTITY Ouml "Ö" -- capital O, dieresis or umlaut mark --> |
163 |
|
|
<!ENTITY THORN "Þ" -- capital THORN, Icelandic --> |
164 |
|
|
<!ENTITY Uacute "Ú" -- capital U, acute accent --> |
165 |
|
|
<!ENTITY Ucirc "Û" -- capital U, circumflex accent --> |
166 |
|
|
<!ENTITY Ugrave "Ù" -- capital U, grave accent --> |
167 |
|
|
<!ENTITY Uuml "Ü" -- capital U, dieresis or umlaut mark --> |
168 |
|
|
<!ENTITY Yacute "Ý" -- capital Y, acute accent --> |
169 |
|
|
<!ENTITY aacute "á" -- small a, acute accent --> |
170 |
|
|
<!ENTITY acirc "â" -- small a, circumflex accent --> |
171 |
|
|
<!ENTITY aelig "æ" -- small ae diphthong (ligature) --> |
172 |
|
|
<!ENTITY agrave "à" -- small a, grave accent --> |
173 |
|
|
<!ENTITY amp "&" -- ampersand --> |
174 |
|
|
<!ENTITY aring "å" -- small a, ring --> |
175 |
|
|
<!ENTITY atilde "ã" -- small a, tilde --> |
176 |
|
|
<!ENTITY auml "ä" -- small a, dieresis or umlaut mark --> |
177 |
|
|
<!ENTITY ccedil "ç" -- small c, cedilla --> |
178 |
|
|
<!ENTITY eacute "é" -- small e, acute accent --> |
179 |
|
|
<!ENTITY ecirc "ê" -- small e, circumflex accent --> |
180 |
|
|
<!ENTITY egrave "è" -- small e, grave accent --> |
181 |
|
|
<!ENTITY eth "ð" -- small eth, Icelandic --> |
182 |
|
|
<!ENTITY euml "ë" -- small e, dieresis or umlaut mark --> |
183 |
|
|
<!ENTITY gt ">" -- greater than --> |
184 |
|
|
<!ENTITY iacute "í" -- small i, acute accent --> |
185 |
|
|
<!ENTITY icirc "î" -- small i, circumflex accent --> |
186 |
|
|
<!ENTITY igrave "ì" -- small i, grave accent --> |
187 |
|
|
<!ENTITY iuml "ï" -- small i, dieresis or umlaut mark --> |
188 |
|
|
<!ENTITY lt "<" -- less than --> |
189 |
|
|
<!ENTITY nbsp " " -- should be NON_BREAKING space --> |
190 |
|
|
<!ENTITY ntilde "ñ" -- small n, tilde --> |
191 |
|
|
<!ENTITY oacute "ó" -- small o, acute accent --> |
192 |
|
|
<!ENTITY ocirc "ô" -- small o, circumflex accent --> |
193 |
|
|
<!ENTITY ograve "ò" -- small o, grave accent --> |
194 |
|
|
<!ENTITY oslash "ø" -- small o, slash --> |
195 |
|
|
<!ENTITY otilde "õ" -- small o, tilde --> |
196 |
|
|
<!ENTITY ouml "ö" -- small o, dieresis or umlaut mark --> |
197 |
|
|
<!ENTITY szlig "ß" -- small sharp s, German (sz ligature) --> |
198 |
|
|
<!ENTITY thorn "þ" -- small thorn, Icelandic --> |
199 |
|
|
<!ENTITY uacute "ú" -- small u, acute accent --> |
200 |
|
|
<!ENTITY ucirc "û" -- small u, circumflex accent --> |
201 |
|
|
<!ENTITY ugrave "ù" -- small u, grave accent --> |
202 |
|
|
<!ENTITY uuml "ü" -- small u, dieresis or umlaut mark --> |
203 |
|
|
<!ENTITY yacute "ý" -- small y, acute accent --> |
204 |
|
|
<!ENTITY yuml "ÿ" -- small y, dieresis or umlaut mark --> |
205 |
|
|
|
206 |
connolly |
1.3 |
<!-- deprecated elements --> |
207 |
|
|
|
208 |
connolly |
1.6 |
<!ELEMENT (%literal) - - CDATA> |
209 |
connolly |
1.2 |
|
210 |
|
|
<!ELEMENT PLAINTEXT - O EMPTY> |
211 |
|
|
|
212 |
connolly |
1.3 |
<!-- Local Variables: --> |
213 |
|
|
<!-- mode: sgml --> |
214 |
|
|
<!-- compile-command: "sgmls -s -p " --> |
215 |
|
|
<!-- end: --> |