Skip to Content
0
Former Member
Sep 30, 2008 at 04:45 PM

Count function.

12 Views

Hi Folks,

I have a quick question for you guys. Can any body help me in my mapping.

My problem is ...

I am having a field in sender structure which can hold values like A, B, and C. I just like to know the count the existance of that perticular field which hold the value "C".

note that this field may exists in multiple contexts and multiple times in each context.

Example below.

<Node>

*****<Node>

***********<Node1>

****************<Field1 - A>

****************<Field1 - B>

****************<Field1 - B>

****************<Field1 - C>

****************<Field1 - C>

****************<Field1 - A>

***********<Node1>

****************<Field1 - A>

****************<Field1 - B>

****************<Field1 - C>

****************<Field1 - C>

****************<Field1 - C>

****************<Field1 - A>

***********<Node1>

****************<Field1 - A>

****************<Field1 - B>

****************<Field1 - A>

****************<Field1 - A>

****************<Field1 - B>

****************<Field1 - A>

If i got the sender structure like this i need the out put as

<Node>

*****<Field1 - 2>

*****<Field1 - 3>

*****<Field1 - 0>

Please let me know any body have inputs.

Regards,

Ramana.