xsl-list
[Top] [All Lists]

Re: unknown number of columns...

2004-02-12 08:51:40
David Carlisle wrote:

oops, typo:

<xsl:variable name="x" select="position()"/>
                    y
                    ^
                    ^
                    ^
ähmm..., sorry, but i don't unterstand this

i have in my tableheader this:

<xsl:for-each select=".|following-sibling::inventorlist[position()&lt;$n]">
<fo:table-cell border-width="0.1mm" border-color="black" border-style="solid"> <fo:block font-famliy="sans-serif" font-size="9pt" start-indent="1.5mm"><xsl:value-of select="position()"/></fo:block>
                          </fo:table-cell>
                          </xsl:for-each>
                       </fo:table-row>

.. so that the title is the "incremental number of columns". my problem is, that after beginning the new table (if n == position() )
the title begins to count with 1 again. how can i prevent this?

--
Herwig Posedu

unycom Information Technology Services GmbH
Schmiedlstrasse 1/III
A-8042 Graz

Tel: ++43/316/818828-19
Fax: ++43/316/818828-38

herwig(_dot_)posedu(_at_)unycom(_dot_)com
www.unycom.com




XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>