This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
efficiency
- From: "David B. Bitton" <david at codenoevil dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 26 Mar 2002 14:34:30 -0500
- Subject: [xsl] efficiency
- Organization: Code No Evil
- Reply-to: xsl-list at lists dot mulberrytech dot com
Is there a more efficient way of doing this:
<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>
It's effective, but I would think I could do this in a predicate for the
select in the for-each. Thanks. :)
--
David B. Bitton
david@codenoevil.com
www.codenoevil.com
Code Made Fresh DailyT
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list