Skip to Content
0
Jan 04, 2006 at 01:19 PM

RemovingContext only for One level(Message Mapping)

13 Views

Hi,

Is it possible to remove context only for one level?

For Eg:If I apply [RemoveContext] function to <Item>

I will get {A1,A2,B1,B2,C1,C2,C3,C4}

<SourceRoot>

<A>

<Item r="a">A1</Item>

<Item r="b">A2</Item>

</A>

<A>

<Item r="a">B1</Item>

<Item r="b">B2</Item>

</A>

<A>

<Item r="a">c1</Item>

<Item r="b">c2</Item>

<Item r="c">c3</Item>

<Item r="d">c4</Item>

</A>

</SourceRoot>

But I need only those coming under a particluar <A> .

Like {B1,B2}.

Any way to do this?

Can anyone help.

Thanks in Advance

Message was edited by: Chemmanz