Subject: RE: xsl variables From: Marco.Mistroni@xxxxxxxxx Date: Thu, 16 Sep 1999 08:58:30 +0300 |
Hi, a suggestion could be, that you declare the variable 'index' as param variable, and you do the loop in an external program...then you just use the instruction setStylesheetParam(index, new value of the variable)... but what you would like to do is not clear to me.... anyway, what i said is a possible way that you can use best regards marco > -----Original Message----- > From: EXT emunioz@xxxxxxxxx [mailto:emunioz@xxxxxxxxx] > Sent: 15. September 1999 18:24 > To: xml > Subject: xsl variables > > > Hi everybody: > I´m a new subscribers from Spain, so don´t expect me to speak > English very nice. > I have a trouble with an XSL file where I would like to define a > variable and increase it to reference different repetitions in an EDI > document. > That´s the way I have defined my variable "index" but I can´t get to > initialize it with > 1 and I don´t know how I could increase it. I need to > reference it into > square brackets > like in the example, but it doesn´t work. > > <xsl:variable name="index" expr="1"/> > <xsl:for-each select="//NAD2[indice]"> > ---increase index---- > > Someone could help me? > Thanks. > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: xsl variables, Kay Michael | Thread | Old vs. New and LotusXSL, Jon Wynacht |
Differences in specifying variable , Miloslav Nic | Date | Preliminary XSL stylesheet for XHTM, James Tauber |
Month |