I need to URL Encode a string in XSLT but the function:
fn:encode-for-uri
breaks the script. I checked it out online and apparently it's part of the namespace
http://www.w3.org/2005/xpath-functions
So i added the following line to the top of my XSLT file to no avail.
xmlns:fn="http://www.w3.org/2005/xpath-functions"
Any ideas? I stepped through it in Visual Studio and I got the exception:
Cannot find a script or an extension object associated with namespace 'http://www.w3.org/2005/xpath-functions'.
Any ideas?
-Ev