Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Keys (easy one) match on name() [Thread Next] Re: [xsl] First Element in Sorted ListTo: Date: 6/1/2005 2:54:00 PM My process needs to take action on the first element in a list of elements where the logic to determine first is the lowest numeric value of the sortorder attribute. I don't believe there is a one-line way to do this select="item[not(@sortorder > following-sibling::item/@sortorder)][1]" David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
