| 1 |
<!-- -*- dtd -*- |
| 2 |
Fills in declarations that were switched off earlier (to provide them |
| 3 |
anew and more restrictive this time) |
| 4 |
|
| 5 |
SPDX-FileCopyrightText: 2001, 2002 Frederik Fouvry |
| 6 |
|
| 7 |
SPDX-License-Identifier: GPL-2.0-or-later |
| 8 |
|
| 9 |
Send suggestions, comments, etc. to the KDE docbook list |
| 10 |
<[email protected]>. |
| 11 |
|
| 12 |
USAGE |
| 13 |
|
| 14 |
Refer to this DTD as |
| 15 |
|
| 16 |
"-//KDE//ELEMENTS DocBook XML Modifications (Restrictions) V1.1//EN" |
| 17 |
|
| 18 |
For instance |
| 19 |
|
| 20 |
<!ENTITY % kde.modifications PUBLIC |
| 21 |
"-//KDE//ELEMENTS DocBook XML Modifications (Restrictions) V1.1//EN"> |
| 22 |
|
| 23 |
--> |
| 24 |
|
| 25 |
<!-- ONLY to supply declarations that were switched off earlier |
| 26 |
Take care to make it only _more_ restrictive. --> |
| 27 |
|
| 28 |
<!-- One modification: BookInfo is compulsory, because |
| 29 |
it contains ReleaseInfo, which is compulsory --> |
| 30 |
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, |
| 31 |
(dedication | toc | lot |
| 32 |
| glossary | bibliography | preface |
| 33 |
| %chapter.class; | reference | part |
| 34 |
| %article.class; |
| 35 |
| %appendix.class; |
| 36 |
| %index.class; |
| 37 |
| colophon)*) |
| 38 |
%ubiq.inclusion;> |
| 39 |
|
| 40 |
<!-- Modification: ReleaseInfo, Date, Abstract and Keywordset are |
| 41 |
compulsory. Not all orders that could be valid are allowed (the |
| 42 |
number increases factorial). The current restrictions are quite |
| 43 |
strict, and it is foreseen that they will be relaxed. Date and |
| 44 |
ReleaseInfo must come together, as must Abstract and Keywordset. |
| 45 |
Abstract and Keywordset must follow Date and ReleaseInfo when they |
| 46 |
are used the first time. |
| 47 |
--> |
| 48 |
<!ELEMENT bookinfo %ho; ((%kde.info.class;)*, date, releaseinfo, |
| 49 |
(%kde.info.class;)*, abstract, keywordset, |
| 50 |
(%info.class;)*) |
| 51 |
%beginpage.exclusion;> |
| 52 |
|
| 53 |
<!-- value of Type changed from IMPLIED CDATA |
| 54 |
default value of LinkMode set from #IMPLIED to kdems-default --> |
| 55 |
<!ATTLIST olink |
| 56 |
targetdocent ENTITY #IMPLIED |
| 57 |
linkmode IDREF "kdems-default" |
| 58 |
localinfo CDATA #IMPLIED |
| 59 |
type (href|other) "href" |
| 60 |
targetdoc CDATA #IMPLIED |
| 61 |
targetptr CDATA #IMPLIED |
| 62 |
%common.attrib; |
| 63 |
%olink.role.attrib; |
| 64 |
%local.olink.attrib; |
| 65 |
> |