This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: translating ' character
- From: "Andrew Welch" <awelch at piper-group dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 11 Jun 2002 16:04:45 +0100
- Subject: RE: [xsl] translating ' character
- Reply-to: xsl-list at lists dot mulberrytech dot com
<xsl:variable name="comilla">'<xsl:variable>
...sometimes the easy way is good enough :)
cheers
andrew
-----Original Message-----
From: Aniceto [mailto:aniceto@overthenet.tv]
Sent: 11 June 2002 15:45
To: xsl-list
Subject: [xsl] translating ' character
Hola everybody:
I'm trying to remove this ' (apstrof) character from
text in nodes using translate this way but it doesn't
<xsl:variable name="comilla" select="'''"/>
<xsl:variable name="nada" select="''"/>
<xsl:for-each select="catalog/cd1/title">
<xsl:value-of select="translate(.,$comilla,$nada)"/>
</xsl:for-each>
haw to say ' is a character not part of the isntruction?
thanks in advance
Aniceto Lopez
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list