diff options
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/uddf-export.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index e82b29df6..3ab59e705 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -197,7 +197,7 @@ <xsl:variable name="timefirst"> <xsl:call-template name="time2sec"> <xsl:with-param name="time"> - <xsl:value-of select="//sample[position() = $position]/@time"/> + <xsl:value-of select="../sample[position() = $position]/@time"/> </xsl:with-param> </xsl:call-template> </xsl:variable> @@ -225,7 +225,7 @@ <xsl:variable name="depthfirst"> <xsl:call-template name="depth2mm"> <xsl:with-param name="depth"> - <xsl:value-of select="//sample[position() = $position]/@depth"/> + <xsl:value-of select="../sample[position() = $position]/@depth"/> </xsl:with-param> </xsl:call-template> </xsl:variable> |