xsl-list
[Top] [All Lists]

RE: XSL:IF expression

2003-05-08 14:45:45
On Thu, 2003-05-08 at 09:48, Michael Kay wrote:
In XPath 2.0 you can do regular expression matching:

<xsl:if test="matches(name(), '.*special.*')">

Just occurred to me that 

   <xsl:if test="matches(@lords,'saturday')"> 

makes some kind of sense (in the UK at least :-)

///Peter



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



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