Adding XML codes