I have a requirement where the source has occurence 0 to 4 where as the target has occurence 1 to 1 .
Let the source segment be S where the child elements for S are S1 and S2 .
S1 takes the values 1 , 2 & 3 .
S2 takes the values X , Y & Z .
I need to map S2 to target field T1 if and only if S1 has the value "2" .
How can we achieve this ? I tried using the node functions but couldn't achive as i want the 2nd value of S2 from the given set of values ( X , Y & Z ) .
Please help me out in this issue.
Thanks in advance .