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


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

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>


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


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