Skip to Content
0
Former Member
Oct 20, 2006 at 06:44 AM

Mapping Issue - - Part II

44 Views

Hi All,

My source structure is

<root>

<a></a>

<type>

<val1>

</val1>

</type>

<type1>

<val2>

</val2>

</type1>

</root>

Here the cardinality goes like this

<a> 1..1

<type> 1..unbounded

<val1> 1..1

<type1> 1..unbounded

<val2> 1..1

Target structure

<test>

<action>insert</action>

<table>table1</table>

<access>

<tval></tval>

</access>

</test>

Here my requirement is if <b>a</b>'s value is "const" I need to have <b><access></b> node in my target as many times as <b><type></b> and <b><tval></b> must be mapped with <b><val1></b>. If <b>a</b>'s value is "const1" I need to have b]<access></b> node in my target as many times as <b><type1></b> and <b><tval></b> must be mapped with <b><val2></b>. Can this be achieved in graphical mapping???

Thanks & Regards,

Jai Shankar.