--TEST-- Test 9: Stream Wrapper XPath-Document() --SKIPIF-- --FILE-- load(dirname(__FILE__)."/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