Hi,
I have a source xml message which looks something like this
<doc>
<docid>1</docid>
<docdate>11/15/2005</docdate>
</doc>
<doc>
<docid>2</docid>
<docdate>11/13/2005</docdate>
</doc>
<doc>
<docid>1</docid>
<docdate>11/20/2005</docdate>
</doc>
I have to map this to outgoing schema which is something like this
<doc>
<docdate></docdate>
</doc>
The element docdate should have the minimum of all the dates in the incoming message. The number of times the doc element appears can be zero to unbounded, whereas the occurance of docdate in destination schema is only once
how do I handle this is map? Thanks in advance