added struct2xml.m