build subform xml