I'm working on a read only database.

I have the data encoded as XML and am writing the queries
using XSLT stylesheets.  The only way I can find (being, of
course, restricted to XSLT 1.0 on PHP) of executing the
required queries requires two stylesheets.

The generates a result tree which needs to be proceesed by
the second.  But I can't find a way of doing this. I've tried:

xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl',
 --> 'results.xml', NULL, $params);

$data = xslt_process($xh, 'results.xml',
 --> 'simple-search-display-results.xsl', NULL, NULL, NULL);

and:

$results = xslt_process($xh, 'library.xml', 'simple-search-get-results.xsl',
 --> NULL, NULL, $params);

$data = xslt_process($xh, $results, 'simple-search-display-results.xsl',
 --> NULL, NULL, NULL);

neither of which work at all.

Any ideas?

Cheers,
rich.

-- 
UEA/MUS::Record Library
http://www.cursus.uea.ac.uk/cdlib/

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

Reply via email to