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

RE: [xsl] test if string contains an apostraphe


Subject: RE: [xsl] test if string contains an apostraphe
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 4 Jul 2001 09:05:03 +0100

> 	I am trying to test if a string contains an apostraphe 

I find it's easiest to do this with variables:

<xsl:variable name="apos">'</xsl:variable>
<xsl:if test="contains($x, $apos)">

Mike Kay
Software AG 

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



Current Thread