[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] firing on more than one match


Subject: Re: [xsl] firing on more than one match
From: "Benjamin Farrow" <lovinjess@xxxxxxxxxxx>
Date: Fri, 17 Oct 2003 12:23:30 -0700

Do you want to perphaps do...

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

just guessing though...

----- Original Message -----
From: "Ronald Kent Gibson" <Kent.Gibson@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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



Current Thread