XML to DDL ========== This is a set of programs to create a database schema (structure) from an XML representation of the database. There are 4 tools available: xml2ddl --dbms diffxml2ddl --dbms [] xml2html [-f ] downloadXml --dbms --database --user --pass can (currently) be one of: postgres, postgres7, mysql, oracle, or firebird xml2ddl outputs the SQL (aka DDL) statements to standard output. diffxml2ddl does the same but only the changes required to bring up-to-date with xml2html creates one (currently) HTML file representation of the schema. downloadXml.py Queries the server database and outputs it's resulting XML schema. Requires psycopg, MySQLdb or kinterbasdb. More info available at index.html in the subdirectory doc. Install ------- # python setup.py install or # easy_install.py xml2ddl Prerequesites ------------- Requires Python 2.3 or greater Tested with: - PostgreSQL version 7.3.4 - PostgreSQL version 8.0.3 - MySQL version 5.0.1-alpha-nt - Firebird version 1.5.1 License ------- GNU GPL http://www.gnu.org/copyleft/gpl.html