File: draft-mrose-writing-rfcs.html

package info (click to toggle)
xml2rfc 1.36-5
  • links: PTS
  • area: non-free
  • in suites: wheezy
  • size: 7,416 kB
  • sloc: xml: 25,141; sh: 14,496; tcl: 2,189; makefile: 142; perl: 99
file content (2239 lines) | stat: -rw-r--r-- 88,053 bytes parent folder | download | duplicates (2)
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"><head><title>Writing I-Ds and RFCs using XML (revised)</title>
<meta http-equiv="Expires" content="Thu, 28 Feb 2008 19:06:07 +0000">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Writing I-Ds and RFCs using XML (revised)">
<meta name="keywords" content="RFC, Request for Comments, I-D, Internet-Draft, XML, Extensible Markup Language">
<meta name="generator" content="xml2rfc v1.33 (http://xml.resource.org/)">
<style type='text/css'><!--
        body {
                font-family: verdana, charcoal, helvetica, arial, sans-serif;
                font-size: small; color: #000; background-color: #FFF;
                margin: 2em;
        }
        h1, h2, h3, h4, h5, h6 {
                font-family: helvetica, monaco, "MS Sans Serif", arial, sans-serif;
                font-weight: bold; font-style: normal;
        }
        h1 { color: #900; background-color: transparent; text-align: right; }
        h3 { color: #333; background-color: transparent; }

        td.RFCbug {
                font-size: x-small; text-decoration: none;
                width: 30px; height: 30px; padding-top: 2px;
                text-align: justify; vertical-align: middle;
                background-color: #000;
        }
        td.RFCbug span.RFC {
                font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
                font-weight: bold; color: #666;
        }
        td.RFCbug span.hotText {
                font-family: charcoal, monaco, geneva, "MS Sans Serif", helvetica, verdana, sans-serif;
                font-weight: normal; text-align: center; color: #FFF;
        }

        table.TOCbug { width: 30px; height: 15px; }
        td.TOCbug {
                text-align: center; width: 30px; height: 15px;
                color: #FFF; background-color: #900;
        }
        td.TOCbug a {
                font-family: monaco, charcoal, geneva, "MS Sans Serif", helvetica, sans-serif;
                font-weight: bold; font-size: x-small; text-decoration: none;
                color: #FFF; background-color: transparent;
        }

        td.header {
                font-family: arial, helvetica, sans-serif; font-size: x-small;
                vertical-align: top; width: 33%;
                color: #FFF; background-color: #666;
        }
        td.author { font-weight: bold; font-size: x-small; margin-left: 4em; }
        td.author-text { font-size: x-small; }

        /* info code from SantaKlauss at http://www.madaboutstyle.com/tooltip2.html */
        a.info {
                /* This is the key. */
                position: relative;
                z-index: 24;
                text-decoration: none;
        }
        a.info:hover {
                z-index: 25;
                color: #FFF; background-color: #900;
        }
        a.info span { display: none; }
        a.info:hover span.info {
                /* The span will display just on :hover state. */
                display: block;
                position: absolute;
                font-size: smaller;
                top: 2em; left: -5em; width: 15em;
                padding: 2px; border: 1px solid #333;
                color: #900; background-color: #EEE;
                text-align: left;
        }

        a { font-weight: bold; }
        a:link    { color: #900; background-color: transparent; }
        a:visited { color: #633; background-color: transparent; }
        a:active  { color: #633; background-color: transparent; }

        p { margin-left: 2em; margin-right: 2em; }
        p.copyright { font-size: x-small; }
        p.toc { font-size: small; font-weight: bold; margin-left: 3em; }
        table.toc { margin: 0 0 0 3em; padding: 0; border: 0; vertical-align: text-top; }
        td.toc { font-size: small; font-weight: bold; vertical-align: text-top; }

        ol.text { margin-left: 2em; margin-right: 2em; }
        ul.text { margin-left: 2em; margin-right: 2em; }
        li      { margin-left: 3em; }

        /* RFC-2629 <spanx>s and <artwork>s. */
        em     { font-style: italic; }
        strong { font-weight: bold; }
        dfn    { font-weight: bold; font-style: normal; }
        cite   { font-weight: normal; font-style: normal; }
        tt     { color: #036; }
        tt, pre, pre dfn, pre em, pre cite, pre span {
                font-family: "Courier New", Courier, monospace; font-size: small;
        }
        pre {
                text-align: left; padding: 4px;
                color: #000; background-color: #CCC;
        }
        pre dfn  { color: #900; }
        pre em   { color: #66F; background-color: #FFC; font-weight: normal; }
        pre .key { color: #33C; font-weight: bold; }
        pre .id  { color: #900; }
        pre .str { color: #000; background-color: #CFF; }
        pre .val { color: #066; }
        pre .rep { color: #909; }
        pre .oth { color: #000; background-color: #FCF; }
        pre .err { background-color: #FCC; }

        /* RFC-2629 <texttable>s. */
        table.all, table.full, table.headers, table.none {
                font-size: small; text-align: center; border-width: 2px;
                vertical-align: top; border-collapse: collapse;
        }
        table.all, table.full { border-style: solid; border-color: black; }
        table.headers, table.none { border-style: none; }
        th {
                font-weight: bold; border-color: black;
                border-width: 2px 2px 3px 2px;
        }
        table.all th, table.full th { border-style: solid; }
        table.headers th { border-style: none none solid none; }
        table.none th { border-style: none; }
        table.all td {
                border-style: solid; border-color: #333;
                border-width: 1px 2px;
        }
        table.full td, table.headers td, table.none td { border-style: none; }

        hr { height: 1px; }
        hr.insert {
                width: 80%; border-style: none; border-width: 0;
                color: #CCC; background-color: #CCC;
        }
--></style>
</head>
<body>
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<table summary="layout" width="66%" border="0" cellpadding="0" cellspacing="0"><tr><td><table summary="layout" width="100%" border="0" cellpadding="2" cellspacing="1">
<tr><td class="header"> </td><td class="header">M. Rose</td></tr>
<tr><td class="header">&nbsp;</td><td class="header">Dover Beach Consulting, Inc.</td></tr>
<tr><td class="header">&nbsp;</td><td class="header">February 28, 2008</td></tr>
</table></td></tr></table>
<h1><br />Writing I-Ds and RFCs using XML (revised)</h1>

<h3>Abstract</h3>

<p>This memo presents a technique for using XML
(Extensible Markup Language)
as a source format for documents in the Internet-Drafts (I-Ds) and
Request for Comments (RFC) series.
This memo is an upwards-compatible revision to RFC 2629.
</p><a name="toc"></a><br /><hr />
<h3>Table of Contents</h3>
<p class="toc">
<a href="#anchor1">1.</a>&nbsp;
Introduction<br />
<a href="#anchor2">2.</a>&nbsp;
Using the DTD to Write I-Ds and RFCs<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#xml_basics">2.1.</a>&nbsp;
XML basics<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#front_matter">2.2.</a>&nbsp;
Front matter<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor3">2.2.1.</a>&nbsp;
The title Element<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#author">2.2.2.</a>&nbsp;
The author Element<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#date">2.2.3.</a>&nbsp;
The date Element<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor4">2.2.4.</a>&nbsp;
Meta Data Elements<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor5">2.2.5.</a>&nbsp;
The abstract Element<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor6">2.2.6.</a>&nbsp;
The note Element<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor7">2.2.7.</a>&nbsp;
Status, Copyright Notice, Table of Contents<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor8">2.2.8.</a>&nbsp;
Everything in the Front<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor9">2.3.</a>&nbsp;
The Middle<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#section">2.3.1.</a>&nbsp;
The section Element<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#appendix">2.3.2.</a>&nbsp;
The appendix Element<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#back_matter">2.4.</a>&nbsp;
Back matter<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#references">2.4.1.</a>&nbsp;
The references Element<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor12">2.4.2.</a>&nbsp;
Appendices<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor13">2.4.3.</a>&nbsp;
Copyright Status<br />
<a href="#anchor14">3.</a>&nbsp;
Processing the XML Source File<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor15">3.1.</a>&nbsp;
Editing<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor16">3.1.1.</a>&nbsp;
Checking<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#xml2rfc">3.2.</a>&nbsp;
Converting to Text Format<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor17">3.3.</a>&nbsp;
Converting to HTML Format<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="#anchor18">3.4.</a>&nbsp;
Searching<br />
<a href="#rfc">Appendix&nbsp;A.</a>&nbsp;
The rfc Element<br />
<a href="#rfc2629.dtd">Appendix&nbsp;B.</a>&nbsp;
The DTD<br />
<a href="#anchor19">Appendix&nbsp;C.</a>&nbsp;
Changes from RFC 2629<br />
<a href="#anchor20">Appendix&nbsp;D.</a>&nbsp;
Conformance with RFC 2026 or RFC 3667 (Historic)<br />
<a href="#anchor21">Appendix&nbsp;E.</a>&nbsp;
Acknowledgements<br />
<a href="#anchor22">4.</a>&nbsp;
Security Considerations<br />
<a href="#rfc.references1">5.</a>&nbsp;
References<br />
<a href="#rfc.index">&#167;</a>&nbsp;
Index<br />
<a href="#rfc.authors">&#167;</a>&nbsp;
Author's Address<br />
</p>
<br clear="all" />

<a name="anchor1"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.1"></a><h3>1.&nbsp;
Introduction</h3>

<p>This memo describes how to write a document for the I-D and RFC series
using <a class='info' href='#W3C.REC-xml-20001006'>the Extensible Markup Language<span> (</span><span class='info'>Paoli, J., Maler, E., Bray, T., and C. Sperberg-McQueen, &ldquo;Extensible Markup Language (XML) 1.0 (Second Edition),&rdquo; October&nbsp;2000.</span><span>)</span></a> [1]
(XML).
This memo has three goals:
</p>
<ol class="text">
<li>To describe a simple XML Document Type Definition (DTD) that is
powerful enough to handle the simple formatting requirements of RFC-like
documents whilst allowing for meaningful markup of descriptive
qualities.
</li>
<li>To describe software that processes XML source files,
including a tool that produces documents
conforming to <a class='info' href='#RFC2223'>RFC 2223<span> (</span><span class='info'>Postel, J. and J. Reynolds, &ldquo;Instructions to RFC Authors,&rdquo; October&nbsp;1997.</span><span>)</span></a> [2],
HTML format, and so on.
</li>
<li>To provide the proof-of-concept for the first two goals
(this memo was written using this DTD and produced using that
software).
</li>
</ol>

<p>It is beyond the scope of this memo to discuss the political
ramifications of using XML as a source format for RFC-like documents.
Rather,
it is simply noted that adding minimal markup to plain text:
</p>
<ul class="text">
<li>allows the traditional production of textual RFC-like documents using
familiar editors;
</li>
<li>requires some, albeit minimal, additions to existing software
environments; and,
</li>
<li>permits information to be organized, searched, and retrieved
using both unstructured and structured mechanisms.
</li>
</ul>

<a name="anchor2"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2"></a><h3>2.&nbsp;
Using the DTD to Write I-Ds and RFCs</h3>

<p>We do not provide a formal or comprehensive description of XML.
Rather,
this section discusses just enough XML to use a Document Type
Declaration (DTD) to write RFC-like documents.
</p>
<p>If you're already familiar with XML,
skip to <a class='info' href='#rfc2629.dtd'>Appendix&nbsp;B<span> (</span><span class='info'>The DTD</span><span>)</span></a> to look at the DTD.
</p>
<a name="xml_basics"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.1"></a><h3>2.1.&nbsp;
XML basics</h3>

<p>There are very few rules when writing in XML,
as the syntax is (deceptively) simple.
There are five terms you'll need to know:
</p>
<ol class="text">
<li>An "element" usually refers to a start tag, an end tag, and all the
characters in between,
e.g.,
<tt>&lt;example&gt;text and/or nested elements&lt;/example&gt;</tt>.
</li>
<li>An "empty element" combines the start tag and the end tag,
e.g.,
<tt>&lt;empty/&gt;</tt>.
For readability,
I prefer to write this as <tt>&lt;empty /&gt;</tt> &#8212; both are legal XML.
You don't find empty elements in HTML.
</li>
<li>An "attribute" is part of an element.
If present, they occur in the start tag, e.g.,
<tt>&lt;example name='value'&gt;</tt>.
Of course,
they can also appear in empty elements, e.g.,
<tt>&lt;empty name='value' /&gt;</tt>.
</li>
<li>An "entity" is a textual macro that starts with <tt>&amp;</tt>.
Usually,
you'll only use them whenever you want to put a <tt>&amp;</tt> or a <tt>&lt;</tt> in
your text.
</li>
<li>A "token" is a string of characters.
The first character is either a letter or an underscore (<tt>_</tt>).
Any characters that follow are either letters, numbers, an
underscore, or a period (<tt>.</tt>).
</li>
</ol>

<p>First,
start your source file with an XML declaration,
a reference to the DTD,
and the rfc element:
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;?xml version='1.0' ?&gt;
    &lt;!DOCTYPE rfc SYSTEM 'rfcXXXX.dtd'&gt;
    &lt;rfc&gt;
        ...
    &lt;/rfc&gt;
</pre></div>
<p>Ignore the first two lines
&#8212; the declaration and the reference &#8212;
and simply treat them as opaque strings.
Nothing else should be present after the &lt;/rfc&gt; tag.
</p>
<p>Second,
make sure that all elements are properly matched and nested.
A properly matched element that starts with
<tt>&lt;example&gt;</tt> is eventually followed
with <tt>&lt;/example&gt;</tt>.
(Empty elements are always matched.)
Elements are properly nested when they don't overlap.
</p>
<p>For example,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;outer&gt;
        ...
        &lt;inner&gt;
            ...
        &lt;/inner&gt;
        ...
    &lt;/outer&gt;
</pre></div>
<p>is properly nested.
</p>
<p>However,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;outer&gt;
        ...
        &lt;inner&gt;
            ...
        &lt;/outer&gt;
        ...
    &lt;/inner&gt;
</pre></div>
<p>overlaps, so the elements aren't properly nested.
</p>
<p>Third,
never use <tt>&lt;</tt> or <tt>&amp;</tt> in your text.
Instead, use either <tt>&amp;lt;</tt> or <tt>&amp;amp;</tt>, respectively.
</p>
<p>Fourth,
there are two quoting characters in XML,
apostrophe (') and quotation (").
Make sure that all attributes values are quoted,
e.g., <tt>&lt;example name='value'&gt;</tt>.
If the value contains one of the quoting characters,
then use the other to quote the value,
e.g., <tt>&lt;example name='"'&gt;</tt>,
If the value contains both quoting characters,
then use one of them to quote the value,
and replace occurrences of that character in the attribute value with
either <tt>&amp;apos;</tt> (apostrophe) or <tt>&amp;quot;</tt> (quotation),
e.g., <tt>&lt;example name='"&amp;apos;"'&gt;</tt>.
</p>
<p>If you want to put a comment in your source file,
here's the syntax:
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
        &lt;!-- comments can be multiline,
         if you wish --&gt;
</pre></div>
<p>Finally,
XML is case sensitive,
which means that <tt>&lt;foo&gt;</tt> is different
from <tt>&lt;Foo&gt;</tt>.
</p>
<a name="front_matter"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2"></a><h3>2.2.&nbsp;
Front matter</h3>

<p>Immediately following the &lt;rfc&gt; tag is the
front element:
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;?xml version='1.0'?&gt;
    &lt;!DOCTYPE rfc SYSTEM 'rfcXXXX.dtd'&gt;
    &lt;rfc&gt;
        &lt;front&gt;
            &lt;title ...&gt;
            &lt;author ...&gt;
            &lt;author ...&gt;
            &lt;date ...&gt;
            &lt;area ...&gt;
            &lt;workgroup ...&gt;
            &lt;keyword ...&gt;
            &lt;keyword ...&gt;
            &lt;abstract ...&gt;
            &lt;note ...&gt;
        &lt;/front&gt;
        ...
    &lt;/rfc&gt;
</pre></div>
<p>(Note that in all examples,
indentation is used only for expository purposes.)
</p>
<p>The front element consists of a title element,
one or more author elements,
a date element,
one or more optional area elements,
one or more optional workgroup elements,
one or more optional keyword elements,
an optional abstract element.
and,
one or more optional note elements.
</p>
<a name="anchor3"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.1"></a><h3>2.2.1.&nbsp;
The title Element</h3>

<p>The title element identifies the title of the document.
Because the title will be used in the headers of the document when formatted
according to <a class='info' href='#RFC2223'>[2]<span> (</span><span class='info'>Postel, J. and J. Reynolds, &ldquo;Instructions to RFC Authors,&rdquo; October&nbsp;1997.</span><span>)</span></a>,
if the title is more than 42 characters,
then an abbreviation should also be provided,
e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;title abbrev='Much Ado about Nothing'&gt;
    The IETF's Discussion on "Source Format of RFC Documents"
    &lt;/title&gt;
</pre></div>
<a name="author"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.2"></a><h3>2.2.2.&nbsp;
The author Element</h3>

<p>Each author element identifies a document author.
Since a document may have more than one author,
more than one author element may be present.
If the author is a person,
then three attributes must be present in the &lt;author&gt; tag,
initials, surname, and fullname,
e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;author initials='F.J.' surname='Flintstone'
            fullname='Frederick Flintstone'&gt;
</pre></div>
<p>There is also an optional role attribute,
which,
if present,
must take the value "editor".
</p>
<p>The author element itself consists of an organization element,
and,
an optional address element.
</p>
<p>The organization element is similar to the title element,
in that an abbreviation may be paired with a long organization name
using the abbrev attribute, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;organization abbrev='ISI'&gt;
        USC/Information Sciences Institute
    &lt;/organization&gt;
</pre></div>
<p>The address element consists of an optional postal element,
an optional phone element,
an optional facsimile element,
an optional email element,
and,
an optional uri element.
</p>
<p>The postal element contains one or more street elements,
followed by any combination of city,
region (state or province),
code (zipcode or postal code),
and country elements, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;postal&gt;
        &lt;street&gt;660 York Street&lt;/street&gt;
        &lt;street&gt;M/S 40&lt;/street&gt;
        &lt;city&gt;San Francisco&lt;/city&gt; &lt;region&gt;CA&lt;/region&gt;
        &lt;code&gt;94110&lt;/code&gt;
        &lt;country&gt;US&lt;/country&gt;
    &lt;/postal&gt;
</pre></div>
<p>This flexibility is provided to allow for different national
formats for postal addresses.
Note however,
that although the order of the city,
region,
code,
and country elements isn't specified,
at most one of each may be present.
Regardless,
these elements must not be re-ordered during processing by an XML
application
(e.g., display applications must preserve the ordering of the
information contained in these elements).
Finally,
the value of the country element should be a two-letter
code from ISO 3166.
</p>
<p>The phone,
facsimile,
email,
and uri elements are simple, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;phone&gt;+1 916 555 1234&lt;/phone&gt;
    &lt;email&gt;fred@example.com&lt;/email&gt;
    &lt;uri&gt;http://example.com/&lt;/uri&gt;
</pre></div>
<a name="date"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.3"></a><h3>2.2.3.&nbsp;
The date Element</h3>

<p>The date element identifies the publication date of the
document.
It consists of a month and a year, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;date month='February' year='1999' /&gt;
</pre></div>
<p>The date element also has an optional day attribute.
(Actually,
due to popular demand,
all three attributes are optional.)
</p>
<a name="anchor4"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.4"></a><h3>2.2.4.&nbsp;
Meta Data Elements</h3>

<p>The front element may contain meta data &#8212;
the content of these elements does not appear in printed versions of
the document.
</p>
<p>A document has one or more optional area,
workgroup,
and keyword elements, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;area&gt;General&lt;/area&gt;
    &lt;workgroup&gt;RFC Beautification Working Group&lt;/workgroup&gt;
    &lt;keyword&gt;RFC&lt;/keyword&gt;
    &lt;keyword&gt;Request for Comments&lt;/keyword&gt;
    &lt;keyword&gt;I-D&lt;/keyword&gt;
    &lt;keyword&gt;Internet-Draft&lt;/keyword&gt;
    &lt;keyword&gt;XML&lt;/keyword&gt;
    &lt;keyword&gt;Extensible Markup Language&lt;/keyword&gt;
</pre></div>
<p>The area elements identify a general category for the
document
(e.g., one of "Applications", "General", "Internet", "Management",
"Operations", "Routing", "Security", "Transport", or "User"),
while the workgroup elements identify the IETF working groups that
produced the document,
and the keyword elements identify useful search terms.
</p>
<a name="anchor5"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.5"></a><h3>2.2.5.&nbsp;
The abstract Element</h3>

<p>A document may have an abstract element,
which contains one or more <a class='info' href='#t'>t elements<span> (</span><span class='info'>The t Element</span><span>)</span></a>.
In general,
only a single t element is present,
e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;abstract&gt;
        &lt;t&gt;This memo presents a technique for using XML
        (Extensible Markup Language) as a source format
        for documents in the Internet-Drafts (I-Ds) and
        Request for Comments (RFC) series.&lt;/t&gt;
    &lt;/abstract&gt;
</pre></div>
<a name="anchor6"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.6"></a><h3>2.2.6.&nbsp;
The note Element</h3>

<p>A document may have one or more note elements,
each of which contains one or more <a class='info' href='#t'>t elements<span> (</span><span class='info'>The t Element</span><span>)</span></a>.
There is a mandatory title attribute.
In general,
the note element contains text from the IESG,
e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;note title='IESG Note'&gt;
        &lt;t&gt;The IESG has something to say.&lt;/t&gt;
    &lt;/note&gt;
</pre></div>
<a name="anchor7"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.7"></a><h3>2.2.7.&nbsp;
Status, Copyright Notice, Table of Contents</h3>

<p>Note that text relating to the memo's status, copyright notice, or
table of contents is not included in the document's markup &#8212; this is
automatically inserted by an XML application when it produces either
a text or HTML version of the document.
</p>
<a name="ipr"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.7.1"></a><h3>2.2.7.1.&nbsp;
Conformance with RFC 3978</h3>

<p>If an Internet-Draft is being produced,
then the ipr attribute should be present in the <tt>&lt;rfc&gt;</tt> tag
at the beginning of the file.
The value of the attribute should be one of:
<tt>full3978</tt>,
<tt>noModification3978</tt>,
or
<tt>noDerivatives3978</tt>.
For the latter two options,
an additional attribute, iprExtract, will be consulted.
If present,
its value is an anchor that is used to cross-reference the section of
the document that may be extracted as-is for separate use.
</p>
<p>Consult <a class='info' href='#RFC3978'>[3]<span> (</span><span class='info'>Bradner, S., &ldquo;IETF Rights in Contributions,&rdquo; March&nbsp;2005.</span><span>)</span></a> for further details.
</p>
<p>If the Internet-Draft is being submitted to an automated process,
then the docName attribute should be present in the
&lt;rfc&gt; tag at the beginning of the file.
The value of this attribute contains the document (not file) name
associated with this Internet-Draft, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;rfc ipr='full3978' docName='draft-mrose-writing-rfcs-01'&gt;
        ...
    &lt;/rfc&gt;
</pre></div>
<p>Finally,
an xml:lang attribute may be present to indicate that the document is
written in some language other than English
(for writing things other than RFCs).
</p>
<a name="anchor8"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.2.8"></a><h3>2.2.8.&nbsp;
Everything in the Front</h3>

<p>So,
putting it all together, we have, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;front&gt;
        &lt;title&gt;Writing I-Ds and RFCs using XML&lt;/title&gt;

        &lt;author initials='F.J.' surname='Flintstone'
                fullname='Frederick Flintstone'&gt;
            &lt;organization&gt;Slate Construction, Inc.&lt;/organization&gt;

            &lt;address&gt;
                &lt;postal&gt;
                    &lt;street&gt;660 York Street&lt;/street&gt;
                    &lt;street&gt;M/S 40&lt;/street&gt;
                    &lt;city&gt;San Francisco&lt;/city&gt; &lt;region&gt;CA&lt;/region&gt;
                    &lt;code&gt;94110&lt;/code&gt;
                    &lt;country&gt;US&lt;/country&gt;
                &lt;/postal&gt;

                &lt;phone&gt;+1 916 555 1234&lt;/phone&gt;
                &lt;email&gt;fred@example.com&lt;/email&gt;
                &lt;uri&gt;http://example.com/&lt;/uri&gt;
            &lt;/address&gt;
        &lt;/author&gt;

        &lt;date month='February' year='1999' /&gt;

        &lt;area&gt;General&lt;/area&gt;
        &lt;workgroup&gt;RFC Beautification Working Group&lt;/workgroup&gt;
        &lt;keyword&gt;RFC&lt;/keyword&gt;
        &lt;keyword&gt;Request for Comments&lt;/keyword&gt;
        &lt;keyword&gt;I-D&lt;/keyword&gt;
        &lt;keyword&gt;Internet-Draft&lt;/keyword&gt;
        &lt;keyword&gt;XML&lt;/keyword&gt;
        &lt;keyword&gt;Extensible Markup Language&lt;/keyword&gt;
        &lt;abstract&gt;
            &lt;t&gt;This memo presents a technique for using XML
            (Extensible Markup Language) as a source format
            for documents in the Internet-Drafts (I-Ds) and
            Request for Comments (RFC) series.&lt;/t&gt;
        &lt;/abstract&gt;
    &lt;/front&gt;
</pre></div>
<a name="anchor9"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3"></a><h3>2.3.&nbsp;
The Middle</h3>

<p></p>
<blockquote class="text"><dl>
<dt>Note well:</dt>
<dd>
Although this draft refers to the appendix element,
the text referring to that element is entirely speculative
(until such time as this advisory is removed).
</dd>
</dl></blockquote>

<p>The middle element contains all the sections
of the document except for the bibliography and the boilerplate:
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    ...
    &lt;/front&gt;
    &lt;middle&gt;
        &lt;section ...&gt;
        &lt;section ...&gt;
        &lt;section ...&gt;
        &lt;appendix ...&gt;
        &lt;appendix ...&gt;
    &lt;/middle&gt;
    &lt;back&gt;
    ...
</pre></div>
<p>The middle element consists of one or more
section elements,
optionally followed by one or more appendix elements,
optionally followed by one or more section elements.
</p>
<a name="section"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1"></a><h3>2.3.1.&nbsp;
The section Element</h3>

<p>Each section element contains a section of the document.
There is a mandatory attribute,
title,
that identifies the title of the section.
There are also two optional attributes,
anchor,
that is used for cross-referencing with
<a class='info' href='#xref'>the xref element<span> (</span><span class='info'>The xref Element</span><span>)</span></a>,
e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;section anchor='intro' title='Introduction'&gt;
        ...
    &lt;/section&gt;

</pre></div>
<p>
and the toc attribute,
which is used to indicate whether the section should appear in the
table of contents.
(The choices are "exclude", "include", and "default").
</p>
<p>The section element is recursive &#8212;
each contains any number and combination of t,
figure,
texttable,
iref,
and section elements, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;section title='The Middle'&gt;
        ...
        &lt;section title='The section Element'&gt;
            ...
            &lt;section title='The t Element'&gt;...&lt;/section&gt;
            &lt;section title='The list Element'&gt;...&lt;/section&gt;
            &lt;section title='The figure Element'&gt;...&lt;/section&gt;
            &lt;section title='The texttable Element'&gt;...&lt;/section&gt;
            &lt;section title='The xref Element'&gt;...&lt;/section&gt;
            &lt;section title='The eref Element'&gt;...&lt;/section&gt;
            &lt;section title='The iref Element'&gt;...&lt;/section&gt;
            &lt;section title='The cref Element'&gt;...&lt;/section&gt;
            &lt;section title='The spanx Element'&gt;...&lt;/section&gt;
            &lt;section title='The vspace Element'&gt;...&lt;/section&gt;
        &lt;/section&gt;
    &lt;/section&gt;
</pre></div>
<p>Note that the section element is tail-recursive.
</p>
<a name="t"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.1"></a><h3>2.3.1.1.&nbsp;
The t Element</h3>

<p>Paragraphs are contained in t elements.
A paragraph can consist of text,
lists,
figures,
and other t element-delimited 
paragraphs,
in any number or combination.
</p>
<p>If a cross-reference is needed to a section, figure, table, or reference,
<a class='info' href='#xref'>the xref element<span> (</span><span class='info'>The xref Element</span><span>)</span></a> is used;
similarly,
if an external-reference is needed,
<a class='info' href='#eref'>the eref element<span> (</span><span class='info'>The eref Element</span><span>)</span></a> is used.
Indexing of text is provided by the
<a class='info' href='#iref'>the iref element<span> (</span><span class='info'>The iref Element</span><span>)</span></a>.
</p>
<p></p>
<blockquote class="text"><dl>
<dt>Note well:</dt>
<dd>
Although RFC2629 allows the figure element to be nested within the
t element,
authors are strongly encouraged to avoid this usage &#8212;
it is always preferable to place the figure element as a direct
subordinate of the section element.
</dd>
</dl></blockquote>

<a name="list"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.2"></a><h3>2.3.1.2.&nbsp;
The list Element</h3>

<p>The list element contains one or more items.
Each item is a t element,
allowing for recursion, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;list style='numbers'&gt;
        &lt;t&gt;The first item.&lt;/t&gt;
        &lt;t&gt;The second item, which contains two bulleted sub-items:
            &lt;list style='symbols'&gt;
                &lt;t&gt;The first sub-item.&lt;/t&gt;
                &lt;t&gt;The second sub-item.&lt;/t&gt;
            &lt;/list&gt;
        &lt;/t&gt;
    &lt;/list&gt;
</pre></div>
<p>The list element has an optional attribute,
style,
having the value "numbers" (for numeric lists),
"letters" (for alphabetic lists),
"symbols" (for bulleted lists),
"hanging" (for hanging lists),
"format" (for auto-formatted lists),
or,
"empty" (for indented text).
If a list element is nested,
the default value is taken from its closest parent;
otherwise,
the default value is "empty".

</p>
<p>When nested within a hanging list element,
the t element has an optional attribute,
hangText that specifies the text to be inserted, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;list style='hanging'&gt;
        &lt;t hangText="counter:"&gt;the "counting designation" is
        rendered
        (e.g., "2.1" or "A.2");&lt;/t&gt;

        &lt;t hangText="title:"&gt;the title attribute of the
        corresponding element is rendered
        (e.g., "XML Basics");&lt;/t&gt;

        &lt;t hangText="none:"&gt;no additional designation is rendered;
        or,&lt;/t&gt;

        &lt;t hangText="default:"&gt;a suitable designation is rendered,
        e.g., "Section 2.1" or
        "&amp;lt;a href='#xml_basics'&gt;XML Basics&amp;lt;/a&gt;"
        (the default).&lt;/t&gt;
    &lt;/list&gt;
</pre></div>
<p>The style attribute value for an auto-formatted list
starts with the seven letters "format ",
and is followed by a string which must contain exactly one instance of "%d"
and "%c".
Hanging text is automatically generated for each nested t element,
e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;list style='format R%d:'&gt;
        &lt;t&gt;Text for R1.&lt;/t&gt;

        &lt;t&gt;Text for R2.&lt;/t&gt;
    &lt;/list&gt;
    ...
    &lt;list style='format Directive %c:'&gt;
        &lt;t&gt;Text for Directive A.&lt;/t&gt;

        &lt;t&gt;Text for Directive B.&lt;/t&gt;
    &lt;/list&gt;
    ...
    &lt;list style='format R%d:'&gt;
        &lt;t&gt;Text for R3.&lt;/t&gt;
    &lt;/list&gt;
</pre></div>
<p>If the list is auto-formatted,
then
the optional counter attribute is consulted,
which controls the numbering.
By default,
the value of this attribute is the same as the formatting string,
e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;list style='format R%d:' counter='Requirements'&gt;
        &lt;t&gt;Text for R1.&lt;/t&gt;

        &lt;t&gt;Text for R2.&lt;/t&gt;
    &lt;/list&gt;
    ...
    &lt;list style='format Directive %c:' counter='Directives'&gt;
        &lt;t&gt;Text for Directive A.&lt;/t&gt;

        &lt;t&gt;Text for Directive B.&lt;/t&gt;
    &lt;/list&gt;
    ...
    &lt;list style='format R%d:' counter='Requirements'&gt;
        &lt;t&gt;Text for R3.&lt;/t&gt;
    &lt;/list&gt;
</pre></div>
<p>If the style attribute has the value "hanging" or "format",
then a second, optional, attribute called hangIndent is consulted.
This overrides the default indentation used for the text of each t element,
ensuring that each t element has the same indentation, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;list style='format R%d:' hangIndent='5'&gt;
        &lt;t&gt;Text for R1.&lt;/t&gt;

        &lt;t&gt;Text for R2.&lt;/t&gt;

        ...

        &lt;t&gt;Text for R12.&lt;/t&gt;
    &lt;/list&gt;
</pre></div>
<p>The final item will read "R12:  Text for R12."
</p>
<a name="figure"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.3"></a><h3>2.3.1.3.&nbsp;
The figure Element</h3>

<p>The figure element groups an optional preamble element,
an artwork element,
and an optional postamble element together.
The figure element also has an optional anchor attribute that is
used for cross-referencing with
<a class='info' href='#xref'>the xref element<span> (</span><span class='info'>The xref Element</span><span>)</span></a>.
There is also an optional title attribute that identifies the title
of the figure.
</p>
<p>The preamble and postamble elements,
if present,
are simply text.
If a cross-reference is needed to a section, figure, table, or reference,
<a class='info' href='#xref'>the xref element<span> (</span><span class='info'>The xref Element</span><span>)</span></a> is used;
similarly,
if an external-reference is needed,
<a class='info' href='#eref'>the eref element<span> (</span><span class='info'>The eref Element</span><span>)</span></a> is used.
Indexing of text is provided by the
<a class='info' href='#iref'>the iref element<span> (</span><span class='info'>The iref Element</span><span>)</span></a>.
</p>
<p>The artwork element,
which must be present,
contains "ASCII artwork".
Unlike text contained in the t,
preamble,
or postamble elements,
both horizontal and vertical whitespace is significant in the
artwork element.
</p>
<p>So,
putting it all together, we have, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;figure anchor='figure_example'&gt;
        &lt;preamble&gt;So,
        putting it all together, we have, e.g.,&lt;/preamble&gt;
        &lt;artwork&gt;
            ascii artwork goes here...

            be sure to use "&amp;lt;" or "&amp;amp;" instead of "&lt;" and "&amp;",
            respectively!
        &lt;/artwork&gt;
        &lt;postamble&gt;which is a very simple example.&lt;/postamble&gt;
    &lt;/figure&gt;
</pre></div>
<p>which is a very simple example.
</p>
<p>If you have artwork with a lot of "&lt;" characters,
then there's an XML trick you can use:
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;figure&gt;
        &lt;preamble&gt;If you have artwork with a lot of "&amp;lt;"
        characters, then there's an XML trick you can
        use:&lt;/preamble&gt;
        &lt;artwork&gt;&lt;![CDATA[
            ascii artwork goes here...

            just don't use "]]" in your artwork!
        ]]&gt;&lt;/artwork&gt;
        &lt;postamble&gt;The "&amp;lt;![CDATA[ ... ]]&gt;" construct is called
        a CDATA block -- everything between the innermost brackets
        is left alone by the XML application.&lt;/postamble&gt;
    &lt;/figure&gt;
</pre></div>
<p>The &lt;![CDATA[ ... ]]&gt; construct is called a CDATA
block &#8212; everything between the innermost brackets is left alone by
the XML application.
</p>
<p>Because the figure element represents a logical grouping of text
and artwork,
an XML application producing a text version of the document should
attempt to keep these elements on the same page.
Because <a class='info' href='#RFC2223'>RFC 2223<span> (</span><span class='info'>Postel, J. and J. Reynolds, &ldquo;Instructions to RFC Authors,&rdquo; October&nbsp;1997.</span><span>)</span></a> [2] allows no more than 69
characters by 49 lines of content on each page,
XML applications should be prepared to prematurely introduce page
breaks to allow for better visual grouping.
</p>
<p>Finally,
the artwork element has two optional attributes:
name and type.
The former is used to suggest a filename to use when storing the
content of the artwork element,
whilst the latter contains a suggestive data-typing for the content.
</p>
<a name="texttable"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.4"></a><h3>2.3.1.4.&nbsp;
The texttable Element</h3>

<p>The texttable element groups an optional preamble element,
one or more ttcol elements,
zero or more c elements,
and an optional postamble element together.
The texttable element also has an optional anchor attribute that is
used for cross-referencing with
<a class='info' href='#xref'>the xref element<span> (</span><span class='info'>The xref Element</span><span>)</span></a>.
There is also an optional title attribute that identifies the title
of the table.
</p>
<p>The preamble and postamble elements have already been described in
<a class='info' href='#figure'>Section&nbsp;2.3.1.3<span> (</span><span class='info'>The figure Element</span><span>)</span></a>.
</p>
<p>The ttcol element,
of which at least one must be present,
defines a column header for the table,
along with the desired width and alignment for the column:
</p>
<ul class="text">
<li>the optional width attribute,
if present,
indicates the desired amount of horizontal space taken by the column,
and is expressed as a percentage (e.g., <tt>30%</tt>),
and the remaining space is divided equally among all columns for which
the width is unspecified; and,
</li>
<li>the optional align attribute,
if present indicates whether the column should be justified to the
<tt>left</tt>,
<tt>center</tt>,
or
<tt>right</tt>.
</li>
</ul>

<p>The c element,
is present for each cell in the table,
and contains text along with the usual cross-reference and indexing
elements.
</p>
<p>So,
putting it all together, we have, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;texttable anchor='table_example'&gt;
        &lt;preamble&gt;So,
        putting it all together, we have, e.g.,&lt;/preamble&gt;
        &lt;ttcol align='center'&gt;ttcol #1&lt;/ttcol&gt;
        &lt;ttcol align='center'&gt;ttcol #2&lt;/ttcol&gt;
        &lt;c&gt;c #1&lt;/c&gt;
        &lt;c&gt;c #2&lt;/c&gt;
        &lt;c&gt;c #3&lt;/c&gt;
        &lt;c&gt;c #4&lt;/c&gt;
        &lt;c&gt;c #5&lt;/c&gt;
        &lt;c&gt;c #6&lt;/c&gt;
        &lt;postamble&gt;which is a very simple example.&lt;/postamble&gt;
    &lt;/texttable&gt;
</pre></div>
<p>which is a very simple example.
</p>
<p style='text-align: center'>So,
        putting it all together, we have, e.g.,
</p><table class="full" align="center" border="0" cellpadding="2" cellspacing="2">
<col align="center"><col align="center">
<tr><th align="center">ttcol #1</th><th align="center">ttcol #2</th></tr>
<tr>
<td align="center">c #1</td>
<td align="center">c #2</td>
</tr>
<tr>
<td align="center">c #3</td>
<td align="center">c #4</td>
</tr>
<tr>
<td align="center">c #5</td>
<td align="center">c #6</td>
</tr>
</table>
<br clear="all" />

<p style='text-align: center'>which is a very simple example.
</p>
<p>As with the figure element,
the texttable element represents a logical grouping of text,
hence an XML application producing a text version of the document should
attempt to keep these elements on the same page.
</p>
<a name="xref"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.5"></a><h3>2.3.1.5.&nbsp;
The xref Element</h3>

<p>The xref element is used to cross-reference sections, figures,
tables, and references.
The mandatory target attribute is used to link back to the anchor
attribute of the section, figure, and reference elements.
The value of the anchor and target attributes should be formatted
according to the token syntax in <a class='info' href='#xml_basics'>Section&nbsp;2.1<span> (</span><span class='info'>XML basics</span><span>)</span></a>.
</p>
<p>If used as an empty element,
e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    according to the token syntax in &lt;xref target='xml_basics' /&gt;.
</pre></div>
<p>then the XML application inserts an appropriate phrase
during processing.
</p>
<p>What's "appropriate" depends on the value of the optional format attribute.
There are four possible values:
</p>
<blockquote class="text"><dl>
<dt>counter:</dt>
<dd>the "counting designation" is rendered
(e.g., "2.1" or "A.2");
</dd>
<dt>title:</dt>
<dd>the title attribute of the corresponding element
is rendered (e.g., "XML Basics");
</dd>
<dt>none:</dt>
<dd>no additional designation is rendered; or,
</dd>
<dt>default:</dt>
<dd>a suitable designation is rendered,
e.g., "Section 2.1" or
"&lt;a href='#xml_basics'>XML Basics&lt;/a>" (the default).
</dd>
</dl></blockquote>

<p>If used with content, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    conforming to &lt;xref target='RFC2223'&gt;RFC 2223&lt;/xref&gt;.
</pre></div>
<p>then the XML application inserts an appropriate
designation during processing,
such as "RFC 2223[2]" or
"&lt;a href='#refs.RFC2223'&gt;RFC 2223&lt;/a&gt;".
Although the XML application decides what "an appropriate designation"
might be,
its choice is consistent throughout the processing of the document.

</p>
<a name="eref"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.6"></a><h3>2.3.1.6.&nbsp;
The eref Element</h3>

<p>The eref element is used to reference external documents.
The mandatory target attribute is a
<a class='info' href='#RFC2396'>URI<span> (</span><span class='info'>Berners-Lee, T., Fielding, R., and L. Masinter, &ldquo;Uniform Resource Identifiers (URI): Generic Syntax,&rdquo; August&nbsp;1998.</span><span>)</span></a> [6], e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;eref target='http://www.ibiblio.org/xml/'&gt;Cafe con Leche&lt;/eref&gt;
</pre></div>
<p>Note that while the target attribute is always present,
the eref element may be empty, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;eref target='http://example.com/' /&gt;
</pre></div>
<p>and the XML application inserts an appropriate designation during
processing such as "[9]" or
"&lt;a href='http://example.com/'&gt;http://example.com/&lt;/a&gt;".
</p>
<a name="iref"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.7"></a><h3>2.3.1.7.&nbsp;
The iref Element</h3>

<p><a name='anchor24'></a>The iref element
is used to add information to an index,
typically rendered at the end of the document.
The mandatory item attribute is the primary key the information is stored
under,
whilst the optional subitem attribute is the secondary key, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;iref item='indexing' subitem='how to' /&gt;
</pre></div>
<p>The optional primary attribute can be used to indicate
that this particular indexing entry should be considered "primary".
</p>
<p>Finally, note that the iref element is always empty &#8212; it never
contains any text.
</p>
<a name="cref"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.8"></a><h3>2.3.1.8.&nbsp;
The cref Element</h3>

<p>The cref element is used to add commentary information to a draft
being written,
typically rendered at the end of the document.
The element's character data contains the comment,
and the optional source attribute can be used for attribute.
</p>
<p>One or more processing directives are used to indicate whether the
commentary information should be rendered,
and if so,
whether it should be rendered inline or in a separate section at the end of the document.
</p>
<a name="anchor10"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.9"></a><h3>2.3.1.9.&nbsp;
The spanx Element</h3>

<p>The spanx element,
which may occur only inside the t element,
is used by the author to provide formatting guidance to the XML
application.
There is an attribute,
style,
that indicates how the text inside the element should be rendered.
(Note that leading and trailing whitespace is significant.)
</p>
<p>At this time,
the list of possible values for the style isn't
enumerated,
but implementations should,
at a minimum,
support:
</p>
<blockquote class="text"><dl>
<dt>      emph:</dt>
<dd>indicates emphasis;
</dd>
<dt>    strong:</dt>
<dd>indicates stronger emphasis; and,
</dd>
<dt>      verb:</dt>
<dd>indicates sample input for programs.
</dd>
</dl></blockquote>

<a name="anchor11"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.1.10"></a><h3>2.3.1.10.&nbsp;
The vspace Element</h3>

<p>The vspace element,
which may occur only inside the t element,
is used by the author to provide formatting guidance to the XML
application.
There is an attribute,
blankLines,
that indicates the number of blank lines that should be inserted.
A physical linebreak is specified by using the default value, "0".
</p>
<p>In addition,
the vspace element can be used to force a new physical paragraph
within a list item, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;list style='numbers'&gt;
        &lt;t&gt;This is list item.
           &lt;vspace blankLines='1' /&gt;
           This is part of the same list item,
           although when displayed, it appears
           as a separate physical paragraph.&lt;/t&gt;
    &lt;/list&gt;
</pre></div>
<p>An XML application producing a text version of the document should
exercise care when encountering a value for blankLines that causes a
pagebreak &#8212;
in particular,
if a vspace element causes a pagebreak,
then no further blank lines should be inserted.
This allows authors to "force" a pagebreak by using an arbitrarily
large value, e.g., <tt>blankLines='100'</tt>.
</p>
<p>Finally, note that the vspace element is always empty &#8212; it never
contains any text.
</p>
<a name="appendix"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.3.2"></a><h3>2.3.2.&nbsp;
The appendix Element</h3>

<p>The appendix element is identical to the
<a class='info' href='#section'>the section element<span> (</span><span class='info'>The section Element</span><span>)</span></a>.
It has the same attributes
(the mandatory title
and the optional anchor).
</p>
<p>As with the section element,
it is tail-recursive &#8212;
each appendix element contains any number and
combination of t,
figure,
texttable,
iref,
and appendix elements.
</p>
<a name="back_matter"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.4"></a><h3>2.4.&nbsp;
Back matter</h3>

<p>Finally,
the back element is used for references:
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
        ...
        &lt;/middle&gt;
        &lt;back&gt;
            &lt;references&gt;
                &lt;reference ...&gt;
                &lt;reference ...&gt;
            &lt;/references&gt;
            &lt;section ...&gt;
            &lt;section ...&gt;
        &lt;/back&gt;
    &lt;/rfc&gt;
</pre></div>
<p>The back element consists of zero or more references elements,
and,
one or more optional section elements.
The back element itself is optional,
if your document doesn't have any references or appendices,
you don't have to include it.
</p>
<a name="references"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.4.1"></a><h3>2.4.1.&nbsp;
The references Element</h3>

<p>The references element contains the document's bibliography.
The optional title attribute defaults to "References", if not
present.
This element contains one or more reference elements.
</p>
<p>Each reference element contains a front element,
one or more optional seriesInfo elements,
one or more optional format elements,
and one or more optional annotation elements.
</p>
<p>We've already discussed the front element back in
<a class='info' href='#front_matter'>Section&nbsp;2.2<span> (</span><span class='info'>Front matter</span><span>)</span></a>.
</p>
<p>The seriesInfo element has two attributes,
name and value that identify the document series and series entry,
respectively.
</p>
<p>The reference element has an optional anchor
attribute that is used for cross-referencing with
<a class='info' href='#xref'>the xref element<span> (</span><span class='info'>The xref Element</span><span>)</span></a>, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;reference anchor='RFC2200'&gt;
        &lt;front&gt;
            &lt;title&gt;Internet Official Protocol Standards&lt;/title&gt;
            &lt;author initials='J.' surname='Postel'
                    fullname='Jon Postel'&gt;
                &lt;organization abbrev='ISI'&gt;
                USC/Information Sciences Institute
                &lt;/organization&gt;
            &lt;/author&gt;

            &lt;date month='June' year='1997' /&gt;
        &lt;/front&gt;
        &lt;seriesInfo name='RFC' value='2200' /&gt;
        &lt;seriesInfo name='STD' value='1' /&gt;
        &lt;format type='TXT' octets='94506'
                target='ftp://ftp.isi.edu/in-notes/rfc2200.txt' /&gt;
    &lt;/reference&gt;
</pre></div>
<p>The format element has a mandatory type attribute
(typically having the value <tt>TXT</tt>),
and two optional elements
</p>
<ul class="text">
<li>octets, which indicates the size in octets of the formatted document;
and,
</li>
<li>target, which is an external to the formatted document.
</li>
</ul>

<p>The reference element also has an optional target
attribute that is used for external references
(c.f., <a class='info' href='#eref'>Section&nbsp;2.3.1.6<span> (</span><span class='info'>The eref Element</span><span>)</span></a>).
The XML application,
if producing an HTML version of the document will use the target
attribute accordingly;
however,
if the name attribute of the seriesInfo element has the value "RFC",
then the XML application should automatically provide an appropriate
default for the target attribute
(e.g., <tt>http://example.com/in-notes/rfc2200.txt</tt>).
</p>
<p>Finally,
the annotation element may be used to annotate a citation.
Zero or more annotations may be present,
and each contains text along with the usual cross-reference and
indexing elements.
</p>
<a name="anchor12"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.4.2"></a><h3>2.4.2.&nbsp;
Appendices</h3>

<p>To include appendices after the bibliography,
simply add more section elements.
</p>
<a name="anchor13"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.2.4.3"></a><h3>2.4.3.&nbsp;
Copyright Status</h3>

<p>The copyright status for the document is not included in the
document's markup &#8212; this is automatically inserted by an XML
application that produces either a text or HTML version of the document.
</p>
<a name="anchor14"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.3"></a><h3>3.&nbsp;
Processing the XML Source File</h3>

<p>This section concerns itself with applications that operate on
an XML source file.
A lot of XML tools are available,
as are many lists of XML resources,
e.g.,
<a href='http://www.ibiblio.org/xml/'>Cafe con Leche</a>.
</p>
<p>There are two kinds of XML tools: validating and non-validating.
Both check that the source file conforms to the rules given in
<a class='info' href='#xml_basics'>Section&nbsp;2.1<span> (</span><span class='info'>XML basics</span><span>)</span></a>.
However,
in addition to making sure that the source file is well-formed,
a validating tool also reads the DTD referenced by the source file
to make sure that they match.
There are a number of both validating and non-validating tools available.
</p>
<a name="anchor15"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.3.1"></a><h3>3.1.&nbsp;
Editing</h3>

<p>There are several XML editors available.
Ideally,
you want an editor that validates.
This has two advantages:
</p>
<ul class="text">
<li>the editor provides guidance in fleshing-out the document structure;
and,
</li>
<li>the editor validates that the source file matches the rules in the DTD.
</li>
</ul>

<p>There are three major modes in Emacs that support XML:
<a href='http://www.thaiopensource.com/download/'>nxml</a>,
<a href='http://www.menteith.com/tdtd/'>tdtd</a>, and
<a href='http://www.lysator.liu.se/projects/about_psgml.html'>psgml</a>.
The author uses nxml mode,
which has a built in XML validator.
The psgml mode allows you to validate the source file
(by calling an external program).
If you visit the source file in Emacs and the major mode isn't
"SGML" or "XML",
then usually all it takes is adding these lines to your ".emacs"
file:
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    (setq auto-mode-alist
          (cons (cons "\\.xml$" 'sgml-mode) auto-mode-alist))
</pre></div>
<p>and then restarting Emacs.
If this doesn't work,
try one of the sources above.
</p>
<p>The author uses both sgml-mode in Emacs,
and a commercial validating editor,
<a href='http://www.xmlspy.com/'>XML Spy</a>,
when editing source files.
</p>
<a name="anchor16"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.3.1.1"></a><h3>3.1.1.&nbsp;
Checking</h3>

<p>If your editor doesn't validate,
then you should run a program to validate the source file.
</p>
<p>The author uses
<a href='http://www.alphaworks.ibm.com/xml'>the AlphaWorks XML parser</a>
for this purpose.
It requires that your system have a Java virtual machine.
In addition to Java,
there are validating parsers written in C, Perl, Python, and Tcl.
</p>
<a name="xml2rfc"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.3.2"></a><h3>3.2.&nbsp;
Converting to Text Format</h3>

<p>The author has written
<a href='http://xml.resource.org/'>the xml2rfc tool</a>,
which reads the source file and produces both text, HTML, and nroff
versions of the document.
(This memo was produced using the xml2rfc tool.)
The xml2rfc tool doesn't validate;
however,
a web-based service is also available at the same location,
which runs a validator prior to invoking the tool.
</p>
<a name="anchor17"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.3.3"></a><h3>3.3.&nbsp;
Converting to HTML Format</h3>

<p><a class='info' href='#W3C.REC-xslt-19991116'>Extensible Style Language<span> (</span><span class='info'>Clark, J., &ldquo;XSL Transformations (XSLT) Version 1.0,&rdquo; November&nbsp;1999.</span><span>)</span></a> [7] (XSLT) is
used to describe transformations from the source file into some other
structured file.
So,
you can use an XSLT-capable formatter to convert an XML source file to
HTML.
</p>
<p>Julian Reschke has written an
<a href='http://xml.resource.org/authoring/rfc2629.xslt'>XSLT file</a>
for the format described in this memo.
It requires one of the MSXML, Saxon, or Xalan extensions to XSLT.
For example,
by including the line:
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
&lt;?xml-stylesheet type='text/xsl'
             href='http://xml.resource.org/authoring/rfc2629.xslt' ?&gt;
</pre></div>
<p>
after the XML declaration in your source file,
IE6 will render the file as HTML.
</p>
<a name="anchor18"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.3.4"></a><h3>3.4.&nbsp;
Searching</h3>

<p>As with text editors,
any text-oriented search tool (e.g., grep) can be used on the source file.
However,
there are search tools available that understand structured source.
</p>
<p>The author uses
<a href='http://www.cs.Helsinki.FI/u/jjaakkol/sgrep.html'>sgrep
version 1.9</a>
for this purpose,
e.g.
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    sgrep -g xml 'ELEMENTS("title") not in ELEMENTS("back")' \
        writing-rfcs.xml
</pre></div>
<p>which extracts the title element from the source file.
</p>
<a name="rfc"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.A"></a><h3>Appendix A.&nbsp;
The rfc Element</h3>

<p>The &lt;rfc&gt; tag at the beginning of the file,
with only <a class='info' href='#ipr'>an ipr attribute<span> (</span><span class='info'>Conformance with RFC 3978</span><span>)</span></a>,
produces an Internet-Draft.
However,
when other attributes are added to this tag by the RFC editor,
an RFC is produced, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;rfc number='2200'
         obsoletes='2000, 1920, 1880, 1800, ...'
         category='std'
         seriesNo='1'&gt;
</pre></div>
<p>At a minimum,
the number attribute should be present.
</p>
<p>The other attributes are:
</p>
<ul class="text">
<li>obsoletes,
having a comma-separated list of RFC numbers,
that the document obsoletes;
</li>
<li>updates,
having a comma-separated list of RFC numbers,
that the document updates;
</li>
<li>category,
having one of these values:
    
<ol class="text">
<li>"std", for a Standards-Track document;
</li>
<li>"bcp", for a Best Current Practices document;
</li>
<li>"exp", for an Experimental Protocol document;
</li>
<li>"historic", for a historic document; or,
</li>
<li>"info", the default, for an Informational document.
</li>
</ol>
</li>
<li>seriesNo,
having the corresponding number in the STD ("std"),
BCP ("bcp"),
or FYI ("info")
series.
</li>
</ul>

<p>Finally,
a special entity, <tt>&amp;rfc.number;</tt>, is available.
Authors preparing an RFC should use this entity whenever they want to
reference the number of the RFC within the document itself.
In printed versions of the document,
the appropriate substitution (or <tt>XXXX</tt>) will occur.
</p>
<a name="rfc2629.dtd"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.B"></a><h3>Appendix B.&nbsp;
The DTD</h3>
<div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
&lt;!--
  revised DTD for the RFC document series, draft of 2008-02-01
  --&gt;


&lt;!--
  Typical invocation:
      &lt;!DOCTYPE rfc PUBLIC "-//IETF//DTD RFC 2629//EN"
                "http://xml.resource.org/authoring/rfc2629.dtd" [
        ... dtd subset ...
      ]&gt;
    or
      &lt;!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
        ... dtd subset ...
      ]&gt;
  --&gt;


&lt;!--
  Contents

    Character entities

    DTD data types

    The top-level

    Front matter

    The Body

    Back matter
  --&gt;


&lt;!--
  Character entities
  --&gt;


&lt;!ENTITY % rfc2629-xhtml
         PUBLIC "-//IETF//ENTITIES XHTML subset for RFC 2629//EN"
                "rfc2629-xhtml.ent"&gt;
%rfc2629-xhtml;

&lt;!ENTITY % rfc2629-other
         PUBLIC "-//IETF//ENTITIES Other for RFC 2629//EN"
                "rfc2629-other.ent"&gt;
%rfc2629-other;


&lt;!--
  DTD data types:

        entity        description
        ======        ===============================================
        NUMBER        [0-9]+
        NUMBERS       a comma-separated list of NUMBER

        DAY           the day of the month, e.g., "1"
        MONTH         the month of the year, e.g., "January"
        YEAR          a four-digit year, e.g., "1999"

        URI           e.g., "http://invisible.net/"

        ATEXT/CTEXT   printable ASCII text (no line-terminators)

        TEXT          character data
  --&gt;


&lt;!ENTITY % NUMBER     "CDATA"&gt;
&lt;!ENTITY % NUMBERS    "CDATA"&gt;

&lt;!ENTITY % DAY        "CDATA"&gt;
&lt;!ENTITY % MONTH      "CDATA"&gt;
&lt;!ENTITY % YEAR       "CDATA"&gt;

&lt;!ENTITY % URI        "CDATA"&gt;

&lt;!ENTITY % ATEXT      "CDATA"&gt;
&lt;!ENTITY % CTEXT      "#PCDATA"&gt;

&lt;!ENTITY % TEXT       "#PCDATA"&gt;

&lt;!ENTITY   rfc.number "XXXX"&gt;


&lt;!--
  The top-level
  --&gt;


&lt;!--
  attributes for the "rfc" element are supplied by the RFC
  editor. when preparing drafts, authors should leave them blank.

  the "seriesNo" attribute is used if the category is, e.g., BCP.
  --&gt;
&lt;!ELEMENT rfc         (front,middle,back?)&gt;
&lt;!ATTLIST rfc
          number      %NUMBER;           #IMPLIED
          obsoletes   %NUMBERS;          ""
          updates     %NUMBERS;          ""
          category    (std|bcp|info|exp|historic)
                                         #IMPLIED
          seriesNo    %NUMBER;           #IMPLIED
          ipr         (full2026|noDerivativeWorks2026|none
                      |full3667|noModification3667|noDerivatives3667
                      |full3978|noModification3978|noDerivatives3978)
                                         #IMPLIED
          iprExtract  IDREF              #IMPLIED
          submissionType
                      (IETF|independent) "IETF"
          docName     %ATEXT;            #IMPLIED
          xml:lang    %ATEXT;            "en"&gt;


&lt;!--
  Front matter
  --&gt;


&lt;!ELEMENT front       (title,author+,date,area*,workgroup*,keyword*,
                       abstract?,note*)&gt;

&lt;!-- the "abbrev" attribute is used for headers, etc. --&gt;
&lt;!ELEMENT title       (%CTEXT;)&gt;
&lt;!ATTLIST title
          abbrev      %ATEXT;            #IMPLIED&gt;

&lt;!ELEMENT author      (organization,address?)&gt;
&lt;!ATTLIST author
          initials    %ATEXT;            #IMPLIED
          surname     %ATEXT;            #IMPLIED
          fullname    %ATEXT;            #IMPLIED
          role        (editor)           #IMPLIED&gt;

&lt;!ELEMENT organization
                      (%CTEXT;)&gt;
&lt;!ATTLIST organization
          abbrev      %ATEXT;            #IMPLIED&gt;

&lt;!ELEMENT address     (postal?,phone?,facsimile?,email?,uri?)&gt;

&lt;!-- this content model should be more strict:
     at most one of each the city, region, code, and country
     elements may be present --&gt;
&lt;!ELEMENT postal      (street+,(city|region|code|country)*)&gt;
&lt;!ELEMENT street      (%CTEXT;)&gt;
&lt;!ELEMENT city        (%CTEXT;)&gt;
&lt;!ELEMENT region      (%CTEXT;)&gt;
&lt;!ELEMENT code        (%CTEXT;)&gt;
&lt;!ELEMENT country     (%CTEXT;)&gt;
&lt;!ELEMENT phone       (%CTEXT;)&gt;
&lt;!ELEMENT facsimile   (%CTEXT;)&gt;
&lt;!ELEMENT email       (%CTEXT;)&gt;
&lt;!ELEMENT uri         (%CTEXT;)&gt;

&lt;!ELEMENT date        EMPTY&gt;
&lt;!ATTLIST date
          day         %DAY;              #IMPLIED
          month       %MONTH;            #IMPLIED
          year        %YEAR;             #IMPLIED&gt;

&lt;!-- meta-data... --&gt;
&lt;!ELEMENT area        (%CTEXT;)&gt;
&lt;!ELEMENT workgroup   (%CTEXT;)&gt;
&lt;!ELEMENT keyword     (%CTEXT;)&gt;

&lt;!ELEMENT abstract    (t)+&gt;
&lt;!ELEMENT note        (t)+&gt;
&lt;!ATTLIST note
          title       %ATEXT;            #REQUIRED&gt;


&lt;!--
  The body
  --&gt;


&lt;!-- later on, may be (section+,appendix*,section*) --&gt;
&lt;!ELEMENT middle      (section+)&gt;

&lt;!ELEMENT section     ((t|figure|texttable|iref)*,section*)&gt;
&lt;!ATTLIST section
          anchor      ID                 #IMPLIED
          title       %ATEXT;            #REQUIRED
          toc         (include|exclude|default)
                                         "default"&gt;

&lt;!--
&lt;!ELEMENT appendix    ((t|figure|texttable|iref)*,appendix*)&gt;
&lt;!ATTLIST appendix
          anchor      ID                 #IMPLIED
          title       %ATEXT;            #REQUIRED
          toc         (include|exclude|default)
                                         "default"&gt;
  --&gt;

&lt;!-- use of &lt;figure/&gt; is deprecated... --&gt;
&lt;!ELEMENT t      (%TEXT;|list|figure|xref|eref|iref|cref|spanx|vspace)*&gt;
&lt;!ATTLIST t
          anchor      ID                 #IMPLIED
          hangText    %ATEXT;            #IMPLIED&gt;

&lt;!-- the value of the style attribute is inherited from the closest
     parent --&gt;
&lt;!ELEMENT list        (t+)&gt;
&lt;!ATTLIST list
          style       %ATEXT;            #IMPLIED
          hangIndent  %NUMBER;           #IMPLIED
          counter     %ATEXT;            #IMPLIED&gt;

&lt;!ELEMENT xref        (%CTEXT;)&gt;
&lt;!ATTLIST xref
          target      IDREF              #REQUIRED
          pageno      (true|false)       "false"
          format      (counter|title|none|default)
                                         "default"&gt;

&lt;!ELEMENT eref        (%CTEXT;)&gt;
&lt;!ATTLIST eref
          target      %URI;              #REQUIRED&gt;

&lt;!ELEMENT iref        EMPTY&gt;
&lt;!ATTLIST iref
          item        %ATEXT;            #REQUIRED
          subitem     %ATEXT;            ""
          primary    (true|false)       "false"&gt;

&lt;!ELEMENT cref        (%CTEXT;)&gt;
&lt;!ATTLIST cref
          anchor      ID                 #IMPLIED
          source      %ATEXT;            #IMPLIED&gt;

&lt;!ELEMENT spanx       (%CTEXT;)&gt;
&lt;!ATTLIST spanx
          xml:space   (default|preserve) "preserve"
          style       %ATEXT;            "emph"&gt;

&lt;!ELEMENT vspace      EMPTY&gt;
&lt;!ATTLIST vspace
          blankLines  %NUMBER;           "0"&gt;

&lt;!ELEMENT figure      (iref*,preamble?,artwork,postamble?)&gt;
&lt;!ATTLIST figure
          anchor      ID                 #IMPLIED
          title       %ATEXT;            ""
          suppress-title (true|false)    "false"
          src         %URI;              #IMPLIED
          align       (left|center|right) "left"
          alt         %ATEXT;            ""
          width       %ATEXT;            ""
          height      %ATEXT;            ""&gt;

&lt;!ELEMENT preamble    (%TEXT;|xref|eref|iref|cref|spanx)*&gt;
&lt;!ELEMENT artwork     (%TEXT;)*&gt;
&lt;!ATTLIST artwork
          xml:space   (default|preserve) "preserve"
          name        %ATEXT;            ""
          type        %ATEXT;            ""
          src         %URI;              #IMPLIED
          align       (left|center|right) "left"
          alt         %ATEXT;            ""
          width       %ATEXT;            ""
          height      %ATEXT;            ""&gt;

&lt;!ELEMENT postamble   (%TEXT;|xref|eref|iref|cref|spanx)*&gt;

&lt;!ELEMENT texttable   (preamble?,ttcol+,c*,postamble?)&gt;
&lt;!ATTLIST texttable
          anchor      ID                 #IMPLIED
          title       %ATEXT;            ""
          suppress-title (true|false)    "false"
          align       (left|center|right) "center"
          style       (all|none|headers|full) "full"&gt;
&lt;!ELEMENT ttcol       (%CTEXT;)&gt;
&lt;!ATTLIST ttcol
          width       %ATEXT;            #IMPLIED
          align       (left|center|right) "left"&gt;
&lt;!ELEMENT c           (%TEXT;|xref|eref|iref|cref|spanx)*&gt;


&lt;!--
  Back matter
  --&gt;


&lt;!-- sections, if present, are appendices --&gt;
&lt;!ELEMENT back        (references*,section*)&gt;

&lt;!ELEMENT references  (reference+)&gt;
&lt;!ATTLIST references
          title       %ATEXT;            "References"&gt;
&lt;!ELEMENT reference   (front,seriesInfo*,format*,annotation*)&gt;
&lt;!ATTLIST reference
          anchor      ID                 #IMPLIED
          target      %URI;              #IMPLIED&gt;
&lt;!ELEMENT seriesInfo  EMPTY&gt;
&lt;!ATTLIST seriesInfo
          name        %ATEXT;            #REQUIRED
          value       %ATEXT;            #REQUIRED&gt;
&lt;!ELEMENT format      EMPTY&gt;
&lt;!ATTLIST format
          target      %URI;              #IMPLIED
          type        %ATEXT;            #REQUIRED
          octets      %NUMBER;           #IMPLIED&gt;
&lt;!ELEMENT annotation  (%TEXT;|xref|eref|iref|cref|spanx)*&gt;
</pre></div>
<a name="anchor19"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.C"></a><h3>Appendix C.&nbsp;
Changes from RFC 2629</h3>

<p>The following changes were made from the format originally defined
in <a class='info' href='#RFC2629'>RFC 2629<span> (</span><span class='info'>Rose, M., &ldquo;Writing I-Ds and RFCs using XML,&rdquo; June&nbsp;1999.</span><span>)</span></a> [8]:
</p>
<ul class="text">
<li>New elements:

<ul class="text">
<li>spanx
</li>
<li>texttable, ttcol, and c
</li>
<li>annotation
</li>
<li>cref
</li>
</ul>
</li>
<li>New choices for enumerated attributes:

<blockquote class="text"><dl>
<dt>rfc ipr: </dt>
<dd>
<tt>full3978</tt>,
<tt>noModification3978</tt>, and
<tt>noDerivatives3978</tt>

</dd>
<dt>list style: </dt>
<dd>
<tt>letters</tt>

</dd>
<dt>list style: </dt>
<dd>formatted
(starts with <tt>format</tt>)

</dd>
</dl></blockquote>
</li>
<li>Previously mandatory attributes, now optional:

<blockquote class="text"><dl>
<dt>date: </dt>
<dd>month, year
</dd>
</dl></blockquote>
</li>
<li>New, optional attributes:

<blockquote class="text"><dl>
<dt>         rfc: </dt>
<dd>xml:lang, iprextract
</dd>
<dt>      author: </dt>
<dd>role
</dd>
<dt>      section: </dt>
<dd>toc
</dd>
<dt>      list: </dt>
<dd>hangIndent
(when <tt>hanging</tt> or formatted)
</dd>
<dt>      list: </dt>
<dd>counter
(when formatted)
</dd>
<dt>    figure: </dt>
<dd>suppress-title
</dd>
<dt>   artwork: </dt>
<dd>name, type
</dd>
<dt>references: </dt>
<dd>title
</dd>
<dt>      xref: </dt>
<dd>format
</dd>
<dt>      iref: </dt>
<dd>primary
</dd>
</dl></blockquote>
</li>
<li>Content model changes:

<blockquote class="text"><dl>
<dt>   section: </dt>
<dd>is now tail-recursive
</dd>
<dt>references: </dt>
<dd>may occur more than once in the
back element
(e.g., for normative and non-normative references)
</dd>
<dt>    format: </dt>
<dd>may occur zero or more times in the
reference element
</dd>
<dt>    figure: </dt>
<dd>should not appear within a t element
</dd>
<dt>      iref: </dt>
<dd>may appear directly within
section and figure elements
</dd>
</dl></blockquote>
</li>
</ul>

<a name="anchor20"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.D"></a><h3>Appendix D.&nbsp;
Conformance with RFC 2026 or RFC 3667 (Historic)</h3>

<p>If an Internet-Draft is being produced in conformance with RFC 2026
or RFC 3667,
then the ipr attribute should be present in the <tt>&lt;rfc&gt;</tt> tag
at the beginning of the file,
and the value of the attribute should be one of:
</p>
<blockquote class="text"><dl>
<dt>full2026:</dt>
<dd>indicating that the document is in full
conformance with all the provisions of Section 10 of RFC 2026;
</dd>
<dt>noDerivativeWorks2026:</dt>
<dd>indicating that the document is in full
conformance with all the provisions of Section 10 of RFC 2026 except that the
right to produce derivative works is not granted
</dd>
<dt>none:</dt>
<dd>indicating that the document is NOT offered in
accordance with Section 10 of RFC 2026,
and the author does not provide the IETF with any rights other than to
publish as an Internet-Draft;
</dd>
<dt>full3667:</dt>
<dd>indicating that the document conforms with
Section 5.1 of RFC 3667;
</dd>
<dt>noModification3667:</dt>
<dd>indicating that the document conforms with
Sections 5.1 and 5.2(a) of RFC 3667;
or,
</dd>
<dt>noDerivatives3667:</dt>
<dd>indicating that the document conforms with
Sections 5.1 and 5.2(b) of RFC 3667.
</dd>
</dl></blockquote><p>
In the <tt>none</tt> case,
a copyright notice will not be automatically inserted during
processing by an XML application.
</p>
<p>Consult <a class='info' href='#RFC2026'>[4]<span> (</span><span class='info'>Bradner, S., &ldquo;The Internet Standards Process -- Revision 3,&rdquo; October&nbsp;1996.</span><span>)</span></a> and <a class='info' href='#RFC3667'>[5]<span> (</span><span class='info'>Bradner, S., &ldquo;IETF Rights in Contributions,&rdquo; February&nbsp;2004.</span><span>)</span></a> for further
details.
</p>
<a name="anchor21"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.E"></a><h3>Appendix E.&nbsp;
Acknowledgements</h3>

<p>The author gratefully acknowledges the contributions of:
Alan Barrett,
Steven M. Bellovin,
Scott Brim,
Brad Burdick,
Brian Carpenter,
Steve Deering,
Patrik Faltstrom,
Jim Gettys,
Charles Levert,
Henrik Levkowetz,
Carl Malamud,
Chris Newman,
Julian Reschke,
Kurt Starsinic,
and,
Frank Strauss.
</p>
<a name="anchor22"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<a name="rfc.section.4"></a><h3>4.&nbsp;
Security Considerations</h3>

<p>According to <a class='info' href='#RFC2223'>[2]<span> (</span><span class='info'>Postel, J. and J. Reynolds, &ldquo;Instructions to RFC Authors,&rdquo; October&nbsp;1997.</span><span>)</span></a>,
your document should contain a section near the end that discusses the
security considerations of the protocol or procedures that are the
main topic of your document, e.g.,
</p><div style='display: table; width: 0; margin-left: 3em; margin-right: auto'><pre>
    &lt;middle&gt;
        ...
        &lt;section title='Security Considerations'&gt;
            &lt;t&gt;According to &lt;xref target='RFC2223' /&gt;,
            your document should contain a section near the end
            that discusses the security considerations of the
            protocol or procedures that are the main topic of your
            document.&lt;/t&gt;
        &lt;/section&gt;
    &lt;/middle&gt;
</pre></div>
<p>The name attribute of the artwork element allows an author to
suggest a filename to use when storing the element's content.
Any software processing this attribute must ensure that if it uses
this filename that its contents will not be stored or interpreted,
without  the user explicitly initiating that action.
Accordingly,
implementors must be aware to the potential hazards on their target
systems.
</p>
<a name="rfc.references1"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<h3>5.&nbsp;References</h3>
<table width="99%" border="0">
<tr><td class="author-text" valign="top"><a name="W3C.REC-xml-20001006">[1]</a></td>
<td class="author-text">Paoli, J., Maler, E., Bray, T., and C. Sperberg-McQueen, &ldquo;<a href="http://www.w3.org/TR/2000/REC-xml-20001006">Extensible Markup Language (XML) 1.0 (Second Edition)</a>,&rdquo; World Wide Web Consortium FirstEdition&nbsp;REC-xml-20001006, October&nbsp;2000 (<a href="http://www.w3.org/TR/2000/REC-xml-20001006">HTML</a>).</td></tr>
<tr><td class="author-text" valign="top"><a name="RFC2223">[2]</a></td>
<td class="author-text"><a href="mailto:Postel@ISI.EDU">Postel, J.</a> and <a href="mailto:jkrey@isi.edu">J. Reynolds</a>, &ldquo;<a href="http://tools.ietf.org/html/rfc2223">Instructions to RFC Authors</a>,&rdquo; RFC&nbsp;2223, October&nbsp;1997 (<a href="ftp://ftp.isi.edu/in-notes/rfc2223.txt">TXT</a>, <a href="http://xml.resource.org/public/rfc/html/rfc2223.html">HTML</a>, <a href="http://xml.resource.org/public/rfc/xml/rfc2223.xml">XML</a>).</td></tr>
<tr><td class="author-text" valign="top"><a name="RFC3978">[3]</a></td>
<td class="author-text">Bradner, S., &ldquo;<a href="http://tools.ietf.org/html/rfc3978">IETF Rights in Contributions</a>,&rdquo; BCP&nbsp;78, RFC&nbsp;3978, March&nbsp;2005 (<a href="ftp://ftp.isi.edu/in-notes/rfc3978.txt">TXT</a>).</td></tr>
<tr><td class="author-text" valign="top"><a name="RFC2026">[4]</a></td>
<td class="author-text"><a href="mailto:sob@harvard.edu">Bradner, S.</a>, &ldquo;<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>,&rdquo; BCP&nbsp;9, RFC&nbsp;2026, October&nbsp;1996 (<a href="ftp://ftp.isi.edu/in-notes/rfc2026.txt">TXT</a>).</td></tr>
<tr><td class="author-text" valign="top"><a name="RFC3667">[5]</a></td>
<td class="author-text">Bradner, S., &ldquo;<a href="http://tools.ietf.org/html/rfc3667">IETF Rights in Contributions</a>,&rdquo; RFC&nbsp;3667, February&nbsp;2004 (<a href="ftp://ftp.isi.edu/in-notes/rfc3667.txt">TXT</a>).</td></tr>
<tr><td class="author-text" valign="top"><a name="RFC2396">[6]</a></td>
<td class="author-text"><a href="mailto:timbl@w3.org">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu">Fielding, R.</a>, and <a href="mailto:masinter@parc.xerox.com">L. Masinter</a>, &ldquo;<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>,&rdquo; RFC&nbsp;2396, August&nbsp;1998 (<a href="ftp://ftp.isi.edu/in-notes/rfc2396.txt">TXT</a>, <a href="http://xml.resource.org/public/rfc/html/rfc2396.html">HTML</a>, <a href="http://xml.resource.org/public/rfc/xml/rfc2396.xml">XML</a>).</td></tr>
<tr><td class="author-text" valign="top"><a name="W3C.REC-xslt-19991116">[7]</a></td>
<td class="author-text">Clark, J., &ldquo;<a href="http://www.w3.org/TR/1999/REC-xslt-19991116">XSL Transformations (XSLT) Version 1.0</a>,&rdquo; World Wide Web Consortium Recommendation&nbsp;REC-xslt-19991116, November&nbsp;1999 (<a href="http://www.w3.org/TR/1999/REC-xslt-19991116">HTML</a>).</td></tr>
<tr><td class="author-text" valign="top"><a name="RFC2629">[8]</a></td>
<td class="author-text"><a href="mailto:mrose@not.invisible.net">Rose, M.</a>, &ldquo;<a href="http://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>,&rdquo; RFC&nbsp;2629, June&nbsp;1999 (<a href="ftp://ftp.isi.edu/in-notes/rfc2629.txt">TXT</a>, <a href="http://xml.resource.org/public/rfc/html/rfc2629.html">HTML</a>, <a href="http://xml.resource.org/public/rfc/xml/rfc2629.xml">XML</a>).</td></tr>
</table>
<a name="rfc.index"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<h3>Index</h3>
<table>
<tr><td><strong>I</strong></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>indexing</td></tr>
<tr><td>&nbsp;</td><td>&nbsp;&nbsp;<a href="#anchor24">how to</a></td></tr>
</table>

<a name="rfc.authors"></a><br /><hr />
<table summary="layout" cellpadding="0" cellspacing="2" class="TOCbug" align="right"><tr><td class="TOCbug"><a href="#toc">&nbsp;TOC&nbsp;</a></td></tr></table>
<h3>Author's Address</h3>
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="author-text">&nbsp;</td>
<td class="author-text">Marshall T. Rose</td></tr>
<tr><td class="author-text">&nbsp;</td>
<td class="author-text">Dover Beach Consulting, Inc.</td></tr>
<tr><td class="author-text">&nbsp;</td>
<td class="author-text">POB 255268</td></tr>
<tr><td class="author-text">&nbsp;</td>
<td class="author-text">Sacramento, CA  95865-5268</td></tr>
<tr><td class="author-text">&nbsp;</td>
<td class="author-text">US</td></tr>
<tr><td class="author" align="right">Phone:&nbsp;</td>
<td class="author-text">+1 916 483 8878</td></tr>
<tr><td class="author" align="right">Email:&nbsp;</td>
<td class="author-text"><a href="mailto:mrose@dbc.mtview.ca.us">mrose@dbc.mtview.ca.us</a></td></tr>
</table>
</body></html>