I am mapping from an IDoc to an XML format, in the Idoc I have a document list say
data (Document List)
data[0] (Document)
name (String)
value (String) = Hello World
data[1]
name
value = This is concat testing
data[2]
name
value = I need help
…
…
data[n]
name
value = Thanks in advance
I need to map them to a target XML format
My requirement is I have to concat all elements (value) found with a space in between each up to 35 characters.
Once that limit is reached start with a new/data element as it can be sent multiple times.
The target xml should be
Hello World This is concat testing I
need help Thanks in advance
Any help is appreciated.
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services