First part of program parsing of xml-File