Re: [xsl] How to URL encode?

Subject: Re: [xsl] How to URL encode?
From: Brian Dunning <brian@xxxxxxxxxxxxxxxx>
Date: Sat, 23 Apr 2005 07:04:54 -0700
you need to explain why you want
this unusual behaviour.)

The complete string is an affiliate URL that gets passed through a number of quick redirects, and unless the : and ? are encoded as specified the URL does not survive all the redirects, and the final destination is a 404.


Is it possible to do a simple character replace to switch out the : and ?? If this was PHP, I'd just do this:

$ItemLink = str_replace(':','%3A',str_replace('?','%3F',$ItemLink))

Does XSL have a similar feature?

Current Thread