[suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question
| From: | Brian Dunning | Date: | Fri, 22 Apr 2005 22:18:56 +0000 |
| Subject: | [suspicious - maybe spam] URL encoding in XSL - Yes, a PHP question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-213701@lists.php.net to get a copy of this message | ||
All the resources I've found on the web for URL encoding values within an XSL stylesheet are either .NET or Java, so I'm looking for some help with how to do this using PHP's special flavor of XML/XSL.
Within the XSL doc, I've got:
<xsl:variable name="ItemLink" select="concat($MediaPlexURL, Link)"/>
<a href="http://www.anrdoezrs.net/click-1692198-5463217?loc={$ItemLink}">
and $ItemLink needs to be URL encoded. How do I do this on my PHP box? Sorry no Java or .NET available... :)