|
From: Karl E. <ke...@gm...> - 2001-05-28 17:22:29
|
L=E1szl=F3 Kov=E1cs <las...@su...> writes:
> I am not very good with DOCTYPE declarations. How does it have to look
> in order to use the 4.0 or upper DTD I installed somewhere. How does
> this fit into the rest of the XML file? Before the head xml declaration
> or after?
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"/usr/share/sgml/db41xml/docbookx.dtd">
<book>
...
</book>
Instead of the filename you can use:
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
Cf. docbookx.dtd from Norm's DTD package.
> The DOCTYPE declaration seems to contain the type of the doc (book,
> article etc). Does this mean I need to detect the type of the doc and
> put it in there?
Yes.
--=20
work : ke...@su... | ,__o
: http://www.suse.de/~ke/ | _-\_<,
home : ke...@gm... | (*)/'(*)
|