I have the following XML and want to retreive unique text node. Can xPath/XSLT achieve that?? <root> <Dept>IS</Dept> <Dept>AD</Dept> <Dept>IS</Dept> <Dept>HR</Dept> <Dept>RD</Dept> <Dept>HR</Dept> </root> Result: IS AD HR RD
Hi, Here is the code. But in this i have faced one problem. The problem is,any axis looks on the original source document, not the logical xml document after ascending. so this piece of code will fetch the unique values when it is in ascending order.
This xsl look upon the previous given xml. Let's wait for others view on this. Micheal