這是我的xml:刪除外部XML節點,但不刪除內部XML
<application name="Test Tables">
<test>
<xs:schema id="test" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
</xs:schema>
</test>
</application>
我怎樣才能刪除不刪除<test>
節點<application>
節點?
等待懸念想要刪除的東西...;) – Bertie 2012-02-01 09:11:30
:P 123去.... – Pascal 2012-02-01 09:16:13
大聲笑我假設它的「測試」標籤,你不想刪除。我認爲你必須把它們作爲代碼 - 在一個有四個空格縮進的新行上,否則它們會被剝離。 – Bertie 2012-02-01 09:24:07