Re: [xsl] Is there an or function in XSL-T?

Subject: Re: [xsl] Is there an or function in XSL-T?
From: "Raffaele Sena" <raff@xxxxxxxxxxxx>
Date: Wed, 27 Mar 2002 14:16:44 -0800
> 
> I can achieve what I need using two <xsl:if>s with the "not" function or 
> with <xsl:choose>, but is there a more elegant way to connect two 
> conditions with an "or" operator?
> 
    You can use the "or" operator :)

    <xsl:if test="@res='value1' or @res='value2'">
        ...
    </xsl:if>

-- Raffaele




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


Current Thread