From 9b4c251ebe348adced6166370bf11eabf22790fd Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 20 Feb 2013 22:15:42 +0530 Subject: [PATCH] Import divelogs.de This XSLT converts divelogs.de logs into Subsurface format. Data that is discarded: weather, water visibility, boat name. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- parse-xml.c | 1 + xslt/divelogs.xslt | 135 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 xslt/divelogs.xslt diff --git a/parse-xml.c b/parse-xml.c index 5ae27c811..2f35a4fbe 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1531,6 +1531,7 @@ static struct xslt_files { { "SUUNTO", "SuuntoSDM.xslt" }, { "JDiveLog", "jdivelog2subsurface.xslt" }, { "dives", "MacDive.xslt" }, + { "DIVELOGSDATA", "divelogs.xslt" }, { NULL, } }; diff --git a/xslt/divelogs.xslt b/xslt/divelogs.xslt new file mode 100644 index 000000000..f010c8485 --- /dev/null +++ b/xslt/divelogs.xslt @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +