summaryrefslogtreecommitdiffstats
path: root/xslt/DivingLog.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/DivingLog.xslt')
-rw-r--r--xslt/DivingLog.xslt9
1 files changed, 8 insertions, 1 deletions
diff --git a/xslt/DivingLog.xslt b/xslt/DivingLog.xslt
index ced6a4e80..9c17f2c74 100644
--- a/xslt/DivingLog.xslt
+++ b/xslt/DivingLog.xslt
@@ -148,6 +148,13 @@
<xsl:value-of select="Comments"/>
</notes>
+ <divecomputer>
+ <xsl:if test="Computer != ''">
+ <xsl:attribute name="model">
+ <xsl:value-of select="Computer"/>
+ </xsl:attribute>
+ </xsl:if>
+
<xsl:for-each select="Profile/P">
<sample>
<xsl:attribute name="time">
@@ -179,7 +186,7 @@
</sample>
</xsl:for-each>
-
+ </divecomputer>
</dive>