Loop through XML

public void Read()
        {
	        //fill the xml document
            System.Xml.XmlDocument doc = new System.Xml.XmlDocument(); 
            doc.Load("xmfile or a Uri with xml");

            //loop through xml 
            System.Xml.XmlNode node = doc.SelectSingleNode("mainTag");
            foreach (System.Xml.XmlNode n in node.ChildNodes)
            {
                foreach (System.Xml.XmlNode childs in n.ChildNodes)
                {
                    string foundValue = childs.InnerText);
                }
            }
        }

{{opmerking.Naam}}:

{{opmerking.OpmerkingText}}

            

Saving your comment....

Naam is verplicht!
Email is verplicht!
Opmerking is verplicht!