diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2020-05-23 19:41:00 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-26 11:33:10 -0700 |
commit | e8f97cbc3f6d16bd3bb2688d5b6086383d2bfaf7 (patch) | |
tree | 32ed786e3f1fa18c41ee3b4d3f1c20b012a7f1f1 /xslt/subsurfacecsv.xslt | |
parent | 3f54af2ca6c0d728b60d5ae757d761c03192bcac (diff) | |
download | subsurface-e8f97cbc3f6d16bd3bb2688d5b6086383d2bfaf7.tar.gz |
XML start tag does not have new line before header
When Subsurface adds start tag to CSV file, there is no new line after
it. Thus changing XSLT to parse this way.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt/subsurfacecsv.xslt')
-rw-r--r-- | xslt/subsurfacecsv.xslt | 2 |
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> |