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) > 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@xxxxxxxxxxxxxx www.codenoevil.com Code Made Fresh DailyT XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] white space with word wra, J.Pietschmann | Thread | Re: [xsl] efficiency, Wendell Piez |
RE: [xsl] using substring-functions, Wendell Piez | Date | Re: [xsl] efficiency, Wendell Piez |
Month |