Re: using count() for counting tags with a particular value

2007-07-11 Thread Jacob Danner
Hi Varun, The problem is in your xpath expression. The path returns 1 because you are actually counting the element. You could try something like the following depending how exact you want to make your query. count(//type[text()='ABC']) but I think the path you are looking for is actually: count(

using count() for counting tags with a particular value

2007-07-11 Thread unni_varun
hi, my input xml is the foll: 11 ABC ABC ABC ABC ABC