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

Subject: Re: [xsl] unknown number of columns...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 12 Feb 2004 16:44:13 GMT

  .. 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?

you use the code I posted.

on the outer loop store the position() -1 in $x so this is the table
count, starting at 0.

in the inner loop store the position() (in $y not $x)

then $y is the column count (starting at 1) within this group
$x * $n + $y
is the cumulative column count.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

 XSL-List info and archive:

Current Thread