Subject: RE: Formatting in an HTML table...DOWNwise!
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Wed, 2 Jul 2003 17:40:50 +0100
|
I wrote:
> Then on each row you want every nth sibling, depending on how many rows
> you have:
>
> <xsl:for-each select=".|following-sibling::model[position() mod
> $tableHeight = 1]">
Which after testing is wrong :) so it should read:
<xsl:for-each select=".|following-sibling::model[position() mod ($tableHeight - 1) = 0]">
Which on quick testing is better...
cheers
andrew
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/2003
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|