I know it is possible to generate skeleton XSD from XML. For example this post has good answers.
The question is how to generate XSD based on several XMLs. The idea is that each XML might have several different occurences of optional, arrays, choice and the like. From all those examples, I would like to compose the most accurate XSD.
I know there might be collisions and the like but assuming all the XML came from an uknown XSD, it should be theoreticaly possible. But is there such tool?
Thanks