Re: [xsl] test if string contains an apostraphe

Subject: Re: [xsl] test if string contains an apostraphe
From: mjyoungblut@xxxxxxx
Date: Tue, 3 Jul 2001 14:57:33 -0500
Try
<xsl:variable name="APOS">&apos;</xsl:variable>
<xsl:if test="contains($string, $APOS)">

Matt

     I also tried it like this: <xsl:if test="contains($string, &apos;)">
and <xsl:if test="contains($string, '&apos;')"> but got exceptions like the
one above.




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


Current Thread