[xsl] efficiency

Subject: [xsl] efficiency
From: "David B. Bitton" <david@xxxxxxxxxxxxxx>
Date: Tue, 26 Mar 2002 14:34:30 -0500
Is there a more efficient way of doing this:

<xsl:if test="count(Memos/Memo) &gt; 1">

<xsl:for-each select="Memos/Memo">

<xsl:if test="position() &gt; 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@xxxxxxxxxxxxxx
www.codenoevil.com

Code Made Fresh DailyT


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread