complete the function to get the node from the xml file