adding XML declaration