Add xml connector write