hydralix / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

xsl:number not evaluated correctly in custom layer template #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I tried to to a "striped" table as mentioned in
http://www.sagehill.net/docbookxsl/PrintTableStyles.html#table.row.properties

What is the expected output? What do you see instead?
The striped style wasn't applied to the table. I think it's because
<xsl:number ../> isn't evaluated correctly, i.e. it isn't able to determine
the current row number.

What version of the product are you using? On what operating system?
I tried docbkx 2.0.9 and 2.0.10-SNAPSHOT

Original issue reported on code.google.com by ovor...@gmx.net on 23 Feb 2010 at 7:20

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I found the problem. It's not a bug in docbkx. I simply didn't include the
docbook-namespace in my FO customization-layer.

After adding "xmlns:d="http://docbook.org/ns/docbook" to my customization-layer 
XSL I
can use <xsl:number count="d:row"/> without any problems.

Please close this issue.
I'm very sorry for the trouble caused.

Original comment by ovor...@gmx.net on 24 Feb 2010 at 5:19

GoogleCodeExporter commented 8 years ago
no problemo =)

Original comment by MimilO...@gmail.com on 25 Mar 2010 at 10:23