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