|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: How to replace " with '
<xsl:value-of select="translate(/element/title, '"', ''')"/>
does not work ?
Michael Kay a icrit :
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: How to replace " with '
How to make this work?
<xsl:value-of select="translate(/element/title, '"', "'")" />
Thanks.
Peiyun
--
--
*Jean-Luc Mathieu*
Virtualys - BP 32013 - 29220 Brest CEDEX 2 - Til. : +33 (0)2 98 05 29 71
Ligne directe (co{t d'un appel local) : +33 (0)8 70 72 52 82
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|