Java & XML

my task is to edit an existing parser handling java program so that it prints out each US Presidents first nam, last name, and term dates and i'm not sure where to begin if anyone has any pointers it would be greatly appreciated;