dictionary - 如何将多个重复节点连接成一个节点 - BizTalk
问题描述
我在输入 XML 中有类似的东西
<OrderText>
<text_type>0012</text_type>
<text_content>Text1</text_content>
</OrderText>
<OrderText>
<text_type>ZT03</text_type>
<text_content>Text2</text_content>
</OrderText>
连接为以下架构后我需要映射的上述数据
<Order>
<Note>0012:Text1#ZT03:Text2</Note>
</Order>
有人可以帮忙吗?
解决方案
您可以在映射中使用Value-Mapping Flattening functoid,然后将每个结果输入 Concatenate functoid 以生成结果字符串。该映射可以在端口或编排中执行。
推荐阅读
- javascript - 有没有办法在 Edge Chromium 中将 Javascript 错误视为弹出窗口或通知
- angular - Angular 服务何时启动?
- python - 完整数据未下载 kaggle
- python - 查找大于某个值的数字的列表索引
- laravel - laravel livewire 挂载动态字段
- java - 如何在 Visual Studio Code 中将 SpringBoot 应用程序作为独立的可执行 jar 构建和运行?
- javascript - 想为我的网站使用页面加载器
- reactjs - 更新到 React 17 时枚举出错,
- javascript - 格式化 mailto 链接,以便 PHP 可以清晰地解释它
- sql-server - 如何将证书和签名程序集部署到其他数据库?