Skip to content
Snippets Groups Projects
Commit 9325e2c3 authored by Jettka, Daniel's avatar Jettka, Daniel
Browse files

added variable file-ref

parent 2abc4c82
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,10 @@
<!-- Templates -->
<xsl:template match="/">
<xsl:for-each select="distinct-values($wmatrix-utterances//*:u/@file-ref)">
<xsl:variable name="file-ref" select="." as="xs:string"/>
<!-- overwrite the document -->
<xsl:for-each select="document(.)">
<xsl:result-document href="{.}">
<xsl:for-each select="document($file-ref)">
<xsl:result-document href="{$file-ref}">
<xsl:apply-templates/>
</xsl:result-document>
</xsl:for-each>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment