mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add support for importing NDL from CSV files
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
848a5352c7
commit
d5991800ee
6 changed files with 53 additions and 12 deletions
|
@ -8,6 +8,7 @@
|
|||
<xsl:param name="po2Field" select="po2Field"/>
|
||||
<xsl:param name="cnsField" select="cnsField"/>
|
||||
<xsl:param name="otuField" select="otuField"/>
|
||||
<xsl:param name="ndlField" select="ndlField"/>
|
||||
<xsl:param name="stopdepthField" select="stopdepthField"/>
|
||||
<xsl:param name="date" select="date"/>
|
||||
<xsl:param name="time" select="time"/>
|
||||
|
@ -177,6 +178,15 @@
|
|||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$ndlField >= 0">
|
||||
<xsl:attribute name="ndl">
|
||||
<xsl:call-template name="getFieldByIndex">
|
||||
<xsl:with-param name="index" select="$ndlField"/>
|
||||
<xsl:with-param name="line" select="$line"/>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:if test="$stopdepthField >= 0">
|
||||
<xsl:variable name="stopdepth">
|
||||
<xsl:call-template name="getFieldByIndex">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue