RE: [xsl] testing an apostrophe

Subject: RE: [xsl] testing an apostrophe
From: "Talwalkar (EXT), Saurabh" <saurabh.talwalkar-eds@xxxxxxx>
Date: Tue, 12 Nov 2002 21:03:51 +0530
I want query for all instances of a particular node across all .xml files in a directory.
can is use select(document("e:\base\mti\*.xml")..
does xsl:document support searching across multiple files.
Saurabh

-----Original Message-----
From: Michael Kay [mailto:michael.h.kay@xxxxxxxxxxxx]
Sent: Tuesday, November 12, 2002 08:30 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] 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: [xsl] 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

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


Current Thread