From: Miika Turkia Date: Wed, 16 Nov 2011 05:12:44 +0000 (+0200) Subject: XSLT to import SDM dive log X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=commitdiff_plain;h=61f3114fce0c188b989270a33e476db52b81e810 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 --- 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +