From 61f3114fce0c188b989270a33e476db52b81e810 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 16 Nov 2011 07:12:44 +0200 Subject: [PATCH] XSLT to import SDM dive log This is tested with Linus' sample data, all basic functionality seems to be working properly. Gas changes are implemented but not tested as there was no samples of those. Multiple cylinders are missing because there was no samples available. Signed-off-by: Miika Turkia Signed-off-by: Linus Torvalds --- parse-xml.c | 1 + xslt/SuuntoSDM.xslt | 245 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 246 insertions(+) create mode 100644 xslt/SuuntoSDM.xslt diff --git a/parse-xml.c b/parse-xml.c index 38be728..64d79e0 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1536,6 +1536,7 @@ static struct xslt_files { const char *root; const char *file; } xslt_files[] = { + { "SUUNTO", "SuuntoSDM.xslt" }, { "JDiveLog", "jdivelog2subsurface.xslt" }, { NULL, } }; diff --git a/xslt/SuuntoSDM.xslt b/xslt/SuuntoSDM.xslt new file mode 100644 index 0000000..45c1512 --- /dev/null +++ b/xslt/SuuntoSDM.xslt @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 21.0% + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.43.0