This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Enumerating template matches


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]