Link to home
Start Free TrialLog in
Avatar of Hojoformo
Hojoformo

asked on

XML Question - deleting an existing xml using DOM

How can you delete an existing XML using DOM within classic ASP?
 
 strFilename = "Apogee1.xml"  
 strXMLFile=server.mapPath(strFilename)  
 Set oXML = Server.CreateObject("Microsoft.XMLDOM")
 Set oXML.DocumentElement = oXML.createElement("P21_VPT_DATA")
 ' check file exists  
 bitFileExists = oXML.load(strXMLFile)  
 if bitFileExists then  
    ???? how can I delete the file?
ASKER CERTIFIED SOLUTION
Avatar of Hypnochu
Hypnochu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial