]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Suunto SDE conversion: add boat name to notes if it exists
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 May 2012 19:28:40 +0000 (12:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 May 2012 19:28:40 +0000 (12:28 -0700)
This is, I think, the last piece of relevant information that I can find
in Szymon's SDE file.

Which is not to mean that we get all the conversions right, or that we
handle the more complex cases (still no multi-cylinder import, for
example). But it should be much better than it used to be.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
xslt/SuuntoSDM.xslt

index ed130ae2c79d025b7c9d558e6c00c7a9077038f9..08da67908ab6f649f265833763133e38fc3b3f46 100644 (file)
@@ -80,6 +80,9 @@
       <xsl:if test="WATERVISIBILITYDESC != ''">
         Visibility: <xsl:value-of select="WATERVISIBILITYDESC" />
       </xsl:if>
+      <xsl:if test="BOATNAME != ''">
+        Boat name: <xsl:value-of select="BOATNAME" />
+      </xsl:if>
       </notes>
 
 <!-- FIXME: add support for multiple cylinders, need sample data -->