[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: An XSL:Choose Issue.
Ben Trafford wrote: > <xsl:template match="entry.link"> > <xsl:choose> > <xsl:when test="position() = 1"> > SEE ALSO: <i><a href="#{@to.entry}"><xsl:apply-templates/></a>; </i> > </xsl:when> > <xsl:when test="position() = last"> last is a function. position() = last() > <i><a href="#{@to.entry}"><xsl:apply-templates/></a>.</i> > </xsl:when> > <xsl:when test="(not(position() = 1)) or (not(position() = last))" > instead of xsl:when you want xsl:otherwise (no test or anything) 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
|