View Single Post
  #2 (permalink)  
Old May 7th, 2020, 01:26 PM
ritagr ritagr is offline
Authorized User
Points: 323, Level: 6
Points: 323, Level: 6 Points: 323, Level: 6 Points: 323, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2010
Posts: 61
Thanks: 12
Thanked 0 Times in 0 Posts
Default Determine If Previous Element Matches Current Element

The following line of code allowed me to get the results I needed:
Code:
<xsl:if test="$varRCCODEMatch=following::*/RCCODE and not($varRCDATARC=ancestor::*/preceding::*/RC)">