Rank: Member
Joined: 1/26/2012 Posts: 27
|
Hi!
I'm having trouble with summing two or more amounts.
I have a variable number of nodes, and each of them has two charges with different ID numbers (for example '1' and '2').
I need to add only the values with ID=2, and skip the rest.
I have to use XSLT1, and SUM function isn't doing the job if I filter the data first: [XSLT] The input connection of the icon 'values' of the aggregate function 'core.sum' is invalid. In XSLT 1.0 this aggregate function is supported only when 'values' is directly connected to a structure component.
Is there any workaround?
Please help!
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
Use XSLT2.
|