Subject: position() From: "Steve Carton" <scarton@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 10 Aug 2000 15:12:26 -0400 |
I guess I don't understand the "position" function. I am trying to see if the node I'm processing is the last one, but it never works: <xsl:template match="a/b"> <xsl:if test="position(..)=last(../../a)"> </xsl:if> xsl:apply-templates/> </xsl:template> Any comments? -----------------------www.retrievalsystems.com Steve Carton 703/749-0012 Retrieval Systems Corporation 703/749-0015 2071 Chain Bridge Road, Suite 510 Vienna, VA 22182 If it's 0 degrees today, and it's going to be twice as cold tomorrow, ...how cold will it be? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Memory-saving Prescription for , Kay Michael | Thread | Re: position(), Jeni Tennison |
Re: Is there an elegant way to copy, Mike Brown | Date | XSL and JavaScript Problem, Shelly Nippard |
Month |