On Sun, 2003-10-19 at 18:01, rich wrote:
> OK,
> 
> This is my latest idea to try and do this:
> 
> $xh = xslt_create();
> 
> parse_str($_SERVER['QUERY_STRING']);
> $params = array("keywords" => $keywords);
> 
> $results = xslt_process($xh, 'library.xml', 'simple-search.xsl', NULL, NULL,
>   -->$params);
> $f = fopen('results.xml','w');
> fwrite($f, $results);
> fclose($f);
> $data = xslt_process($xh, 'results.xml', 'display-results.xsl', NULL, NULL,
>   -->NULL);
> echo $data;
> 
> xslt_free($xh);

Try using a new xslt process for the second transformation.  

So do the first transformation and then close the xslt process. Then
create a new xslt process and do the second transformation, then close
the 2nd xslt process.

--
Ray

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to