List<string> ParseTags (XmlNode tagNodes) { List<string> tags = new List<string> (); foreach (XmlNode node in tagNodes.SelectNodes ("//tag")) { string tag = node.InnerText; tags.Add (tag); } return tags; }