Bernhard Zwischenbrugger wrote:
> 
> Why do you save the result to a file?

Well, I did try this:

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

But, it doesn't work. Is it fixed in php-4.0.4pl1?
And according to ext/sablot/sablot.c file (if I read 
it correctly) it is not even possible to use it that way
(without $result_file).

IMHO, sablot.c file is the best source of information
on how to use those functions, since the available
documentation is not so good.

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

Yep. I forgot.


Antti

Reply via email to