Re: XSL Table Code (repost)

nico <[email protected]> Thu, 28 Apr 2005 00:29:53 +0200
Newsgroups gmane.text.docbook.db2latex.devel
Message-ID <opspwwr3k49niby6@localhost>
>
> Fellow db2latex'ers,
>
> Please find attached my table code for db2latex which I'm releasing
> under the GPL.
>
> This is a complete rewrite of the table code in XSL.

Wow, what a terrific piece of code! I've used it without any problem. The=
 =20
only limitation I found is when an <entry> contains blank lines like this=
:

<entry>

This is a buggy entry, isn't it?

</entry>

Latex then complains about the multicolumn:
"{
! Paragraph ended before \multicolumn was complete.
<to be read again>
                    \par
l.60
                    \par
l.60

I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?"

I guess that it's a normal behaviour but do know if something can be done=
 =20
to have this command less fragile?

>
> Notes:
>
>     [...]
>     * The 'node-set' extension is used extensively. Your XSLT processor
>       must be able to support this extension (most do).

I was really not possible to use only pure XSL language?

Anyway, great work. Would you mind if I put your file in a future dblatex=
 =20
release (not db2latex since I have no rights for this :-)? Of course I =20
keep your file untouched with your header. I must do some other tests, bu=
t =20
I think that with this implementation I can remove the table perl =20
dependency I have in my implementation.

Thanks,

BG


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=3D105hix