there were tools that derive the schema from sample data
and relaxng is a human friendly schema syntax that has transformers from and to xsd.