src: added xml writer