from xml.dom import minidom. root = minidom.parse("sample.xml").documentElement b = root.childNodes[3] root.removeChild(b) print root.toxml() ...
確定! 回上一頁