summaryrefslogtreecommitdiffstats
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-22 09:07:04 -0700
commitcc1d661881207eece75def787dc2e9cc014eb6bb (patch)
tree4e811596b7ebfcee5394d3fd55922d5409480b9b /parse-xml.c
parentcfa36448a110e81c42a332987c413a2ddf847ad7 (diff)
downloadsubsurface-cc1d661881207eece75def787dc2e9cc014eb6bb.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 d72ad73e2..f850e9d4a 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1915,6 +1915,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" },