Subject: Re: First Element in Sorted List
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 1 Jun 2005 15:52:39 +0100
|
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
________________________________________________________________________
|