http://www.freeformatter.com/xsd-generator.html
Generates an XSD (XML Schema) from a XML file. Simply copy-paste your XML document and let the generator figure out the rest!
The generator uses a Russian-Doll approach. The Russian-Doll design mimics the document structure meaning that elements within other elements are declared locally instead of global-reusable scope.
The generator will not try to generate xs:enumeration since it's too error prone. Also,instead of generating xsd:string types,the generator will try to use a 'smart' approach to figure out the data type.
原文链接:https://www.f2er.com/xml/299193.html