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]

RE: Incrementing a Variable


> I loop through the <AvailableField> elements and for each one
> I do some
> nifty HTML and I give that particular element I'm working on
> a number using
> position() - 1 so the number always starts with 0. Each time
> I'm inside the
> <AvailableField> element, I need to step out and check the
> <complexQueryField> elements, compare their id with the Id in
> <AvailableField> and if they match, do some nifty HTML and
> increment my
> counter.

Why do you need to increment your counter? The value of position() is
incremented automatically.

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]