Nic Miloslav
Example 35***
Parameters for a template can be passed with xsl:with-param element. If the template contains a xsl:param element with the same name as name attribute of xsl:with-param, this value is used. Stylesheet 1 shows a typical example. If you want to pass a variable, you have to define this variable with xsl:param element. Look at Stylesheet 2 for wrong approach.