Re: [xml-dev] Is there a tool to progressively refine the schema generated from different XML documents?

From
Michael Kay <>
To
Dimitre Novatchev <>
Date
2016-07-16T09:13:30Z
ID
<>
Thread
Re: [xml-dev] Is there a tool to progressively refine the schema generated from different XML documents?
> 
> Is anybody aware of a tool that will take as input all N different
> schemas generated and create from them a single schema that is the
> "unification" (for a lack of better word) of all of them -- in other
> words defines the type of all XML document instances.
> 


I suspect it is easier to produce a tool that takes N instances and produces a single schema that describes them all.

When I wrote my DTD generator (still available at http://saxon.sourceforge.net/dtdgen.html) I never got round to productising the ability to take multiple input files, but I did successfully use it that way simply by putting in a filter that concatenated the files (with a wrapper element) before processing.

Michael Kay
Saxonica