summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2004-07-13 04:46:56 +0000
committerShaun McCance <shaunm@src.gnome.org>2004-07-13 04:46:56 +0000
commit2af5cad6bd481aa518dee2bc3f9e8ba3a1f06ea1 (patch)
tree49fcaa8f7b88e3d672782b516dafe4b447dabc51 /test
parente8baedb3ba882fedd42eccd393f640668b2578af (diff)
downloadyelp-xsl-2af5cad6bd481aa518dee2bc3f9e8ba3a1f06ea1.tar.gz
- Added table test for spanning stuff
* test/testdocs/README: * test/testdocs/table.x001.xml: - Added table test for spanning stuff * xslt/docbook/html/db2html-table.xsl: - Lots of table jolliness, back to half-working
Diffstat (limited to 'test')
-rw-r--r--test/testdocs/README1
-rw-r--r--test/testdocs/table.x001.xml51
2 files changed, 52 insertions, 0 deletions
diff --git a/test/testdocs/README b/test/testdocs/README
index c1a7d906..bcb6d89d 100644
--- a/test/testdocs/README
+++ b/test/testdocs/README
@@ -8,5 +8,6 @@ These files are not found in docbook-testdocs:
classsynopsis.x001.xml
funcsynopsis.x001.xml
simplelist.x001.xml
+table.x001.xml
The title of epigraph.001 was changed from article.001 to epigraph.001
diff --git a/test/testdocs/table.x001.xml b/test/testdocs/table.x001.xml
new file mode 100644
index 00000000..e527d06c
--- /dev/null
+++ b/test/testdocs/table.x001.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<article>
+<articleinfo>
+<title>Unit Test: table.x001</title>
+<releaseinfo role="CVS">$Id$</releaseinfo>
+<!-- Change this: -->
+<author><firstname>Shaun</firstname><surname>McCance</surname>
+ <affiliation><address><email>shaunm@gnome.org</email></address></affiliation>
+</author>
+</articleinfo>
+
+<informaltable>
+ <tgroup>
+ <colspec colname="first"/>
+ <colspec colname="second"/>
+ <colspec colname="fourth" colnum="4"/>
+ <colspec colname="fifth"/>
+ <spanspec spanname="first-fourth"
+ namest="first" nameend="fourth"/>
+ <spanspec spanname="fourth-fifth"
+ namest="fourth" nameend="fifth"/>
+ <thead>
+ <row>
+ <entry>ONE</entry>
+ <entry>TWO</entry>
+ <entry>THREE</entry>
+ <entry>FOUR</entry>
+ <entry>FIVE</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row rowsep="1">
+ <entry spanname="first-fourth">rowspan=4</entry>
+ <entry>fe</entry>
+ </row>
+ <row>
+ <entry>fi</entry>
+ <entry>fo</entry>
+ <entry>fum</entry>
+ </row>
+ <row>
+ <entry colname="fourth">fourth</entry>
+ <entry>fifth</entry>
+ </row>
+ </tbody>
+ </tgroup>
+</informaltable>
+
+</article>