Made all xml attributes optional, and re-added post build process to automatically create xsd