diff options
Diffstat (limited to 'xslt/shearwater.xslt')
-rw-r--r-- | xslt/shearwater.xslt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xslt/shearwater.xslt b/xslt/shearwater.xslt index cd467557a..074c2ebde 100644 --- a/xslt/shearwater.xslt +++ b/xslt/shearwater.xslt @@ -148,6 +148,11 @@ </xsl:choose> </xsl:attribute> </xsl:if> + <xsl:if test="tank0pressurePSI != '' and tank0pressurePSI > 0 and tank0pressurePSI < 4092"> + <xsl:attribute name="pressure"> + <xsl:value-of select="concat(format-number((tank0pressurePSI div 14.5037738007), '#.##'), ' bar')"/> + </xsl:attribute> + </xsl:if> </sample> </xsl:for-each> </divecomputer> |