how do you count the number of records(nodes) in an XML doc ?
I am trying to use XPATH (testxpath) to count the number of elements retrieved in my XML document but can't get it to work.
Surely all it has to do is count the number of opening or closing tags for a given node ?
Anyway it is probably my lack of understanding but I am trying :
count(//agreement)
and I am getting :
XSL-1036 Cannot convert number to NodeSet
What I want is the number of records (agreements) returned.
Where am I going wrong ?