This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: efficiency
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 27 Mar 2002 21:50:32 GMT
- Subject: Re: [xsl] efficiency
- References: <00f701c1d4fd$3ff882f0$0601030a@codenoevil.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
<xsl:if test="count(Memos/Memo) > 1">
<xsl:for-each select="Memos/Memo">
<xsl:if test="position() > 1"><xsl:text>88,</xsl:text><xsl:value-of
select="."/></xsl:if>
</xsl:for-each>
</xsl:if>
you can do
<xsl:for-each select="(Memos/Memo)[position()>1]">
<xsl:text>88,</xsl:text><xsl:value-of select="."/>
</xsl:for-each>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list