Internal structure
Show how Xml2Array stores the file parsed.
<?php /** * test1.php * $Header: d:/cvs/classistd/x2a/doc/ex1.php,v 1.2 2003/12/29 22:01:05 Administrator Exp $ * Test module for CXml2Array * */ require 'CXml2Array.php'; $InName='test.xml'; if(!$TplDom = domxml_open_file(realpath($InName))) trigger_error('Error parsing the file ',E_USER_ERROR); $root = $TplDom->document_element(); $x=new CXml2Array($root); echo '<hr>'; echo 'Dump the array<br>'; $x->ArrayDump(); ?>
Copyright © 2003-2008 Darvin Andrioli, last change 29/12/2003