Here is some example code that will show how to take an XMLDocument and see if a particular node exists. If not, we need to add the node.