[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: finding out distinct node/values
On 10 February 2010 16:34, Anil Kumar Veeramalli <anil.v@xxxxxxxxxxxxxxxxxxxxx> wrote: > Hi, > > I am using XSL1.0 and I want to find out distinct records. > > <table> > <rows> > <row> > <name>A</name> > </no>1</no > </row> > <row> > <name>A</name> > </no>2</no > </row> > <row> > <name>B</name> > </no>2</no > </row> > <row> > <name>C</name> > </no>1</no > </row> > <row> > <name>C</name> > </no>2</no > </row> > </rows> > </table> > > By passing the attribute "name" as a parameter, I would like to find out the > all distinct values of name Attribute . i.e A,B and C distinct-values(//*[name() = $name]) cheers -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|