wlxml: moving white space handling from canvas code base