有没有办法在BT mapper中实现下面的转换?如果没有,有什么好主意吗?
<Person>
<Age>25</Age>
<Name>Paul</Name>
</Person>
到:
<Person>
<CustomProperties>
<CustomProperty>
<Name>Age</Name>
<Value>25</VAlue>
</CustomProperty>
<CustomProperty>
<Name>Name</Name>
<Value>Paul</VAlue>
</CustomProperty>
</CustomProperties>
我必须在节点列表中聚合一些元素。
提前致谢。
最佳答案
您还可以在 map 中使用 TableLooping/TableExtractor functoid 来构建目标节点。
有关示例,请参阅此帖子:
http://hestia.typepad.com/flatlander/2007/01/mapping_fixed_e.html
关于xml - Biztalk 映射 : Grouping different nodes into a list,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2654416/