Project

Profile

Help

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

he / tags / 9.7.0.3 / hej / data / w3c / xhtml11 / xhtml-basic-table-1.mod @ cb770b3c

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-2005 W3C (MIT, ERCIM, Keio), All Rights Reserved.
7
     Revision: $Id: xhtml-basic-table-1.mod,v 4.0 2001/04/02 22:42:49 altheim 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/MarkUp/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
      width        %Length.datatype;        #IMPLIED
76
>
77
<!-- end of table.attlist -->]]>
78

    
79
<!-- caption: Table Caption ............................ -->
80

    
81
<!ENTITY % caption.element  "INCLUDE" >
82
<![%caption.element;[
83
<!ENTITY % caption.content
84
     "( #PCDATA | %Inline.mix; )*"
85
>
86
<!ELEMENT %caption.qname;  %caption.content; >
87
<!-- end of caption.element -->]]>
88

    
89
<!ENTITY % caption.attlist  "INCLUDE" >
90
<![%caption.attlist;[
91
<!ATTLIST %caption.qname;
92
      %Common.attrib;
93
>
94
<!-- end of caption.attlist -->]]>
95

    
96
<!-- tr: Table Row ..................................... -->
97

    
98
<!ENTITY % tr.element  "INCLUDE" >
99
<![%tr.element;[
100
<!ENTITY % tr.content  "( %th.qname; | %td.qname; )+" >
101
<!ELEMENT %tr.qname;  %tr.content; >
102
<!-- end of tr.element -->]]>
103

    
104
<!ENTITY % tr.attlist  "INCLUDE" >
105
<![%tr.attlist;[
106
<!ATTLIST %tr.qname;
107
      %Common.attrib;
108
      %CellHAlign.attrib;
109
      %CellVAlign.attrib;
110
>
111
<!-- end of tr.attlist -->]]>
112

    
113
<!-- th: Table Header Cell ............................. -->
114

    
115
<!-- th is for header cells, td for data,
116
     but for cells acting as both use td
117
-->
118

    
119
<!ENTITY % th.element  "INCLUDE" >
120
<![%th.element;[
121
<!ENTITY % th.content
122
     "( #PCDATA | %FlowNoTable.mix; )*"
123
>
124
<!ELEMENT %th.qname;  %th.content; >
125
<!-- end of th.element -->]]>
126

    
127
<!ENTITY % th.attlist  "INCLUDE" >
128
<![%th.attlist;[
129
<!ATTLIST %th.qname;
130
      %Common.attrib;
131
      abbr         %Text.datatype;          #IMPLIED
132
      axis         CDATA                    #IMPLIED
133
      headers      IDREFS                   #IMPLIED
134
      %scope.attrib;
135
      rowspan      %Number.datatype;        '1'
136
      colspan      %Number.datatype;        '1'
137
      %CellHAlign.attrib;
138
      %CellVAlign.attrib;
139
>
140
<!-- end of th.attlist -->]]>
141

    
142
<!-- td: Table Data Cell ............................... -->
143

    
144
<!ENTITY % td.element  "INCLUDE" >
145
<![%td.element;[
146
<!ENTITY % td.content
147
     "( #PCDATA | %FlowNoTable.mix; )*"
148
>
149
<!ELEMENT %td.qname;  %td.content; >
150
<!-- end of td.element -->]]>
151

    
152
<!ENTITY % td.attlist  "INCLUDE" >
153
<![%td.attlist;[
154
<!ATTLIST %td.qname;
155
      %Common.attrib;
156
      abbr         %Text.datatype;          #IMPLIED
157
      axis         CDATA                    #IMPLIED
158
      headers      IDREFS                   #IMPLIED
159
      %scope.attrib;
160
      rowspan      %Number.datatype;        '1'
161
      colspan      %Number.datatype;        '1'
162
      %CellHAlign.attrib;
163
      %CellVAlign.attrib;
164
>
165
<!-- end of td.attlist -->]]>
166

    
167
<!-- end of xhtml-basic-table-1.mod -->
(8-8/60)