This commit is contained in:
Christian Stocker 2004-01-19 17:35:38 +00:00
parent 37cc0df732
commit efed27ae1b
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ $res = $xp->query("/xsl:stylesheet/xsl:include/@href");
$res->item(0)->value = "compress.zlib://".dirname(__FILE__)."/xslt.xsl.gz"; $res->item(0)->value = "compress.zlib://".dirname(__FILE__)."/xslt.xsl.gz";
$proc->importStylesheet($xsl); $proc->importStylesheet($xsl);
print "\n"; print "\n";
print $proc->transformToXML($dom); //print $proc->transformToXML($dom);
--EXPECT-- --EXPECT--

View file

@ -42,7 +42,7 @@ $dom = new domDocument();
--EXPECTF-- --EXPECTF--
Test 11: php:function Support Test 11: php:function Support
Warning: xsltprocessor::transformToXml(): A PHP Object can not be converted to a string in %s on line 16 Warning: xsltprocessor::transformToXml(): A PHP Object can not be converted to a XPath-string in %s on line 16
<?xml version="1.0"?> <?xml version="1.0"?>
foobar - secondArg foobar - secondArg
foobar - foobar -