RE: [xsl] Counting with two conditions

Subject: RE: [xsl] Counting with two conditions
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 26 Nov 2004 10:15:01 -0000
> 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/

Current Thread