Re: [xsl] replace

Subject: Re: [xsl] replace
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 12 Jun 2007 16:29:37 +0200
Charles Ohana wrote:
The following code returns the eror below. I must be missing something.

Error in expression replace(@name, 'Chuck', 'Charles'): Unknown system function: replace
Transformation failed: Run-time errors were reported

<xsl:stylesheet version="2.0" xmlns:xsl="";>
<xsl:template match="/cnt">
<xsl:value-of select="replace(@name, 'Chuck', 'Charles')" />

Are you using an XSLT processor that support XSLT 2.0 and the replace function?


	Martin Honnen

Current Thread