xsl-list
[Top] [All Lists]

Re: How to URL encode?

2005-04-23 07:04:54
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?


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>