|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:if test="contains" OR
> From: Brian Burridge [mailto:maillist@xxxxxxxxxxxx] > Sent: Wednesday, February 19, 2003 12:13 PM > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: xsl:if test="contains" OR > > > 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? Use the 'or' expression: <xsl:if test="contains(type,'A') or contains(type,'B')"> ... </xsl:if> hth, b. | brian martinez brian.martinez@xxxxxxxx | | senior gui programmer 303.708.7248 | | trip network, inc. fax 303.790.9350 | | 6436 s. racine cir. englewood, co 80111 | | http://www.cheaptickets.com/ http://www.trip.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








