Successfully creates main xml.