[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: UTF-8 URL encoding with XSLT 1.0
Ok, in case anybody needs this:
http://dk.php.net/manual/en/function.xsl-xsltprocessor-register-php-functions.php This is how you use PHP functions from stylesheets. Remember to call registerPhpFunctions() on the processor and include the PHP namespace in XSL. For URL encoding, the function would be: php:function('urlencode', string($value)) On 6/2/07, Martynas Jusevicius <martynas.jusevicius@xxxxxxxxx> wrote: Ok, now I get it :) I'm using PHP's XSL, so I guess I'll go better look for a way to call PHP's functions from stylesheets.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|