This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook] docbook-xsl HTML table element doesn't go well


Hi

I'm try to convert a docbook document
that have HTML table elements to PDF.
Even though the docbook-xsl's manual
says it's possible to convert HTML table elements,
white blank appears  on a PDF instead of appearing table data.
http://www.sagehill.net/docbookxsl/DocbookHtmlTables.html

Any comments would be appreciated.
I hope it's gonna go well.

--Hisashi.Yamaguchi


Following is what I'm trying. 1. Create a docbook document that have HTML table elements.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
                 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
<article>
<articleinfo>
<title>Unit Test: table.001</title>
<releaseinfo role="CVS">$Id: table.001.xml,v 1.2 2002/01/18 21:06:45 nwalsh
Exp $</releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
       <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
</articleinfo>

<table frame="all">
<caption>TFoot Test</caption>
<tfoot>
<tr>
<td>Foot Left</td>
<td>Foot Right</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>Body Left</td>
<td>Body Right</td>

</tr>
</tbody>

</table>
</article>

2. Convert docbook to fo by applying docbook-xsl/fo stylesheet.

3. Convert fo to pdf with Apache FOP.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]