Is it possible to obtain the value of an attribute in the previous row <TR> of a table while looping in xsl?
Here is sample xml:
<rs:data>
<z:row Position=1 LedgerID="619568"/>
<z:row Position=2 LedgerID="649185"/>
<z:row Position=3 LedgerID="619642"/>
</rs:data>
I would like -while in the for loop at position 2- to get the value of @LedgerID from the previous loop.
Can this be done?
Here is sample xml:
<rs:data>
<z:row Position=1 LedgerID="619568"/>
<z:row Position=2 LedgerID="649185"/>
<z:row Position=3 LedgerID="619642"/>
</rs:data>
I would like -while in the for loop at position 2- to get the value of @LedgerID from the previous loop.
Can this be done?