Hi,
This will help you in achieving your goal. Try this out.
XmlDocument doc = new XmlDocument();
doc.Load("D:\\testpp.xml");
ArrayList list = new ArrayList();
XmlNode idNodes = doc.SelectSingleNode("columns/column");
foreach (XmlNode node1 in idNodes.ChildNodes)
list.Add(node1.InnerText);
In this you can able to get all the subsequent items listed in the list. It will work irrespective of your number of elements as you have mentioned.
If you face any issues please let me know.
Thanks,
Sisir Patro