1 <!-- ....................................................................... --> |
|
2 <!-- XHTML Basic Table Module ............................................. --> |
|
3 <!-- file: xhtml-basic-table-1.mod |
|
4 |
|
5 This is XHTML Basic, a proper subset of XHTML. |
|
6 Copyright 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved. |
|
7 Revision: $Id: xhtml-basic-table-1.mod,v 1.1 2004-03-16 10:54:15 ylafon Exp $ SMI |
|
8 |
|
9 This DTD module is identified by the PUBLIC and SYSTEM identifiers: |
|
10 |
|
11 PUBLIC "-//W3C//ELEMENTS XHTML Basic Tables 1.0//EN" |
|
12 SYSTEM "http://www.w3.org/TR/xhtml-modulatization/DTD/xhtml-basic-table-1.mod" |
|
13 |
|
14 Revisions: |
|
15 (none) |
|
16 ....................................................................... --> |
|
17 |
|
18 <!-- Basic Tables |
|
19 |
|
20 table, caption, tr, th, td |
|
21 |
|
22 This table module declares elements and attributes defining |
|
23 a table model based fundamentally on features found in the |
|
24 widely-deployed HTML 3.2 table model. While this module |
|
25 mimics the content model and table attributes of HTML 3.2 |
|
26 tables, the element types declared herein also includes all |
|
27 HTML 4 common and most of the HTML 4 table attributes. |
|
28 --> |
|
29 |
|
30 <!-- declare qualified element type names: |
|
31 --> |
|
32 <!ENTITY % table.qname "table" > |
|
33 <!ENTITY % caption.qname "caption" > |
|
34 <!ENTITY % tr.qname "tr" > |
|
35 <!ENTITY % th.qname "th" > |
|
36 <!ENTITY % td.qname "td" > |
|
37 |
|
38 <!-- horizontal alignment attributes for cell contents |
|
39 --> |
|
40 <!ENTITY % CellHAlign.attrib |
|
41 "align ( left |
|
42 | center |
|
43 | right ) #IMPLIED" |
|
44 > |
|
45 |
|
46 <!-- vertical alignment attributes for cell contents |
|
47 --> |
|
48 <!ENTITY % CellVAlign.attrib |
|
49 "valign ( top |
|
50 | middle |
|
51 | bottom ) #IMPLIED" |
|
52 > |
|
53 |
|
54 <!-- scope is simpler than axes attribute for common tables |
|
55 --> |
|
56 <!ENTITY % scope.attrib |
|
57 "scope ( row | col ) #IMPLIED" |
|
58 > |
|
59 |
|
60 <!-- table: Table Element .............................. --> |
|
61 |
|
62 <!ENTITY % table.element "INCLUDE" > |
|
63 <![%table.element;[ |
|
64 <!ENTITY % table.content |
|
65 "( %caption.qname;?, %tr.qname;+ )" |
|
66 > |
|
67 <!ELEMENT %table.qname; %table.content; > |
|
68 <!-- end of table.element -->]]> |
|
69 |
|
70 <!ENTITY % table.attlist "INCLUDE" > |
|
71 <![%table.attlist;[ |
|
72 <!ATTLIST %table.qname; |
|
73 %Common.attrib; |
|
74 summary %Text.datatype; #IMPLIED |
|
75 > |
|
76 <!-- end of table.attlist -->]]> |
|
77 |
|
78 <!-- caption: Table Caption ............................ --> |
|
79 |
|
80 <!ENTITY % caption.element "INCLUDE" > |
|
81 <![%caption.element;[ |
|
82 <!ENTITY % caption.content |
|
83 "( #PCDATA | %Inline.mix; )*" |
|
84 > |
|
85 <!ELEMENT %caption.qname; %caption.content; > |
|
86 <!-- end of caption.element -->]]> |
|
87 |
|
88 <!ENTITY % caption.attlist "INCLUDE" > |
|
89 <![%caption.attlist;[ |
|
90 <!ATTLIST %caption.qname; |
|
91 %Common.attrib; |
|
92 > |
|
93 <!-- end of caption.attlist -->]]> |
|
94 |
|
95 <!-- tr: Table Row ..................................... --> |
|
96 |
|
97 <!ENTITY % tr.element "INCLUDE" > |
|
98 <![%tr.element;[ |
|
99 <!ENTITY % tr.content "( %th.qname; | %td.qname; )+" > |
|
100 <!ELEMENT %tr.qname; %tr.content; > |
|
101 <!-- end of tr.element -->]]> |
|
102 |
|
103 <!ENTITY % tr.attlist "INCLUDE" > |
|
104 <![%tr.attlist;[ |
|
105 <!ATTLIST %tr.qname; |
|
106 %Common.attrib; |
|
107 %CellHAlign.attrib; |
|
108 %CellVAlign.attrib; |
|
109 > |
|
110 <!-- end of tr.attlist -->]]> |
|
111 |
|
112 <!-- th: Table Header Cell ............................. --> |
|
113 |
|
114 <!-- th is for header cells, td for data, |
|
115 but for cells acting as both use td |
|
116 --> |
|
117 |
|
118 <!ENTITY % th.element "INCLUDE" > |
|
119 <![%th.element;[ |
|
120 <!ENTITY % th.content |
|
121 "( #PCDATA | %FlowNoTable.mix; )*" |
|
122 > |
|
123 <!ELEMENT %th.qname; %th.content; > |
|
124 <!-- end of th.element -->]]> |
|
125 |
|
126 <!ENTITY % th.attlist "INCLUDE" > |
|
127 <![%th.attlist;[ |
|
128 <!ATTLIST %th.qname; |
|
129 %Common.attrib; |
|
130 abbr %Text.datatype; #IMPLIED |
|
131 axis CDATA #IMPLIED |
|
132 headers IDREFS #IMPLIED |
|
133 %scope.attrib; |
|
134 rowspan %Number.datatype; '1' |
|
135 colspan %Number.datatype; '1' |
|
136 %CellHAlign.attrib; |
|
137 %CellVAlign.attrib; |
|
138 > |
|
139 <!-- end of th.attlist -->]]> |
|
140 |
|
141 <!-- td: Table Data Cell ............................... --> |
|
142 |
|
143 <!ENTITY % td.element "INCLUDE" > |
|
144 <![%td.element;[ |
|
145 <!ENTITY % td.content |
|
146 "( #PCDATA | %FlowNoTable.mix; )*" |
|
147 > |
|
148 <!ELEMENT %td.qname; %td.content; > |
|
149 <!-- end of td.element -->]]> |
|
150 |
|
151 <!ENTITY % td.attlist "INCLUDE" > |
|
152 <![%td.attlist;[ |
|
153 <!ATTLIST %td.qname; |
|
154 %Common.attrib; |
|
155 abbr %Text.datatype; #IMPLIED |
|
156 axis CDATA #IMPLIED |
|
157 headers IDREFS #IMPLIED |
|
158 %scope.attrib; |
|
159 rowspan %Number.datatype; '1' |
|
160 colspan %Number.datatype; '1' |
|
161 %CellHAlign.attrib; |
|
162 %CellVAlign.attrib; |
|
163 > |
|
164 <!-- end of td.attlist -->]]> |
|
165 |
|
166 <!-- end of xhtml-basic-table-1.mod --> |
|