[Home] [By Thread] [By Date] [Recent Entries]

  • To: CAUBEL Hugues <hugues.caubel@a...>,"'xml-dev@l...'" <xml-dev@l...>
  • Subject: Re: tool to generate one standalone DTD from multiplemodule DTD
  • From: Elliotte Rusty Harold <elharo@m...>
  • Date: Sat, 9 Aug 2003 07:14:25 -0400
  • In-reply-to: <6B67002C3FDED3119E5F00508B9596970F3984BE@TOCOMEXC15>
  • References: <6B67002C3FDED3119E5F00508B9596970F3984BE@TOCOMEXC15>

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
   elharo@m...
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member