The process of constructing RNA from DNA.