I am using JDK1.5 and java XML parser (import javax.xml.*) for parsing my XML.Now while I am using
count(distinct-values(//tag/items/itemid)) ,my parser is getting failed. later I came to know this above type of XPATH is only supported by XPATH 2.0.
Can anyone let me know What I have to do to make my parser enable to parse the above type of xpath (supporting XPATH 2.0) ? Any change in code or any jar to be used!!