hi,
I also have WIN2K pro and downloaded 4.1.0. I have managed to get the xslt to work but in way like any tutorial or documentation that I can find at the moment. I have deleted the sablot.dll from my C:\WINNT\System32 dir because i read that php no longer uses sablotron but some xslt parser. I have expat.dll, xmlparse.dll, xmltok.dll all in the System32 dir. Also note that I am running the php.recommended version of php.ini.
I have tried many other suggestion off of other sites but none seem to work, also, if I try to define my extensions folder path in php.ini it simply won't load the necessary dll's unless I leave it at './'.
here's the code anyway, it might work, let me know. But the way I have seen that it is supposed to be done is no way near like this. If anyone knows of a decent tutorial on how to handle the new xslt functions I would be most grateful. 🙂
//create the processor and assign handle
$xsltproc = xslt_create();
//assign variable to hold the output. note that I have to declare the full path or it screws up for some reason. watch the scroll.
$html = xslt_process($xsltproc,'./htdocs/xmltest/article.xml','./htdocs/xmltest/article.xsl');
//this will give you some error description
if(!$html) die('XSLT parsing error:'.xslt_error($xsltproc));
//free the parser from memory
xslt_free($xsltproc);
//display the complete file.
echo $html;