This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
table rendering problems with both pdf and html
- From: Matthew Kennedy <mkennedy at opushealthcare dot com>
- To: docbook at lists dot oasis-open dot org, docbook-apps at lists dot oasis-open dot org
- Date: Thu, 15 Nov 2001 15:43:21 -0600
- Subject: DOCBOOK-APPS: table rendering problems with both pdf and html
- List-id: <docbook-apps.lists.oasis-open.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Howdy,
[ I'm cross posting since I'm not sure if it's a docbook misunderstanding or
an app issue ]
I'm trying to get some table output with the docbook2* tools (from the
docbook-* packages found in redhat). I tried using the example straight out
of the online DocBook reference (http://docbook.org/tdg/en/html/table.html):
<!DOCTYPE table PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<table frame='all'><title>Sample Table</title>
<tgroup cols='5' align='left' colsep='1' rowsep='1'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<colspec colnum='5' colname='c5'/>
<thead>
<row>
<entry namest="c1" nameend="c2" align="center">Horizontal Span</entry>
<entry>a3</entry>
<entry>a4</entry>
<entry>a5</entry>
</row>
</thead>
<tfoot>
<row>
<entry>f1</entry>
<entry>f2</entry>
<entry>f3</entry>
<entry>f4</entry>
<entry>f5</entry>
</row>
</tfoot>
<tbody>
<row>
<entry>b1</entry>
<entry>b2</entry>
<entry>b3</entry>
<entry>b4</entry>
<entry morerows='1' valign='middle'><para> <!-- Pernicous Mixed Content -->
Vertical Span</para></entry>
</row>
<row>
<entry>c1</entry>
<entry namest="c2" nameend="c3" align='center' morerows='1'
valign='bottom'>Span Both</entry>
<entry>c4</entry>
</row>
<row>
<entry>d1</entry>
<entry>d4</entry>
<entry>d5</entry>
</row>
</tbody>
</tgroup>
</table>
Then I run it through docbook2html:
[mkennedy@localhost tmp]$ docbook2html table.xml
Using catalogs: /etc/sgml/xml-docbook-4.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6/docbook-utils.dsl#html
Working on: /home/mkennedy/tmp/table.xml
jade:/home/mkennedy/tmp/table.xml:3:60:E: URL not supported by this version
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
135911000>" not a singleton node list
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
135911000>" not a singleton node list
jade:/usr/share/sgml/docbook/dsssl-stylesheets-1.59/html/../common/dbtable.dsl:224:13:E:
2nd argument for primitive "ancestor" of wrong type: "#<unknown object
135911000>" not a singleton node list
<DIV
CLASS="table"
><A
NAME="AEN1"
></A
><P
><B
>Table 0. Sample Table</B
></P
>
<TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
>
</TABLE
>
</DIV
>
- From the fragment of HTML generated, you can see that none of the cell
content has been included. Likewise for docbook2pdf -- no table content, just
a table title. I must be missing something obviously wrong.
BTW, I also embedded the above in a set/book/chapter... same thing happens.
How do I get tables to render then?
Thanks,
Matthew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE79Db881EGm8xqnEMRAhM0AJ90z36jZizS1XpNQoH3IYprqm4dLACfQJyE
Su0fFM32ZcMRdRvScSjUalY=
=yYBD
-----END PGP SIGNATURE-----
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>