Subject: RE: apply templates with with-param on Xalan
From: Oliver Becker <obecker@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Jul 2000 16:13:14 +0200 (MET DST)
|
> You've provided no
> explicit template for the root node, so the built-in template gets called.
> The built-in template does a call on <xsl:apply-templates/> for its
> children, i.e. for the <list> element, but without supplying any parameters.
> So your match="list" template rule gets called without parameters.
Maybe a feature for XSLT 1.1?
If the default templates preserve the mode, why shouldn't they also pass
any parameters on?
Is there any intention behind this behaviour or is it just a forgotten
feature?
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|