added  XML type view building