This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Enumerating template matches
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 1 Feb 2002 19:25:30 -0000
- Subject: RE: [xsl] Enumerating template matches
- Reply-to: xsl-list at lists dot mulberrytech dot com
> > I think that's a bug: position() should never by zero.
> Which processor?
>
> Mm.. Xalan-2.2.14. But wouldn't you suspect it to be the parameter
> passing rather than position() as it works when I use call-template
> rather than apply-templates?
>
No, I'd suspect it's the evaluation of position() in an xsl:with-param
enclosed by xsl:apply-templates that's going wrong, because apply-templates
changes position() and call-template doesn't.
But it's not my processor - ask the Xalan folks!
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list