Location: PHPKode > scripts > XML DAO Builder > xml-dao-builder/example.php
<?php
   require_once( "table_class.php" );
   
   // loads the xml and build an object representation 
   $tb = new XMLTableExtract();
   $xmltable = $tb->load_xml( $argv[1] );
   
   // with the object representation, builds the php class
   $cm = new XMLClassMaker();
   $cm->build( $xmltable, $argv[2] );
?>
Return current item: XML DAO Builder