This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Enumerating template matches
- From: "Joerg Heinicke" <joerg dot heinicke at gmx dot de>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 1 Feb 2002 20:52:39 +0100
- Subject: Re: [xsl] Enumerating template matches
- References: <000501c1ab56$b58da2a0$78fe0250@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
It exists as bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6011
> > > 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