Hi,
On 6/7/2012 6:21 PM, Chris Maloney wrote:
> Here is another tool, called DtdAnalyzer:
> https://github.com/Klortho/DtdAnalyzer
Along similar lines, NekoDTD is a Java library that interfaces with
Xerces to convert its internal representation of a DTD into an XML
format, which is useful for various operations related to DTD processing
and documentation.
Since this is off-topic, I hasten to add that Neko comes with XSLTs to
flatten DTDs and such. See
http://people.apache.org/~andyc/neko/doc/dtd/index.html
Cheers,
Wendell
We've been using this internally, and recently put on GitHub to try to
put it in a form that might be more generally useful. It's written in
Java, and converts a DTD into an XML (elements-and-attributes)
representation. There are a few other scripts that build on top of
this XML representation, for example, to generate documentation and to
do diffs. Those tools haven't been moved into this GitHub project
yet, but should be soon.
--
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--