[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Enumerating template matches


Subject: RE: [xsl] Enumerating template matches
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 1 Feb 2002 19:25:30 -0000

> > 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



Current Thread