在ASP中如何删除XML节点?
xmlDoc.load("c:\xml.xml")
set PersonList = xmlDoc.getElementsByTagName("Person")
response.write PersonList.length-1
for i=0 to PersonList.length-1
if PersonList.item(i).attributes(2).text = "杨大伟" then
'xmlDoc.documentElement.removeNode(true) ????
'response.write PersonList.item(i).attributes(2).text
'在这里,如果满足条件就删除它????但我不知道如何写>?
end if
next