cancel
Showing results for 
Search instead for 
Did you mean: 

Graphical mapping

Former Member
0 Kudos
30

Hi Experts,

please suggest me..

my requirement is like..

if (Root.item.subitem.a == null) Root.item.subitem.a = Root.Head.a;

if (Root.item.subitem.a != null) Root.item.subitem.a = Root.item.subitem.a

var bb = 'hai';

if (Root.Item.subitem.a =='gg') bb = 'bye';

return bb;

Please suggest..

Accepted Solutions (0)

Answers (1)

Answers (1)

justin_santhanam
Active Contributor
0 Kudos

Suresh,

Could you plz provide the source structure so that it will be easy for us to suggest.

raj.

Former Member
0 Kudos

Raj,

my source str looks like this....

<root>

--<header>

-


-


a

-


<item>

-


-


<subitem>

-


-


a

</subitem>

</item>

</header>

</root>

Thanks.

justin_santhanam
Active Contributor
0 Kudos

Suresh,

Now tell me what u want to achieve? I couldn't get the logic from ur code. Please explain in words.

Suresh did u get it solved?

raj.

Edited by: Raj on Feb 7, 2008 3:26 PM