xsl-list
[Top] [All Lists]

testing an apostrophe

2002-11-12 06:31:28
i want to use a recursive template to repalce an apostrophe with "\'". how
can i test that the string contains an apostrophe ? am using:

<><><><><><><><><><><><><><><><><><><><><><><><><><>
<xsl:when test="contains($sString, ''')">
<><><><><><><><><><><><><><><><><><><><><><><><><><>

but gives me an error!

Thanks,
Stevenson Ngila
Footman-Walker Associates Ltd
http://www.footman-walker.co.uk




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



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