0
我是Biztalk的新手,並且有一些映射: 在目標架構中,我有Attributes
節點,它可以包含多個EntityMemberAttribute
子節點(如下圖所示)。我試圖實現的是獲得兩個EntityMemberAttribute
節點,其中一個將包含具有來自源模式的值的子節點,另一個節點將包含具有明確指定的值的子節點。Biztalk將顯式值映射到循環節點
我有顯式值的麻煩。例如我想要這樣的輸出:
<a:Attributes>
<!-- This ones came from source XML -->
<a:EntityMemberAttribute>
<a:AttributeName>Address</a:AttributeName>
<a:AttributeType>String</a:AttributeType>
<a:Value>Bennelong Point, Sydney NSW 2000, Australia</a:Value>
</a:EntityMemberAttribute>
<a:EntityMemberAttribute>
<a:AttributeName>Address</a:AttributeName>
<a:AttributeType>String</a:AttributeType>
<a:Value>Airport Dr, Sydney NSW 2020, Australia</a:Value>
</a:EntityMemberAttribute>
<!--And here are my explicit (constant) values -->
<a:EntityMemberAttribute>
<a:AttributeName>AddressType</a:AttributeName>
<a:AttributeType>String</a:AttributeType>
<a:Value>FactAddress</a:Value>
</a:EntityMemberAttribute>
</a:Attributes>
感謝您的任何幫助!