[PATCH 2/2] A hook for DM4 XML import

Miika Turkia miika.turkia at gmail.com
Sun Apr 21 21:02:48 PDT 2013


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 at gmail.com>
---
 parse-xml.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/parse-xml.c b/parse-xml.c
index d72ad73..f850e9d 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" },
-- 
1.7.9.5



More information about the subsurface mailing list