Does anyone reading this have an XSLT script that determines the number of elements in an XML file (obviously) with a certain attribute equal to a certain value? For example, suppose you have an XML file similar to the following:
<root>
<someElem Status="closed"/>
<someElem Status="open"/>
</root>
I want to count the number of "closed" items, etc. I have some references and books but it's becoming a big hassle. They all seem to want to specify the query using Elements instead of Attributes. Thanks in advance!