diff options
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/divelogs-export.xslt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt index 7877c148f..b97b5fbcc 100644 --- a/xslt/divelogs-export.xslt +++ b/xslt/divelogs-export.xslt @@ -114,6 +114,11 @@ </xsl:otherwise> </xsl:choose> </CYLINDERENDPRESSURE> + <xsl:if test="cylinder[position() = $cylinder]/@workpressure != ''"> + <WORKINGPRESSURE> + <xsl:value-of select="substring-before(cylinder[position() = $cylinder]/@workpressure, ' ')"/> + </WORKINGPRESSURE> + </xsl:if> <ADDITIONALTANKS> <xsl:for-each select="cylinder[position() != $cylinder]"> @@ -159,6 +164,11 @@ <CYLINDERENDPRESSURE> <xsl:value-of select="@end"/> </CYLINDERENDPRESSURE> + <xsl:if test="@workpressure != ''"> + <WORKINGPRESSURE> + <xsl:value-of select="substring-before(@workpressure, ' ')"/> + </WORKINGPRESSURE> + </xsl:if> <O2PCT> <xsl:value-of select="substring-before(@o2, '%')"/> </O2PCT> |