[view] apply xml view