Subject: RE: [xsl] How to replace " with ' From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 7 Jun 2005 09:32:50 +0100 |
I find the most readable solution is: <xsl:variable name="quot">"</xsl:variable> <xsl:variable name="apos">'</xsl:variable> <xsl:value-of select="translate(/element/title, $quot, $apos)"/> Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Jiang, Peiyun [mailto:Peiyun.Jiang@xxxxxxxxxxxxxx] > Sent: 06 June 2005 22:39 > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > Subject: [xsl] How to replace " with ' > > How to make this work? > > <xsl:value-of select="translate(/element/title, '"', "'")" /> > > Thanks. > > Peiyun
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to replace " with ', David Carlisle | Thread | Re: [xsl] How to replace " with ', Jean-Luc Mathieu |
Re: [xsl] Source Reducer, Dimitre Novatchev | Date | Re: [xsl] How to replace " with ', Jean-Luc Mathieu |
Month |