on 05-05-2005 11:47 AM
Hello,
I need some help for a message mapping.
In the source message is one element named options.
The value of this field is semicolon and bracket/comma separated value. e.g. skip;ignore;retry(1,2,3).
Each one of the semicolon separated values should be a own element in the target message. If one option has values in the brackets, this options should get some child's. For example:
<options>skip;ignore;retry(1,2,3)</options>
should be
<options>
<option value='skip'/>
<option value='ignore'/>
<option value='retry'>
<choices>
<choice>1</choice>
<choice>2</choice>
<choice>3</choice>
<choices>
</option>
</options>
Is it possible, to produce such message with the message editor?
Thanks and regards,
Daniel
Hi,
Yes, it is possible.
Advanced user-function will be required. You will need to do context manipulations to achieve this.
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the exact same problem. Here is a weblog on how to solve it:
/people/harrison.holland5/blog/2006/12/08/mapping-context-changes-in-xi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dan, I was searching for examples to help with a similar issue and found this blog. The responses in the blog indicate that it is possible to map your example, but would require user defined functions. However, the responses did not give any examples. Do you by chance have an example solution that I could review.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Yes, its possible to produce such a message.But Have you defined message interface for the target structure described in your post?
You may need to write some user-defined functions / use susbstring operation to achieve what you need.
Regards,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.