Aha!
I've worked out a (better?) way of doing:
?
parse_str($_SERVER['QUERY_STRING']);
$params = array(keywords = $keywords);
$library_xml_file = library.xml;
$search_xsl_file = simple-search.xsl;
$display_xsl_file = display-results.xsl;
$library_xml_string = join('', file($library_xml_file));
Hi,
Catching up with my list mails. As Ray has pointed out you can only do
one transformation with one instance. That's because the underline
parsers are good for one transformation only.
Maybe if you would post your xml and xsl we could give it a shot.
BTW: OT: if you are ok with perl, doing
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);
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 =
4 matches
Mail list logo