Most recent attempt at xml call. Code breaks