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>
This commit is contained in:
Miika Turkia 2020-05-23 19:41:00 +03:00 committed by Dirk Hohndel
parent 3f54af2ca6
commit e8f97cbc3f

View file

@ -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>