1
<!-- ...................................................................... -->
2
<!-- XHTML Legacy Markup Module ........................................... -->
3
<!-- file: xhtml-legacy-1.mod
5
This is an extension of XHTML, a reformulation of HTML as a modular XML application.
6
Copyright 1998-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.
7
Revision: $Id: xhtml-legacy-1.mod,v 4.1 2001/04/10 09:42:30 altheim Exp $ SMI
9
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
11
PUBLIC "-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN"
12
SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-legacy-1.mod"
16
....................................................................... -->
18
<!-- HTML Legacy Markup
20
font, basefont, center, s, strike, u, dir, menu, isindex
22
(plus additional datatypes and attributes)
24
This optional module declares additional markup for simple
25
presentation-related markup based on features found in the
26
HTML 4 Transitional and Frameset DTDs. This relies on
27
inclusion of the Legacy Redeclarations module. This module
28
also declares the frames, inline frames and object modules.
30
This is to allow XHTML 1.1 documents to be transformed for
31
display on HTML browsers where CSS support is inconsistent
34
<!-- Constructing a Legacy DTD
36
To construct a DTD driver obtaining a close approximation
37
of the HTML 4 Transitional and Frameset DTDs, declare the
38
Legacy Redeclarations module as the pre-framework redeclaration
39
parameter entity (%xhtml-prefw-redecl.mod;) and INCLUDE its
43
<!ENTITY % xhtml-prefw-redecl.module "INCLUDE" >
44
<![%xhtml-prefw-redecl.module;[
45
<!ENTITY % xhtml-prefw-redecl.mod
46
PUBLIC "-//W3C//ELEMENTS XHTML Legacy Redeclarations 1.0//EN"
47
"xhtml-legacy-redecl-1.mod" >
48
%xhtml-prefw-redecl.mod;]]>
50
Such a DTD should be named with a variant FPI and redeclare
51
the value of the %XHTML.version; parameter entity to that FPI:
53
"-//Your Name Here//DTD XHTML Legacy 1.1//EN"
55
IMPORTANT: see also the notes included in the Legacy Redeclarations
56
Module for information on how to construct a DTD using this module.
60
<!-- Additional Element Types .................................... -->
62
<!-- font: Local Font Modifier ........................ -->
64
<!ENTITY % font.element "INCLUDE" >
66
<!ENTITY % font.content
67
"( #PCDATA | %Inline.mix; )*"
69
<!ENTITY % font.qname "font" >
70
<!ELEMENT %font.qname; %font.content; >
71
<!-- end of font.element -->]]>
73
<!ENTITY % font.attlist "INCLUDE" >
75
<!ATTLIST %font.qname;
79
color %Color.datatype; #IMPLIED
82
<!-- end of font.attlist -->]]>
84
<!-- basefont: Base Font Size ......................... -->
86
<!ENTITY % basefont.element "INCLUDE" >
87
<![%basefont.element;[
88
<!ENTITY % basefont.content "EMPTY" >
89
<!ENTITY % basefont.qname "basefont" >
90
<!ELEMENT %basefont.qname; %basefont.content; >
91
<!-- end of basefont.element -->]]>
93
<!ENTITY % basefont.attlist "INCLUDE" >
94
<![%basefont.attlist;[
95
<!ATTLIST %basefont.qname;
98
color %Color.datatype; #IMPLIED
101
<!-- end of basefont.attlist -->]]>
103
<!-- center: Center Alignment ......................... -->
105
<!ENTITY % center.element "INCLUDE" >
107
<!ENTITY % center.content
108
"( #PCDATA | %Flow.mix; )*"
110
<!ENTITY % center.qname "center" >
111
<!ELEMENT %center.qname; %center.content; >
112
<!-- end of center.element -->]]>
114
<!ENTITY % center.attlist "INCLUDE" >
116
<!ATTLIST %center.qname;
119
<!-- end of center.attlist -->]]>
121
<!-- s: Strike-Thru Text Style ........................ -->
123
<!ENTITY % s.element "INCLUDE" >
126
"( #PCDATA | %Inline.mix; )*"
128
<!ENTITY % s.qname "s" >
129
<!ELEMENT %s.qname; %s.content; >
130
<!-- end of s.element -->]]>
132
<!ENTITY % s.attlist "INCLUDE" >
137
<!-- end of s.attlist -->]]>
139
<!-- strike: Strike-Thru Text Style ....................-->
141
<!ENTITY % strike.element "INCLUDE" >
143
<!ENTITY % strike.content
144
"( #PCDATA | %Inline.mix; )*"
146
<!ENTITY % strike.qname "strike" >
147
<!ELEMENT %strike.qname; %strike.content; >
148
<!-- end of strike.element -->]]>
150
<!ENTITY % strike.attlist "INCLUDE" >
152
<!ATTLIST %strike.qname;
155
<!-- end of strike.attlist -->]]>
157
<!-- u: Underline Text Style ...........................-->
159
<!ENTITY % u.element "INCLUDE" >
162
"( #PCDATA | %Inline.mix; )*"
164
<!ENTITY % u.qname "u" >
165
<!ELEMENT %u.qname; %u.content; >
166
<!-- end of u.element -->]]>
168
<!ENTITY % u.attlist "INCLUDE" >
173
<!-- end of u.attlist -->]]>
175
<!-- dir: Directory List .............................. -->
177
<!-- NOTE: the content model for <dir> in HTML 4 excluded %Block.mix;
179
<!ENTITY % dir.element "INCLUDE" >
181
<!ENTITY % dir.content
184
<!ENTITY % dir.qname "dir" >
185
<!ELEMENT %dir.qname; %dir.content; >
186
<!-- end of dir.element -->]]>
188
<!ENTITY % dir.attlist "INCLUDE" >
190
<!ATTLIST %dir.qname;
192
compact ( compact ) #IMPLIED
194
<!-- end of dir.attlist -->]]>
196
<!-- menu: Menu List .................................. -->
198
<!-- NOTE: the content model for <menu> in HTML 4 excluded %Block.mix;
200
<!ENTITY % menu.element "INCLUDE" >
202
<!ENTITY % menu.content
205
<!ENTITY % menu.qname "menu" >
206
<!ELEMENT %menu.qname; %menu.content; >
207
<!-- end of menu.element -->]]>
209
<!ENTITY % menu.attlist "INCLUDE" >
211
<!ATTLIST %menu.qname;
213
compact ( compact ) #IMPLIED
215
<!-- end of menu.attlist -->]]>
217
<!-- isindex: Single-Line Prompt ...................... -->
219
<!ENTITY % isindex.element "INCLUDE" >
220
<![%isindex.element;[
221
<!ENTITY % isindex.content "EMPTY" >
222
<!ENTITY % isindex.qname "isindex" >
223
<!ELEMENT %isindex.qname; %isindex.content; >
224
<!-- end of isindex.element -->]]>
226
<!ENTITY % isindex.attlist "INCLUDE" >
227
<![%isindex.attlist;[
228
<!ATTLIST %isindex.qname;
231
prompt %Text.datatype; #IMPLIED
233
<!-- end of isindex.attlist -->]]>
236
<!-- Additional Attributes ....................................... -->
238
<!-- Alignment attribute for Transitional use in HTML browsers
239
(this functionality is generally well-supported in CSS,
240
except within some contexts)
242
<!ENTITY % align.attrib
243
"align ( left | center | right | justify ) #IMPLIED"
246
<!ATTLIST %applet.qname;
247
align ( top | middle | bottom | left | right ) #IMPLIED
248
hspace %Pixels.datatype; #IMPLIED
249
vspace %Pixels.datatype; #IMPLIED
252
<!ATTLIST %body.qname;
253
background %URI.datatype; #IMPLIED
254
bgcolor %Color.datatype; #IMPLIED
255
text %Color.datatype; #IMPLIED
256
link %Color.datatype; #IMPLIED
257
vlink %Color.datatype; #IMPLIED
258
alink %Color.datatype; #IMPLIED
262
clear ( left | all | right | none ) 'none'
265
<!ATTLIST %caption.qname;
266
align ( top | bottom | left | right ) #IMPLIED
269
<!ATTLIST %div.qname;
298
align ( left | center | right ) #IMPLIED
299
noshade ( noshade ) #IMPLIED
300
size %Pixels.datatype; #IMPLIED
301
width %Length.datatype; #IMPLIED
304
<!ATTLIST %img.qname;
305
align ( top | middle | bottom | left | right ) #IMPLIED
306
border %Pixels.datatype; #IMPLIED
307
hspace %Pixels.datatype; #IMPLIED
308
vspace %Pixels.datatype; #IMPLIED
311
<!ATTLIST %input.qname;
312
align ( top | middle | bottom | left | right ) #IMPLIED
315
<!ATTLIST %legend.qname;
316
align ( top | bottom | left | right ) #IMPLIED
321
value %Number.datatype; #IMPLIED
324
<!ATTLIST %object.qname;
325
align ( top | middle | bottom | left | right ) #IMPLIED
326
border %Pixels.datatype; #IMPLIED
327
hspace %Pixels.datatype; #IMPLIED
328
vspace %Pixels.datatype; #IMPLIED
332
compact ( compact ) #IMPLIED
337
compact ( compact ) #IMPLIED
338
start %Number.datatype; #IMPLIED
345
<!ATTLIST %pre.qname;
346
width %Length.datatype; #IMPLIED
349
<!ATTLIST %script.qname;
350
language %ContentType.datatype; #IMPLIED
353
<!ATTLIST %table.qname;
354
align ( left | center | right ) #IMPLIED
355
bgcolor %Color.datatype; #IMPLIED
359
bgcolor %Color.datatype; #IMPLIED
363
nowrap ( nowrap ) #IMPLIED
364
bgcolor %Color.datatype; #IMPLIED
365
width %Length.datatype; #IMPLIED
366
height %Length.datatype; #IMPLIED
370
nowrap ( nowrap ) #IMPLIED
371
bgcolor %Color.datatype; #IMPLIED
372
width %Length.datatype; #IMPLIED
373
height %Length.datatype; #IMPLIED
378
compact ( compact ) #IMPLIED
381
<!-- Frames Module ............................................... -->
382
<!ENTITY % xhtml-frames.module "IGNORE" >
383
<![%xhtml-frames.module;[
384
<!ENTITY % xhtml-frames.mod
385
PUBLIC "-//W3C//ELEMENTS XHTML Frames 1.0//EN"
386
"xhtml-frames-1.mod" >
387
%xhtml-frames.mod;]]>
389
<!-- Inline Frames Module ........................................ -->
390
<!ENTITY % xhtml-iframe.module "INCLUDE" >
391
<![%xhtml-iframe.module;[
392
<!ATTLIST %iframe.qname;
393
align ( top | middle | bottom | left | right ) #IMPLIED
395
<!ENTITY % xhtml-iframe.mod
396
PUBLIC "-//W3C//ELEMENTS XHTML Inline Frame Element 1.0//EN"
397
"xhtml-iframe-1.mod" >
398
%xhtml-iframe.mod;]]>
400
<!-- end of xhtml-legacy-1.mod -->