2
revised DTD for the RFC document series, draft of 2007-03-29
8
<!DOCTYPE rfc PUBLIC "-//IETF//DTD RFC 2629//EN"
9
"http://xml.resource.org/authoring/rfc2629.dtd" [
13
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
41
<!ENTITY % rfc2629-xhtml
42
PUBLIC "-//IETF//ENTITIES XHTML subset for RFC 2629//EN"
46
<!ENTITY % rfc2629-other
47
PUBLIC "-//IETF//ENTITIES Other for RFC 2629//EN"
56
====== ===============================================
58
NUMBERS a comma-separated list of NUMBER
60
DAY the day of the month, e.g., "1"
61
MONTH the month of the year, e.g., "January"
62
YEAR a four-digit year, e.g., "1999"
64
URI e.g., "http://invisible.net/"
66
ATEXT/CTEXT printable ASCII text (no line-terminators)
72
<!ENTITY % NUMBER "CDATA">
73
<!ENTITY % NUMBERS "CDATA">
75
<!ENTITY % DAY "CDATA">
76
<!ENTITY % MONTH "CDATA">
77
<!ENTITY % YEAR "CDATA">
79
<!ENTITY % URI "CDATA">
81
<!ENTITY % ATEXT "CDATA">
82
<!ENTITY % CTEXT "#PCDATA">
84
<!ENTITY % TEXT "#PCDATA">
86
<!ENTITY rfc.number "XXXX">
95
attributes for the "rfc" element are supplied by the RFC
96
editor. when preparing drafts, authors should leave them blank.
98
the "seriesNo" attribute is used if the category is, e.g., BCP.
100
<!ELEMENT rfc (front,middle,back?)>
102
number %NUMBER; #IMPLIED
103
obsoletes %NUMBERS; ""
105
category (std|bcp|info|exp|historic)
107
seriesNo %NUMBER; #IMPLIED
108
ipr (full2026|noDerivativeWorks2026|none
109
|full3667|noModification3667|noDerivatives3667
110
|full3978|noModification3978|noDerivatives3978)
112
iprExtract IDREF #IMPLIED
114
(IETF|independent) "IETF"
115
docName %ATEXT; #IMPLIED
116
xml:lang %ATEXT; "en">
124
<!ELEMENT front (title,author+,date,area*,workgroup*,keyword*,
127
<!-- the "abbrev" attribute is used for headers, etc. -->
128
<!ELEMENT title (%CTEXT;)>
130
abbrev %ATEXT; #IMPLIED>
132
<!ELEMENT author (organization,address?)>
134
initials %ATEXT; #IMPLIED
135
surname %ATEXT; #IMPLIED
136
fullname %ATEXT; #IMPLIED
137
role (editor) #IMPLIED>
139
<!ELEMENT organization
141
<!ATTLIST organization
142
abbrev %ATEXT; #IMPLIED>
144
<!ELEMENT address (postal?,phone?,facsimile?,email?,uri?)>
146
<!-- this content model should be more strict:
147
at most one of each the city, region, code, and country
148
elements may be present -->
149
<!ELEMENT postal (street+,(city|region|code|country)*)>
150
<!ELEMENT street (%CTEXT;)>
151
<!ELEMENT city (%CTEXT;)>
152
<!ELEMENT region (%CTEXT;)>
153
<!ELEMENT code (%CTEXT;)>
154
<!ELEMENT country (%CTEXT;)>
155
<!ELEMENT phone (%CTEXT;)>
156
<!ELEMENT facsimile (%CTEXT;)>
157
<!ELEMENT email (%CTEXT;)>
158
<!ELEMENT uri (%CTEXT;)>
160
<!ELEMENT date EMPTY>
163
month %MONTH; #IMPLIED
164
year %YEAR; #IMPLIED>
166
<!-- meta-data... -->
167
<!ELEMENT area (%CTEXT;)>
168
<!ELEMENT workgroup (%CTEXT;)>
169
<!ELEMENT keyword (%CTEXT;)>
171
<!ELEMENT abstract (t)+>
174
title %ATEXT; #REQUIRED>
182
<!-- later on, may be (section+,appendix*,section*) -->
183
<!ELEMENT middle (section+)>
185
<!ELEMENT section ((t|figure|texttable|iref)*,section*)>
188
title %ATEXT; #REQUIRED
189
toc (include|exclude|default)
193
<!ELEMENT appendix ((t|figure|texttable|iref)*,appendix*)>
196
title %ATEXT; #REQUIRED
197
toc (include|exclude|default)
201
<!-- use of <figure/> is deprecated... -->
202
<!ELEMENT t (%TEXT;|list|figure|xref|eref|iref|cref|spanx|vspace)*>
205
hangText %ATEXT; #IMPLIED>
207
<!-- the value of the style attribute is inherited from the closest
211
style %ATEXT; #IMPLIED
212
hangIndent %NUMBER; #IMPLIED
213
counter %ATEXT; #IMPLIED>
215
<!ELEMENT xref (%CTEXT;)>
217
target IDREF #REQUIRED
218
pageno (true|false) "false"
219
format (counter|title|none|default)
222
<!ELEMENT eref (%CTEXT;)>
224
target %URI; #REQUIRED>
226
<!ELEMENT iref EMPTY>
228
item %ATEXT; #REQUIRED
230
primary (true|false) "false">
232
<!ELEMENT cref (%CTEXT;)>
235
source %ATEXT; #IMPLIED>
237
<!ELEMENT spanx (%CTEXT;)>
239
style %ATEXT; "emph">
241
<!ELEMENT vspace EMPTY>
243
blankLines %NUMBER; "0">
245
<!ELEMENT figure (iref*,preamble?,artwork,postamble?)>
250
align (left|center|right) "left"
255
<!ELEMENT preamble (%TEXT;|xref|eref|iref|cref|spanx)*>
256
<!ELEMENT artwork (%TEXT;)*>
258
xml:space (default|preserve) "preserve"
262
align (left|center|right) "left"
267
<!ELEMENT postamble (%TEXT;|xref|eref|iref|cref|spanx)*>
269
<!ELEMENT texttable (preamble?,ttcol+,c*,postamble?)>
273
<!ELEMENT ttcol (%CTEXT;)>
275
width %ATEXT; #IMPLIED
276
align (left|center|right) "left">
277
<!ELEMENT c (%TEXT;|xref|eref|iref|cref|spanx)*>
285
<!-- sections, if present, are appendices -->
286
<!ELEMENT back (references*,section*)>
288
<!ELEMENT references (reference+)>
290
title %ATEXT; "References">
291
<!ELEMENT reference (front,seriesInfo*,format*,annotation*)>
294
target %URI; #IMPLIED>
295
<!ELEMENT seriesInfo EMPTY>
297
name %ATEXT; #REQUIRED
298
value %ATEXT; #REQUIRED>
299
<!ELEMENT format EMPTY>
301
target %URI; #IMPLIED
302
type %ATEXT; #REQUIRED
303
octets %NUMBER; #IMPLIED>
304
<!ELEMENT annotation (%TEXT;|xref|eref|iref|cref|spanx)*>