xsl-list
[Top] [All Lists]

How to URL encode?

2005-04-22 15:41:28
Hi - I've searched high & low on the web, but all the URL encoding solutions I've found are .NET or Java. I'm using PHP on some flavor of Linux, so I believe it's using the Libxslt library, if that's helpful.

Within my stylesheet I have:

<xsl:variable name="ItemLink" select="concat($MediaPlexURL, Link)"/>
<a href="http://www.anrdoezrs.net/click-1692198-5463217?loc={$ItemLink}";>

That $ItemLink needs to be URL encoded. How can I do that??

Thanks!


--~------------------------------------------------------------------
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>