File: website.dtd

package info (click to toggle)
docbook-xml-website 1.10-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 304 kB
  • ctags: 29
  • sloc: xml: 377; makefile: 99; perl: 77; sh: 35
file content (106 lines) | stat: -rw-r--r-- 2,679 bytes parent folder | download
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!-- ...................................................................... -->
<!-- Website DTD V1.7 ..................................................... -->

<!-- Copyright 1997, 1998 Norman Walsh 

     $Id: website.dtd,v 1.1 2000/11/03 13:01:34 ndw Exp $

     This DTD defines a document that represents a website.

     A typical invocation is:

     <!DOCTYPE website PUBLIC "-//Norman Walsh//DTD Website V1.7//EN"
                              "http://nwalsh.com/website/xml/1.7beta2/website.dtd">

-->

<!-- allow xlinks to occur anywhere a para can occur -->
<!ENTITY % local.para.class "|xlink|webtoc">

<!-- Forms? -->
<!ENTITY % allowforms "INCLUDE">
<![%allowforms;[
<!ENTITY % local.para.char.mix "|html:input|html:button|html:label|html:select|html:textarea">
<!ENTITY % local.divcomponent.mix "|html:form">
]]>

<!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
                   "../../../dtd/xml/4.1.2/docbookx.dtd">
%docbook;

<!ELEMENT xlink (%para.char.mix;)*>
<!ATTLIST xlink
	xml:link	CDATA	#FIXED "simple"
	href		CDATA	#REQUIRED
	role		CDATA	#IMPLIED
	title		CDATA	#IMPLIED
	content-role	CDATA	#IMPLIED
	show		(embed | replace | new)	"replace"
	actuate		(user | auto)	"user"
>

<!ENTITY % webpage.mix "(config*, head, (%bookcomponent.content;),
                        appendix*, bibliography*, glossary*)">

<!ELEMENT head (title, titleabbrev?, subtitle?, summary?, keywords?,
               (copyright | author | edition
                | meta | script | style | abstract | revhistory)*)>

<!ELEMENT meta EMPTY>
<!ATTLIST meta
	name	CDATA	#REQUIRED
	content	CDATA	#REQUIRED
>

<!ELEMENT script (#PCDATA)>
<!ATTLIST script
	class	(local|global)	"local"
	src	CDATA	#IMPLIED
	language	CDATA	#IMPLIED
>

<!ELEMENT style (#PCDATA)>
<!ATTLIST style
	class	(local|global)	"local"
	src	CDATA	#IMPLIED
	type	CDATA	#IMPLIED
>

<!ELEMENT config EMPTY>
<!ATTLIST config
	class	(html|print)	"html"
	param	CDATA	#REQUIRED
	value	CDATA	#REQUIRED
	altval	CDATA	#IMPLIED
>

<!ELEMENT summary (%word.char.mix;)*>
<!ELEMENT keywords (#PCDATA)>

<!ELEMENT website (homepage, webpage*)>
<!ATTLIST website
	xmlns:html	CDATA	#FIXED "http://www.w3.org/1999/xhtml"
>

<!ELEMENT homepage ((%webpage.mix;),webpage*)>
<!ATTLIST homepage
	role	CDATA	#IMPLIED
	id	ID	#IMPLIED
>

<!ELEMENT webpage ((%webpage.mix;),webpage*)>
<!ATTLIST webpage
	navto	(yes|no)	"yes"
	role	CDATA	#IMPLIED
	id	ID	#IMPLIED
>

<!ELEMENT webtoc EMPTY>

<![%allowforms;[
<!ENTITY % forms.mod SYSTEM "forms.mod">
%forms.mod;
]]>

<!-- End of Website DTD V1.7 .............................................. -->
<!-- ...................................................................... -->