Unable to access a node from outer for-each loop inside inner for-loop
Hi,
I am trying to access a node from outer for-each loop inside condition of inner for-loop. In XML structure, these two(LINE and LINE_LOCATION) are from two different blocks. I am not able to access the node from the outer loop. There is LINE_NUM attribute inside LINE, which I need to get inside LINE_LOCATION loop to compare with the LINE_NUM attribute inside LINE_LOCATION. Please see attached structure, and let me know if you can help with this.
<?for-each:/MODIFICATION/LINES/CHANGED_LINES/LINE?>
<?for-each:/MODIFICATION/LINE_LOCATIONS/CHANGED_LINE_LOCATIONS/LINE_LOCATION[LINE_NUM={Replace with LINE_NUM from the LINE of outer loop}]?>