Merging back changes from tpl-if-fix branch
[isso.git] / dev / xmltest.php
1 <?php
2
3 // test parse an XML file :-)
4 // SVN $Id$
5
6 require_once('../kernel.php');
7 $isso =& $_isso;
8
9 $isso->apppath = $isso->fetch_sourcepath(getcwd());
10 $isso->sourcepath = $isso->fetch_sourcepath($isso->apppath . '../');
11 $isso->application = 'XML Test';
12 $isso->appversion = '$Id$';
13 $isso->debug = true;
14 $isso->load('xml');
15
16 echo '<pre>';
17
18 $xmldata = file_get_contents('./xmltest.xml');
19 print_r($xml->parse($xmldata));
20
21 print_r($xml);
22
23 ?>