Project

Profile

Help

How to connect?
Download (11 KB) Statistics
| Branch: | Tag: | Revision:

he / latest10 / hej / net / sf / saxon / data / w3c / xhtml11 / xhtml-legacy-1.mod @ 02f8308b

1
<!-- ...................................................................... -->
2
<!-- XHTML Legacy Markup Module ........................................... -->
3
<!-- file: xhtml-legacy-1.mod
4

    
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
8

    
9
     This DTD module is identified by the PUBLIC and SYSTEM identifiers:
10

    
11
       PUBLIC "-//W3C//ELEMENTS XHTML Legacy Markup 1.0//EN"
12
       SYSTEM "http://www.w3.org/MarkUp/DTD/xhtml-legacy-1.mod"
13

    
14
     Revisions:
15
     (none)
16
     ....................................................................... -->
17

    
18
<!-- HTML Legacy Markup
19

    
20
        font, basefont, center, s, strike, u, dir, menu, isindex
21

    
22
          (plus additional datatypes and attributes)
23

    
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.
29

    
30
     This is to allow XHTML 1.1 documents to be transformed for
31
     display on HTML browsers where CSS support is inconsistent
32
     or unavailable.
33
-->
34
<!-- Constructing a Legacy DTD
35

    
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
40
     conditional section:
41

    
42
        ...
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;]]>
49

    
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:
52

    
53
         "-//Your Name Here//DTD XHTML Legacy 1.1//EN"
54

    
55
     IMPORTANT:  see also the notes included in the Legacy Redeclarations
56
     Module for information on how to construct a DTD using this module.
