[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsL:with-param, xsl:-param emptiness, Xalan and x
> 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|