[dbdoclet] Re: How to suppress doctype?

Hello 

>I have looked in the docs and searched the mailing list archives, but I =
>just can't find an option to suppress the generation of the DOCTYPE =
>element.

The option you need is called doclet.noprolog=(true|false). The default is set 
to false. Unfortunately I found a bug concerning this option, while searching 
for an answer to your question. You can download a fixed dbdoclet.jar file at 
http://www.dbdoclet.org/patches/dbdoclet.jar. Please get it and copy it to 
your dbdoclet_home/jars directory.

>
>P.S. The "docbook.has-book-tag" seems to be undocumented, but works. Is =
>that still the official way to create a part instead of a book?

This property is deprecated, you should use docbook.part=(true|false).

To get a part document, which can be included via an entity, set the following 
options:
docbook.part=true
doclet.noprolog=true

Regards
Michael

Other related posts: