Wolfgang Laun <wolfgang(_dot_)laun(_at_)gmail(_dot_)com> writes:
A parameter is only applicable to a named template, and
<xsl:with-param> is used with the call, not the definition.
No. You can also use <xsl:with-param> within <xsl:apply-templates>, e.g.
<xsl:apply-templates select="*">
<xsl:with-param name="foo" select="'bar'" as="xs:string"/>
</xsl:apply-templates>
But that is needed very seldom, I think. It's more often used in named
templates, e.g.
<xsl:call-template name="baz">
<xsl:with-param name="foo" select="'bar'" as="xs:string"/>
</xsl:call-template>
You aren't using the "parameter" anyway, so omit it.
+1
Kind regards...
Susanne
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--