RosettaCodeData/Task/Function-definition/XSLT/function-definition.xslt
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

10 lines
331 B
HTML

<xsl:template name="product">
<xsl:param name="a" select="2"/>
<xsl:param name="b" select="3"/>
<fo:block>product = <xsl:value-of select="$a * $b"/></fo:block>
</xsl:template>
<xsl:call-template name="product">
<xsl:with-param name="a">4</xsl:with-param>
<xsl:with-param name="b">5</xsl:with-param>
</xsl:call-template>