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(

Fields which need to be enclosed in CDATA

2007-07-11 Thread Armindo Cachada
Hi, I have read that the 2.3.0 version documentation supports the serialization of CDATA sections. Is it possible to control which fields get enclosed in a CDATA section? How can I do that? Best Regards, Armindo

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