XSLT
Dirk Hohndel
dirk at hohndel.org
Tue Feb 26 11:19:28 PST 2013
Miika,
as I warned you... I'm trying to understand the XSLT code. The best way
to do that (I thought) was to try and fix bugs as I encounter them.
PLEASE review this to make sure I didn't do something stupid (I already
pushed it to make reviewing easier)
/D
[...]
diff --git a/xslt/DivingLog.xslt b/xslt/DivingLog.xslt
index 4a6b4d3..ced6a4e 100644
--- a/xslt/DivingLog.xslt
+++ b/xslt/DivingLog.xslt
@@ -47,6 +47,11 @@
<xsl:value-of select="concat(Depth, ' m')"/>
</xsl:attribute>
</xsl:if>
+ <xsl:if test="DepthAvg != ''">
+ <xsl:attribute name="mean">
+ <xsl:value-of select="concat(DepthAvg, ' m')"/>
+ </xsl:attribute>
+ </xsl:if>
</depth>
<location>
More information about the subsurface
mailing list