1
我想知道哪些是最好的方法来删除蔬菜产品节点而不影响肉制品节点。如何从命令行删除父XML节点
<Product>
<Type>Meat</Type>
<Object>
<ID>1</ID>
</Object>
</Product>
<Product>
<Type>Vegetables</Type>
<Object>
<ID>1</ID>
</Object>
</Product>
示例代码片段没有完整的XML文件。我们可以假设你的意思是一个带有根标签的xml文件吗? – halloleo 2014-02-02 06:10:17