【发布时间】:2016-08-26 14:40:39
【问题描述】:
我们的应用程序正在使用 VTD XML。您能帮我们解决应用程序中的问题吗?
问题是: 输入xml:
<root>
<name>suresh</name>
<address>Address</address>
</root>
output xml:
<root>
<address>Address</address>
</root>
But i want the output to be:
<root>
<address>Address</address>
</root>
当我使用 xmlmodifier 删除元素时,它会为删除的元素创建一个空白空间(新行)。
是否有可能删除该 vtdxml?
【问题讨论】:
标签: xml element spaces removing-whitespace vtd-xml