Update to use new xmlOutput API.