Subject: Re: [xsl] Is there an or function in XSL-T? From: Matt Gushee <mgushee@xxxxxxxxxxxxx> Date: Wed, 27 Mar 2002 15:15:33 -0700 |
On Wed, Mar 27, 2002 at 10:02:20PM +0000, Ralph Holz wrote: > if @res="value1" or @res="value2" then > do something > else do nothing > > I didn't find an "or" function specified in XSL-T, though there's a not(). There isn't an 'or' function, but there's an 'or' operator. Try: <xsl:if test="@res='value1' or @res='value2'"> <!-- do something --> </xsl:if> -- Matt Gushee Englewood, Colorado, USA mgushee@xxxxxxxxxxxxx http://www.havenrock.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Is there an or function i, J.Pietschmann | Thread | Re: [xsl] Is there an or function i, Raffaele Sena |
Re: [xsl] Is there an or function i, J.Pietschmann | Date | Re: [xsl] Is there an or function i, Raffaele Sena |
Month |