OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] tool to generate one standalone DTD from multiplemodule DT

[ Lists Home | Date Index | Thread Index ]

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS