<html lang="de"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body><?php include dirname(__FILE__) . "/class.xmi2db.php"; include dirname(__FILE__) . "/conf/database_conf.php"; // Call the class with the root element of the xmi data $xmi2db = new xmi2db("XMI.content"); if (isset($_REQUEST['file'])) { $xmi2db->setXMIFile($_REQUEST['file']); } else { $xmi2db->setXMIFile("XPlanGML-xmi12-uml14.xml"); } if (isset($_REQUEST['schema'])) { $xmi2db->setSchema($_REQUEST['schema']); } else { $xmi2db->setSchema("xplan_eatest"); } if (isset($_REQUEST['basepackage'])) { $xmi2db->setBasePackage($_REQUEST['basepackage']); } else { $xmi2db->setBasePackage("XPlanGML 4.1"); } // Set (path to) XMI file //$xmi2db->setXMIFile("xplan_short.xml"); //$xmi2db->setXMIFile("XPlanGML-xmi12-uml14.xml"); // Set db schema //$xmi2db->setSchema("xplan_eatest"); // Set base package // Only if you want to iterate through one package, if you want to iterate through all packages, uncomment!