Skip to Content
0
Former Member
Dec 03, 2008 at 03:37 PM

Is it possible to know how many child elements does a node have..??

24 Views

Hi,

my source structure is like this.

>mt_root

>NODE_emp(0..n)

>name(0..n)

>id(0..n)

>city(0..n)

>NODE_company(0..n)

>name(0..n)

>location(0..n)

>reg.no(0..n)

My Requirment is like this

i would like to send the count of child elements which exists(as they are 0..n) under each node to the target field.

i.e, if i map NODE_emp, if all the elements are coming in the source payload then it should return "3"

Suggest me

Thanks inadvance