OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: Table Rendering of XSL-FO Files


Hi!

When I convert the following sample table to PDF using

- DocBook XML 4.1.2 and
- version 1.29 of the style sheets in conjunction with
- Saxon 6.2.1 and
- FOP 0.17, 

all the output is sort of piled up, just like a bunch of
characters. Anyway, it surely has got nothing whatsoever in common with a
table. Can anybody tell me why? (I'll include the document in case
somebody is willing to try it out.)

I was translating the SGML file to XML using

sgml2xml -xlower table_test.sgml > table_test.xml

Thanks in advance for any help!

Greetings,

	Holger

------------------------------------------------

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<article>
  <sect1>
    <title>Table Test</title>
    <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>
	<spanspec spanname=hspan namest=c1 nameend=c2 align=center>
	<spanspec spanname=bspan namest=c2 nameend=c3 align=center>
	<thead>
	  <row>
	    <entry spanname=hspan>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>Vertical Span</para></entry>
  </row>
    <row>
      <entry>c1</entry>
      <entry spanname=bspan 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>
  </sect1>
</article>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC