| 
 
Subject: [xsl] referring to previous elements From: Senthilkumar Arunachalam <senthilkumar.arunachalam@xxxxxxxxxxxxxxx> Date: Thu, 06 Sep 2001 12:05:16 +0530  | 
Hello,
   In the following XML , i would like to have the value of the previous
element in a "xsl:variable".can anybody give me a solution.
<durs>
    <actions>
        <action>
            <adq>ADQ1</adq>
            <subadq>SADQ1</subadq>
        </action>
        <action>
            <adq>ADQ2</adq>
            <subadq>SADQ2</subadq>
        </action>
        <action>
            <adq>ADQ3</adq>
            <subadq> SADQ3</subadq>
        </action>
    </actions>
</durs>
In the above XML, i would like to do a test whether "ADQ1 != ADQ2".
How can this be done using XSL.i tried using xsl:variable, but couldn't
achieve.
Regards,
Senthil.
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Variance between XSLT eng, Michael Kay | Thread | RE: [xsl] referring to previous ele, Michael Kay | 
| RE: [xsl] Generating a PDF from XML, Chris Bayes | Date | RE: [xsl] referring to previous ele, Jarno . Elovirta | 
| Month |