aboutsummaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2013-04-22 07:02:48 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-23 20:48:09 -0700
commit17c4120143dc946133bf602efb1d26844b750aaf (patch)
treebd9e60f363ecc049d4780c76353182318cce6b85 /parse-xml.c
parent68cf4f742e42323108d89eb3daab90a41d48ae21 (diff)
downloadsubsurface-17c4120143dc946133bf602efb1d26844b750aaf.tar.gz
A hook for DM4 XML import
This will take the DM4 XSLT into use. In the future it is quite likely that we will have to start using something more specific on top of the root element name to identify dive log formats. But as "Dive" is currently a unique root element name for us, this suffices for now. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 4701a173a..8cf2b0c2a 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1891,6 +1891,7 @@ static struct xslt_files {
const char *file;
} xslt_files[] = {
{ "SUUNTO", "SuuntoSDM.xslt" },
+ { "Dive", "SuuntoDM4.xslt" },
{ "JDiveLog", "jdivelog2subsurface.xslt" },
{ "dives", "MacDive.xslt" },
{ "DIVELOGSDATA", "divelogs.xslt" },