mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 20:03:23 +00:00
Import DC model from SDE file
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
72f59d54cb
commit
f798859178
1 changed files with 10 additions and 4 deletions
|
@ -4,10 +4,16 @@
|
||||||
<xsl:output method="xml" indent="yes" encoding="ASCII"/>
|
<xsl:output method="xml" indent="yes" encoding="ASCII"/>
|
||||||
|
|
||||||
<xsl:template match="/">
|
<xsl:template match="/">
|
||||||
<dives>
|
<divelog program="subsurface-import" version="2">
|
||||||
<program name="subsurface-import" version="1"/>
|
<dives>
|
||||||
<xsl:apply-templates select="/SUUNTO/MSG"/>
|
<divecomputer>
|
||||||
</dives>
|
<xsl:attribute name="model">
|
||||||
|
<xsl:value-of select="concat('Suunto ', /SUUNTO/MSG/DEVICEMODEL)" />
|
||||||
|
</xsl:attribute>
|
||||||
|
</divecomputer>
|
||||||
|
<xsl:apply-templates select="/SUUNTO/MSG"/>
|
||||||
|
</dives>
|
||||||
|
</divelog>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
<xsl:template match="MSG">
|
<xsl:template match="MSG">
|
||||||
|
|
Loading…
Add table
Reference in a new issue