Add out xml generation