Add xml functionality for 2013