[Home] [By Thread] [By Date] [Recent Entries]
Summing up 3 specifically named nodes under Records/Record and summing them only if they are numbers. Current XSL===> sum(Records/Record/*[name(.) = 'AContribution' and number(.) = number(.) or name(.) = 'BContribution' and number(.) = number(.) or name(.) = 'CContribution' and number(.) = number(.)]) ==> <!-- Lots of redundant code above. Ideal XSL===> name(.) = [A, B ,C] and number(.) = number(.) ===> Problem is already solved. I'm just trying to reduce redundancy. -Steve
|

Cart



