XPath count why doesn't it work instinctively?

z12

New Member
Straight to the point,the database I'm using : http://metalab.unc.edu/bosak/xml/eg/shaks200.zipQuery 1 :\[code\]count(db:open("shaks200","r_and_j.xml")//ACT)\[/code\]Query 2 :\[code\]count(db:open("shaks200","r_and_j.xml")//ACT[.])\[/code\]Query 1 gives as result 185, while Query 2 gives 5 as result.5 is the correct answer, but why doesn't Query 1 give the correct answer ?
 
Back
Top