xslt_run ($processor, $xsl_file, $xml_file);
$result = xslt_fetch_result ($processor);
worked well, but I didn't try with params

Maybe the order of the arguments is not really good.

2 arguments: (if xslt-stylesheet is spezified in the $xml_file )
$processor
$xml_file
-> does not work

4 arguments: (the problem without outfile if  params are used)
--> not working

I don't know that much about php. Maybe there is a trick...
something like: 
xslt_run ($processor, $xsl_file, $xml_file, NULL, $xslt_param);
or
xslt_run ($processor, $xsl_file, $xml_file,, $xslt_param);

maybe someone finds the solution for this problem.


> $processor = xslt_create();
> xslt_run ($processor, $xsl_file, $xml_file, $xslt_params);
> $result = xslt_fetch_result ($processor);
> xslt_free ($processor);
> echo $result;

Reply via email to