[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Shorthand for XPath expression


Subject: [xsl] Shorthand for XPath expression
From: William Bagby <williamb@xxxxxxxxx>
Date: Wed, 18 Jul 2001 19:08:43 -0400

Is there an XPath shorthand for:

<xsl:if test="@name = 'bob' or @name = 'joe' or @name = 'ben'">

something along the lines of

<xsl:if test="@name in ('bob', 'joe', 'ben')">

?

Just curious.

Thank you.

William Bagby.

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



Current Thread
Keywords