on 08-19-2009 11:16 PM
Hi Guys,
I'm in a bit of a problem. I need to add an Item to a context during mapping. It should look like this:
<Source>
<item></item>
<item></item>
</Source>
-
MAPPING----
<Target>
<item></item>
<item></item>
<item></item>
</Target>
As you can see, I need to create an empty Item on the target MT. How can I do this with message Mapping?
Thanks!
Felipe
Hi,
Use the following UDF
for(int i = 0 ; i <a.length ;i ++){
result.addValue(a<i>);
}
//adding the extra element in the same context
result.addValue("");
Regards
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.