[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl variables
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|