Debug xml call