parse xml when passed to microdom()