Render errors as XML if requested