Addex xsi_ns and xsi_type and updated to_obj to set xsi_type