Skip to Content
0
Former Member
Jul 31, 2006 at 07:52 AM

Manipulating node elements in a user defined function

25 Views

Hi All,

I have a secnario like this:

Source Message

-


<address>

<line1>Line 1</line1>

<line2>Line 2</line2>

<line3>Line 3</line3>

</address>

-


Target Message

-


<address>Line1, Line2, Line3</address>

-


I want a mapping like as follows:

<address> --->concatenateAddresses ---> <address>

How can I access the individual lines from the source <address> element and concatenate them and pass to the target <address> element?

Is this possible?

Many Thanks,

Sandeep