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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Tool to query dtd/schema for valid element children|attributes [SOLVED]

David Nebauer <davidnebauer@switch.com.au> writes:

> Thanks for the tip.  I have one last question: Is there a simple way to 
> produce a flattened DTD from a modular one using commonly available tools?

Along with the ones already mentioned, there's one that Scott
Hudson posted a note about to the list a few months back -


It's a Java app -


It seems to work well and provides some useful options -

  $ java -jar  dtd-flatten.jar
  Usage: class com.ctc.wstx.tools.DTDFlatten[flags] [DTD file]
     --output-comments (default)
     --strip-conditional-sections (default)
     --strip-pe-decls (default)
     --output-whitespace:<mode> (mode: all/compact/minimum; default 'compact'
     --help [displays full help]

And it can handle entities that have system IDs with remote URIs.
(Though I think it just slurps those down from the net, rather
than trying to do catalog resolution).


Michael Smith


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]