Skip to content

Commit

Permalink
Added variable declarations to fragment_invocation.ftl.
Browse files Browse the repository at this point in the history
  • Loading branch information
rousso committed May 10, 2024
1 parent 6c9e7b2 commit 38eace5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
-->

<xsl:for-each select="${context}">
<#list variables as variable>
<xsl:variable name="${variable[0]}" select = "${variable[1]}" />
</#list>
<xsl:call-template name="${name}">
<#list variables as variable>
<xsl:with-param name="${variable[0]}" select = "${variable[1]}" />
<xsl:with-param name="${variable[0]}" select = "$${variable[0]}" />
</#list>
</xsl:call-template>
</xsl:for-each>

0 comments on commit 38eace5

Please sign in to comment.