If the cylinder size seems to be in the form of ALxx, LPxx, or HPxx use that as cylinder description.
Signed-off-by: Miika Turkia <[email protected]> --- xslt/subsurfacecsv.xslt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xslt/subsurfacecsv.xslt b/xslt/subsurfacecsv.xslt index 072dda2..3afbd03 100644 --- a/xslt/subsurfacecsv.xslt +++ b/xslt/subsurfacecsv.xslt @@ -241,6 +241,11 @@ </xsl:choose> </xsl:attribute> </xsl:if> + <xsl:if test="substring($size, 1, 2) = 'AL' or substring($size, 1, 2) = 'LP' or substring($size, 1, 2) = 'HP'"> + <xsl:attribute name="description"> + <xsl:value-of select="$size"/> + </xsl:attribute> + </xsl:if> <xsl:if test="$start != ''"> <xsl:attribute name="start"> <xsl:choose> -- 1.9.1 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
