Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Problem loading the Function Namespace in XSLT Problem loading the Function Namespace in XSLTTo: NULL Date: 1/2/2007 4:46:00 AM
Hi,
Please help!
I'm trying to use the fn:ends-with string function but I'm getting the
following error: "Cannot find the script or external object that
implements prefix 'http://www.w3.org/2005/xpath-functions'."
I've added the namespace to my xsl stylesheet declaration:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fn="http://www.w3.org/2005/xpath-functions">
And have the following code:
<xsl:if test="fn:ends-with($nameA, 'Id')">
<!-- ### Do Something ### -->
</xsl:if>
Regards,
Gaz
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
