]> granicus.if.org Git - php/commitdiff
really fix this test...
authorChristian Stocker <chregu@php.net>
Mon, 19 Jan 2004 17:38:47 +0000 (17:38 +0000)
committerChristian Stocker <chregu@php.net>
Mon, 19 Jan 2004 17:38:47 +0000 (17:38 +0000)
ext/xsl/tests/xslt008.phpt

index f906286cfb1aff131ce625ff994067eb3ce3cf59..b6dc37bfd0c5046dc4c5cdca2bca9543b08003d4 100644 (file)
@@ -6,19 +6,16 @@ Test 8: Stream Wrapper Includes
 <?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--