If I create an object like this:
Set objXML = Server.CreateObject("MSXML2.DOMDocument.4.0"
then set other variables like this:
Set root = objXML.documentElement
do I need to set both to nothing when I'm finished with the objects or does setting only the initial object to nothing clean up any others referenced from it? In other words, should I do this:
Set root = nothing
Set objXML = nothing
or is this sufficient?
Set objXML = nothing
Set objXML = Server.CreateObject("MSXML2.DOMDocument.4.0"
then set other variables like this:
Set root = objXML.documentElement
do I need to set both to nothing when I'm finished with the objects or does setting only the initial object to nothing clean up any others referenced from it? In other words, should I do this:
Set root = nothing
Set objXML = nothing
or is this sufficient?
Set objXML = nothing