This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: catching the last node still satisfying a condition
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] catching the last node still satisfying a condition
- From: "Dimitar Peikov" <mitko at rila dot bg>
- Date: Thu, 13 Sep 2001 15:25:23 +0300
- Reply-To: xsl-list at lists dot mulberrytech dot com
You can't without for-each cycle. because [] operands return 1 recordset not
an array. You must set exact match that is enshured that only one element
could contain this.
You possibly search for :
foos/foo[position() = last()]/bar[position() < limit]
--
Dimitar Peikov
Programmer Analyst
Globalization Group
"We Build e-Business"
RILA Solutions
27 Building, Acad.G.Bonchev Str.
1113 Sofia, Bulgaria
phone: (+359 2) 9797320
phone: (+359 2) 9797300
fax: (+359 2) 9733355
http://www.rila.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list