1 |
wakaba |
1.1 |
<?xml version="1.0" encoding="iso-2022-jp"?> |
2 |
|
|
<!-- XML Representation of |
3 |
|
|
"Exchange format for Japanese documents with composition markup |
4 |
|
|
(JIS X 4052:2000)" |
5 |
|
|
|
6 |
|
|
Table module |
7 |
|
|
|
8 |
|
|
Copyright 2003 Wakaba <w@suika.fam.cx>. |
9 |
wakaba |
1.2 |
Revision: $Date: 2003/09/11 08:15:42 $ |
10 |
wakaba |
1.1 |
|
11 |
|
|
SYSTEM "http://suika.fam.cx/gate/cvs/*checkout*/markup/jdcm/dtd/table.mod" |
12 |
|
|
--> |
13 |
|
|
|
14 |
|
|
<!-- table --> |
15 |
|
|
|
16 |
|
|
<!ENTITY % jdcm.align.attrib "align ($B9TF,(B|$B9TKv(B|center|$B6QEy(B) '$B9TF,(B'"> |
17 |
|
|
<!ENTITY % jdcm.cellpadding.attrib "cellpadding %jdcm.tablelength.datatype; #IMPLIED"> |
18 |
|
|
<!ENTITY % jdcm.$B9T$=$m$((B.attrib "$B9T$=$m$((B ($B$3$^F,(B|$B$3$^Cf1{(B|$B$3$^Kv(B|$B9T6QEy(B) '$B$3$^Cf1{(B'"> |
19 |
|
|
|
20 |
|
|
<!ENTITY % jdcm.td.attrib |
21 |
|
|
'%jdcm.align.attrib; |
22 |
|
|
%jdcm.cellpadding.attrib; |
23 |
|
|
height %jdcm.tablelength.datatype; #IMPLIED |
24 |
|
|
width %jdcm.tablelength.datatype; #IMPLIED |
25 |
|
|
$B9T$3$^9g@.(B %jdcm.positiveinteger.datatype; "1" |
26 |
|
|
%jdcm.$B9T$=$m$((B.attrib; |
27 |
|
|
$BNs$3$^9g@.(B %jdcm.positiveinteger.datatype; "1" |
28 |
|
|
%jdcm.subbody.attrib;'> |
29 |
|
|
|
30 |
|
|
<!ENTITY % jdcm.th.element "INCLUDE"> |
31 |
|
|
<!ENTITY % jdcm.th.content "(#PCDATA|%jdcm.semiflow.mix;)*"> |
32 |
|
|
<![%jdcm.th.element;[ |
33 |
|
|
<!ELEMENT %jdcm.th.qname; %jdcm.th.content;> |
34 |
|
|
]]> |
35 |
|
|
<!ENTITY % jdcm.th.attlist "INCLUDE"> |
36 |
|
|
<![%jdcm.th.attlist;[ |
37 |
|
|
<!ATTLIST %jdcm.th.qname; |
38 |
|
|
%jdcm.td.attrib;> |
39 |
|
|
]]> |
40 |
|
|
|
41 |
|
|
<!ENTITY % jdcm.td.element "INCLUDE"> |
42 |
|
|
<!ENTITY % jdcm.td.content "(#PCDATA|%jdcm.semiflow.mix;)*"> |
43 |
|
|
<![%jdcm.td.element;[ |
44 |
|
|
<!ELEMENT %jdcm.td.qname; %jdcm.td.content;> |
45 |
|
|
]]> |
46 |
|
|
<!ENTITY % jdcm.td.attlist "INCLUDE"> |
47 |
|
|
<![%jdcm.td.attlist;[ |
48 |
|
|
<!ATTLIST %jdcm.td.qname; |
49 |
|
|
%jdcm.td.attrib;> |
50 |
|
|
]]> |
51 |
|
|
|
52 |
|
|
<!ENTITY % jdcm.tr.element "INCLUDE"> |
53 |
|
|
<![%jdcm.tr.element;[ |
54 |
|
|
<!ENTITY % jdcm.tr.content "(%jdcm.th.qname;|%jdcm.td.qname;)+"> |
55 |
|
|
<!ELEMENT %jdcm.tr.qname; %jdcm.tr.content;> |
56 |
|
|
]]> |
57 |
|
|
<!ENTITY % jdcm.tr.attlist "INCLUDE"> |
58 |
|
|
<![%jdcm.tr.attlist;[ |
59 |
|
|
<!ATTLIST %jdcm.tr.qname; |
60 |
|
|
%jdcm.align.attrib; |
61 |
|
|
%jdcm.cellpadding.attrib; |
62 |
|
|
%jdcm.$B9T$=$m$((B.attrib; |
63 |
|
|
%jdcm.subbody.attrib;> |
64 |
|
|
]]> |
65 |
|
|
|
66 |
|
|
|
67 |
|
|
<!ENTITY % jdcm.table.element "INCLUDE"> |
68 |
|
|
<![%jdcm.table.element;[ |
69 |
|
|
<!ENTITY % jdcm.table.content "(%jdcm.tr.qname;)+"> |
70 |
|
|
<!ELEMENT %jdcm.table.qname; %jdcm.table.content;> |
71 |
|
|
]]> |
72 |
|
|
<!ENTITY % jdcm.table.attlist "INCLUDE"> |
73 |
|
|
<![%jdcm.table.attlist;[ |
74 |
|
|
<!ATTLIST %jdcm.table.qname; |
75 |
|
|
border CDATA "$BI=$1$$(B" |
76 |
|
|
%jdcm.cellpadding.attrib; |
77 |
|
|
frame (void|$B9TF,(B|$B9TKv(B|$B9TF,9TKv(B|$BA0(B|$B8e(B|$BA08e(B|box) "box" |
78 |
|
|
height %jdcm.tablelengthnozero.datatype; #IMPLIED |
79 |
|
|
rules ($B$J$7(B|$B9T4V(B|$BNs4V(B|$B9TNs4V(B) "$B9TNs4V(B" |
80 |
|
|
width %jdcm.tablelengthnozero.datatype; #IMPLIED |
81 |
|
|
%jdcm.subbody.attrib;> |
82 |
|
|
<!-- |
83 |
|
|
border ($BI=$1$$(B|$BCf:Y$1$$(B|$BN"$1$$(B|<borderlength>) $BI=$1$$(B |
84 |
|
|
height : applied to vertical table |
85 |
|
|
width : applied to horizontal table --> |
86 |
|
|
]]> |
87 |
|
|
|
88 |
|
|
<!-- tabset --> |
89 |
|
|
|
90 |
|
|
<!ENTITY % jdcm.tab.element "INCLUDE"> |
91 |
|
|
<![%jdcm.tab.element;[ |
92 |
|
|
<!ENTITY % jdcm.tab.content "EMPTY"> |
93 |
|
|
<!ELEMENT %jdcm.tab.qname; %jdcm.tab.content;> |
94 |
|
|
]]> |
95 |
|
|
<!ENTITY % jdcm.tab.attlist "INCLUDE"> |
96 |
|
|
<![%jdcm.tab.attlist;[ |
97 |
|
|
<!ATTLIST %jdcm.tab.qname; |
98 |
|
|
%jdcm.subbody.attrib;> |
99 |
|
|
]]> |
100 |
|
|
|
101 |
|
|
<!ENTITY % jdcm.tabset.element "INCLUDE"> |
102 |
|
|
<![%jdcm.tabset.element;[ |
103 |
|
|
<!ENTITY % jdcm.tabset.content "(#PCDATA|%jdcm.tab.qname;|%jdcm.ruby.qname;|%jdcm.sup.qname;|%jdcm.sub.qname;|%jdcm.em.class;|%jdcm.yoko.qname;|%jdcm.tate.qname;|%jdcm.span.qname;|%jdcm.ch.qname;|%jdcm.br.qname;)*"> |
104 |
|
|
<!ELEMENT %jdcm.tabset.qname; %jdcm.tabset.content;> |
105 |
|
|
<!-- br cannot be here by definition of content model table, |
106 |
|
|
but example in [JIS X 4052:2000, 6.11] includes br as a child of tabset. --> |
107 |
|
|
]]> |
108 |
|
|
<!ENTITY % jdcm.tabset.attlist "INCLUDE"> |
109 |
|
|
<![%jdcm.tabset.attlist;[ |
110 |
|
|
<!ATTLIST %jdcm.tabset.qname; |
111 |
|
|
char %jdcm.characters.datatype; #REQUIRED |
112 |
|
|
$B%?%V0LCV(B %jdcm.tablelengths.datatype; #REQUIRED |
113 |
|
|
$B%?%V<o(B CDATA #IMPLIED |
114 |
|
|
%jdcm.subbody.attrib;> |
115 |
|
|
<!-- tabType *(WSP tabType) |
116 |
|
|
tabType := ($B:8(B|$B>e(B|$B1&(B|$B2<(B|$BCf1{(B|$B;XDjJ8;z(B) |
117 |
|
|
Default : vertical : $B:8(B, horizontal : $B>e(B --> |
118 |
|
|
]]> |
119 |
|
|
|
120 |
|
|
|
121 |
|
|
<!-- end of table.mod --> |