Why do you save the result to a file?
xslt_run ($processor, $xsl_file, $xml_file,  $xslt_params);
$result=xslt_fetch_result($processor);
xslt_free($prozessor);  

Maybe there is a problem if you use $xslt_param (never tested)

The other way is to use the php-function "tempnam" to generate a unique
filename.

> // This also works
> $processor = xslt_create();
> xslt_run ($processor, $xsl_file, $xml_file, $result_file, $xslt_params);
> xslt_free ($processor);
> readfile ($result_file);
> 
> ?>
> 
> The code doesn't work with concurrent users. So you have 
> to create a different result filename every time.
-- 
Bernhard Zwischenbrugger
Tel.: +43/1/944 57 64
Mobil.: +43/699/1944 57 64
http://www.datenkueche.com


Reply via email to