Add second CSV export with dive details

This is intended to export all the details that someone might copy from a
paper logbook. We need a matching import template to make this simple.

This hasn't been well tested, I'm sure it will break when elements and
attributes are missing.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-12-21 17:53:18 -08:00
parent 1ba4137fec
commit 74f5842f0c
5 changed files with 135 additions and 3 deletions

View file

@ -647,6 +647,9 @@ int export_dives_xslt(const char *filename, const bool selected, const char *exp
xmlDoc *transformed;
int res = 0;
if (verbose)
fprintf(stderr, "export_dives_xslt with stylesheet %s\n", export_xslt);
if (!filename)
return report_error("No filename for export");