|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: [XSL] Using Sort and Position Function
Quoting Michael Kay <mike@xxxxxxxxxxxx>:
Dear Michael and Ken: Thanks for the tip. I have modified my XSL to <xsl:template match="application"> <span>
<xsl:attribute name="title">
<xsl:value-of select="type"/>
</xsl:attribute>
<xsl:value-of select="ability"/>
</span>
<xsl:if test="position( ) !=last( )">, </xsl:if>
<xsl:if test="position( )=last()-1">and </xsl:if>
</xsl:template>the output is now accurate with "and" instead a "," at the last item. Alice The XSL:
|
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
|

Cart


![RE: [XSL] Using Sort and Position Function](/images/get_stylus.gif)





