mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Include cylinder pressures on export when they exist
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
2b484316e4
commit
2e340d3a61
1 changed files with 4 additions and 4 deletions
|
@ -360,11 +360,11 @@
|
||||||
<xsl:value-of select="substring-before(@start, ' ') * 100000"/>
|
<xsl:value-of select="substring-before(@start, ' ') * 100000"/>
|
||||||
</tankpressurebegin>
|
</tankpressurebegin>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:when test="../divecomputer[1]/sample[@pressure]/@pressure[1]">
|
||||||
<tankpressurebegin>
|
<tankpressurebegin>
|
||||||
<xsl:value-of select="substring-before(../divecomputer[1]/sample[@pressure]/@pressure[1], ' ') * 100000"/>
|
<xsl:value-of select="substring-before(../divecomputer[1]/sample[@pressure]/@pressure[1], ' ') * 100000"/>
|
||||||
</tankpressurebegin>
|
</tankpressurebegin>
|
||||||
</xsl:otherwise>
|
</xsl:when>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
|
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
|
@ -373,11 +373,11 @@
|
||||||
<xsl:value-of select="substring-before(@end, ' ') * 100000"/>
|
<xsl:value-of select="substring-before(@end, ' ') * 100000"/>
|
||||||
</tankpressureend>
|
</tankpressureend>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:when test="../divecomputer[1]/sample[@pressure][last()]/@pressure[1]">
|
||||||
<tankpressureend>
|
<tankpressureend>
|
||||||
<xsl:value-of select="substring-before(../divecomputer[1]/sample[@pressure][last()]/@pressure[1], ' ') * 100000"/>
|
<xsl:value-of select="substring-before(../divecomputer[1]/sample[@pressure][last()]/@pressure[1], ' ') * 100000"/>
|
||||||
</tankpressureend>
|
</tankpressureend>
|
||||||
</xsl:otherwise>
|
</xsl:when>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
|
|
||||||
</tankdata>
|
</tankdata>
|
||||||
|
|
Loading…
Reference in a new issue