Insert matches in database from xml