added real function to parse example xml and output the parsed result