Subject: Re: position() From: John Robert Gardner <John.Robert.Gardner@xxxxxxxxxxxx> Date: Thu, 10 Aug 2000 16:03:58 -0400 |
Offhand, I'd say the problem is b/c position() does not take any arguments. Try xsl:if test="b[position() = last()]" if you're testing for b being last. last() does not take arguments either. ><xsl:template match="a/b"> ><xsl:if test="position(..)=last(../../a)"> ></xsl:if> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ John Robert Gardner, Ph.D. Enterprise Management Architecture Sun Microsystems Burlington, MA 01803 <remote /> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: position(), Jeni Tennison | Thread | RE: position(), Kay Michael |
keys - across different files, Dave Pawson | Date | Re: Is there an elegant way to copy, Eric van der Vlist |
Month |