Actions
Task #287
closedXML to database conversion script (merged into CSV-XML-database mapping script)
Start date:
11/17/2011
Due date:
% Done:
100%
Estimated time:
Activity type:
Description
Python script to import an XML file into a PostgreSQL database
Updated by Aaron Marcuse-Kubitza about 13 years ago
- % Done changed from 40 to 80
Updated by Aaron Marcuse-Kubitza about 13 years ago
The script is on nimoy at /home/bien_shared/svn/scripts/xml2db
. You can run the demo at /home/bien_shared/svn/scripts/xml2db/test
(which uses a sample VegBank-exported XML file). The XML format is compatible with VegBank XML, so data can easily be imported from VegBank.
Note that the demo doesn't commit changes so that it can be re-run. To commit changes when running xml2db, use env commit=1 xml2db ...
instead.
Future improvements for the script would include supporting VegX-style XML references in addition to the current VegBank-style references.
Updated by Aaron Marcuse-Kubitza almost 13 years ago
- Subject changed from XML to database conversion script to XML to database conversion script (merged into CSV-XML-database mapping script)
- Description updated (diff)
- % Done changed from 80 to 90
Merged into CSV-XML-database mapping script
Updated by Aaron Marcuse-Kubitza almost 13 years ago
- Status changed from New to Resolved
- % Done changed from 90 to 100
Actions