using System.Xml; using System.Xml.Linq; //Load string from xml into a list private static void BuildScenes() { XmlDocument xmlDocument = new XmlDocument(); xmlDocument.Load("ios_scenes.xml"); XmlNodeList sceneNode = xmlDocument.SelectNodes("//Scenes/Scene"); foreach(XmlNode node in sceneNode) { string sceneName = node.InnerText; levels.Add(sceneName); } } //Sample Xml <?xml version="1.0" encoding="us-ascii"?> <Scenes> <Scene>Any data </Scene> <Scene>Any data </Scene> <Scene>Any data </Scene> </Scenes>