position()

Subject: position()
From: Jo Kong HO <JoK@xxxxxxxxxxxxxx>
Date: Tue, 11 Jul 2000 13:52:29 +0100
Hi all

The following XSL end in error:

	<xsl:for-each select="Attendees/Attendee[@type='Required']">
		 <xsl:value-of select="@name"/> <!--Required Attendees -->
		 <xsl:if test="position()!=last()">;</xsl:if>
	</xsl:for-each>

If I take out the piece <xsl:if test="position()!=last()">;</xsl:if> if
works fine.  What am I doing wrong here?
Can anyone help?

cheers
J


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


Current Thread
  • position()
    • Jo Kong HO - Tue, 11 Jul 2000 13:52:29 +0100 <=
      • <Possible follow-ups>
      • Kay Michael - Tue, 11 Jul 2000 15:03:11 +0100
      • Jo Kong HO - Wed, 12 Jul 2000 09:33:59 +0100
        • Mike Brown - Wed, 12 Jul 2000 10:49:23 -0600 (MDT)
      • Kay Michael - Wed, 12 Jul 2000 17:15:50 +0100