This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: testing for last node in a list
Tom,
When I use <xsl:if test="position()!= last(), the | character never is
output because the
condition is never true. Each iteration of the template returns a single
node in the node list, so that node is always the last in its node list.
Ann Marie
Tom Amiro wrote:
> Shouldn't you have
> <xsl:if test="position()!= last()
>
> Instead of
>
> > <xsl:if test="position()=last()">
>
> Tom
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list