aswinbh,
Could you click the "code copy" button and paste the example text into that.
it should look like thisit will be easier to evaluate.
Does this do the trick?
//row[not(Fine_name = preceding-sibling::row/Fine_name)]/Fine_name
I've attached a response map for this.
This finds items where the "Fine_name" does not equal a previous "Fine_name".
I think he needs file count. Hence, add a count Fn in XPATH query as below:
count(//row[not(Fine_name = preceding-sibling::row/Fine_name)]/Fine_name)
I found it here:
http://www.jenitennison.com/xslt/grouping/index.html
This looked like another good resource:
http://www.dpawson.co.uk/xsl/sect2/N4486.html
I'm glad to see people starting to really use XPath.
Here are some links I see regularly::
To Start with X-PATH:
http://www.w3schools.com/XPath/default.asp
Functions in XPATH:
http://jaxen.codehaus.org/apidocs/org/jaxen/function/package-summary.html
No one has followed this question yet.