This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

math get maximum and subtract 1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]