Annotation of embedaddon/php/ext/xsl/tests/xslt007.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Test 7: Transform To Uri
        !             3: --SKIPIF--
        !             4: <?php require_once dirname(__FILE__) .'/skipif.inc'; ?>
        !             5: --FILE--
        !             6: <?php
        !             7: echo "Test 7: Transform To Uri";
        !             8: include("prepare.inc");
        !             9: $proc->importStylesheet($xsl);
        !            10: print "\n";
        !            11: $doc = $proc->transformToUri($dom, "file://".dirname(__FILE__)."/out.xml");
        !            12: print file_get_contents(dirname(__FILE__)."/out.xml");
        !            13: unlink(dirname(__FILE__)."/out.xml");
        !            14: print "\n";
        !            15: 
        !            16: 
        !            17: --EXPECT--
        !            18: Test 7: Transform To Uri
        !            19: <?xml version="1.0" encoding="iso-8859-1"?>
        !            20: <html><body>bar
        !            21: a1 b1 c1 <br/> 
        !            22: a2 c2 <br/> 
        !            23: ä3 b3 c3 <br/> 
        !            24: </body></html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>