Convert DOM to RV