Please find the rule in the attached screenshot to check the duplicate entry of EmpSSN and ElectionCode repeats in more than one record in a source file. Then, there will be no duplicacy and only one unique record will be picked up from the source file.
These two axis functions worked as defined below:
- Preceding: Selects all nodes that appear before the current node in the document, except ancestors, attribute nodes and namespace nodes.
- Following: Selects everything in the document after the closing tag of the current node.