diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-12-31 22:09:36 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-31 12:12:53 -0800 |
commit | 205c893fc3e512b4cce6470581c2fd886ba3ac07 (patch) | |
tree | 4f4882c17b198baacd1b496d1ce523ddbe1b7581 /xslt/subsurfacecsv.xslt | |
parent | 48019a73d55a4493e8eb47383cda12c5f9054039 (diff) | |
download | subsurface-205c893fc3e512b4cce6470581c2fd886ba3ac07.tar.gz |
Include cylinder description for imperial import
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 <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/subsurfacecsv.xslt')
-rw-r--r-- | xslt/subsurfacecsv.xslt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xslt/subsurfacecsv.xslt b/xslt/subsurfacecsv.xslt index 072dda23e..3afbd0341 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> |