我有一个如下的 XML 文件:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CustomObject>
</CustomObjects>
我通过以下方式应用 XMLTask attr:
<attr path="/CustomObject" attr="xmlns" value="test"/>
我希望 XML 文件现在包含xmlns
值为“test”的属性
实际输出如下:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CustomObject xmlns="">
</CustomObjects>
有没有人遇到过这个问题?或有任何迹象表明可能是什么问题?