Download Software Install Xsl Php Extension
For the phpintl.dll extension to work correctly, you need to have the following files in a folder in your PATH:. icudt36.dll. icuin36.dll. icuio36.dll. icule36.dll.
iculx36.dll. icutu36.dll. icuuc36.dllBy default they're sitting in your PHP directory, but that directory isn't necessarily in your PATH (it wasn't for me, using xampp)This has to be in your global path, not just your user's path. To set the global path, go to system info ( windows key + PAUSE), then Advanced System Settings (Vista+) or Advanced (XP) and click the 'Environment Variables' button and add the appropriate directory to the PATH variable in the System Variables list.
I have PHP 5.3.1 and ApacheWhen I add the extension=phpintl.dll to php.ini and restart apache, it comes an alert that says 'the requested operation has failed'And this error on Event Monitor: Faulting application name: httpd.exe, version: 2.2.14.0, time stamp: 0x4ac181d6Faulting module name: php5ts.dll, version: 5.3.1.0, time stamp: 0x4b051b35Exception code: 0xc0000005The problem was some DLLs like icudt36.dll were missing (noticed with sysinternals ProcMon), I've downloaded php 5.3.1 zip version and extract all DLL's to PHP folder. That solved the problem.
If you want to use the document-function inside your XSL stylesheet, please note that you have to use an absolute path there.Important for windows users: the absolute path.has. to be with forward slashes, so subsitute windows-path-backslashes to forward slashes before you transform the document.Examples:This will NOT work:This will also NOT work:But this WILL work. Here are a couple useful tips for those who care about cross-browser compatibility.Given:XSLT will automatically condense it to:While this is good, Internet Explorer breaks on empty script tags. So, the simple solution is to add something to prevent an empty tag. For example: