diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-12-26 16:11:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-26 08:41:08 -0800 |
commit | 4cf0f77d8ac6b9286a71320cd4dd17b82fc2a16a (patch) | |
tree | e17e4d0d576c0bd44dbb0b7307cb9dd8500258fa /xslt | |
parent | ac72bcfa00cd385f4c64b4c562008a9fd6b9f2cf (diff) | |
download | subsurface-4cf0f77d8ac6b9286a71320cd4dd17b82fc2a16a.tar.gz |
Save info only from first cylinder on CSV export
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/xml2manualcsv.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/xml2manualcsv.xslt b/xslt/xml2manualcsv.xslt index b549e953a..bf7fb300f 100644 --- a/xslt/xml2manualcsv.xslt +++ b/xslt/xml2manualcsv.xslt @@ -38,8 +38,8 @@ </xsl:otherwise> </xsl:choose> <xsl:choose> - <xsl:when test="cylinder/@start|cylinder/@end != ''"> - <xsl:apply-templates select="cylinder"/> + <xsl:when test="cylinder[1]/@start|cylinder[1]/@end != ''"> + <xsl:apply-templates select="cylinder[1]"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$fs"/> |