My source structure is
Here the cardinality goes like this
My requirement is if field a's value is "const" I need to have <access> node in my target struct as many times as <type>. I tried mapping <type> to <access>
I used a 'if with out else' to map <tval>. The mapping is like
condition part of 'if with out else' --> check <a> equals "const"
then part 'if with out else'--> <val1>
Result part of 'if with out else' --> <tval>
The problem here is, <access> node is created as many times as <type> but <tval> is created only for the first <access> node.
Can you help me out.... This is a bit urgent.. Pls do reply...
Thanks & Regards,