--TEST-- Test 9: Stream Wrapper XPath-Document() --SKIPIF-- --FILE-- load(__DIR__."/documentxpath.xsl"); if(!$xsl) { echo "Error while parsing the document\n"; exit; } $proc->importStylesheet($xsl); print "\n"; print $proc->transformToXML($dom); ?> --EXPECT-- Test 9: Stream Wrapper XPath-Document() foo