|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: testing an apostrophe
<xsl:variable name="apos">'</xsl:variable> <xsl:when test="contains($sString, $apos)"> Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Stevenson Ngila > Sent: 12 November 2002 13:31 > To: Xsl-List@Lists. Mulberrytech. Com > Subject: testing an apostrophe > > > 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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








