RE: [xsl] translating ' character

Subject: RE: [xsl] translating ' character
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Tue, 11 Jun 2002 16:04:45 +0100

<xsl:variable name="comilla">'<xsl:variable>

...sometimes the easy way is good enough :)

cheers
andrew

-----Original Message-----
From: Aniceto [mailto:aniceto@xxxxxxxxxxxxx]
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


Current Thread