Re: [xsl] Multi condition sum [Correction]

Subject: Re: [xsl] Multi condition sum [Correction]
From: Christoph Naber <dio2000@xxxxxxx>
Date: Fri, 12 Dec 2008 11:31:51 +0100
Hello,

Now I want to add all Quantity IF Status = "Available".

All sum is this: sum(books/book[@name="quantity"])
I think its
sum(books/book/column[@name = 'quantity'])
but how to add the Status = "Available" condition???
I think it should be
sum(books/book[column[@name = 'status'] = 'available']/column[@name = 'quantity'])




Christoph Naber

Current Thread