>>Is there a simple way to
>>produce a flattened DTD from a modular one using commonly
>>available tools?
>>
>
>You can use the dtdflatten script in the DTDParse package
>
I'd already tried 'dtdflatten' but it does not seem to like my Debian
default setup. Actually, all of the tools in SGML::DTDParse have the
same reaction regarding the default catalog file:
----------------------------------------------------------------------------------------
$ dtdflatten /usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd
Reading /etc/sgml/catalog...
Don't know how to parse CATALOG keyword: CATALOG
$
----------------------------------------------------------------------------------------
In particular, it complains that the default catalog file contains
'CATALOG' keywords. This is unfortunate as _every_ line starts with the
CATALOG keyword.
Regards,
David.