<input message="Xin"> <assign to="." from="*"></assign> <assign to="." from="Status_Rpt('Report')"></assign> </input> DOMToDoc can also be used in conjunction with the Status_Rpt function to write the information to a document instead of process data.