aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xslt/subsurfacecsv.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/subsurfacecsv.xslt b/xslt/subsurfacecsv.xslt
index d428b2524..0d3a32425 100644
--- a/xslt/subsurfacecsv.xslt
+++ b/xslt/subsurfacecsv.xslt
@@ -19,7 +19,7 @@
<xsl:template match="/">
<xsl:variable name="cylinders">
<xsl:call-template name="countCylinders">
- <xsl:with-param name="line" select="substring-before(substring-after(//SubsurfaceCSV, $lf), $lf)"/>
+ <xsl:with-param name="line" select="substring-before(//SubsurfaceCSV, $lf)"/>
<xsl:with-param name="count" select="'0'"/>
<xsl:with-param name="index" select="'10'"/>
</xsl:call-template>