Subject: Re: [xsl] union vs. "or" vs. contains? From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx> Date: Tue, 19 Oct 2004 14:37:21 -0400 |
The following does the same, but I think it's clearer, and it's probably
more efficient as the test only has to be done once, not on every
element that might possibly match.
<xsl:apply-templates select="*[$foo='x']"/> or perhaps clearer <xsl:if test="$foo='x'"> <xsl:apply-templates/> </xsl:if>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] union vs. "or" vs. contai, David Carlisle | Thread | Re: [xsl] union vs. "or" vs. contai, Wendell Piez |
Re: [xsl] conditional count, Mukul Gandhi | Date | [xsl] processing nodes with CDATA, Oswald Campesato |
Month |