Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

String concatenation in OSB :(

890740May 10 2012 — edited May 10 2012
Hi all,

I have a requirement where I need to extract the values of one element and concat all the values seperated with ',' (comma). For example.

<Root>
<Value>1</Value>
<Value>2</Value>
<Value>3</Value>
<Value>4</Value>
</Root>

I need to get the values of <Value> tag in a comma separated string something similar to this

<Root>
<Value>1,2,3,4</Value>
</Root>

I used for-each loop in OSB tried replacing the value by concating its value with ','. But I end up in having only the last value of the <Value> tag with ',' like

<Root><Value>4,</Value><Root>

How do I get the values of remaining tags. :( I am really in need of help and donno what to do. Kindly help me in getting this solved.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2012
Added on May 10 2012
2 comments
1,817 views