Annotation of embedaddon/php/ext/xsl/tests/prepare.inc, revision 1.1

1.1     ! misho       1: <?php
        !             2: $dom = new domDocument;
        !             3: $dom->load(dirname(__FILE__)."/xslt.xml");
        !             4: if(!$dom) {
        !             5:   echo "Error while parsing the document\n";
        !             6:   exit;
        !             7: }
        !             8: $xsl = new domDocument;
        !             9: $xsl->load(dirname(__FILE__)."/xslt.xsl");
        !            10: if(!$xsl) {
        !            11:   echo "Error while parsing the document\n";
        !            12:   exit;
        !            13: }
        !            14: $proc = new xsltprocessor;
        !            15: if(!$proc) {
        !            16:   echo "Error while making xsltprocessor object\n";
        !            17:   exit;
        !            18: }
        !            19: 
        !            20: ?>

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