Re: [xsl] Tools to Flatten a DTD

Subject: Re: [xsl] Tools to Flatten a DTD
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 May 2023 12:18:18 -0000
On Tue, 2023-05-23 at 14:20 +0000, rick@xxxxxxxxxxxxxx wrote:
>  Can you recommend any tools for flattening a
> DTD? Thank you.

There's a Java tool called dtdflatten -
https://github.com/ncbi/DtdAnalyzer/blob/master/src/gov/ncbi/pmc/dtdanalyzer/
DtdFlatten.java

which is also at https://github.com/Klortho/DtdAnalyzer with more
recent commits.


I also started writing a DTD parser in XSLT, but didn't finish it
because i ended up not needing it. It's doable, if a pain :)

liam


--
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org

Current Thread