xsd2pgschema is a Java application suite, which converts XML Schema 1.1 to PostgreSQL DDL and supports XML data migration into PostgreSQL based on the XML Schema without defects on information content. It also supports full text search via either Apache Lucene or Sphinx Search. File convesion from XML to CSV or JSON is available as well as mapping XML Schema to JSON Schema. Obtained PostgreSQL database can be optimized at user's discletion. Moreover, XPath addressing and document order preservation are possible by option.

Build from source code

% git clone git://git.code.sf.net/p/xsd2pgschema/code xsd2pgschema-code
% cd xsd2pgschema-code
% mvn package

SCM site in software development

  1. SourceForge - xsd2pgschema
  2. Maven Repository - xsd2pgschema