[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hello,
sum(books/book[column[@name = 'status'] = 'available']/column[@name = 'quantity'])
Christoph Naber
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Multi condition sum [Corr, Andrew Welch | Thread | RE: [xsl] Multi condition sum [Corr, Michael Kay |
Re: [xsl] Multi condition sum [Corr, Andrew Welch | Date | RE: [xsl] Multi condition sum [Corr, Michael Kay |
Month |