DivingLog import: keep the dive computer name around

We simply set up the model attribute.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-02-26 11:48:13 -08:00
parent 6d69325185
commit 881baafc26

View file

@ -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>