summaryrefslogtreecommitdiffstats
path: root/xslt/jdivelog2subsurface.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/jdivelog2subsurface.xslt')
-rw-r--r--xslt/jdivelog2subsurface.xslt21
1 files changed, 15 insertions, 6 deletions
diff --git a/xslt/jdivelog2subsurface.xslt b/xslt/jdivelog2subsurface.xslt
index e2f40c560..6e85cbfbc 100644
--- a/xslt/jdivelog2subsurface.xslt
+++ b/xslt/jdivelog2subsurface.xslt
@@ -64,6 +64,21 @@
</buddy>
</xsl:if>
+ <xsl:if test="Equipment/Suit != ''">
+ <suit>
+ <xsl:value-of select="Equipment/Suit"/>
+ </suit>
+ <xsl:value-of select="Equipment/Suit"/>
+ </xsl:if>
+
+ <xsl:if test="Equipment/Weight != ''">
+ <weightsystem>
+ <xsl:attribute name="weight">
+ <xsl:value-of select="Equipment/Weight"/>
+ </xsl:attribute>
+ </weightsystem>
+ </xsl:if>
+
<notes>
<xsl:if test="DiveActivity != ''">
Diveactivity: <xsl:value-of select="DiveActivity"/>
@@ -74,15 +89,9 @@ Divetype: <xsl:value-of select="DiveType"/>
<xsl:if test="Equipment/Visibility != ''">
Visibility: <xsl:value-of select="Equipment/Visibility"/>
</xsl:if>
- <xsl:if test="Equipment/Suit != ''">
-Suit: <xsl:value-of select="Equipment/Suit"/>
- </xsl:if>
<xsl:if test="Equipment/Gloves != ''">
Gloves: <xsl:value-of select="Equipment/Gloves"/>
</xsl:if>
- <xsl:if test="Equipment/Weight != ''">
-Weight: <xsl:value-of select="Equipment/Weight"/>
- </xsl:if>
<xsl:if test="Comment != ''">
Comment: <xsl:value-of select="Comment"/>
</xsl:if>