xsl-list
[Top] [All Lists]

RE: Counting with two conditions

2004-11-26 03:15:01
Here i wanna count all paramter that have been "performed" 
and their verdict is "pass"

The XPath is very close to your English description of the problem:

count(parameter[status/@value="performed" and verdict/@value="pass"])

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>