Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: distinct-values work-around for Xpath 1.0 >Thread Next - Re: distinct-values work-around for Xpath 1.0 Re: distinct-values work-around for Xpath 1.0To: NULL Date: 9/3/2009 2:30:00 AM On 2 Sep, 18:11, Martin Honnen <mahotr...@yahoo.de> wrote: > Barnum wrote: > > One follow-up, if I would want the distinct attributes (in this > > example distinct @names) as opposed to elements, how would the > > preceding-sibling predicate look? > > /root/foo/@name[not(. =3D ../preceding-sibling::foo/@name)] > > -- > > =A0 =A0 =A0 =A0 Martin Honnen --- MVP XML > =A0 =A0 =A0 =A0http://msmvps.com/blogs/martin_honnen/ Of course, thanks! | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