57
-->
58

    
59

    
60
<!-- Additional Element Types .................................... -->
61

    
62
<!-- font: Local Font Modifier  ........................ -->
63

    
64
<!ENTITY % font.element  "INCLUDE" >
65
<![%font.element;[
66
<!ENTITY % font.content
67
     "( #PCDATA | %Inline.mix; )*"
68
>
69
<!ENTITY % font.qname  "font" >
70
<!ELEMENT %font.qname;  %font.content; >
71
<!-- end of font.element -->]]>
72

    
73
<!ENTITY % font.attlist  "INCLUDE" >
74
<![%font.attlist;[
75
<!ATTLIST %font.qname;
76
      %Core.attrib;
77
      %I18n.attrib;
78
      size         CDATA                    #IMPLIED
79
      color        %Color.datatype;         #IMPLIED
80
      face         CDATA                    #IMPLIED
81
>
82
<!-- end of font.attlist -->]]>
83

    
84
<!-- basefont: Base Font Size  ......................... -->
85

    
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 -->]]>
92

    
93
<!ENTITY % basefont.attlist  "INCLUDE" >
94
<![%basefont.attlist;[
95
<!ATTLIST %basefont.qname;
96
      %id.attrib;
97
      size         CDATA                    #REQUIRED
98
      color        %Color.datatype;         #IMPLIED
99
      face         CDATA                    #IMPLIED
100
>
101
<!-- end of basefont.attlist -->]]>
102

    
103
<!-- center: Center Alignment  ......................... -->
104

    
105
<!ENTITY % center.element  "INCLUDE" >
106
<![%center.element;[
107
<!ENTITY % center.content
108
     "( #PCDATA | %Flow.mix; )*"
109
>
110
<!ENTITY % center.qname  "center" >
111
<!ELEMENT %center.qname;  %center.content; >
112
<!-- end of center.element -->]]>
113

    
114
<!ENTITY % center.attlist  "INCLUDE" >
115
<![%center.attlist;[
116
<!ATTLIST %center.qname;
117
      %Common.attrib;
118
>
119
<!-- end of center.attlist -->]]>
120

    
121
<!-- s: Strike-Thru Text Style  ........................ -->
122

    
123
<!ENTITY % s.element  "INCLUDE" >
124
<![%s.element;[
125
<!ENTITY % s.content
126
     "( #PCDATA | %Inline.mix; )*"
127
>
128
<!ENTITY % s.qname  "s" >
129
<!ELEMENT %s.qname;  %s.content; >
130
<!-- end of s.element -->]]>
131

    
132
<!ENTITY % s.attlist  "INCLUDE" >
133
<![%s.attlist;[
134
<!ATTLIST %s.qname;
135
      %Common.attrib;
136
>
137
<!-- end of s.attlist -->]]>
138

    
139
<!-- strike: Strike-Thru Text Style  ....................-->
140

    
141
<!ENTITY % strike.element  "INCLUDE" >
142
<![%strike.element;[
143
<!ENTITY % strike.content
144
     "( #PCDATA | %Inline.mix; )*"
145
>
146
<!ENTITY % strike.qname  "strike" >
147
<!ELEMENT %strike.qname;  %strike.content; >
148
<!-- end of strike.element -->]]>
149

    
150
<!ENTITY % strike.attlist  "INCLUDE" >
151
<![%strike.attlist;[
152
<!ATTLIST %strike.qname;
153
      %Common.attrib;
154
>
155
<!-- end of strike.attlist -->]]>
156

    
157
<!-- u: Underline Text Style  ...........................-->
158

    
159
<!ENTITY % u.element  "INCLUDE" >
160
<![%u.element;[
161
<!ENTITY % u.content
162
     "( #PCDATA | %Inline.mix; )*"
163
>
164
<!ENTITY % u.qname  "u" >
165
<!ELEMENT %u.qname;  %u.content; >
166
<!-- end of u.element -->]]>
167

    
168
<!ENTITY % u.attlist  "INCLUDE" >
169
<![%u.attlist;[
170
<!ATTLIST %u.qname;
171
      %Common.attrib;
172
>
173
<!-- end of u.attlist -->]]>
174

    
175
<!-- dir: Directory List  .............................. -->
176

    
177
<!-- NOTE: the content model for <dir> in HTML 4 excluded %Block.mix;
178
-->
179
<!ENTITY % dir.element  "INCLUDE" >
180
<![%dir.element;[
181
<!ENTITY % dir.content
182
     "( %li.qname; )+"
183
>
184
<!ENTITY % dir.qname  "dir" >
185
<!ELEMENT %dir.qname;  %dir.content; >
186
<!-- end of dir.element -->]]>
187

    
188
<!ENTITY % dir.attlist  "INCLUDE" >
189
<![%dir.attlist;[
190
<!ATTLIST %dir.qname;
191
      %Common.attrib;
192
      compact      ( compact )              #IMPLIED
193
>
194
<!-- end of dir.attlist -->]]>
195

    
196
<!-- menu: Menu List  .................................. -->
197

    
198
<!-- NOTE: the content model for <menu> in HTML 4 excluded %Block.mix;
199
-->
200
<!ENTITY % menu.element  "INCLUDE" >
201
<![%menu.element;[
202
<!ENTITY % menu.content
203
     "( %li.qname; )+"
204
>
205
<!ENTITY % menu.qname  "menu" >
206
<!ELEMENT %menu.qname;  %menu.content; >
207
<!-- end of menu.element -->]]>
208

    
209
<!ENTITY % menu.attlist  "INCLUDE" >
210
<![%menu.attlist;[
211
<!ATTLIST %menu.qname;
212
      %Common.attrib;
213
      compact      ( compact )              #IMPLIED
214
>
215
<!-- end of menu.attlist -->]]>
216

    
217
<!-- isindex: Single-Line Prompt  ...................... -->
218

    
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 -->]]>
225

    
226
<!ENTITY % isindex.attlist  "INCLUDE" >
227
<![%isindex.attlist;[
228
<!ATTLIST %isindex.qname;
229
      %Core.attrib;
230
      %I18n.attrib;
231
      prompt       %Text.datatype;          #IMPLIED
232
>
233
<!-- end of isindex.attlist -->]]>
234

    
235

    
236
<!-- Additional Attributes ....................................... -->
237

    
238
<!-- Alignment attribute for Transitional use in HTML browsers
239
     (this functionality is generally well-supported in CSS,
240
     except within some contexts)
