Re: [xml-dev] tool to generate one standalone DTD from multiple module DTD

From
Elliotte Rusty Harold <>
To
CAUBEL Hugues <>, "''" <>
Date
2003-08-09T11:14:25Z
ID
<p04330101bb5a87c4f96b@[192.168.254.4]>
Thread
Re: [xml-dev] tool to generate one standalone DTD from multiple module DTD
At 9:40 AM +0200 7/30/03, CAUBEL Hugues wrote:
Hi,

I would like to know if there is simple tools to generate a 
standalone XML DTD from DTD define in multiple files, i.e. a tool 
that will permit to expand the external entity declaration ? Or 
should I consider to use API to manipulate DTD like DTDparser 
(<http://www.wutka.com/dtdparser.html>http://www.wutka.com/dtdparser.html) 
or matra 
(<https://sourceforge.net/projects/matra/>https://sourceforge.net/projects/matra/).


See 
http://www.cafeconleche.org/books/xmljava/chapters/ch07s04.html#DTDMerger.java 
for a simple SAX program that does exactly this.
-- 

   Elliotte Rusty Harold
   
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA