| 
 
Subject: [xsl] 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  | 
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 | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] external xml includes, David Carlisle | Thread | Re: [xsl] Semantic of last() in the, David Carlisle | 
| RE: [xsl] determing the current dat, Raul Rodriguez | Date | Re: [xsl] Semantic of last() in the, David Carlisle | 
| Month |