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

transcript stored in variable

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