add generated xml with similarity