public string FindUUID(string anim) { string result= ""; foreach (XmlNode nod in this.rootNode.ChildNodes) { string currentNodeName = ""; if (nod.Attributes["name"] != null) { currentNodeName = ((XmlAttribute)configNode.Attributes.GetNamedItem("name")).Value; if (currentNodeName = anim) { result = nod.InnerText; return result; } } } return result; //need to convert this to LLUUID }