xsl-list
[Top] [All Lists]

[xsl] Is there an OR for XSL IF?

2012-01-03 20:56:48
I have had a read through the W3C stuff for IF elements but I cannot find anything conclusive about an OR for the IF elements.

Is there in fact an option for OR, is it the | to do this. Can I have something like

<xsl:if test="myfield/field_is_available/data = 'Yes'" | test="myfield/seconsfield_is_available/data = 'Yes'">

Or do I need to use something else.

Thanks for your help

GW

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--