Count elements start with
Hi,
Is there a way to count the number of nodes that start with a particular string?
I want to count all nodes that start with the name "Error". Is it possible using XSLT?
My Input XML will have Error elements but it can occur any number of times, as
<Error1 desc="Request Incomplete"/>
<Error2 desc="Could Not login"/>
<Error3 desc="Invalid password"/>
I need to count the number of times it occurs and post a message saying, "3 errors occured during operation".
|