Add xml based mapping