This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
math get maximum and subtract 1
- From: "sascha" <sascha at assbach dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 24 Jul 2002 18:03:13 +0200
- Subject: [xsl] math get maximum and subtract 1
- References: <20020724150123.21680.qmail@mailFA12.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
hi there,
i guess this is an easy XPATH Question:
How do i get the maximum @row# or @col# from the following inpu, and how do
i subtract that by 1
meaning if maximum rownumber is 4-1 = 3?
<DESCRIPTION_ITEM col="1" row="3">
<LABEL>Mitgeltende Unterlagen</LABEL>
<VALUE>Text</VALUE>
</DESCRIPTION_ITEM>
<DESCRIPTION_ITEM col="1" row="4">
<LABEL>Offene Fragen</LABEL>
<VALUE>Text</VALUE>
</DESCRIPTION_ITEM>
thank you,
sascha
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list