]> src.bluestatic.org Git - isso.git/blob - docs/xmltest.php
Starting to migrate from SimpleTest to PHPUnit.
[isso.git] / docs / xmltest.php
1 <?php
2
3 // test parse an XML file :-)
4 // SVN $Id$
5
6 require_once('../kernel.php');
7 $isso = new ISSO();
8
9 $isso->set('apppath', getcwd());
10 $isso->set('application', 'XML Test');
11 $isso->set('appversion', '$Id$');
12 $isso->set('debug', true);
13 $isso->load('xml', 'xml', true);
14
15 echo '<pre>';
16
17 $xmldata = file_get_contents('./xmltest.xml');
18 print_r($xml->parse($xmldata));
19
20 print_r($xml);
21
22 ?>