I've tried both xalan (2.7.0) and xsltproc (compiled against libxml
20623, libxslt 10115 and libexslt 812) and can't get xsl:with-param
calls to show up in my xsl:param arguments to templates.
Without studying your code in any detail, the most common cause of this
problem is as follows:
Rule A does apply-templates with-param P=5
Rule B gets invoked, but P is not set
cause: A's apply-templates selected a node N for which there is no explicit
template rule. The built-in template rule for N got invoked, and this did
another apply-templates which selected a node that matched rule B. The
built-in template rule (in XSLT 1.0) does *not* pass parameters on, so B is
called with no supplied parameter value for P. (This changes in 2.0)
Michael Kay
http://www.saxonica.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>
--~--