on 08-31-2006 10:20 PM
Hi,
What do I do if I need to duplicate the source tag?
For example Left occurs 0 thru 4, however system will always pass two occurrences, say,
Left(0) = 100
Left(1) = 200
I need to map these to different fields in the target for example..
Rightfirst = 100
Rightsomeotherfield = 200
If I right click on the source tag, I cannot duplicate subtree to do the mapping. Any ideas?
Hi,
You will need to use an user-function, with the context of Left as input. In the user-function you can send the specific occurance of Left as output.
In the user-function, Left is an array.
Example:
result.addValue(Left[0]); // to send the 1st value
or
result.addValue(Left[1]); // to send the 2nd value
Then, assign the the output of the user-function to Rightfirst, or Rightsomeotherfield.
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This you can do while testing, provided your Source Element occurence is 0..n or 1..n.
While design time, it is not required to duplicate the nodes, if you want to repeat the source node in the target strcuture for the different values..
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.