|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Is there an or function in XSL-T?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








