This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Last Position Check
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Last Position Check
- From: "Clapham, Paul" <pclapham at core-mark dot com>
- Date: Wed, 18 Jul 2001 09:29:43 -0700
- Cc: n8_shaw at yahoo dot com
- Reply-To: xsl-list at lists dot mulberrytech dot com
position()=last()
-----Original Message-----
From: Nathan Shaw [mailto:n8_shaw@yahoo.com]
Sent: July 18, 2001 09:17
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] Last Position Check
(I am a digester, so please reply off-list to
n8_shaw@yahoo.com and cc the list if you feel others
may learn too =:>)
I am currently running a check to see if an element is
in the last position, but it does not seem to be
working.
<xsl:if
test="not(position()='last')"> | </xsl:if>
The horizontal bar is still being added after the last
element. I am using it on a nav bar and don't want the
"|" included after the last element.
TIA,
Nathan
=====
----------------------------
Nathan Shaw
Web Applications Developer
iaffect
http://www.iaffectonline.com
http://www.iaffectTV.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list