-
Notifications
You must be signed in to change notification settings - Fork 0
/
XHTMLtablesetup.ent
247 lines (198 loc) · 13.6 KB
/
XHTMLtablesetup.ent
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
<!-- ============================================================= -->
<!-- MODULE: XHTML Table Setup Module -->
<!-- VERSION: 1.0 -->
<!-- DATE: December 2002 -->
<!-- -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
<!-- TYPICAL INVOCATION -->
<!--
"-//NLM//DTD Archiving and Interchange DTD Suite XHTML Table Setup Module v1.0 20021201//EN"
Delivered as file "XHTMLtablesetup.ent" -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- SYSTEM: Archiving and Interchange DTD Suite -->
<!-- -->
<!-- PURPOSE: Provides the organization for using the XHTML 1.1 -->
<!-- table model -->
<!-- -->
<!-- CONTAINS: 1) Overrides to standard parameter entities used -->
<!-- in the XHTML 1.1 table model -->
<!-- 2) Call to XHTML 1.1 table model -->
<!-- -->
<!-- MODULES REQUIRED: -->
<!-- 1) htmltable.dtd XHTML 1.1 table model -->
<!-- -->
<!-- CREATED FOR: -->
<!-- Digital archives and publishers who wish to -->
<!-- create a custom XML DTD for original markup of -->
<!-- journal literature, books, and related material, -->
<!-- or for archiving and transferring such material -->
<!-- between archives. -->
<!-- -->
<!-- This DTD is in the public domain. An organization -->
<!-- that wishes to create its own DTD from the suite -->
<!-- may do so without permission from NLM. -->
<!-- -->
<!-- The suite has been set up to be extended using a -->
<!-- new DTD file and a new DTD-specific customization -->
<!-- module to redefine the many Parameter Entities. -->
<!-- Do not modify the suite directly or redistribute -->
<!-- modified versions of the suite. -->
<!-- -->
<!-- In the interest of maintaining consistency and -->
<!-- clarity for potential users, NLM requests: -->
<!-- -->
<!-- 1. If you create a DTD from the Archiving and -->
<!-- Interchange DTD Suite and intend to stay -->
<!-- compatible with the suite, then please include -->
<!-- the following statement as a comment in all of -->
<!-- your DTD modules: -->
<!-- "Created from, and fully compatible with, -->
<!-- the Archiving and Interchange DTD Suite." -->
<!-- -->
<!-- 2. If you alter one or more modules of the suite, -->
<!-- then please rename your version and all its -->
<!-- modules to avoid any confusion with the -->
<!-- original suite. Also, please include the -->
<!-- following statement as a comment in all your -->
<!-- DTD modules: -->
<!-- "Based in part on, but not fully compatible -->
<!-- with, the Archiving and Interchange DTD -->
<!-- Suite." -->
<!-- -->
<!-- Suggestions for refinements and enhancements to -->
<!-- the DTD suite should be sent in email to: -->
<!-- [email protected] -->
<!-- -->
<!-- ORIGINAL CREATION DATE: -->
<!-- December 2002 -->
<!-- -->
<!-- CREATED BY: Jeff Beck (NCBI) -->
<!-- Deborah Lapeyre (Mulberry Technologies, Inc.) -->
<!-- Bruce Rosenblum (Inera Inc.) -->
<!-- -->
<!-- NLM thanks the Harvard University Libraries, both -->
<!-- for proposing that a draft archiving NLM DTD for -->
<!-- life sciences journals be extended to accommodate -->
<!-- journals in all disciplines and for sponsoring -->
<!-- Bruce Rosenblum's collaboration with other DTD -->
<!-- authors in completing Version 1.0. The Andrew W. -->
<!-- Mellon Foundation provided support for these -->
<!-- important contributions. -->
<!-- -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- DTD VERSION\CHANGE HISTORY -->
<!-- ============================================================= -->
<!--
=============================================================
Version Reason/Occasion (who) vx.x (yyyy-mm-dd)
-->
<!-- ============================================================= -->
<!-- PARAMETER ENTITY DEPENDENCIES
Requires the following parameter entities
be defined before calling this module,
usually accomplished in the Customization
Module for the specific DTD:
%inside-cell;
-->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- SET UP FOR THE XHTML 1.1 TABLE MODULE -->
<!-- ============================================================= -->
<!-- ============================================================= -->
<!-- DEFAULTS FOR TABLE ELEMENT NAMES -->
<!-- ============================================================= -->
<!ENTITY % table.qname "table" >
<!ENTITY % caption.qname
"caption" >
<!ENTITY % thead.qname "thead" >
<!ENTITY % tfoot.qname "tfoot" >
<!ENTITY % tbody.qname "tbody" >
<!ENTITY % colgroup.qname
"colgroup" >
<!ENTITY % col.qname "col" >
<!ENTITY % tr.qname "tr" >
<!ENTITY % th.qname "th" >
<!ENTITY % td.qname "td" >
<!-- ============================================================= -->
<!-- DEFAULTS FOR DATATYPE PARAMETER ENTITIES -->
<!-- ============================================================= -->
<!ENTITY % Text.datatype
"CDATA" >
<!ENTITY % Number.datatype
"CDATA" >
<!ENTITY % MultiLength.datatype
"CDATA" >
<!ENTITY % Length.datatype
"CDATA" >
<!ENTITY % Pixels.datatype
"CDATA" >
<!ENTITY % Character.datatype
"CDATA" >
<!-- ============================================================= -->
<!-- DEFAULTS FOR ATTRIBUTE PARAMETER ENTITIES -->
<!-- ============================================================= -->
<!ENTITY % Common.attrib
"" >
<!-- ============================================================= -->
<!-- OVER-RIDES TO REMOVE CAPTION -->
<!-- ============================================================= -->
<!-- CAPTION FOR A TABLE -->
<!-- Modification of the standard XHMTL model
Removed the definition of caption, so the
element would not be multiply defined -->
<!ENTITY % caption.element
"IGNORE" >
<!-- ============================================================= -->
<!-- OVER-RIDES FOR CONTENT PARAMETER ENTITIES -->
<!-- ============================================================= -->
<!-- INLINE ELEMENTS -->
<!-- Modification of the standard XHMTL model
for inline elements used in the <caption>
Set to the null because the <caption>
element is now inside the table wrapper,
not inside the table, as the original XHTML
table intended -->
<!ENTITY % Inline.mix "" >
<!-- CONTENTS OF A TABLE CELL -->
<!-- Modification of the standard XHMTL model
used for the content of tables cells <th>
and <td> -->
<!ENTITY % Flow.mix "%inside-cell;" >
<!-- CONTENTS OF A TABLE -->
<!-- Modification of the standard XHMTL model
This has been modified from the XHTML model
to remove the <caption> element from the
<table> model, since in the Archiving and
Interchange DTD Suite modular library, the
<caption> element is part of the Table Wrapper
<table-wrap> element. No other changes were
made to the XHTML table content model. -->
<!ENTITY % table.content
"( ( %col.qname;* | %colgroup.qname;* ),
( ( %thead.qname;?, %tfoot.qname;?, %tbody.qname;+ ) |
( %tr.qname;+ )
)
)" >
<!-- ============================================================= -->
<!-- THE XML TABLE INVOCATION -->
<!-- ============================================================= -->
<!-- XHTML TABLE MODEL -->
<!-- This module declares element types and
attributes used to provide table markup
similar to HTML 4, including features that
enable better accessibility for non-visual
user agents. This is the XHTML reformulation
of HTML as a modular XML application.
Copyright 1998-2001 W3C (MIT, INRIA, Keio),
All Rights Reserved.
Revision: $Id: xhtml-table-1.mod,v 4.1
2001/04/10 09:42:30 altheim Exp $ SMI,using
SYSTEM identifier:
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-table-1.mod"
-->
%htmltable.dtd;
<!-- ================== End XHTML Table Setup Module ============= -->