Subject: RE: [xsl] testing an apostrophe From: Jarno.Elovirta@xxxxxxxxx Date: Tue, 12 Nov 2002 15:42:12 +0200 |
Hi, > 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! <xsl:when test='contains($sString, "'")'> Cheers, Jarno - Feindflug: Roter Schnee XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] testing an apostrophe, Michael Kay | Thread | RE: [xsl] testing an apostrophe, Talwalkar (EXT), Sau |
RE: [xsl] fairly simple position() , Jarno . Elovirta | Date | Re: [xsl] fairly simple position() , David Carlisle |
Month |