Hi,
Trang [1] takes a set of XML documents as input and generates a schema
or a DTD
[1] https://github.com/relaxng/jing-trang/
Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 16/07/16 12:13, Michael Kay wrote:
>>
>> 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
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe:
> subscribe:
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>