Subject: RE: [xsl] Incrementing a Variable From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Fri, 11 May 2001 10:06:00 +0100 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Incrementing a Variable, David Carlisle | Thread | RE: [xsl] Incrementing a Variable, Jon Wynacht |
RE: [xsl] UTF-8 Output, Michael Kay | Date | Re: [xsl] Looping over characters i, David Carlisle |
Month |