Hi
I have an XML file which i am parsing using XSLT
The sample of the XML file is like ( only small part being shown here)
The <block> element inside has its own children.
I want to check inside the block element whether a particular node
<selectValue>
exists or not
The XSLT which I have written is
Now inside
<xsl:value-of select="count(//selectValue)"/> when I use count(//selectValue) it gives me all the count which are present in the whole XML structure,which i don't want
I want the count of selectValue which are there somewhere down in hierarchy of <contents> -> <block> -> <contents>
Is this achievable??I need help immediately
Thanks & Regard