Subject: Re: testing for last node in a list From: Ann Marie Rubin <annmarie.rubin@xxxxxxxxxxxx> Date: Mon, 22 May 2000 20:35:01 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: testing for last node in a list, Tom Amiro | Thread | Re: testing for last node in a list, Jeni Tennison |
Re: Netscape Support for XSL - clie, Keith Visco | Date | Re: xsl:extension-element-prefixes, James Clark |
Month |