diff options
Diffstat (limited to 'xslt/MacDive.xslt')
-rw-r--r-- | xslt/MacDive.xslt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xslt/MacDive.xslt b/xslt/MacDive.xslt index 59b05c3fe..2f2c84c85 100644 --- a/xslt/MacDive.xslt +++ b/xslt/MacDive.xslt @@ -529,22 +529,6 @@ </xsl:template> <!-- end convert time --> - <!-- convert depth to meters --> - <xsl:template name="depthConvert"> - <xsl:param name="depth"/> - <xsl:param name="units"/> - - <xsl:choose> - <xsl:when test="$units = 'Imperial'"> - <xsl:value-of select="concat(format-number(($depth * 0.3048), '#.##'), ' m')"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="concat($depth, ' m')"/> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - <!-- end convert depth --> - <!-- convert weight to kg --> <xsl:template name="weightConvert"> <xsl:param name="weight"/> |