[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Problem with tables
Hi, I cut and pasted your table into a DB5 document and ran it with 1.74.0/fo using xsltproc, and I did not get any errors and the table looks fine. I'm using a newer xsltproc, though. My version information is: Using libxml 20630, libxslt 10122 and libexslt 813 Bob Stayton Sagehill Enterprises bobs@sagehill.net ----- Original Message ----- From: "William R. (Bill) Greene" <wrg@acm.org> To: "DocBook Apps" <docbook-apps@lists.oasis-open.org> Sent: Tuesday, September 02, 2008 11:47 AM Subject: [docbook-apps] Problem with tables > Versions used: > DocBook : 5.0 > stylesheets : DocBook XSL-NS Stylesheets 1.74.0 > xsltproc : Using libxml 20627, libxslt 10115 and libexslt 812 > > I have been having a problem getting xsltproc to translate Norman Walsh's > example CALS table from http://docbook.org/tdg5/en/html/cals.table.html , > which is as follows: > > <table xml:id="ex.calstable" frame='all'> > <title>Sample CALS 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>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> > > I validate my DocBook XML file using xmllint to do the xi:include > processing, then the Sun Multi-Schema Validator, which reports that it is > valid. > > I then use "xsltproc --xinclude ..." to generate the .fo file from my > DocBook XML file. Here is the interesting part of the output (I have > prefixed xsltproc's output with "*"): > > Processing table > Processing tgroup > * runtime error: file /Users/wrg/projects/resumatic/trunk/vendor/ > docbook-xsl-ns-1.74.0/fo/table.xsl line 478 element attribute > * xsl:attribute : node already has children > Processing thead > Processing row > * Warning: overlapped row contains content! > Finished processing row > Finished processing thead > Processing tfoot > Processing row > * Warning: overlapped row contains content! > Finished processing row > Finished processing tfoot > Processing tbody > Processing row > * Warning: overlapped row contains content! > Processing row > * Warning: overlapped row contains content! > Processing row > * Warning: overlapped row contains content! > Finished processing row > Finished processing row > Finished processing row > Finished processing tbody > Finished processing tgroup > Finished processing table > Finished processing chapter > Finished processing book > * error: file wrg-finances.docbook > * xsltRunStylesheet : run failed > > Does anyone see what I'm doing wrong? > > ________________________________________________________________________ > > Bill Greene > http://www.linkedin.com/in/williamrgreene > http://bill2u.wordpress.com/ > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]