| Deepak 2005-02-16, 5:50 pm |
| See my answers in Captials Inline.
Deepak
http://deepakl.blogspot.com
>-----Original Message-----
>Hello,
>
>My problem is the following. I have a message with
several repeating
>elements, as follows:
>
><elementslist>
> <customers maxOccurs=unbounded>
> <name></name>
> <address></address>
> .
> .
> </customers>
></elementslist>
>
>where customers can appear an unbounded number of times
within the message.
>If the number of letters in address is higher than some
value I don't map
>this record (this customers-record) into the outgoing
message.
>
>I am stuck on two problems:
>1. How can I access the "address" field within my
orchestration, I cannot
>promote it because it can appear several times.
USE THE XPATH FUNCTION TO ACCESS IT
>2. How can I skip some "customers" records from the
ingoing message to the
>outgoing message. Should this be done with a map?
>
I WOULD THINK MAP WOULD BE THE SIMPLEST WAY TO ACHIEVE
THIS.
>Any ideas?
>.
>
|