Thanks Raven65, i found an article about XPath while reading through. Here is what i have so far; i know for a fact there is a better way of doing this but it works.
I call the sub with this
edit_xml_file("name", "location", "server", "DB", "LIB02", "DEL")
edit_xml_file Sub:
Public Sub...