Read departments from XML