php and xslt
1. | Transforms in 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)) |