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="http://www.w3.org/1999/XSL/Transform">
<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
http://JavaScript.FAQTs.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--