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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
|
<!-- ...................................................................... -->
<!-- XHTML Legacy Markup Module ........................................... -->
<!-- file: xhtml-legacy-1.mod
This is an extension of XHTML, a reformulation of HTML as a modular XML application.
Copyright 1998-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.
Revision: $Id: xhtml-legacy-1.mod,v 4.1 2001/04/10 09:42:30 altheim Exp $ SMI
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN"
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-legacy-1.mod"
Revisions:
(none)
....................................................................... -->
<!-- HTML Legacy Markup
font, basefont, center, s, strike, u, dir, menu, isindex
(plus additional datatypes and attributes)
This optional module declares additional markup for simple
presentation-related markup based on features found in the
HTML 4 Transitional and Frameset DTDs. This relies on
inclusion of the Legacy Redeclarations module. This module
also declares the frames, inline frames and object modules.
This is to allow XHTML 1.1 documents to be transformed for
display on HTML browsers where CSS support is inconsistent
or unavailable.
-->
<!-- Constructing a Legacy DTD
To construct a DTD driver obtaining a close approximation
of the HTML 4 Transitional and Frameset DTDs, declare the
Legacy Redeclarations module as the pre-framework redeclaration
parameter entity (%xhtml-prefw-redecl.mod;) and INCLUDE its
conditional section:
...
<!ENTITY % xhtml-prefw-redecl.module "INCLUDE" >
<![%xhtml-prefw-redecl.module;[
<!ENTITY % xhtml-prefw-redecl.mod
PUBLIC "-//W3C//ELEMENTS XHTML Legacy Redeclarations 1.0//EN"
"xhtml-legacy-redecl-1.mod" >
%xhtml-prefw-redecl.mod;]]>
Such a DTD should be named with a variant FPI and redeclare
the value of the %XHTML.version; parameter entity to that FPI:
"-//Your Name Here//DTD XHTML Legacy 1.1//EN"
IMPORTANT: see also the notes included in the Legacy Redeclarations
Module for information on how to construct a DTD using this module.
-->
<!-- Additional Element Types .................................... -->
<!-- font: Local Font Modifier ........................ -->
<!ENTITY % font.element "INCLUDE" >
<![%font.element;[
<!ENTITY % font.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % font.qname "font" >
<!ELEMENT %font.qname; %font.content; >
<!-- end of font.element -->]]>
<!ENTITY % font.attlist "INCLUDE" >
<![%font.attlist;[
<!ATTLIST %font.qname;
%Core.attrib;
%I18n.attrib;
size CDATA #IMPLIED
color %Color.datatype; #IMPLIED
face CDATA #IMPLIED
>
<!-- end of font.attlist -->]]>
<!-- basefont: Base Font Size ......................... -->
<!ENTITY % basefont.element "INCLUDE" >
<![%basefont.element;[
<!ENTITY % basefont.content "EMPTY" >
<!ENTITY % basefont.qname "basefont" >
<!ELEMENT %basefont.qname; %basefont.content; >
<!-- end of basefont.element -->]]>
<!ENTITY % basefont.attlist "INCLUDE" >
<![%basefont.attlist;[
<!ATTLIST %basefont.qname;
%id.attrib;
size CDATA #REQUIRED
color %Color.datatype; #IMPLIED
face CDATA #IMPLIED
>
<!-- end of basefont.attlist -->]]>
<!-- center: Center Alignment ......................... -->
<!ENTITY % center.element "INCLUDE" >
<![%center.element;[
<!ENTITY % center.content
"( #PCDATA | %Flow.mix; )*"
>
<!ENTITY % center.qname "center" >
<!ELEMENT %center.qname; %center.content; >
<!-- end of center.element -->]]>
<!ENTITY % center.attlist "INCLUDE" >
<![%center.attlist;[
<!ATTLIST %center.qname;
%Common.attrib;
>
<!-- end of center.attlist -->]]>
<!-- s: Strike-Thru Text Style ........................ -->
<!ENTITY % s.element "INCLUDE" >
<![%s.element;[
<!ENTITY % s.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % s.qname "s" >
<!ELEMENT %s.qname; %s.content; >
<!-- end of s.element -->]]>
<!ENTITY % s.attlist "INCLUDE" >
<![%s.attlist;[
<!ATTLIST %s.qname;
%Common.attrib;
>
<!-- end of s.attlist -->]]>
<!-- strike: Strike-Thru Text Style ....................-->
<!ENTITY % strike.element "INCLUDE" >
<![%strike.element;[
<!ENTITY % strike.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % strike.qname "strike" >
<!ELEMENT %strike.qname; %strike.content; >
<!-- end of strike.element -->]]>
<!ENTITY % strike.attlist "INCLUDE" >
<![%strike.attlist;[
<!ATTLIST %strike.qname;
%Common.attrib;
>
<!-- end of strike.attlist -->]]>
<!-- u: Underline Text Style ...........................-->
<!ENTITY % u.element "INCLUDE" >
<![%u.element;[
<!ENTITY % u.content
"( #PCDATA | %Inline.mix; )*"
>
<!ENTITY % u.qname "u" >
<!ELEMENT %u.qname; %u.content; >
<!-- end of u.element -->]]>
<!ENTITY % u.attlist "INCLUDE" >
<![%u.attlist;[
<!ATTLIST %u.qname;
%Common.attrib;
>
<!-- end of u.attlist -->]]>
<!-- dir: Directory List .............................. -->
<!-- NOTE: the content model for <dir> in HTML 4 excluded %Block.mix;
-->
<!ENTITY % dir.element "INCLUDE" >
<![%dir.element;[
<!ENTITY % dir.content
"( %li.qname; )+"
>
<!ENTITY % dir.qname "dir" >
<!ELEMENT %dir.qname; %dir.content; >
<!-- end of dir.element -->]]>
<!ENTITY % dir.attlist "INCLUDE" >
<![%dir.attlist;[
<!ATTLIST %dir.qname;
%Common.attrib;
compact ( compact ) #IMPLIED
>
<!-- end of dir.attlist -->]]>
<!-- menu: Menu List .................................. -->
<!-- NOTE: the content model for <menu> in HTML 4 excluded %Block.mix;
-->
<!ENTITY % menu.element "INCLUDE" >
<![%menu.element;[
<!ENTITY % menu.content
"( %li.qname; )+"
>
<!ENTITY % menu.qname "menu" >
<!ELEMENT %menu.qname; %menu.content; >
<!-- end of menu.element -->]]>
<!ENTITY % menu.attlist "INCLUDE" >
<![%menu.attlist;[
<!ATTLIST %menu.qname;
%Common.attrib;
compact ( compact ) #IMPLIED
>
<!-- end of menu.attlist -->]]>
<!-- isindex: Single-Line Prompt ...................... -->
<!ENTITY % isindex.element "INCLUDE" >
<![%isindex.element;[
<!ENTITY % isindex.content "EMPTY" >
<!ENTITY % isindex.qname "isindex" >
<!ELEMENT %isindex.qname; %isindex.content; >
<!-- end of isindex.element -->]]>
<!ENTITY % isindex.attlist "INCLUDE" >
<![%isindex.attlist;[
<!ATTLIST %isindex.qname;
%Core.attrib;
%I18n.attrib;
prompt %Text.datatype; #IMPLIED
>
<!-- end of isindex.attlist -->]]>
<!-- Additional Attributes ....................................... -->
<!-- Alignment attribute for Transitional use in HTML browsers
(this functionality is generally well-supported in CSS,
except within some contexts)
-->
<!ENTITY % align.attrib
"align ( left | center | right | justify ) #IMPLIED"
>
<!ATTLIST %applet.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
hspace %Pixels.datatype; #IMPLIED
vspace %Pixels.datatype; #IMPLIED
>
<!ATTLIST %body.qname;
background %URI.datatype; #IMPLIED
bgcolor %Color.datatype; #IMPLIED
text %Color.datatype; #IMPLIED
link %Color.datatype; #IMPLIED
vlink %Color.datatype; #IMPLIED
alink %Color.datatype; #IMPLIED
>
<!ATTLIST %br.qname;
clear ( left | all | right | none ) 'none'
>
<!ATTLIST %caption.qname;
align ( top | bottom | left | right ) #IMPLIED
>
<!ATTLIST %div.qname;
%align.attrib;
>
<!ATTLIST %h1.qname;
%align.attrib;
>
<!ATTLIST %h2.qname;
%align.attrib;
>
<!ATTLIST %h3.qname;
%align.attrib;
>
<!ATTLIST %h4.qname;
%align.attrib;
>
<!ATTLIST %h5.qname;
%align.attrib;
>
<!ATTLIST %h6.qname;
%align.attrib;
>
<!ATTLIST %hr.qname;
align ( left | center | right ) #IMPLIED
noshade ( noshade ) #IMPLIED
size %Pixels.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
>
<!ATTLIST %img.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
border %Pixels.datatype; #IMPLIED
hspace %Pixels.datatype; #IMPLIED
vspace %Pixels.datatype; #IMPLIED
>
<!ATTLIST %input.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
>
<!ATTLIST %legend.qname;
align ( top | bottom | left | right ) #IMPLIED
>
<!ATTLIST %li.qname;
type CDATA #IMPLIED
value %Number.datatype; #IMPLIED
>
<!ATTLIST %object.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
border %Pixels.datatype; #IMPLIED
hspace %Pixels.datatype; #IMPLIED
vspace %Pixels.datatype; #IMPLIED
>
<!ATTLIST %dl.qname;
compact ( compact ) #IMPLIED
>
<!ATTLIST %ol.qname;
type CDATA #IMPLIED
compact ( compact ) #IMPLIED
start %Number.datatype; #IMPLIED
>
<!ATTLIST %p.qname;
%align.attrib;
>
<!ATTLIST %pre.qname;
width %Length.datatype; #IMPLIED
>
<!ATTLIST %script.qname;
language %ContentType.datatype; #IMPLIED
>
<!ATTLIST %table.qname;
align ( left | center | right ) #IMPLIED
bgcolor %Color.datatype; #IMPLIED
>
<!ATTLIST %tr.qname;
bgcolor %Color.datatype; #IMPLIED
>
<!ATTLIST %th.qname;
nowrap ( nowrap ) #IMPLIED
bgcolor %Color.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
height %Length.datatype; #IMPLIED
>
<!ATTLIST %td.qname;
nowrap ( nowrap ) #IMPLIED
bgcolor %Color.datatype; #IMPLIED
width %Length.datatype; #IMPLIED
height %Length.datatype; #IMPLIED
>
<!ATTLIST %ul.qname;
type CDATA #IMPLIED
compact ( compact ) #IMPLIED
>
<!-- Frames Module ............................................... -->
<!ENTITY % xhtml-frames.module "IGNORE" >
<![%xhtml-frames.module;[
<!ENTITY % xhtml-frames.mod
PUBLIC "-//W3C//ELEMENTS XHTML Frames 1.0//EN"
"xhtml-frames-1.mod" >
%xhtml-frames.mod;]]>
<!-- Inline Frames Module ........................................ -->
<!ENTITY % xhtml-iframe.module "INCLUDE" >
<![%xhtml-iframe.module;[
<!ATTLIST %iframe.qname;
align ( top | middle | bottom | left | right ) #IMPLIED
>
<!ENTITY % xhtml-iframe.mod
PUBLIC "-//W3C//ELEMENTS XHTML Inline Frame Element 1.0//EN"
"xhtml-iframe-1.mod" >
%xhtml-iframe.mod;]]>
<!-- end of xhtml-legacy-1.mod -->
|