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