Skip to Content
Former Member
Oct 19, 2006 at 08:19 PM

Mapping Issue


Hi All,

My source structure is








Here the cardinality goes like this

<a> 1..1

<type> 1..unbounded

<val1> 1..1

Target structure








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,

Jai Shankar.