[xsl] table - possible recursion issue....?

Subject: [xsl] table - possible recursion issue....?
From: <Sonja.Hendrick@xxxxxxxxxxx>
Date: Wed, 8 Nov 2006 23:02:29 -0500
The part that is tripping me up. I believe there is a way of programming
without a recursion template to get the results I am looking for.

The transform locates the row/entry/@morerows. The value for
@morerows[=4], add a 1 and that is the row we want to add the attribute
to. The cell"entry" where the @morerows sits is the entry in the
following row.

I need the value for @morerows 2 to be static to compare it with the
current row.

So if following::row/position() = $morerows, then create attribute. How
do I get the variable $morerows (example variable) to hold a static
number (2) so I can compare it with the position of the following row.

I do not think I need recursion for this if I can maintain the value of
the value in @morerows.

I appreciate any suggestions.

Please run my code so see what I mean.

So if there is:



<entry @morerows="2">



Current Thread