Subject: Re: math get maximum and subtract 1
From: "sascha" <sascha@xxxxxxxxxx>
Date: Wed, 31 Jul 2002 12:54:41 +0200
|
Yes, i thought so, but HOW? please help.
I'm a little confused. Perhaps I have to sit back and think this over
I have 5 rows with 2 columns - each column consists of a VALUE and a LABEL
which i put in another TABLE within the current cell (called by a template)
How do I have to go through the for-each loops..?. mhm...
I wish there were "for x = 1 to $max" loops.
Sascha
> Yes; it looks like they're sorting it by row first now, rather than by
> column. That's great, since it still means that the last
> DESCRIPTION_ITEM in the DESCRIPTION_TABLE has the maximum row/col, so
> you can still use:
>
> <xsl:variable name="nrow"
> select="/DESCRIPTION_TABLE/DESCRIPTION_ITEM[last()]/@row" />
>
> <xsl:variable name="ncol"
> select="/DESCRIPTION_TABLE/DESCRIPTION_ITEM[last()]/@col" />
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Re: math get maximum and subtract 1, (continued)
- sascha - Mon, 29 Jul 2002 08:19:17 -0400 (EDT)
- Jeni Tennison - Tue, 30 Jul 2002 05:09:18 -0400 (EDT)
- sascha - Tue, 30 Jul 2002 06:43:39 -0400 (EDT)
- Jeni Tennison - Tue, 30 Jul 2002 07:03:30 -0400 (EDT)
- sascha - Wed, 31 Jul 2002 06:50:52 -0400 (EDT) <=
- sascha - Wed, 31 Jul 2002 10:39:34 -0400 (EDT)
- Jeni Tennison - Wed, 31 Jul 2002 10:57:52 -0400 (EDT)
- sascha - Wed, 31 Jul 2002 11:07:37 -0400 (EDT)
- sascha - Tue, 30 Jul 2002 06:39:28 -0400 (EDT)
|
|