241
-->
242
<!ENTITY % align.attrib
243
     "align        ( left | center | right | justify ) #IMPLIED"
244
>
245

    
246
<!ATTLIST %applet.qname;
247
      align       ( top | middle | bottom | left | right ) #IMPLIED
248
      hspace      %Pixels.datatype;         #IMPLIED
249
      vspace      %Pixels.datatype;         #IMPLIED
250
>
251

    
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
259
>
260

    
261
<!ATTLIST %br.qname;
262
      clear        ( left | all | right | none ) 'none'
263
>
264

    
265
<!ATTLIST %caption.qname;
266
      align        ( top | bottom | left | right ) #IMPLIED
267
>
268

    
269
<!ATTLIST %div.qname;
270
      %align.attrib;
271
>
272

    
273
<!ATTLIST %h1.qname;
274
      %align.attrib;
275
>
276

    
277
<!ATTLIST %h2.qname;
278
      %align.attrib;
279
>
280

    
281
<!ATTLIST %h3.qname;
282
      %align.attrib;
283
>
284

    
285
<!ATTLIST %h4.qname;
286
      %align.attrib;
287
>
288

    
289
<!ATTLIST %h5.qname;
290
      %align.attrib;
291
>
292

    
293
<!ATTLIST %h6.qname;
294
      %align.attrib;
295
>
296

    
297
<!ATTLIST %hr.qname;
298
      align        ( left | center | right ) #IMPLIED
299
      noshade      ( noshade )              #IMPLIED
300
      size         %Pixels.datatype;        #IMPLIED
301
      width        %Length.datatype;        #IMPLIED
302
>
303

    
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
309
>
310

    
311
<!ATTLIST %input.qname;
312
      align       ( top | middle | bottom | left | right ) #IMPLIED
313
>
314

    
315
<!ATTLIST %legend.qname;
316
      align        ( top | bottom | left | right ) #IMPLIED
317
>
318

    
319
<!ATTLIST %li.qname;
320
      type         CDATA                     #IMPLIED
321
      value        %Number.datatype;         #IMPLIED
322
>
323

    
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
329
>
330

    
331
<!ATTLIST %dl.qname;
332
      compact      ( compact )              #IMPLIED
333
>
334

    
335
<!ATTLIST %ol.qname;
336
      type         CDATA                    #IMPLIED
337
      compact      ( compact )              #IMPLIED
338
      start        %Number.datatype;        #IMPLIED
339
>
340

    
341
<!ATTLIST %p.qname;
342
      %align.attrib;
343
>
344

    
345
<!ATTLIST %pre.qname;
346
      width        %Length.datatype;        #IMPLIED
347
>
348

    
349
<!ATTLIST %script.qname;
350
      language     %ContentType.datatype;   #IMPLIED
351
>
352

    
353
<!ATTLIST %table.qname;
354
      align        ( left | center | right ) #IMPLIED
355
      bgcolor      %Color.datatype;         #IMPLIED
356
>
357

    
358
<!ATTLIST %tr.qname;
359
      bgcolor     %Color.datatype;          #IMPLIED
360
>
361

    
362
<!ATTLIST %th.qname;
363
      nowrap      ( nowrap )                #IMPLIED
364
      bgcolor     %Color.datatype;          #IMPLIED
365
      width       %Length.datatype;         #IMPLIED
366
      height      %Length.datatype;         #IMPLIED
367
>
368

    
369
<!ATTLIST %td.qname;
370
      nowrap      ( nowrap )                #IMPLIED
371
      bgcolor     %Color.datatype;          #IMPLIED
372
      width       %Length.datatype;         #IMPLIED
373
      height      %Length.datatype;         #IMPLIED
374
>
375

    
376
<!ATTLIST %ul.qname;
377
      type         CDATA                    #IMPLIED
378
      compact      ( compact )              #IMPLIED
379
>
380

    
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;]]>
388

    
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
394
>
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;]]>
399

    
400
<!-- end of xhtml-legacy-1.mod -->
(33-33/60)