[dbdoclet] How to suppress doctype?
- From: <Jere.Kapyaho@xxxxxxxxx>
- To: <dbdoclet@xxxxxxxxxxxxx>
- Date: Mon, 30 Aug 2004 16:39:14 +0300
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.
See, I am trying to assemble a book from several physical chunks, and =
have instructed dbdoclet to generate a part instead of a book (using =
"docbook.has-book-tag=3Dfalse" in my properties file). For this purpose =
I have defined an entity in my main file like this:
<!ENTITY javadocref SYSTEM "docs/Reference.xml">=20
And I want to pull in the part created by dbdoclet at a suitable place =
in my main file using "&javadocref;".
But dbdoclet always inserts an XML prolog and a DOCTYPE element in the =
beginning of the generated part! At least "DocBook: The Definitive =
Guide" says of included files that "these files do not and must not have =
document type declarations" (Chapter 2, "Physical Divisions"). What to =
do?
--Jere
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?
- Follow-Ups:
- [dbdoclet] Re: How to suppress doctype?
- From: Michael Fuchs
Other related posts:
- » [dbdoclet] How to suppress doctype?
- » [dbdoclet] Re: How to suppress doctype?
- » [dbdoclet] Re: How to suppress doctype?
- » [dbdoclet] Re: How to suppress doctype?
- [dbdoclet] Re: How to suppress doctype?
- From: Michael Fuchs