oasis-etm 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/rake.yml +15 -0
- data/.github/workflows/release.yml +23 -0
- data/.gitignore +13 -0
- data/.rspec +3 -0
- data/.rubocop.yml +14 -0
- data/.rubocop_todo.yml +24 -0
- data/CODE_OF_CONDUCT.md +132 -0
- data/Gemfile +15 -0
- data/README.adoc +152 -0
- data/Rakefile +12 -0
- data/bin/console +11 -0
- data/bin/setup +8 -0
- data/lib/oasis/etm/colspec.rb +28 -0
- data/lib/oasis/etm/entry.rb +39 -0
- data/lib/oasis/etm/row.rb +22 -0
- data/lib/oasis/etm/table.rb +31 -0
- data/lib/oasis/etm/tbody.rb +20 -0
- data/lib/oasis/etm/tcol.rb +28 -0
- data/lib/oasis/etm/tgroup.rb +37 -0
- data/lib/oasis/etm/thead.rb +20 -0
- data/lib/oasis/etm/version.rb +7 -0
- data/lib/oasis/etm.rb +13 -0
- data/lib/oasis-etm.rb +1 -0
- data/oasis-etm.gemspec +35 -0
- data/oasis-etm_wrapped.txt +1910 -0
- data/sig/oasis/etm.rbs +6 -0
- data/spec/fixtures/isosts/isosts_tables.cals.01.xml +16 -0
- data/spec/fixtures/isosts/isosts_tables.cals.02.xml +45 -0
- data/spec/fixtures/isosts/isosts_tables.cals.03.xml +35 -0
- data/spec/fixtures/isosts/isosts_tables.cals.04.xml +34 -0
- data/spec/fixtures/isosts/isosts_tables.cals.05.xml +63 -0
- data/spec/fixtures/isosts/isosts_tables.cals.06.xml +52 -0
- data/spec/fixtures/isosts/isosts_tables.cals.07.xml +33 -0
- data/spec/fixtures/isosts/isosts_tables.cals.08.xml +37 -0
- data/spec/fixtures/isosts/isosts_tables.cals.09.xml +37 -0
- data/spec/fixtures/isosts/isosts_tables.cals.10.xml +44 -0
- data/spec/fixtures/isosts/isosts_tables.cals.11.xml +43 -0
- data/spec/fixtures/isosts/isosts_tables.cals.12.xml +22 -0
- data/spec/fixtures/native/docbook_example.xml +47 -0
- data/spec/fixtures/niso-jats/niso-jats-table-wrap.xml +78 -0
- data/spec/oasis/etm/colspec_spec.rb +49 -0
- data/spec/oasis/etm/entry_spec.rb +103 -0
- data/spec/oasis/etm/row_spec.rb +43 -0
- data/spec/oasis/etm/table_spec.rb +94 -0
- data/spec/oasis/etm/tbody_spec.rb +48 -0
- data/spec/oasis/etm/tgroup_spec.rb +97 -0
- data/spec/oasis/etm/thead_spec.rb +48 -0
- data/spec/oasis/etm_spec.rb +81 -0
- data/spec/spec_helper.rb +31 -0
- data/spec/support/shared_examples/validation_examples.rb +20 -0
- metadata +110 -0
data/sig/oasis/etm.rbs
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
|
3
|
+
<oasis:table frame="none" colsep="no" rowsep="no" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
4
|
+
<oasis:tgroup cols="2">
|
5
|
+
<oasis:tbody>
|
6
|
+
<oasis:row>
|
7
|
+
<oasis:entry namest="col1" nameend="col1">table cell text</oasis:entry>
|
8
|
+
<oasis:entry namest="col2" nameend="col2">table cell text</oasis:entry>
|
9
|
+
</oasis:row>
|
10
|
+
<oasis:row>
|
11
|
+
<oasis:entry namest="col1" nameend="col1">table cell text</oasis:entry>
|
12
|
+
<oasis:entry namest="col2" nameend="col2">table cell text</oasis:entry>
|
13
|
+
</oasis:row>
|
14
|
+
</oasis:tbody>
|
15
|
+
</oasis:tgroup>
|
16
|
+
</oasis:table>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
|
2
|
+
<oasis:table frame="all" colsep="no" rowsep="no" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
3
|
+
<oasis:tgroup cols="5">
|
4
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="20.22%"/>
|
5
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="20.19%"/>
|
6
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="20.19%"/>
|
7
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="20.19%"/>
|
8
|
+
<oasis:colspec colnum="5" colname="col5" colwidth="19.21%"/>
|
9
|
+
<oasis:thead>
|
10
|
+
<oasis:row>
|
11
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">
|
12
|
+
<bold>header text</bold>
|
13
|
+
</oasis:entry>
|
14
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">
|
15
|
+
<bold>header text</bold>
|
16
|
+
</oasis:entry>
|
17
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">
|
18
|
+
<bold>header text</bold>
|
19
|
+
</oasis:entry>
|
20
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">
|
21
|
+
<bold>header text</bold>
|
22
|
+
</oasis:entry>
|
23
|
+
<oasis:entry valign="top" align="center" namest="col5" nameend="col5" colsep="yes" rowsep="yes">
|
24
|
+
<bold>header text</bold>
|
25
|
+
</oasis:entry>
|
26
|
+
</oasis:row>
|
27
|
+
</oasis:thead>
|
28
|
+
<oasis:tbody>
|
29
|
+
<oasis:row>
|
30
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
31
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
32
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
33
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
34
|
+
<oasis:entry valign="top" align="center" namest="col5" nameend="col5" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
35
|
+
</oasis:row>
|
36
|
+
<oasis:row>
|
37
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
38
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
39
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
40
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
41
|
+
<oasis:entry valign="top" align="center" namest="col5" nameend="col5" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
42
|
+
</oasis:row>
|
43
|
+
</oasis:tbody>
|
44
|
+
</oasis:tgroup>
|
45
|
+
</oasis:table>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<oasis:table frame="all" colsep="no" rowsep="no" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
4
|
+
<oasis:tgroup cols="4">
|
5
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="25%"/>
|
6
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="25%"/>
|
7
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="25%"/>
|
8
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="25%"/>
|
9
|
+
<oasis:thead>
|
10
|
+
<oasis:row>
|
11
|
+
<oasis:entry valign="top" align="center" morerows="1" namest="col1" nameend="col1" colsep="yes" rowsep="yes">header text</oasis:entry>
|
12
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col4" colsep="yes" rowsep="yes">header text</oasis:entry>
|
13
|
+
</oasis:row>
|
14
|
+
<oasis:row>
|
15
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">header text</oasis:entry>
|
16
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">header text</oasis:entry>
|
17
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">header text</oasis:entry>
|
18
|
+
</oasis:row>
|
19
|
+
</oasis:thead>
|
20
|
+
<oasis:tbody>
|
21
|
+
<oasis:row>
|
22
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
23
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
24
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
25
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
26
|
+
</oasis:row>
|
27
|
+
<oasis:row>
|
28
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
29
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
30
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
31
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
32
|
+
</oasis:row>
|
33
|
+
</oasis:tbody>
|
34
|
+
</oasis:tgroup>
|
35
|
+
</oasis:table>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<oasis:table frame="all" colsep="no" rowsep="no" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
2
|
+
<oasis:tgroup cols="4">
|
3
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="25%"/>
|
4
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="25%"/>
|
5
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="25%"/>
|
6
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="25%"/>
|
7
|
+
<oasis:thead>
|
8
|
+
<oasis:row>
|
9
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">header text</oasis:entry>
|
10
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">header text</oasis:entry>
|
11
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">header text</oasis:entry>
|
12
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">header text</oasis:entry>
|
13
|
+
</oasis:row>
|
14
|
+
</oasis:thead>
|
15
|
+
|
16
|
+
<oasis:tbody>
|
17
|
+
<oasis:row>
|
18
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
19
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
20
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
21
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
22
|
+
</oasis:row>
|
23
|
+
<oasis:row>
|
24
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
25
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
26
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
27
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
28
|
+
</oasis:row>
|
29
|
+
<oasis:row>
|
30
|
+
<oasis:entry valign="top" align="left" namest="col1" nameend="col4" colsep="yes" rowsep="yes">table footer</oasis:entry>
|
31
|
+
</oasis:row>
|
32
|
+
</oasis:tbody>
|
33
|
+
</oasis:tgroup>
|
34
|
+
</oasis:table>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<oasis:table frame="all" colsep="yes" rowsep="yes" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
2
|
+
<oasis:tgroup cols="6">
|
3
|
+
|
4
|
+
<oasis:colspec colnum="1" colname="col1" align="center" colwidth="35.50"/>
|
5
|
+
<oasis:colspec colnum="2" colname="col2" align="left" colwidth="22.05"/>
|
6
|
+
<oasis:colspec colnum="3" colname="col3" align="left" colwidth="283.95"/>
|
7
|
+
<oasis:colspec colnum="4" colname="col4" align="center" colwidth="47.00"/>
|
8
|
+
<oasis:colspec colnum="5" colname="col5" align="center" colwidth="47.00"/>
|
9
|
+
<oasis:colspec colnum="6" colname="col6" align="center" colwidth="52.50"/>
|
10
|
+
|
11
|
+
<oasis:thead>
|
12
|
+
<oasis:row>
|
13
|
+
<oasis:entry valign="middle" namest="col1" nameend="col1" colsep="yes" rowsep="yes">header text</oasis:entry>
|
14
|
+
<oasis:entry valign="middle" align="center" namest="col2" nameend="col3" colsep="yes" rowsep="yes">header text</oasis:entry>
|
15
|
+
<oasis:entry valign="middle" namest="col4" nameend="col4" colsep="yes" rowsep="yes">header text</oasis:entry>
|
16
|
+
<oasis:entry valign="middle" namest="col5" nameend="col5" colsep="yes" rowsep="yes">header text</oasis:entry>
|
17
|
+
<oasis:entry valign="middle" namest="col6" nameend="col6" colsep="yes" rowsep="yes">header text</oasis:entry>
|
18
|
+
</oasis:row>
|
19
|
+
</oasis:thead>
|
20
|
+
<oasis:tbody>
|
21
|
+
<oasis:row>
|
22
|
+
<oasis:entry valign="top" morerows="9" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
23
|
+
<oasis:entry valign="top" namest="col2" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
24
|
+
<oasis:entry valign="top" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
25
|
+
<oasis:entry valign="top" namest="col5" nameend="col5" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
26
|
+
<oasis:entry valign="top" namest="col6" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
27
|
+
</oasis:row>
|
28
|
+
<oasis:row>
|
29
|
+
<oasis:entry valign="top" namest="col2" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
30
|
+
</oasis:row>
|
31
|
+
<oasis:row>
|
32
|
+
<oasis:entry valign="top" namest="col2" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
33
|
+
<oasis:entry valign="top" namest="col4" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
34
|
+
</oasis:row>
|
35
|
+
<oasis:row>
|
36
|
+
<oasis:entry valign="top" namest="col2" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
37
|
+
</oasis:row>
|
38
|
+
<oasis:row>
|
39
|
+
<oasis:entry valign="top" namest="col2" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
40
|
+
<oasis:entry valign="top" namest="col4" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
41
|
+
</oasis:row>
|
42
|
+
<oasis:row>
|
43
|
+
<oasis:entry valign="top" namest="col2" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
44
|
+
<oasis:entry valign="top" align="left" namest="col4" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
45
|
+
</oasis:row>
|
46
|
+
<oasis:row>
|
47
|
+
<oasis:entry valign="top" namest="col2" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
48
|
+
<oasis:entry valign="top" align="left" namest="col4" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
49
|
+
</oasis:row>
|
50
|
+
<oasis:row>
|
51
|
+
<oasis:entry valign="top" namest="col2" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
52
|
+
</oasis:row>
|
53
|
+
<oasis:row>
|
54
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
55
|
+
<oasis:entry valign="top" namest="col3" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
56
|
+
</oasis:row>
|
57
|
+
<oasis:row>
|
58
|
+
<oasis:entry valign="top" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
59
|
+
<oasis:entry valign="top" namest="col3" nameend="col6" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
60
|
+
</oasis:row>
|
61
|
+
</oasis:tbody>
|
62
|
+
</oasis:tgroup>
|
63
|
+
</oasis:table>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
|
2
|
+
<oasis:table frame="all" colsep="no" rowsep="no" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
3
|
+
<oasis:tgroup cols="4">
|
4
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="25%"/>
|
5
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="25%"/>
|
6
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="25%"/>
|
7
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="25%"/>
|
8
|
+
<oasis:thead>
|
9
|
+
<oasis:row>
|
10
|
+
<oasis:entry valign="top" align="center" morerows="1" namest="col1" nameend="col1" colsep="yes" rowsep="yes">header text</oasis:entry>
|
11
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col4" colsep="yes" rowsep="yes">header text</oasis:entry>
|
12
|
+
</oasis:row>
|
13
|
+
<oasis:row>
|
14
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">header text</oasis:entry>
|
15
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">header text</oasis:entry>
|
16
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">header text</oasis:entry>
|
17
|
+
</oasis:row>
|
18
|
+
</oasis:thead>
|
19
|
+
<oasis:tbody>
|
20
|
+
<oasis:row>
|
21
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
22
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
23
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
24
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
25
|
+
</oasis:row>
|
26
|
+
<oasis:row>
|
27
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="no">table cell text</oasis:entry>
|
28
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" rowsep="yes">table cell text</oasis:entry>
|
29
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
30
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes">table cell text</oasis:entry>
|
31
|
+
</oasis:row>
|
32
|
+
<oasis:row>
|
33
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
34
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
35
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
36
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
37
|
+
</oasis:row>
|
38
|
+
<oasis:row>
|
39
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
40
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" rowsep="yes">table cell text</oasis:entry>
|
41
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
42
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
43
|
+
</oasis:row>
|
44
|
+
<oasis:row>
|
45
|
+
<oasis:entry valign="top" align="center" namest="col1" nameend="col1" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
46
|
+
<oasis:entry valign="top" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
47
|
+
<oasis:entry valign="top" align="center" namest="col3" nameend="col3" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
48
|
+
<oasis:entry valign="top" align="center" namest="col4" nameend="col4" colsep="yes" rowsep="yes">table cell text</oasis:entry>
|
49
|
+
</oasis:row>
|
50
|
+
</oasis:tbody>
|
51
|
+
</oasis:tgroup>
|
52
|
+
</oasis:table>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<oasis:table frame="all" colsep="no" rowsep="no" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
2
|
+
<oasis:tgroup cols="4">
|
3
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="25%"/>
|
4
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="25%"/>
|
5
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="25%"/>
|
6
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="25%"/>
|
7
|
+
<oasis:thead>
|
8
|
+
<oasis:row>
|
9
|
+
<oasis:entry namest="col1" nameend="col1">table default</oasis:entry>
|
10
|
+
<oasis:entry namest="col2" nameend="col2">table default</oasis:entry>
|
11
|
+
<oasis:entry namest="col3" nameend="col3">table default</oasis:entry>
|
12
|
+
<oasis:entry namest="col4" nameend="col4">table default</oasis:entry>
|
13
|
+
</oasis:row>
|
14
|
+
</oasis:thead>
|
15
|
+
<oasis:tbody>
|
16
|
+
<oasis:row>
|
17
|
+
<oasis:entry namest="col1" nameend="col2" rowsep="no">rowsep=no</oasis:entry>
|
18
|
+
<oasis:entry namest="col3" nameend="col3">table default</oasis:entry>
|
19
|
+
<oasis:entry morerows="1" namest="col4" nameend="col4" rowsep="yes">rowsep=yes</oasis:entry>
|
20
|
+
</oasis:row>
|
21
|
+
<oasis:row>
|
22
|
+
<oasis:entry namest="col1" nameend="col2" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
23
|
+
<oasis:entry namest="col3" nameend="col3">table default</oasis:entry>
|
24
|
+
</oasis:row>
|
25
|
+
<oasis:row>
|
26
|
+
<oasis:entry namest="col1" nameend="col1">table default</oasis:entry>
|
27
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes">colsep=yes</oasis:entry>
|
28
|
+
<oasis:entry namest="col3" nameend="col3">table default</oasis:entry>
|
29
|
+
<oasis:entry namest="col4" nameend="col4">table default</oasis:entry>
|
30
|
+
</oasis:row>
|
31
|
+
</oasis:tbody>
|
32
|
+
</oasis:tgroup>
|
33
|
+
</oasis:table>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<oasis:table frame="none" colsep="no" rowsep="yes" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
2
|
+
<oasis:tgroup cols="4">
|
3
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="25%"/>
|
4
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="25%"/>
|
5
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="25%"/>
|
6
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="25%"/>
|
7
|
+
<oasis:thead>
|
8
|
+
<oasis:row>
|
9
|
+
<oasis:entry namest="col1" nameend="col1" rowsep="yes">rowsep=yes</oasis:entry>
|
10
|
+
<oasis:entry namest="col2" nameend="col2" rowsep="yes">rowsep=yes</oasis:entry>
|
11
|
+
<oasis:entry namest="col3" nameend="col3" rowsep="yes">rowsep=yes</oasis:entry>
|
12
|
+
<oasis:entry namest="col4" nameend="col4" rowsep="yes">rowsep=yes</oasis:entry>
|
13
|
+
</oasis:row>
|
14
|
+
</oasis:thead>
|
15
|
+
|
16
|
+
<oasis:tbody>
|
17
|
+
<oasis:row>
|
18
|
+
<oasis:entry namest="col1" nameend="col1" rowsep="yes">rowsep=yes</oasis:entry>
|
19
|
+
<oasis:entry namest="col2" nameend="col2" rowsep="yes">rowsep=yes</oasis:entry>
|
20
|
+
<oasis:entry namest="col3" nameend="col3" rowsep="yes">rowsep=yes</oasis:entry>
|
21
|
+
<oasis:entry namest="col4" nameend="col4" rowsep="yes">rowsep=yes</oasis:entry>
|
22
|
+
</oasis:row>
|
23
|
+
<oasis:row>
|
24
|
+
<oasis:entry namest="col1" nameend="col1" rowsep="yes">rowsep=yes</oasis:entry>
|
25
|
+
<oasis:entry namest="col2" nameend="col2" rowsep="yes">rowsep=yes</oasis:entry>
|
26
|
+
<oasis:entry namest="col3" nameend="col3" rowsep="yes">rowsep=yes</oasis:entry>
|
27
|
+
<oasis:entry namest="col4" nameend="col4" rowsep="yes">rowsep=yes</oasis:entry>
|
28
|
+
</oasis:row>
|
29
|
+
<oasis:row>
|
30
|
+
<oasis:entry namest="col1" nameend="col1" rowsep="yes">rowsep=yes</oasis:entry>
|
31
|
+
<oasis:entry namest="col2" nameend="col2" rowsep="yes">rowsep=yes</oasis:entry>
|
32
|
+
<oasis:entry namest="col3" nameend="col3" rowsep="yes">rowsep=yes</oasis:entry>
|
33
|
+
<oasis:entry namest="col4" nameend="col4" rowsep="yes">rowsep=yes</oasis:entry>
|
34
|
+
</oasis:row>
|
35
|
+
</oasis:tbody>
|
36
|
+
</oasis:tgroup>
|
37
|
+
</oasis:table>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<oasis:table frame="none" colsep="yes" rowsep="no" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
2
|
+
<oasis:tgroup cols="4">
|
3
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="25%"/>
|
4
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="25%"/>
|
5
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="25%"/>
|
6
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="25%"/>
|
7
|
+
<oasis:thead>
|
8
|
+
<oasis:row>
|
9
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes">colsep=yes</oasis:entry>
|
10
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes">colsep=yes</oasis:entry>
|
11
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes">colsep=yes</oasis:entry>
|
12
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes">colsep=yes</oasis:entry>
|
13
|
+
</oasis:row>
|
14
|
+
</oasis:thead>
|
15
|
+
|
16
|
+
<oasis:tbody>
|
17
|
+
<oasis:row>
|
18
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes">colsep=yes</oasis:entry>
|
19
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes">colsep=yes</oasis:entry>
|
20
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes">colsep=yes</oasis:entry>
|
21
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes">colsep=yes</oasis:entry>
|
22
|
+
</oasis:row>
|
23
|
+
<oasis:row>
|
24
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes">colsep=yes</oasis:entry>
|
25
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes">colsep=yes</oasis:entry>
|
26
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes">colsep=yes</oasis:entry>
|
27
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes">colsep=yes</oasis:entry>
|
28
|
+
</oasis:row>
|
29
|
+
<oasis:row>
|
30
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes">colsep=yes</oasis:entry>
|
31
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes">colsep=yes</oasis:entry>
|
32
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes">colsep=yes</oasis:entry>
|
33
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes">colsep=yes</oasis:entry>
|
34
|
+
</oasis:row>
|
35
|
+
</oasis:tbody>
|
36
|
+
</oasis:tgroup>
|
37
|
+
</oasis:table>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
|
2
|
+
<oasis:table frame="none" colsep="no" rowsep="no" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
3
|
+
<oasis:tgroup cols="4">
|
4
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="25%"/>
|
5
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="25%"/>
|
6
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="25%"/>
|
7
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="25%"/>
|
8
|
+
<oasis:thead>
|
9
|
+
<oasis:row>
|
10
|
+
<oasis:entry namest="col1" nameend="col1">table default</oasis:entry>
|
11
|
+
<oasis:entry namest="col2" nameend="col2">table default</oasis:entry>
|
12
|
+
<oasis:entry namest="col3" nameend="col3">table default</oasis:entry>
|
13
|
+
<oasis:entry namest="col4" nameend="col4">table default</oasis:entry>
|
14
|
+
</oasis:row>
|
15
|
+
<oasis:row>
|
16
|
+
<oasis:entry namest="col1" nameend="col1" rowsep="yes">rowsep=yes</oasis:entry>
|
17
|
+
<oasis:entry namest="col2" nameend="col2" rowsep="yes">rowsep=yes</oasis:entry>
|
18
|
+
<oasis:entry namest="col3" nameend="col3" rowsep="yes">rowsep=yes</oasis:entry>
|
19
|
+
<oasis:entry namest="col4" nameend="col4" rowsep="yes">rowsep=yes</oasis:entry>
|
20
|
+
</oasis:row>
|
21
|
+
</oasis:thead>
|
22
|
+
|
23
|
+
<oasis:tbody>
|
24
|
+
<oasis:row>
|
25
|
+
<oasis:entry namest="col1" nameend="col1">table default</oasis:entry>
|
26
|
+
<oasis:entry namest="col2" nameend="col2">table default</oasis:entry>
|
27
|
+
<oasis:entry namest="col3" nameend="col3">table default</oasis:entry>
|
28
|
+
<oasis:entry namest="col4" nameend="col4">table default</oasis:entry>
|
29
|
+
</oasis:row>
|
30
|
+
<oasis:row>
|
31
|
+
<oasis:entry namest="col1" nameend="col1" rowsep="yes">rowsep=yes; because its the last tbody row before the tfoot</oasis:entry>
|
32
|
+
<oasis:entry namest="col2" nameend="col2" rowsep="yes">rowsep=yes</oasis:entry>
|
33
|
+
<oasis:entry namest="col3" nameend="col3" rowsep="yes">rowsep=yes</oasis:entry>
|
34
|
+
<oasis:entry namest="col4" nameend="col4" rowsep="yes">rowsep=yes</oasis:entry>
|
35
|
+
</oasis:row>
|
36
|
+
<oasis:row>
|
37
|
+
<oasis:entry namest="col1" nameend="col1" rowsep="yes">table default</oasis:entry>
|
38
|
+
<oasis:entry namest="col2" nameend="col2" rowsep="yes">table default</oasis:entry>
|
39
|
+
<oasis:entry namest="col3" nameend="col3" rowsep="yes">table default</oasis:entry>
|
40
|
+
<oasis:entry namest="col4" nameend="col4" rowsep="yes">table default</oasis:entry>
|
41
|
+
</oasis:row>
|
42
|
+
</oasis:tbody>
|
43
|
+
</oasis:tgroup>
|
44
|
+
</oasis:table>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<oasis:table frame="none" colsep="yes" rowsep="yes" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
2
|
+
<oasis:tgroup cols="4">
|
3
|
+
<oasis:colspec colnum="1" colname="col1" colwidth="25%"/>
|
4
|
+
<oasis:colspec colnum="2" colname="col2" colwidth="25%"/>
|
5
|
+
<oasis:colspec colnum="3" colname="col3" colwidth="25%"/>
|
6
|
+
<oasis:colspec colnum="4" colname="col4" colwidth="25%"/>
|
7
|
+
<oasis:thead>
|
8
|
+
<oasis:row>
|
9
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
10
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
11
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
12
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
13
|
+
</oasis:row>
|
14
|
+
<oasis:row>
|
15
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
16
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
17
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
18
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
19
|
+
</oasis:row>
|
20
|
+
</oasis:thead>
|
21
|
+
|
22
|
+
<oasis:tbody>
|
23
|
+
<oasis:row>
|
24
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
25
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
26
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
27
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
28
|
+
</oasis:row>
|
29
|
+
<oasis:row>
|
30
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
31
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
32
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
33
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
34
|
+
</oasis:row>
|
35
|
+
<oasis:row>
|
36
|
+
<oasis:entry namest="col1" nameend="col1" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
37
|
+
<oasis:entry namest="col2" nameend="col2" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
38
|
+
<oasis:entry namest="col3" nameend="col3" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
39
|
+
<oasis:entry namest="col4" nameend="col4" colsep="yes" rowsep="yes">colsep=yes, rowsep=yes</oasis:entry>
|
40
|
+
</oasis:row>
|
41
|
+
</oasis:tbody>
|
42
|
+
</oasis:tgroup>
|
43
|
+
</oasis:table>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<oasis:table frame="all" colsep="yes" rowsep="yes" xmlns:oasis="-//OASIS//DTD XML Exchange Table Model 19990315//EN">
|
2
|
+
<oasis:tgroup cols="6">
|
3
|
+
<oasis:colspec colnum="1" colname="col1"/>
|
4
|
+
<oasis:colspec colnum="2" colname="col2" align="left"/>
|
5
|
+
<oasis:colspec colnum="3" colname="col3" char="char"/>
|
6
|
+
<oasis:colspec colnum="4" colname="col4" charoff="charoff"/>
|
7
|
+
<oasis:colspec colnum="5" colname="col5"/>
|
8
|
+
<oasis:colspec colnum="6" colname="col6"/>
|
9
|
+
<oasis:tbody>
|
10
|
+
<oasis:row>
|
11
|
+
<oasis:entry valign="top" align="left" char="char" charoff="charoff" namest="col1" nameend="col1" colsep="yes" rowsep="yes">just lots of text to see the vertical
|
12
|
+
alignment, just lots of text to see the vertical alignment, just lots of text to see the vertical alignment, just lots of text to see the vertical
|
13
|
+
alignment</oasis:entry>
|
14
|
+
<oasis:entry valign="middle" align="center" namest="col2" nameend="col2" colsep="yes" rowsep="yes">align="center" valign="middle"</oasis:entry>
|
15
|
+
<oasis:entry valign="top" align="left" namest="col3" nameend="col3" colsep="yes" rowsep="yes">align="left" valign="top"</oasis:entry>
|
16
|
+
<oasis:entry valign="bottom" align="right" namest="col4" nameend="col4" colsep="yes" rowsep="yes">align="right" valign="bottom"</oasis:entry>
|
17
|
+
<oasis:entry align="char" namest="col5" nameend="col5" colsep="yes" rowsep="yes">align="char"</oasis:entry>
|
18
|
+
<oasis:entry valign="bottom" align="justify" namest="col6" nameend="col6" colsep="yes" rowsep="yes">align="justify" valign="bottom"</oasis:entry>
|
19
|
+
</oasis:row>
|
20
|
+
</oasis:tbody>
|
21
|
+
</oasis:tgroup>
|
22
|
+
</oasis:table>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<!-- <!DOCTYPE table PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
2
|
+
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> -->
|
3
|
+
<table frame='all'><title>Sample Table</title>
|
4
|
+
<tgroup cols='5' align='left' colsep='1' rowsep='1'>
|
5
|
+
<colspec colname='c1'/>
|
6
|
+
<colspec colname='c2'/>
|
7
|
+
<colspec colname='c3'/>
|
8
|
+
<colspec colnum='5' colname='c5'/>
|
9
|
+
<thead>
|
10
|
+
<row>
|
11
|
+
<entry namest="c1" nameend="c2" align="center">Horizontal Span</entry>
|
12
|
+
<entry>a3</entry>
|
13
|
+
<entry>a4</entry>
|
14
|
+
<entry>a5</entry>
|
15
|
+
</row>
|
16
|
+
</thead>
|
17
|
+
<tfoot>
|
18
|
+
<row>
|
19
|
+
<entry>f1</entry>
|
20
|
+
<entry>f2</entry>
|
21
|
+
<entry>f3</entry>
|
22
|
+
<entry>f4</entry>
|
23
|
+
<entry>f5</entry>
|
24
|
+
</row>
|
25
|
+
</tfoot>
|
26
|
+
<tbody>
|
27
|
+
<row>
|
28
|
+
<entry>b1</entry>
|
29
|
+
<entry>b2</entry>
|
30
|
+
<entry>b3</entry>
|
31
|
+
<entry>b4</entry>
|
32
|
+
<entry morerows='1' valign='middle'><para> <!-- Pernicous Mixed Content -->
|
33
|
+
Vertical Span</para></entry>
|
34
|
+
</row>
|
35
|
+
<row>
|
36
|
+
<entry>c1</entry>
|
37
|
+
<entry namest="c2" nameend="c3" align='center' morerows='1' valign='bottom'>Span Both</entry>
|
38
|
+
<entry>c4</entry>
|
39
|
+
</row>
|
40
|
+
<row>
|
41
|
+
<entry>d1</entry>
|
42
|
+
<entry>d4</entry>
|
43
|
+
<entry>d5</entry>
|
44
|
+
</row>
|
45
|
+
</tbody>
|
46
|
+
</tgroup>
|
47
|
+
</table>
|