Subject: Re: [xsl] referring to previous elements From: Senthilkumar Arunachalam <senthilkumar.arunachalam@xxxxxxxxxxxxxxx> Date: Thu, 06 Sep 2001 13:00:46 +0530 |
fine. In the given XML , <xsl:for-each match="action"> <xsl:if test="current adq = previous adq"> <tr>table row</tr> </xsl:if> <tr> table row </tr> </xsl:for-each> I just want to do the above. i have to do a check between the current adq and the previous adq and if they are same print the table row. If this is not yet clear kindly let me know. Thanks, Senthil. Jarno.Elovirta@xxxxxxxxx wrote: > > But i need this to be done more generic and not only for adq1 > > and adq2. > > i need to do this for all the current element and previous elements. > > > > like "adq[n] and adq[n-1]". > > I'm not sure exactly what you want here, so could you give desired output to > for the source in you last post. > > Jarno > > 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] referring to previous ele, Jarno . Elovirta | Thread | RE: [xsl] referring to previous ele, Jarno . Elovirta |
RE: [xsl] IE browsers, Rosa I-Ting Cheng | Date | Re: [xsl] getting multiple values, Francis Norton |
Month |