| Subject: Re: [xsl] Using translate() for single quotes in XSL1.0 From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 29 Aug 2006 15:09:58 +0100 | 
> Following the solution in the > faqs i thought this would work: > <xsl:value-of select="replace(.,'"',''')"/> No, after it has been through the xml parser that is the XPath expression replace(.,'"',''') and that last term is a syntax error, you need the XPath expression replace(.,'"',"'") which may be put into an XML attribute like so: <xsl:value-of select="replace(.,'"',"'")"/> David
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Using translate() for sin, Michael Kay | Thread | Re: [xsl] Using translate() for sin, Florent Georges | 
| RE: [xsl] Using translate() for sin, Michael Kay | Date | Re: [xsl] Using translate() for sin, Florent Georges | 
| Month |