static void Main(string[] args)
        {
            DateTools dt = new DateTools();
            XmlActions xActions = new XmlActions();
            string xPathTitle = "//feuille2match/infos/titre";
            var list = dt.GetListOfSaturdays(new DateTime(2016, 9, 17), new DateTime(2017, 6, 10));
            foreach (var item in list)
            {
                XmlDocument xmlDoc = new XmlDocument();
                xmlDoc.PreserveWhitespace = true;
                xmlDoc.Load("base.xml");

                string fileName = dt.GetFileName(item.Date);
                xmlDoc = xActions.SetValue(xmlDoc, xPathTitle, dt.GetDays(item.Date));
                xmlDoc = xActions.SetValues(xmlDoc, "date", item.Date.ToShortDateString());
                xmlDoc.Save(fileName);
            }
        }
 public void Init()
 {
     _dt = new DateTools();
 }