private List<Substitution> GenerateSubstitutionCollection (HtmlNodeCollection table)
        {
            List<Substitution> substitutionList = new List<Substitution>();

            foreach (HtmlNode aktion in table)
            {
                //own method
                for (int i = 0; i < aktion.ChildNodes.Count; i++)
                {
                    if (aktion.ChildNodes[i].Name == "#text")
                    {
                        aktion.ChildNodes.RemoveAt(i);
                        continue;
                    }
                }

                Substitution substitution = new Substitution();
                substitution.Class = aktion.FirstChild.InnerText;
                //Better name for Lesson
                substitution.Lesson = aktion.ChildNodes[1].InnerText;
                substitution.Subject = aktion.ChildNodes[2].InnerText;
                substitution.Teacher = aktion.ChildNodes[3].InnerText;
                substitution.RoomNumber = aktion.ChildNodes[4].InnerText;
                substitution.Information = aktion.ChildNodes[5].InnerText;

                substitutionList.Add(substitution);
            }

            return substitutionList;
        }
 private SchoolClass LoadAdditionalInfo (HtmlNode rootNode)
 {
     SchoolClass additionalInfos = new SchoolClass("Zusätzliche Informationen");
     additionalInfos.LessonsWithSubstitution = "";
     HtmlNodeCollection fussCollection = NavigateToFussNode(rootNode);
     foreach (HtmlNode additionalInfoNode in fussCollection)
     {
         Substitution information = new Substitution();
         information.Information = additionalInfoNode.ChildNodes[1].InnerText;
         additionalInfos.SubstitutionOfClass = new ObservableCollection<Substitution>();
         additionalInfos.SubstitutionOfClass.Add(information);
     }
     return additionalInfos;
 }