given three names and three remarks, output xml