Xml document parsing exercise.