Output contains xml declaration