[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] unknown number of columns...


Subject: Re: [xsl] unknown number of columns...
From: Herwig Posedu <herwig.posedu@xxxxxxxxxx>
Date: Thu, 12 Feb 2004 16:51:40 +0100

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.posedu@xxxxxxxxxx
www.unycom.com




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




Current Thread