generate default values in xml (closes #2677)