xsl-list
[Top] [All Lists]

RE: Formatting in an HTML table...DOWNwise!

2003-07-02 09:40:50


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



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