This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: translating ' character



<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]