Tutorial 3 validating an xml document