Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] XSLT 2.0 replace() [Thread Next] Re: [xsl] XSLT 2.0 replace()To: Date: 9/2/2008 1:34:00 PM On Sep 2, 2008, at 9:24 AM, Andrew Welch wrote:
So I can change the first &, but not the second.
<xsl:value-of select="replace(@title, '&lt;',
'<')"/>
You can pass a function as the argument of a function eg:
replace(replace(@title, '&lt;', '<'), '&gt;', '>')
Thank you; that was the fundamental concept I was missing.
Lou
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
