I couldn't get KeePassX to import my PWManager files natively, so I needed a way to do this in a multi-step fashion (I want to use keepass format so I can have the same password program/database on my computer and G1). The easiest appeared to be:
- Export from pwmanager as CSV
- Custom script to convert from CSV to keepassx XML format
- Import in keepassx
So this "step 2" was the problem.
Currently it's set up to convert the CSV file generated by pwmanager (entered on stdin, xml dumped on stdout). But I created a set of classes that should be easy to use for generating a valid keepassx xml file.