DOM + need to remove element from XML bt VB script
- by yael
I have the following VB script , I want to remove the "NET ID" element from name list 
but after running the VB script the "NET ID" element still exist in the XML doc?
Something wrong in the VB?
Yael
Set objXMLDoc = CreateObject("Microsoft.XMLDOM") 
objXMLDoc.async = False 
objXMLDoc.load("\dir\d.xml") 
Set objRoot = objXMLDoc.documentElement 
Set objExNode = objRoot.removeChild(objRoot.childNodes.item(0)) 
objRoot.appendChild(objExNode) 
the XML file: