Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 IBM Sterling B2B Integrator 地图上有一个 XML 到 XML 的地图。
我正在尝试在条件变量上设置一个空标签,如下所示:
empty($my_var[counter][1].#my_var);
结果是在输出时没有显示空标签。
预期结果:
<my_var/>
有什么办法可以做到这一点?
XML 元素应在地图中声明为强制元素。如果不需要,PCDATA 属性不应该检查 Mandatory,但元素级别应该是强制的。
还要注意这个已知问题:
http://www-01.ibm.com/support/docview.wss?uid=swg21701246