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]

Summing of calculated columns...


Hi,

I'm using XSL to write reports, one of which has a calculated column.  C is
calculated from values A and B which appear in my XML.  I can total the
columns for values A and B using the Sum() function, but the problem occurs
when I try and calculate the total for value C.

Has anyone got any ideas about the best way to do this?

For other reports I have calculated the total for C, by using the column
totals for A and B.  But this report is a bit more complicated!

I have tried using JScript to store the values as it goes through each
row...but I'm having problems converting it to a number as it doesn't like
the grouping separator (,).

Thanks in advance,

Callum


 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]