summaryrefslogtreecommitdiffstats
path: root/kdoctools/customization/dtd/modifications.elements
blob: bdebe2e1987ac75d8dab19e73819fa6d1fe59964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!-- -*- dtd -*-
    Fills in declarations that were switched off earlier (to provide them 
    anew and more restrictive this time)
    
    Copyright (C) 2001,2002 Frederik Fouvry
     
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.
     
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
     
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    
    Send suggestions, comments, etc. to the TDE development team 
    <devels@trinitydesktop.org>.

    USAGE

    Refer to this DTD as

      "-//KDE//ELEMENTS DocBook XML Modifications (Restrictions) V1.1//EN"

    For instance

      <!ENTITY % kde.modifications PUBLIC
       "-//KDE//ELEMENTS DocBook XML Modifications (Restrictions) V1.1//EN">

-->

<!-- ONLY to supply declarations that were switched off earlier 
     Take care to make it only _more_ restrictive.  -->

<!-- One modification: BookInfo is compulsory, because
     it contains ReleaseInfo, which is compulsory -->
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
 		(dedication | toc | lot
 		| glossary | bibliography | preface
		| %chapter.class; | reference | part
		| %article.class;
 		| %appendix.class;
		| %index.class;
		| colophon)*)
		%ubiq.inclusion;>

<!-- Modification: ReleaseInfo, Date, Abstract and Keywordset are
     compulsory.  Not all orders that could be valid are allowed (the
     number increases factorial).  The current restrictions are quite
     strict, and it is foreseen that they will be relaxed.  Date and 
     ReleaseInfo must come together, as must Abstract and Keywordset.
     Abstract and Keywordset must follow Date and ReleaseInfo when they
     are used the first time.
-->
<!ELEMENT bookinfo %ho; ((%kde.info.class;)*, date, releaseinfo, 
                         (%kde.info.class;)*, abstract, keywordset, 
                         (%info.class;)*)
		%beginpage.exclusion;>

<!-- value of Type changed from IMPLIED CDATA
     default value of LinkMode set from #IMPLIED to kdems-default -->
<!ATTLIST olink
		targetdocent	ENTITY 		#IMPLIED
		linkmode	IDREF		"kdems-default"
		localinfo 	CDATA		#IMPLIED
		type		(href|other)	"href"
		targetdoc	CDATA		#IMPLIED
		targetptr	CDATA		#IMPLIED
		%common.attrib;
		%olink.role.attrib;
		%local.olink.attrib;
>