Re: [xml-dev] Auto-generate a DTD from multiple XML documents?

From
George Cristian Bina <>
To
Jon Noring <>
Date
2007-10-07T04:59:03Z
ID
<>
Thread
Re: [xml-dev] Auto-generate a DTD from multiple XML documents?
Hi Jon,

Trang can take as input a set of XML files and you can get as output 
DTD, Relax NG or XML Schema.
http://www.thaiopensource.com/relaxng/trang.html

oXygen uses Trang and provides a GUI for it
http://www.oxygenxml.com/doc/ug-standalone/converting-between-schema-languages.html

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Jon Noring wrote:
> Everyone,
> 
> Several of us involved with Distributed Proofreaders and Project
> Gutenberg are analyzing a number of TEI documents representing PG
> etexts.
> 
> As part of the analysis, we'd like to find an application which will
> autogenerate a minimal DTD (or schema) for validating a given set of
> documents sharing the same root element.
> 
> I have seen several applications which will autogenerate a DTD for a
> single XML document, but have not yet found one which will generate a
> DTD representing a set of XML documents.
> 
> Of course, we prefer a "free" application for this one-time job, but
> if there's a good commercial package, hopefully we can find someone
> with a copy who'd be happy to volunteer running the job for us.
> 
> Thanks in advance.
> 
> Jon Noring
> 
> 
> 
> _______________________________________________________________________
> 
> 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
>