This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

position()


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]