Encode URL in XSLT

If you need to URL encode something in XSLT, you can use javascript serverside – not perfect, but it gets the job done. Here is the javascript and below you can find link to a simpel XSLT which has the script implemented. 1: <script language="javascript" xmlns="urn:schemas-microsoft-com:xslt" implements-prefix="js"> 2: <![CDATA[ 3: // This will return a Continue reading