xsl-list
[Top] [All Lists]

Re: firing on more than one match

2003-10-17 12:23:30
Do you want to perphaps do...

<xsl:template match="ruledef[(_at_)pageeject = 'yes']">
    <!-- do your condition here -->
</xsl:template>

just guessing though...

----- Original Message -----
From: "Ronald Kent Gibson" <Kent(_dot_)Gibson(_at_)icongmbh(_dot_)de>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Friday, October 17, 2003 9:25 AM
Subject: [xsl] firing on more than one match


Dear All

I have something like this, ie there are more is more than one node that
is
named ruledef, and I want my condition to fire when any of these things
are
equal to the condition.

<xsl:when test="/ruledef[1]/@pageeject = 'yes'">

</xsl:when>


Seems like a loop would be good here, but no loops in xslt.

I don't thinkr recursion will help, either. So can anyone kindly give me
some suggestions, thanks and enjoy the weekend.

kent


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



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



<Prev in Thread] Current Thread [Next in Thread>