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.
Hi Andres,
If you always have this format then duplicate sub tree should work. Else jose function should work for you.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.