Kannan wrote:
<xsl:template match="ATag">
<xsl:call-template name="ReplaceInXMLString">
<xsl:with-param name="theNodeMatch" select="./*"/>
<xsl:with-param name="stringToBeReplaced" select=""'""/>
<xsl:with-param name="replacementString" select=""''""/>
If you want to pass parameters to a named template then that named
template should have xsl:param declarations e.g.
<xsl:template name="ReplaceInXMLString">
<xsl:param name="theTagMatch"/>
<xsl:param name="stringToBeReplaced"/>
<xsl:param name="replacementString"/>
You can also define default values e.g.
<xsl:param name="stringToBeReplaced" select=""'""/>
--
Martin Honnen
http://JavaScript.FAQTs.com/
--~------------------------------------------------------------------
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>
--~--