mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Identify converted files as imported
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
473bc91c8a
commit
4297d931a3
7 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<divelog program='subsurface' version='2'>
|
||||
<divelog program='subsurface-import' version='2'>
|
||||
<dives>
|
||||
<xsl:apply-templates select="/Divinglog/Logbook/Dive"/>
|
||||
</dives>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<divelog program='subsurface' version='2'>
|
||||
<divelog program='subsurface-import' version='2'>
|
||||
<settings>
|
||||
<xsl:for-each select="/dives/dive">
|
||||
<divecomputerid deviceid="ffffffff">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<xsl:template match="/">
|
||||
<dives>
|
||||
<program name="subsurface" version="1"/>
|
||||
<program name="subsurface-import" version="1"/>
|
||||
<xsl:apply-templates select="/SUUNTO/MSG"/>
|
||||
</dives>
|
||||
</xsl:template>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<divelog program='subsurface' version='2'>
|
||||
<divelog program='subsurface-import' version='2'>
|
||||
<dives>
|
||||
<xsl:apply-templates select="DIVELOGSDATA"/>
|
||||
</dives>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<xsl:template match="/">
|
||||
<dives>
|
||||
<program name="subsurface" version="1"/>
|
||||
<program name="subsurface-import" version="1"/>
|
||||
<xsl:apply-templates select="/JDiveLog/JDive"/>
|
||||
</dives>
|
||||
</xsl:template>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<divelog program="subsurface" version="2">
|
||||
<divelog program="subsurface-import" version="2">
|
||||
<settings>
|
||||
<divecomputerid deviceid="ffffffff">
|
||||
<xsl:apply-templates select="/PROFILE/DEVICE|/profile/device"/>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<divelog program="subsurface" version="2">
|
||||
<divelog program="subsurface-import" version="2">
|
||||
<settings>
|
||||
<divecomputerid deviceid="ffffffff">
|
||||
<xsl:apply-templates select="/uddf/generator|/u:uddf/u:generator"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue