[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Semantic of last() in the guard of a for-each

Subject: Semantic of last() in the guard of a for-each
From: Claudio Sacerdoti Coen <sacerdot@xxxxxxxxxxx>
Date: Sun, 4 Nov 2001 15:32:52 +0100
for each last xslt
 Hi,

 is it right that the two follwing XSLT fragments should have the
 same semantic? This seems to be untrue using some versions of
 some processors...

 <xsl:for-each select="*[position() > 1 and last() > position()]">


 <xsl:variable name="last" select="count(*)"/>
 <xsl:for-each select="*[position() > 1 and $last > position()]">


					Thanks in advance,
					    C.S.C.

-- 
----------------------------------------------------------------
Real name: Claudio Sacerdoti Coen
PhD Student in Computer Science at University of Bologna
E-mail: sacerdot@xxxxxxxxxxx
http://caristudenti.cs.unibo.it/~sacerdot
----------------------------------------------------------------

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.