[xsl] Last Position Check

Subject: [xsl] Last Position Check
From: Nathan Shaw <n8_shaw@xxxxxxxxx>
Date: Wed, 18 Jul 2001 09:16:42 -0700 (PDT)
(I am a digester, so please reply off-list to
n8_shaw@xxxxxxxxx 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')">&#32;|&#32;</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
----------------------------

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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


Current Thread