xsl-list
[Top] [All Lists]

Re: xsl:if test="contains" OR

2003-02-19 12:40:58
Like this,

<xsl:if test="contains($type, 'A') or contains($type, 'B')">

m


On Wednesday, February 19, 2003, at 02:12  PM, Brian Burridge wrote:

I want to check if a string contains one item OR anothr item. So I
currently have <xsl:if test="contains(type,'A')">, but want to check for
either "A" OR "B".

How do I do that?

Brian


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



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



<Prev in Thread] Current Thread [Next in Thread>