Resolving a problem with loading Nodes from XML file.