<?php
echo "Test 8: Stream Wrapper Includes ";
include("prepare.inc");
-
$xsl = new domDocument;
$xsl->load(dirname(__FILE__)."/streamsinclude.xsl");
if(!$xsl) {
echo "Error while parsing the document\n";
exit;
}
-$xp = new domxpath($xsl);
-$res = $xp->query("/xsl:stylesheet/xsl:include/@href");
-$res->item(0)->value = "compress.zlib://".dirname(__FILE__)."/xslt.xsl.gz";
+chdir(dirname(__FILE__));
$proc->importStylesheet($xsl);
print "\n";
-//print $proc->transformToXML($dom);
+print $proc->transformToXML($dom);
--EXPECT--