首页 > 在用domj4生成xml时怎么处理空值
dom4j 在生成xml节点的时候,怎么在节点属性上 加上 i:nil="true"
如:<name i:nil="true"/>
使用addAttribute("i:nil", "true")