Biztalk 2010 を使用すると、次の構造の着信メッセージがあります。
<xml><blocks>
<block id="level">
<message id="code">100</message>
<message id="description">Some description</message>
</block>
<block id="level">
<message id="code">101</message>
<message id="description">More description</message>
</block>
</blocks>
<blocks>
<block id="change">
<message id="table">1</message>
<message id="oldvalue">100</message>
<message id="newvalue">101</message>
</block>
</blocks>
</xml>
上記をこの構造にマップする必要があります。
<terms>
<termItem>
<code>100</code>
<description>Some description</description>
<deleted>false</deleted>
</termItem>
<termItem>
.....and so on with values from the above xml file, except that the item from the "change" block should be added as a new record to output, so the total output will be 3 items (<block>).
マップ ビューは次のようになります。
使用する Functoid の適切な組み合わせ、またはこの課題を解決するための別のアプローチを選択する際に、助けが必要です。
「レベル」値を持つすべてのブロックを選択し、「変更」ブロックを除外することはできますが、2 つの組み合わせを作成することはできません。
ヒント、提案は大歓迎です。
ありがとう