added xml dom parser