[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: position()
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|