XMLtoPSQL

This script is used to convert XML files to a series of Postgres COPY commands.

The resulting file may be loaded into a postgres database.

The program has been used on Linux without problems. Other platforms should work but are untested.

This program uses the SAX XML parser which should be included in most distributions.

Usage:

XMLtoPSQL  FILENAME.xml

Output:

FILENAME.sql - a series of COPY commands.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License