source: rfc2629xslt/rfc2629xslt.txt @ 440

Last change on this file since 440 was 440, checked in by julian.reschke@…, 11 years ago

update to latest version of rfc2629.xslt, add <workgroup> element throughout

  • Property svn:eol-style set to native
File size: 105.4 KB
Line 
1
2
3
4RFC2629 through XSLT                                          J. Reschke
5                                                              greenbytes
6                                                           December 2008
7
8
9            Transforming RFC2629-formatted XML through XSLT
10
11
12Table of Contents
13
14   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
15   2.  Supported RFC2629 elements . . . . . . . . . . . . . . . . . .  4
16     2.1.   Extension elements  . . . . . . . . . . . . . . . . . . .  4
17   3.  Processing Instructions  . . . . . . . . . . . . . . . . . . .  5
18     3.1.   Supported xml2rfc-compatible PIs  . . . . . . . . . . . .  6
19     3.2.   Unsupported xml2rfc-compatible PIs  . . . . . . . . . . .  7
20     3.3.   Extension PIs . . . . . . . . . . . . . . . . . . . . . .  8
21   4.  Anchors  . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
22   5.  Supported XSLT engines . . . . . . . . . . . . . . . . . . . . 13
23     5.1.   Standalone Engines  . . . . . . . . . . . . . . . . . . . 13
24     5.2.   In-Browser Engines  . . . . . . . . . . . . . . . . . . . 13
25   6.  Transforming to HTML . . . . . . . . . . . . . . . . . . . . . 15
26     6.1.   HTML compliance . . . . . . . . . . . . . . . . . . . . . 15
27     6.2.   Standard HTML LINK elements . . . . . . . . . . . . . . . 15
28     6.3.   Standard HTML metadata  . . . . . . . . . . . . . . . . . 16
29     6.4.   Dublin Core (RFC2731) metadata  . . . . . . . . . . . . . 16
30     6.5.   Experimental hCard support  . . . . . . . . . . . . . . . 16
31   7.  Transforming to XHTML  . . . . . . . . . . . . . . . . . . . . 17
32   8.  Transforming to CHM (Microsoft Compiled Help)  . . . . . . . . 18
33   9.  Transforming to PDF  . . . . . . . . . . . . . . . . . . . . . 19
34     9.1.   Via XSL-FO  . . . . . . . . . . . . . . . . . . . . . . . 19
35       9.1.1.  Extension feature matrix . . . . . . . . . . . . . . . 19
36       9.1.2.  Example: producing output for Apache FOP . . . . . . . 20
37     9.2.   Via X(HTML) . . . . . . . . . . . . . . . . . . . . . . . 20
38   10. Generic Extensions . . . . . . . . . . . . . . . . . . . . . . 21
39     10.1.  <abnf-char-sequence> element  . . . . . . . . . . . . . . 21
40     10.2.  <anchor-alias> element  . . . . . . . . . . . . . . . . . 21
41     10.3.  <bcp14> element . . . . . . . . . . . . . . . . . . . . . 21
42     10.4.  <bb> element  . . . . . . . . . . . . . . . . . . . . . . 22
43     10.5.  <bc> element  . . . . . . . . . . . . . . . . . . . . . . 22
44     10.6.  <blockquote> element  . . . . . . . . . . . . . . . . . . 22
45     10.7.  <bt> element  . . . . . . . . . . . . . . . . . . . . . . 22
46     10.8.  <dfn> element . . . . . . . . . . . . . . . . . . . . . . 23
47     10.9.  <h> element . . . . . . . . . . . . . . . . . . . . . . . 23
48     10.10. <highlight> element . . . . . . . . . . . . . . . . . . . 23
49     10.11. <length-of> element . . . . . . . . . . . . . . . . . . . 23
50     10.12. <link> element  . . . . . . . . . . . . . . . . . . . . . 23
51     10.13. <lt> element  . . . . . . . . . . . . . . . . . . . . . . 24
52
53
54
55Reschke                                                         [Page 1]
56
57Documentation             RFC2629 through XSLT             December 2008
58
59
60     10.14. <note> element  . . . . . . . . . . . . . . . . . . . . . 24
61     10.15. <parse-xml> element . . . . . . . . . . . . . . . . . . . 24
62     10.16. <q> element . . . . . . . . . . . . . . . . . . . . . . . 24
63     10.17. <ref> element . . . . . . . . . . . . . . . . . . . . . . 24
64     10.18. <source> element  . . . . . . . . . . . . . . . . . . . . 25
65     10.19. <sup> element . . . . . . . . . . . . . . . . . . . . . . 25
66     10.20. Extensions to Xml2rfc <artwork> element . . . . . . . . . 25
67     10.21. Extensions to Xml2rfc <iref> element  . . . . . . . . . . 25
68     10.22. Extensions to Xml2rfc <list> element  . . . . . . . . . . 26
69     10.23. Extensions to Xml2rfc <rfc> element . . . . . . . . . . . 26
70     10.24. Extensions to Xml2rfc <section> element . . . . . . . . . 26
71     10.25. Extensions to Xml2rfc <xref> element  . . . . . . . . . . 26
72   11. Utilities  . . . . . . . . . . . . . . . . . . . . . . . . . . 28
73     11.1.  Checking References . . . . . . . . . . . . . . . . . . . 28
74     11.2.  Generating Graphs from References . . . . . . . . . . . . 30
75     11.3.  Producing reference entries for books . . . . . . . . . . 30
76     11.4.  Down-converting to RFC2629bis DTD . . . . . . . . . . . . 31
77     11.5.  Extracting artwork  . . . . . . . . . . . . . . . . . . . 31
78     11.6.  GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 32
79   12. Informative References . . . . . . . . . . . . . . . . . . . . 33
80   Appendix A.  RELAX NG Compact Schema . . . . . . . . . . . . . . . 35
81   Appendix B.  Implementation Notes  . . . . . . . . . . . . . . . . 44
82     B.1.   Recognized type attributes for <artwork> element  . . . . 44
83   Appendix C.  License . . . . . . . . . . . . . . . . . . . . . . . 45
84   Appendix D.  Change Logs . . . . . . . . . . . . . . . . . . . . . 46
85     D.1.   Package . . . . . . . . . . . . . . . . . . . . . . . . . 46
86     D.2.   amazon-asin.xslt  . . . . . . . . . . . . . . . . . . . . 46
87     D.3.   check-references.xslt . . . . . . . . . . . . . . . . . . 46
88     D.4.   gen-reference-graph.xslt  . . . . . . . . . . . . . . . . 47
89     D.5.   rfc2629.xslt  . . . . . . . . . . . . . . . . . . . . . . 47
90     D.6.   rfc2629toFO.xslt  . . . . . . . . . . . . . . . . . . . . 58
91     D.7.   xsl11toAn.xslt  . . . . . . . . . . . . . . . . . . . . . 59
92     D.8.   xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 59
93     D.9.   xsl11toFop-0.93.xslt  . . . . . . . . . . . . . . . . . . 59
94     D.10.  xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 59
95   Index  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
96   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 67
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111Reschke                                                         [Page 2]
112
113Documentation             RFC2629 through XSLT             December 2008
114
115
1161.  Introduction
117
118   This document describes a set of XSLT transformations that can be
119   used to transform RFC2629-compliant XML (see [RFC2629]) to various
120   output formats, such as HTML and PDF.  The main topics are
121
122   o  compliance to the xml2rfc XML element set (Section 2),
123
124   o  support for xml2rfc processing instructions (Section 3),
125
126   o  the names of anchor elements generated in HTML and PDF output
127      (Section 4),
128
129   o  various XSLT engines that can be used (Section 5),
130
131   o  outputting HTML (Section 6) and XHTML (Section 7),
132
133   o  outputting CHM (Compiled Microsoft Help, Section 8),
134
135   o  outputting PDF (Section 9),
136
137   o  extensions to the xml2rfc vocabulary (Section 10).
138
139   o  various utilities (Section 11).
140
141   The full distribution is available at
142   <http://greenbytes.de/tech/webdav/rfc2629xslt.zip>.
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167Reschke                                                         [Page 3]
168
169Documentation             RFC2629 through XSLT             December 2008
170
171
1722.  Supported RFC2629 elements
173
174   "rfc2629.xslt" supports both all RFC2629 grammar elements and the
175   extensions implemented in xml2rfc 1.21.
176
1772.1.  Extension elements
178
179   "rfc2629.xslt" supports two kind of extension elements, using
180   different XML namespaces.
181
182   The first set contains (hopefully) generally useful extensions, see
183   Section 10.
184
185   The second set is used for change and issue tracking and currently is
186   not documented here.  Please email the author in case you're
187   interested in using these extensions.
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
223Reschke                                                         [Page 4]
224
225Documentation             RFC2629 through XSLT             December 2008
226
227
2283.  Processing Instructions
229
230   All PIs can be set as XSLT parameter as well, overriding any value
231   that is found in the source file to be transformed.
232
233   Using processing instructions:
234
235   <?rfc toc="yes"?>
236   <?rfc-ext support-rfc2731="no"?>
237
238   Using XSLT parameters (Saxon):
239
240   java -cp saxon.jar com.icl.saxon.StyleSheet source.xml rfc2629.xslt \
241     xml2rfc-toc=yes xml2rfc-ext-support-rfc2731=no > result.html
242
243   Using XSLT parameters (xsltproc):
244
245   xsltproc --param xml2rfc-toc '"yes"' \
246      --param xml2rfc-ext-support-rfc2731 '"no"' \
247      rfc2629.xslt source.xml > result.html
248
249   (note the required quoting of string parameters)
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
279Reschke                                                         [Page 5]
280
281Documentation             RFC2629 through XSLT             December 2008
282
283
2843.1.  Supported xml2rfc-compatible PIs
285
286   +-------+----------------+--------------------+---------+-----------+
287   | PI    | PI             | XSLT parameter     | default | comment   |
288   | targe | pseudo-attribu | name               |         |           |
289   | t     | te             |                    |         |           |
290   +-------+----------------+--------------------+---------+-----------+
291   | rfc   | background     | xml2rfc-background | (not    |           |
292   |       |                |                    | set)    |           |
293   |       |                |                    |         |           |
294   | rfc   | compact        | xml2rfc-compact    | "no"    | only      |
295   |       |                |                    |         | applies   |
296   |       |                |                    |         | to HTML   |
297   |       |                |                    |         | output    |
298   |       |                |                    |         | method    |
299   |       |                |                    |         | when      |
300   |       |                |                    |         | printing  |
301   |       |                |                    |         |           |
302   | rfc   | comments       | xml2rfc-comments   | (not    |           |
303   |       |                |                    | set)    |           |
304   |       |                |                    |         |           |
305   | rfc   | editing        | xml2rfc-editing    | "no"    |           |
306   |       |                |                    |         |           |
307   | rfc   | footer         | xml2rfc-footer     | (not    |           |
308   |       |                |                    | set)    |           |
309   |       |                |                    |         |           |
310   | rfc   | header         | xml2rfc-header     | (not    |           |
311   |       |                |                    | set)    |           |
312   |       |                |                    |         |           |
313   | rfc   | inline         | xml2rfc-inline     | (not    |           |
314   |       |                |                    | set)    |           |
315   |       |                |                    |         |           |
316   | rfc   | iprnotified    | xml2rfc-iprnotifie | "no"    |           |
317   |       |                | d                  |         |           |
318   |       |                |                    |         |           |
319   | rfc   | linkmailto     | xml2rfc-linkmailto | "yes"   |           |
320   |       |                |                    |         |           |
321   | rfc   | private        | xml2rfc-private    | (not    |           |
322   |       |                |                    | set)    |           |
323   |       |                |                    |         |           |
324   | rfc   | rfcedstyle     | xml2rfc-rfcedstyle | (not    | (limited  |
325   |       |                |                    | set)    | support)  |
326   |       |                |                    |         |           |
327   | rfc   | sortrefs       | xml2rfc-sortrefs   | "no"    |           |
328   |       |                |                    |         |           |
329
330
331
332
333
334
335Reschke                                                         [Page 6]
336
337Documentation             RFC2629 through XSLT             December 2008
338
339
340   | rfc   | symrefs        | xml2rfc-symrefs    | "yes"   | The       |
341   |       |                |                    |         | default   |
342   |       |                |                    |         | has       |
343   |       |                |                    |         | changed   |
344   |       |                |                    |         | from "no" |
345   |       |                |                    |         | to "yes"  |
346   |       |                |                    |         | as of     |
347   |       |                |                    |         | June 6,   |
348   |       |                |                    |         | 2007 and  |
349   |       |                |                    |         | xml2rfc   |
350   |       |                |                    |         | 1.33pre4. |
351   |       |                |                    |         |           |
352   | rfc   | toc            | xml2rfc-toc        | "no"    |           |
353   |       |                |                    |         |           |
354   | rfc   | tocdepth       | xml2rfc-tocdepth   | 99      |           |
355   |       |                |                    |         |           |
356   | rfc   | topblock       | xml2rfc-topblock   | "yes"   |           |
357   +-------+----------------+--------------------+---------+-----------+
358
3593.2.  Unsupported xml2rfc-compatible PIs
360
361   +----------+------------------+-------------------------------------+
362   | PI       | PI               | comment                             |
363   | target   | pseudo-attribute |                                     |
364   +----------+------------------+-------------------------------------+
365   | rfc      | include          | incompatible with XML/XSLT          |
366   |          |                  | processing model                    |
367   |          |                  |                                     |
368   | rfc      | needLines        |                                     |
369   |          |                  |                                     |
370   | rfc      | slides           |                                     |
371   |          |                  |                                     |
372   | rfc      | strict           |                                     |
373   |          |                  |                                     |
374   | rfc      | subcompact       |                                     |
375   |          |                  |                                     |
376   | rfc      | tocindent        | (defaults to "yes")                 |
377   |          |                  |                                     |
378   | rfc      | tocompact        |                                     |
379   +----------+------------------+-------------------------------------+
380
381
382
383
384
385
386
387
388
389
390
391Reschke                                                         [Page 7]
392
393Documentation             RFC2629 through XSLT             December 2008
394
395
3963.3.  Extension PIs
397
398   +------+-----------------+-----------------------+------+-----------+
399   | PI   | PI              | XSLT parameter name   | defa | descripti |
400   | targ | pseudo-attribut |                       | ult  | on        |
401   | et   | e               |                       |      |           |
402   +------+-----------------+-----------------------+------+-----------+
403   | rfc- | allow-markup-in | xml2rfc-allow-markup- | "no" | Enables   |
404   | ext  | -artwork        | in-artwork            |      | support   |
405   |      |                 |                       |      | for       |
406   |      |                 |                       |      | specific  |
407   |      |                 |                       |      | elements  |
408   |      |                 |                       |      | inside    |
409   |      |                 |                       |      | abstract  |
410   |      |                 |                       |      | elements  |
411   |      |                 |                       |      | (using    |
412   |      |                 |                       |      | this      |
413   |      |                 |                       |      | extension |
414   |      |                 |                       |      | makes the |
415   |      |                 |                       |      | document  |
416   |      |                 |                       |      | incompati |
417   |      |                 |                       |      | ble to    |
418   |      |                 |                       |      | the       |
419   |      |                 |                       |      | RFC2629bi |
420   |      |                 |                       |      | s DTD;    |
421   |      |                 |                       |      | see       |
422   |      |                 |                       |      | descripti |
423   |      |                 |                       |      | on of     |
424   |      |                 |                       |      | conversio |
425   |      |                 |                       |      | n XSLT in |
426   |      |                 |                       |      | Section 1 |
427   |      |                 |                       |      | 1.4).     |
428   |      |                 |                       |      |           |
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447Reschke                                                         [Page 8]
448
449Documentation             RFC2629 through XSLT             December 2008
450
451
452   | rfc- | authors-section | xml2rfc-ext-authors-s |      | When      |
453   | ext  |                 | ection                |      | "end",    |
454   |      |                 |                       |      | place the |
455   |      |                 |                       |      | authors   |
456   |      |                 |                       |      | section   |
457   |      |                 |                       |      | at the    |
458   |      |                 |                       |      | end (just |
459   |      |                 |                       |      | before    |
460   |      |                 |                       |      | the       |
461   |      |                 |                       |      | copyright |
462   |      |                 |                       |      | statement |
463   |      |                 |                       |      | s). This  |
464   |      |                 |                       |      | seems to  |
465   |      |                 |                       |      | be the    |
466   |      |                 |                       |      | preferred |
467   |      |                 |                       |      | order in  |
468   |      |                 |                       |      | the       |
469   |      |                 |                       |      | newest    |
470   |      |                 |                       |      | RFCs.     |
471   |      |                 |                       |      |           |
472   | rfc- | include-referen | xml2rfc-ext-include-r |      | When set  |
473   | ext  | ces-in-index    | eferences-in-index    |      | to "yes", |
474   |      |                 |                       |      | index     |
475   |      |                 |                       |      | entries   |
476   |      |                 |                       |      | are       |
477   |      |                 |                       |      | generated |
478   |      |                 |                       |      | for all   |
479   |      |                 |                       |      | reference |
480   |      |                 |                       |      | s.        |
481   |      |                 |                       |      |           |
482   | rfc- | justification   | xml2rfc-ext-justifica | "nev | "never":  |
483   | ext  |                 | tion                  | er"  | never     |
484   |      |                 |                       |      | emit      |
485   |      |                 |                       |      | justified |
486   |      |                 |                       |      | text,     |
487   |      |                 |                       |      | "always": |
488   |      |                 |                       |      | always    |
489   |      |                 |                       |      | emit      |
490   |      |                 |                       |      | justified |
491   |      |                 |                       |      | text,     |
492   |      |                 |                       |      | "print":  |
493   |      |                 |                       |      | only emit |
494   |      |                 |                       |      | justified |
495   |      |                 |                       |      | text for  |
496   |      |                 |                       |      | print     |
497   |      |                 |                       |      | media.    |
498   |      |                 |                       |      |           |
499
500
501
502
503Reschke                                                         [Page 9]
504
505Documentation             RFC2629 through XSLT             December 2008
506
507
508   | rfc- | parse-xml-in-ar | xml2rfc-parse-xml-in- | "no" | May be    |
509   | ext  | twork           | artwork               |      | used to   |
510   |      |                 |                       |      | enable    |
511   |      |                 |                       |      | parsing   |
512   |      |                 |                       |      | of XML    |
513   |      |                 |                       |      | content   |
514   |      |                 |                       |      | in        |
515   |      |                 |                       |      | figures   |
516   |      |                 |                       |      | (MSXML    |
517   |      |                 |                       |      | only).    |
518   |      |                 |                       |      |           |
519   | rfc- | support-rfc2731 | xml2rfc-ext-support-r | "yes | Decides   |
520   | ext  |                 | fc2731                | "    | whether   |
521   |      |                 |                       |      | the HTML  |
522   |      |                 |                       |      | transform |
523   |      |                 |                       |      | ation     |
524   |      |                 |                       |      | should    |
525   |      |                 |                       |      | generate  |
526   |      |                 |                       |      | META tags |
527   |      |                 |                       |      | according |
528   |      |                 |                       |      | Section 6 |
529   |      |                 |                       |      | .4.       |
530   |      |                 |                       |      |           |
531   | rfc- | sec-no-trailing | xml2rfc-ext-sec-no-tr |      | When set  |
532   | ext  | -dots           | ailing-dots           |      | to "yes", |
533   |      |                 |                       |      | add       |
534   |      |                 |                       |      | trailing  |
535   |      |                 |                       |      | dots to   |
536   |      |                 |                       |      | section   |
537   |      |                 |                       |      | numbers.  |
538   |      |                 |                       |      | This      |
539   |      |                 |                       |      | seems to  |
540   |      |                 |                       |      | be the    |
541   |      |                 |                       |      | preferred |
542   |      |                 |                       |      | format in |
543   |      |                 |                       |      | the       |
544   |      |                 |                       |      | newest    |
545   |      |                 |                       |      | RFCs.     |
546   +------+-----------------+-----------------------+------+-----------+
547
548
549
550
551
552
553
554
555
556
557
558
559Reschke                                                        [Page 10]
560
561Documentation             RFC2629 through XSLT             December 2008
562
563
5644.  Anchors
565
566   The transformation automatically generates anchors that are supposed
567   to be stable and predictable and that can be used to identify
568   specific parts of the document.  Anchors are generated both in HTML
569   and XSL-FO content (but the latter will only be used for PDF output
570   when the XSL-FO engine supports producing PDF anchors).
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
615Reschke                                                        [Page 11]
616
617Documentation             RFC2629 through XSLT             December 2008
618
619
620                 The following anchors get auto-generated:
621
622     +-----------------------+---------------------------------------+
623     | Anchor name           | Description                           |
624     +-----------------------+---------------------------------------+
625     | rfc.abstract          | Abstract                              |
626     |                       |                                       |
627     | rfc.authors           | Authors section                       |
628     |                       |                                       |
629     | rfc.copyright         | Copyright section                     |
630     |                       |                                       |
631     | rfc.copyrightnotice   | Copyright notice                      |
632     |                       |                                       |
633     | rfc.figure._n_        | Figures (titled)                      |
634     |                       |                                       |
635     | rfc.figure.u._n_      | Figures (untitled)                    |
636     |                       |                                       |
637     | rfc.index             | Index                                 |
638     |                       |                                       |
639     | rfc.ipr               | Intellectual Property                 |
640     |                       |                                       |
641     | rfc.iref._n_          | Internal references                   |
642     |                       |                                       |
643     | rfc.note._n_          | Notes (from front section)            |
644     |                       |                                       |
645     | rfc.references        | References                            |
646     |                       |                                       |
647     | rfc.references._n_    | Additional references                 |
648     |                       |                                       |
649     | rfc.section._n_       | Section _n_                           |
650     |                       |                                       |
651     | rfc.section._n_.p._m_ | Section _n_, paragraph _m_            |
652     |                       |                                       |
653     | rfc.status            | Status of memo                        |
654     |                       |                                       |
655     | rfc.table._n_         | Tables (titled)                       |
656     |                       |                                       |
657     | rfc.table.u._n_       | Tables (untitled)                     |
658     |                       |                                       |
659     | rfc.toc               | Table of contents                     |
660     |                       |                                       |
661     | rfc.xref._name_._n_   | References to reference _n_ to _name_ |
662     +-----------------------+---------------------------------------+
663
664
665
666
667
668
669
670
671Reschke                                                        [Page 12]
672
673Documentation             RFC2629 through XSLT             December 2008
674
675
6765.  Supported XSLT engines
677
678   The transformation requires a non-standard extension function (see
679   exsl:node-set [1]) which is however widely available.  XSLT
680   processors that do not support this extension (or a functional
681   equivalent) currently are not supported.
682
6835.1.  Standalone Engines
684
685   The following XSLT engines are believed to work well:
686
687   o  MSXML3 and MSXML4 (<http://msdn.microsoft.com/xml>; these
688      processors do not support exsl:node-set(), but have a similar
689      proprietary extension)
690
691   o  Saxon (<http://saxon.sourceforge.net/>)
692
693   o  Xalan (<http://xml.apache.org/xalan-j/>)
694
695   o  xsltproc (libxslt) (<http://xmlsoft.org/XSLT/>, make sure that you
696      have a current version)
697
6985.2.  In-Browser Engines
699
700   The following browsers seem to work fine:
701
702   o  Internet Explorer 5.5 (Windows version, if MSXML3 is installed)
703
704   o  Internet Explorer 6
705
706   o  Internet Explorer 7
707
708   o  Firefox 3.0
709
710   o  Safari 3 (starting with version 3.0.4)
711
712   o  Google Chrome (beta available)
713
714   o  Opera 10 (alpha version available)
715
716   The following browsers are known not to work properly:
717
718   o  Firefox 1.*/2.*: (missing extension function - see change request
719      at Mozilla BugZilla 193678 [2])
720
721   o  Opera 9.21: execution fails, potentially to a somewhat complex
722      XPath expression (reported to Opera as bug 245725).
723
724
725
726
727Reschke                                                        [Page 13]
728
729Documentation             RFC2629 through XSLT             December 2008
730
731
732   o  Opera 9.5 and 9.6: transformation appears to work, but CSS isn't
733      getting applied (reported to Opera as bug 337388 on 2008-06-12).
734
735   o  Safari 2.* supports client-side XSLT as of MacOS X 10.4, but
736      misses required extension functions.  A problem with stylesheets
737      producing non-ASCII output (such as NBSP characters) has been
738      fixed as of OSX 10.4.4.  Both problems have been reported through
739      Apple's bug tracking system, see <http://drakken.dbc.mtview.ca.us/
740      pipermail/xml2rfc/2005-May/002073.html> and
741      <http://bugs.webkit.org/show_bug.cgi?id=4079>.
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
783Reschke                                                        [Page 14]
784
785Documentation             RFC2629 through XSLT             December 2008
786
787
7886.  Transforming to HTML
789
790   Transformation to HTML can be done inside the browser if it supports
791   XSLT.  To enable this, add the following processing instruction to
792   the start of the source file:
793
794     <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
795
796   (and ensure that "rfc2629.xslt" is present).
797
7986.1.  HTML compliance
799
800   The transformation result is supposed to conform to the HTML 4.01
801   strict DTD [HTML].  This can be checked using the W3C's online
802   validator at <http://validator.w3.org>.
803
8046.2.  Standard HTML LINK elements
805
806   LINK elements exist since HTML 2.0.  They can be used to embed
807   content-independant links inside the document.  Unfortunately, only
808   few user agents support this element.  Firefox users may want to
809   check the Link Widgets [3] extension.
810
811                 The following LINK elements are produced:
812
813   +-----------+-------------------------------------------------------+
814   | LINK type | description                                           |
815   +-----------+-------------------------------------------------------+
816   | alternate | for RFCs, a link to the authorative ASCII version on  |
817   |           | the IETF web site                                     |
818   |           |                                                       |
819   | appendic  | pointer to all top-level appendics                    |
820   |           |                                                       |
821   | author    | pointer to "authors" section                          |
822   |           |                                                       |
823   | chapter   | pointer to all top-level sections                     |
824   |           |                                                       |
825   | contents  | pointer to table of contents                          |
826   |           |                                                       |
827   | copyright | pointer to copyright statement                        |
828   |           |                                                       |
829   | index     | pointer to index                                      |
830   +-----------+-------------------------------------------------------+
831
832   The figure below shows how Mozilla Firefox 1.0 displays the Site
833   Navigation Bar for rfc2396.xml.
834
835
836
837
838
839Reschke                                                        [Page 15]
840
841Documentation             RFC2629 through XSLT             December 2008
842
843
8446.3.  Standard HTML metadata
845
846          The following standard HTML META elements are produced:
847
848      +-----------+-------------------------------------------------+
849      | META name | description                                     |
850      +-----------+-------------------------------------------------+
851      | generator | from XSLT engine version and stylesheet version |
852      |           |                                                 |
853      | keywords  | from keyword elements in front section          |
854      +-----------+-------------------------------------------------+
855
8566.4.  Dublin Core (RFC2731) metadata
857
858   Unless turned off using the "rfc-ext support-rfc2731" processing
859   instruction, the transformation will generate metadata according to
860   [RFC2731].
861
862                The following DCMI properties are produced:
863
864   +-------------------------+-----------------------------------------+
865   | META name               | description                             |
866   +-------------------------+-----------------------------------------+
867   | DC.Creator              | from author information in front        |
868   |                         | section                                 |
869   |                         |                                         |
870   | DC.Date.Issued          | from date information in front section  |
871   |                         |                                         |
872   | DC.Description.Abstract | from abstract                           |
873   |                         |                                         |
874   | DC.Identifier           | document URN [RFC2648] from "docName"   |
875   |                         | attribute                               |
876   |                         |                                         |
877   | DC.Relation.Replaces    | from "obsoletes" attribute              |
878   +-------------------------+-----------------------------------------+
879
8806.5.  Experimental hCard support
881
882   The generated author information is formatted in hCard [4] format.
883
884
885
886
887
888
889
890
891
892
893
894
895Reschke                                                        [Page 16]
896
897Documentation             RFC2629 through XSLT             December 2008
898
899
9007.  Transforming to XHTML
901
902   Transforming to XHTML requires slightly different XSLT output options
903   and is implemented by the derived transformation script
904   "rfc2629toXHTML.xslt".
905
906      Note: Microsoft Internet Explorer does _not_ support XHTML.
907      Therefore it usually makes more sense to generate plain old HTML.
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
951Reschke                                                        [Page 17]
952
953Documentation             RFC2629 through XSLT             December 2008
954
955
9568.  Transforming to CHM (Microsoft Compiled Help)
957
958   To generate a CHM file using Microsoft's HTML Help Compiler (hhc),
959   three files are required in addition to the HTML file.
960
961   1.  hhc - table of contents file (HTML)
962
963   2.  hhk - index file (HTML)
964
965   3.  hhp - project file (plain text)
966
967   The three files are generated with three specific transformations,
968   each requiring the additional XSLT parameter "basename" to specify
969   the filename prefix.
970
971   Example:
972
973   saxon rfc2616.xml rfc2629toHhp.xslt basename=rfc2616  > rfc2616.hhp
974   saxon rfc2616.xml rfc2629toHhc.xslt basename=rfc2616  > rfc2616.hhc
975   saxon rfc2616.xml rfc2629toHhk.xslt basename=rfc2616  > rfc2616.hhk
976   hhc rfc2616.hhp
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
1007Reschke                                                        [Page 18]
1008
1009Documentation             RFC2629 through XSLT             December 2008
1010
1011
10129.  Transforming to PDF
1013
10149.1.  Via XSL-FO
1015
1016   Transformation to XSL-FO [XSL-FO] format is available through
1017   "rfc2629toFO.xslt" (which includes "rfc2629.xslt", so keep both in
1018   the same folder).
1019
1020   Compared to HTML user agents, XSL-FO engines unfortunately either
1021   come as open source (for instance, Apache FOP) or feature-complete
1022   (for instance, AntennaHouse XSL Formatter), but not both at the same
1023   time.
1024
1025   As Apache FOP needs special workarounds (page breaking, table
1026   layout), and some popular extensions aren't standardized yet, the
1027   translation produces a generic output (hopefully) conforming to
1028   [XSL-FO].  Specific backends ("xsl11toFop.xslt", "xsl11toXep.xslt",
1029   "xsl11toAn.xslt") then provide post-processing for the individual
1030   processors.
1031
1032      Note: the output is currently targeted at Apache FOP 0.95.
1033
10349.1.1.  Extension feature matrix
1035
1036   +------------+-------------+------------+-------------+-------------+
1037   |            | PDF anchors |     PDF    |     PDF     |    Index    |
1038   |            |             |  bookmarks |   document  |   cleanup   |
1039   |            |             |            | information |             |
1040   +------------+-------------+------------+-------------+-------------+
1041   | XSL 1.1    | no, but can |     yes    |   no, but   |     yes     |
1042   | WD [5]     |      be     |            |   uses XEP  |             |
1043   |            | auto-genera |            |    output   |             |
1044   |            |   ted from  |            |  extensions |             |
1045   |            |     "id"    |            |             |             |
1046   |            |  attributes |            |             |             |
1047   |            |             |            |             |             |
1048   | Antenna    |      no     |   yes [7]  |   yes [7]   |   yes [7]   |
1049   | House XSL  |             |  (from XSL |  (from XEP  |  (just page |
1050   | formatter  |             |     1.1    |   document  |  duplicate  |
1051   | [6]        |             | bookmarks) |    info)    | elimination |
1052   |            |             |            |             |  , from XSL |
1053   |            |             |            |             |   1.1 page  |
1054   |            |             |            |             |    index)   |
1055   |            |             |            |             |             |
1056   | Apache     |     yes     |  yes (from |     yes     |      no     |
1057   | FOP [8]    |             |   XSL 1.1  |             |             |
1058   |            |             | bookmarks) |             |             |
1059   |            |             |            |             |             |
1060
1061
1062
1063Reschke                                                        [Page 19]
1064
1065Documentation             RFC2629 through XSLT             December 2008
1066
1067
1068   | RenderX    |      no     |  yes [10]  |   yes [10]  |   yes [10]  |
1069   | XEP [9]    |             |  (from XSL |             |  (from XSL  |
1070   |            |             |     1.1    |             |   1.1 page  |
1071   |            |             | bookmarks) |             |    index)   |
1072   +------------+-------------+------------+-------------+-------------+
1073
10749.1.2.  Example: producing output for Apache FOP
1075
1076   Example:
1077
1078   saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo
1079   saxon tmp.fo xsl11toFop.xslt > rfc2629.fo
1080
10819.2.  Via X(HTML)
1082
1083   PDF output can also be produced directly from (X)HTML.  One simple
1084   approach is to rely on the browser's printing function, and to use a
1085   printer driver that produces PDF.  Depending on the brower's CSS
1086   capabilities, the output will behave properly with respect to table
1087   breaks etc.
1088
1089   An alternative is PrinceXML (see <http://www.princexml.com/>), which
1090   can produce PDF directly from (X)HTML input, based on the CSS
1091   printing information.
1092
1093   For instance, PDF output with text justification turned on can be
1094   produced with:
1095
1096   saxon input.xml rfc2629toXHTML.xslt xml2rfc-ext-justification=print \
1097     > output.xhtml
1098   prince output.xhtml output.pdf
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119Reschke                                                        [Page 20]
1120
1121Documentation             RFC2629 through XSLT             December 2008
1122
1123
112410.  Generic Extensions
1125
1126   This section documents extensions implemented in "rfc2629.xslt",
1127   using the extension namespace "http://purl.org/net/xml2rfc/ext".
1128
112910.1.  <abnf-char-sequence> element
1130
1131   Converts the contained quoted string into a hex-encoded character
1132   sequence, for use in case-sensitive ABNF productions.
1133
1134   For instance, "<x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence>"
1135   gets converted to "%x48.54.54.50".
1136
113710.2.  <anchor-alias> element
1138
1139   Using its "value" attribute, this element allows the definition of an
1140   internal link target alias for the enclosing element.  This alias can
1141   then be used with the <ref> element for intra-document references.
1142
1143   Note that the anchor alias is not subject to the naming constraints
1144   that apply to anchor elements (which are XML names).
1145
114610.3.  <bcp14> element
1147
1148   This element marks the content as being one of the normative keywords
1149   defined in [RFC2119].
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
1175Reschke                                                        [Page 21]
1176
1177Documentation             RFC2629 through XSLT             December 2008
1178
1179
1180   The DOCTYPE definition below allows using these keywords using XML
1181   entity expansion: such as in "...server &MUST; accept...".
1182
1183   <!DOCTYPE rfc [
1184    <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1185      >MAY</bcp14>">
1186    <!ENTITY MUST "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1187      >MUST</bcp14>">
1188    <!ENTITY MUST-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1189      >MUST NOT</bcp14>">
1190    <!ENTITY OPTIONAL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1191      >OPTIONAL</bcp14>">
1192    <!ENTITY RECOMMENDED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1193      >RECOMMENDED</bcp14>">
1194    <!ENTITY REQUIRED "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1195      >REQUIRED</bcp14>">
1196    <!ENTITY SHALL "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1197      >SHALL</bcp14>">
1198    <!ENTITY SHALL-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1199      >SHALL NOT</bcp14>">
1200    <!ENTITY SHOULD "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1201      >SHOULD</bcp14>">
1202    <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
1203      >SHOULD NOT</bcp14>">]>
1204
120510.4.  <bb> element
1206
1207   Marking up a string as <bb> indicates that it represents the bottom
1208   line of a box drawing, replacing the "+" and "-" characters
1209   accordingly.
1210
121110.5.  <bc> element
1212
1213   Marking up a string as <bc> indicates that it represents a center
1214   line of a box drawing, replacing the "|" character accordingly.
1215
121610.6.  <blockquote> element
1217
1218   This element is like the "blockquote" element in [HTML] (note this is
1219   a block-level element!).  It should contain one or more <t> child
1220   elements.
1221
122210.7.  <bt> element
1223
1224   Marking up a string as <bt> indicates that it represents the top line
1225   of a box drawing, replacing the "+" and "-" characters accordingly.
1226
1227
1228
1229
1230
1231Reschke                                                        [Page 22]
1232
1233Documentation             RFC2629 through XSLT             December 2008
1234
1235
123610.8.  <dfn> element
1237
1238   This element is like the "dfn" element in [HTML].
1239
124010.9.  <h> element
1241
1242   This element is like the "h" element in [XHTML2].
1243
124410.10.  <highlight> element
1245
1246   Used to highlight text passages, currently only allowed in <artwork>.
1247
1248   Note: this is stripped when generating input for xml2rfc, so please
1249   use with care.
1250
125110.11.  <length-of> element
1252
1253   This element can be used to insert the length of another formatted
1254   section (in decimal).
1255
1256   Example: computing the Content-Length header value
1257
1258   <artwork>
1259   ...
1260   Content-Length: <x:length-of target="req"/>
1261
1262   <x:span anchor="req">123456789
1263   <x:span><artwork/>
1264
1265   The lenght computation counts line ends as two characters (CRLF).
1266
1267   Note that indentation characters in artwork _will_ be counted.  The
1268   "indented" attribute allows to specify the amount of indentation to
1269   be substracted from the computed length.
1270
127110.12.  <link> element
1272
1273   This element can be added as a top-level child element below <rfc> to
1274   indicate additional link information.  It's currently used only when
1275   generating HTML output, in which case an HTML <link> element with
1276   identical attributes gets generated.
1277
1278   Example: generating HTML link element
1279
1280           <x:link xmlns="http://purl.org/net/xml2rfc/ext"
1281               rel="Bookmark"
1282               title="IETF WEBDAV Working Group"
1283               href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/>
1284
1285
1286
1287Reschke                                                        [Page 23]
1288
1289Documentation             RFC2629 through XSLT             December 2008
1290
1291
129210.13.  <lt> element
1293
1294   Used for grouping multiple <t> elements into a single list item.
1295
129610.14.  <note> element
1297
1298   Can be used to add a note, usually indented by a few characters.  It
1299   should contain one or more <t> child elements.
1300
130110.15.  <parse-xml> element
1302
1303   This element instructs the processor to parse the contents as XML and
1304   to warn when there's a problem (requires either MSXML or Saxon8 or
1305   newer).
1306
130710.16.  <q> element
1308
1309   This element is like the "q" element in [HTML].
1310
131110.17.  <ref> element
1312
1313   This element is a simplified variant of the <xref> element, in that
1314   no "target" attribute needs to be specified, instead the text
1315   contents acts as identifier.  That in itself wouldn't be terribly
1316   useful, but together with the <anchor-alias>, it allows referring to
1317   other parts of the document with minimal additional markup.
1318
1319   For instance, given an alias definition such as
1320
1321         <section title="Test" anchor="test">
1322           <x:anchor-alias value="alias1"/>
1323           <x:anchor-alias value="alias 2"/>
1324           ...
1325         </section>
1326
1327   the following simple references
1328
1329         <x:ref>test</x:ref>
1330         <x:ref>alias1</x:ref>
1331         <x:ref>alias 2</x:ref>
1332
1333   are equivalent to...:
1334
1335         <xref target="test">test</xref>
1336         <xref target="test">alias1</xref>
1337         <xref target="test">alias 2</xref>
1338
1339
1340
1341
1342
1343Reschke                                                        [Page 24]
1344
1345Documentation             RFC2629 through XSLT             December 2008
1346
1347
134810.18.  <source> element
1349
1350   Can be used to enhance a <reference> with information about the
1351   location for the XML source.  This can be used by the <xref>
1352   processing code to automatically extract the target section number.
1353
1354   For example:
1355
1356         ...
1357         <xref target="RFC2616" x:fmt="of" x:rel="#PUT" />
1358         ...
1359
1360         <reference target="RFC2616"/>
1361           ...
1362           <x:source href="rfc2616.xml"/>
1363           ...
1364
136510.19.  <sup> element
1366
1367   This element is like the "sup" element in [HTML].
1368
1369   Note: the down conversion to RFC2629 format replaces "x^y" by "x^y".
1370
137110.20.  Extensions to Xml2rfc <artwork> element
1372
1373   Sometimes, artwork occurs inside lists.  To get it indent properly in
1374   xml2rfc's text output, it needs to be indented in the source.  This
1375   is sub-optimal, as this whitespace will also appear in the HTML
1376   output, where it's already indented due to HTML's semantics.
1377
1378   As a workaround, a "x:indent-with" attribute can be specified,
1379   containing a string that will be prepended to each line when
1380   "clean-for-DTD.xslt" is run (see Section 11.4).
1381
138210.21.  Extensions to Xml2rfc <iref> element
1383
1384   The extension attribute below is allowed on the standard <iref>
1385   element:
1386
1387   o  x:for-anchor specifies that the <iref> will also be automatically
1388      inserted whenever the specified anchor is cross-referenced -- this
1389      may save entering lots of <iref> instances.  As a special case, a
1390      value of "" (empty string) refers to the anchor attribute of the
1391      closest ancestor.
1392
1393
1394
1395
1396
1397
1398
1399Reschke                                                        [Page 25]
1400
1401Documentation             RFC2629 through XSLT             December 2008
1402
1403
140410.22.  Extensions to Xml2rfc <list> element
1405
1406   The extension attribute below is allowed on the standard <list>
1407   element:
1408
1409   o  x:indent specifies the amount of indentation for list items in
1410      hanging lists.  This can be useful when the output format, such as
1411      XSL-FO, does not support automatical formatting.  The value takes
1412      an XSL-FO width, such as "5em".  The default is _length of longest
1413      label in characters_ times _0.8em_.
1414
1415   Also, the <list> element can take <x:lt> child elements instead of
1416   <t>, allowing to insert multiple paragraphs into a single list item.
1417
141810.23.  Extensions to Xml2rfc <rfc> element
1419
1420   The extension attributes below are allowed on the standard <rfc>
1421   element:
1422
1423   o  grddl:transformation can be used to reference a GRDDL transform.
1424
1425   o  x:maturiy-level can be used to specify the IETF Standards Track
1426      Maturity Level of "proposed", "draft" or "internet" (see Section
1427      4.1 of [RFC2026]).
1428
142910.24.  Extensions to Xml2rfc <section> element
1430
1431   The extension attribute below is allowed on the standard <list>
1432   element:
1433
1434   o  x:fixed-section-number can be used to specify a fixed section
1435      number.  This can be useful when formatting historic documents
1436      that used a different numbering style.
1437
143810.25.  Extensions to Xml2rfc <xref> element
1439
1440   Three extension attributes are allowed on the standard <xref>
1441   element:
1442
1443   1.  x:sec can be specified to point to a specific section of the
1444       referenced document,
1445
1446   2.  x:rel may specify a relative reference to use when linking into
1447       the referenced document (if linking by section number is not
1448       available),
1449
1450   3.  x:fmt defines the text format to be used.
1451
1452
1453
1454
1455Reschke                                                        [Page 26]
1456
1457Documentation             RFC2629 through XSLT             December 2008
1458
1459
1460   The following formats are defined for the x:fmt attribute:
1461
1462   , (Comma)  [_reference_], Section _sec_
1463
1464   () [_reference_] (Section _sec_)
1465
1466   anchor  Like the default format, but without brackets.
1467
1468   of Section _sec_ of [_reference_]
1469
1470   number  _sec_
1471
1472   none  No output (can be used to have xrefs to references without
1473      having them rendered as such)
1474
1475   sec  Section _sec_
1476
1477   These extensions are currently only supported for <xref> elements
1478   without child nodes.
1479
1480   If the processor knows how to reference the target section, it will
1481   generate a link directly to the target section, such as in [RFC2119],
1482   Section 5.
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
1511Reschke                                                        [Page 27]
1512
1513Documentation             RFC2629 through XSLT             December 2008
1514
1515
151611.  Utilities
1517
151811.1.  Checking References
1519
1520   "check-references.xslt" can be used to check all references to RFC-
1521   and ID-series IETF publications and to W3C publications (note this
1522   script requires local copies of
1523   <ftp://ftp.isi.edu/in-notes/rfc-index.xml> and
1524   <http://www.w3.org/2002/01/tr-automation/tr.rdf> and will use the XML
1525   status information provided at <http://tools.ietf.org/>).
1526
1527   If the document is supposed to be published on the IETF standards
1528   track, the desired level can be specified using the parameter
1529   "intended-level" as 'proposed', 'draft' or 'internet'.
1530   Alternatively, it can be specified inside the document using the
1531   attribute x:maturity-level on the <rfc> element.
1532
1533   Note: Downward references should be annotated using the <annotate>
1534   element, containing an <xref> to [BCP97].
1535
1536   When an XSLT 2.0 processor is used, links in the document can be
1537   checked as well using the "link-check" paramerer ('yes' or 'no').
1538   Note that this only works for http links to documents of tytpe
1539   text/*.
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
1567Reschke                                                        [Page 28]
1568
1569Documentation             RFC2629 through XSLT             December 2008
1570
1571
1572   For instance, as of 2008-07-12, the script produces for
1573   <http://greenbytes.de/tech/webdav/rfc2518.xml>:
1574
1575   > saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \
1576     link-check=yes
1577
1578   Normative References:
1579   ISO-11578: not checked
1580   ISO-639: not checked
1581   ISO-8601: not checked
1582   REC-xml-19980210: [FirstEdition] obsoleted by REC-xml-20001006
1583   REC-xml-names-19990114: [FirstEdition] obsoleted by
1584    REC-xml-names-20060816
1585   RFC1766: [PROPOSED STANDARD] obsoleted by RFC3066 RFC3282
1586   RFC2068: [PROPOSED STANDARD] obsoleted by RFC2616
1587   RFC2069: [PROPOSED STANDARD] obsoleted by RFC2617
1588   RFC2119: [BEST CURRENT PRACTICE] (-> BCP0014) ok
1589   RFC2141: [PROPOSED STANDARD] ok
1590   RFC2277: [BEST CURRENT PRACTICE] (-> BCP0018) ok
1591   RFC2396: [DRAFT STANDARD] obsoleted by RFC3986
1592   RFC2279: [DRAFT STANDARD] obsoleted by RFC3629
1593
1594   Informational References:
1595   REC-PICS-labels-961031: [REC] ok
1596   RFC1807: [INFORMATIONAL] ok
1597   RFC2026: [BEST CURRENT PRACTICE] (-> BCP0009) ok
1598   RFC2291: [INFORMATIONAL] ok
1599   RFC2376: [INFORMATIONAL] obsoleted by RFC3023
1600   RFC2413: [INFORMATIONAL] obsoleted by RFC5013
1601   USMARC: not checked
1602   WF: not checked
1603
1604   Link Targets
1605   <http://www.w3.org/TR/1998/REC-xml-19980210>: ok
1606   <http://www.w3.org/TR/1999/REC-xml-names-19990114>: ok
1607   <http://www.dlib.org/dlib/july96/lagoze/07lagoze.html>: ok
1608   <http://www.w3.org/pub/WWW/TR/REC-PICS-labels-961031.html>: ok
1609
1610   Recognized formats in the <seriesInfo> element are:
1611
1612   o  for RFCs, the name attribute must be "RFC", and the value
1613      attribute must be the number of the RFC,
1614
1615   o  for Internet Drafs, the name attribute must be "ID" or "Internet-
1616      Draft", and the value attribute must be the file name of the draft
1617      (including the two-digit running number, but excluding a file
1618      extension),
1619
1620
1621
1622
1623Reschke                                                        [Page 29]
1624
1625Documentation             RFC2629 through XSLT             December 2008
1626
1627
1628   o  for W3C documents, the name attribute must be "W3C", must start
1629      with "W3C ", or must start with "World Wide Web Consortium ", and
1630      the value attribute must be the "shorthand" name of the
1631      specification, such as "REC-xml-19980210".
1632
163311.2.  Generating Graphs from References
1634
1635   "gen-reference-graph.xslt" generates a graph of RFC dependencies,
1636   using the same base data as in "check-references.xslt" (see
1637   Section 11.1).  Its output is a "dot" file, to be processed by
1638   GraphViz (see <http://www.graphviz.org/>).
1639
1640   The picture below shows the RFC dependencies in RFC2629.
1641
1642
164311.3.  Producing reference entries for books
1644
1645   "amazon-asin.xslt" uses the Amazon web services to generate a
1646   <reference> element for a given ASIN (ISBN).
1647
1648   For instance:
1649
1650   <?xml version="1.0" encoding="utf-8"?>
1651   <references>
1652    <reference target="urn:isbn:0134516591">
1653      <front>
1654        <title>Simple Book, The: An Introduction to Internet Management,
1655                  Revised Second Edition</title>
1656        <author surname="Rose"
1657                   fullname="Marshall T. Rose" initials="M. T. ">
1658          <organization/>
1659        </author>
1660        <author surname="Marshall"
1661                   fullname="Rose T. Marshall" initials="R. T.">
1662          <organization/>
1663        </author>
1664        <date year="1996" month="March"/>
1665      </front>
1666      <seriesInfo name="Prentice Hall" value=""/>
1667    </reference>
1668   </references>
1669
1670   Note that the resulting XML usually requires checking, in this case
1671   Amazon's database is playing tricks with Marshall's name...
1672
1673
1674
1675
1676
1677
1678
1679Reschke                                                        [Page 30]
1680
1681Documentation             RFC2629 through XSLT             December 2008
1682
1683
168411.4.  Down-converting to RFC2629bis DTD
1685
1686   "clean-for-DTD.xslt" can be used to down-convert some extensions to a
1687   format that is supported by the base xml2rfc distribution.  Note that
1688   these extensions are experimental (feedback appreciated).
1689
1690   The following mappings are done:
1691
1692   o  <iref> elements inside <artwork> elements are moved in front of
1693      the enclosing <figure> element.
1694
1695   o  <xref> elements inside <artwork> are expanded just like in regular
1696      text (that is, the markup is stripped, but the element is replaced
1697      by the applicable replacement text).
1698
1699   o  <x:anchor-alias> elements get stripped.
1700
1701   o  <x:bcp14> elements get stripped.
1702
1703   o  <x:bb>, <x:bc> and <x:bt> elements get stripped.
1704
1705   o  <x:blockquote> elements get converted to indented text (through a
1706      <list> element).
1707
1708   o  <x:dfn> elements get stripped.
1709
1710   o  <x:h> elements get stripped.
1711
1712   o  <x:link> elements get stripped.
1713
1714   o  <x:note> elements get converted to indented text (through a <list>
1715      element).
1716
1717   o  <x:q> elements get stripped, with apostrophes added around the
1718      text.
1719
1720   o  <x:ref> elements get replaced by <xref> elements, targetting
1721      either the anchor or another anchor with matching <x:anchor-alias>
1722      child element.
1723
172411.5.  Extracting artwork
1725
1726   With "extract-artwork.xslt", artwork elements named through the
1727   "name" attribute can be extracted.  This can be used to automatically
1728   check their syntax (for instance, when ABNFs appear within a figure
1729   element).
1730
1731
1732
1733
1734
1735Reschke                                                        [Page 31]
1736
1737Documentation             RFC2629 through XSLT             December 2008
1738
1739
1740   For instance:
1741   saxon rfc3986.xml extract-artwork.xslt name=uri.abnf
1742
1743   In addition, artwork of a specific type can be extracted, such as
1744   with:
1745   saxon rfc3986.xml extract-artwork.xslt type=abnf
1746
174711.6.  GRRDL
1748
1749   "rfc2629grddl.xslt" extracts RDF information.  This is experimental
1750   work-in-progress.  See <http://www.w3.org/TR/grddl/> for more
1751   information.
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
1791Reschke                                                        [Page 32]
1792
1793Documentation             RFC2629 through XSLT             December 2008
1794
1795
179612.  Informative References
1797
1798   [BCP97]    Klensin, J. and S. Hartman, "Handling Normative References
1799              to Standards-Track Documents", BCP 97, RFC 4897,
1800              June 2007.
1801
1802   [HTML]     Raggett, D., Hors, A., and I. Jacobs, "HTML 4.01
1803              Specification", W3C REC-html401-19991224, December 1999,
1804              <http://www.w3.org/TR/html401/>.
1805
1806   [RFC2026]  Bradner, S., "The Internet Standards Process -- Revision
1807              3", BCP 9, RFC 2026, October 1996.
1808
1809   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
1810              Requirement Levels", BCP 14, RFC 2119, March 1997.
1811
1812   [RFC2616]  Fielding, R., Gettys, J., Mogul, J., Nielsen, H.,
1813              Masinter, L., Leach, P., and T. Berners-Lee, "Hypertext
1814              Transfer Protocol -- HTTP/1.1", RFC 2616, June 1999.
1815
1816   [RFC2629]  Rose, M., "Writing I-Ds and RFCs using XML", RFC 2629,
1817              June 1999.
1818
1819   [RFC2648]  Moats, R., "A URN Namespace for IETF Documents", RFC 2648,
1820              August 1999.
1821
1822   [RFC2731]  Kunze, J., "Encoding Dublin Core Metadata in HTML",
1823              RFC 2731, December 1999.
1824
1825   [RFC5234]  Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax
1826              Specifications: ABNF", STD 68, RFC 5234, January 2008.
1827
1828   [RNC]      Clark, J., "RELAX NG Compact Syntax", OASIS , Nov 2002, <h
1829              ttp://www.oasis-open.org/committees/relax-ng/
1830              compact-20021121.html>.
1831
1832   [XHTML2]   Axelsson, J., Birbeck, M., Dubinko, M., Epperson, B.,
1833              Ishikawa, M., McCarron, S., Navarro, A., and S. Pemberton,
1834              "XHTML[TM] 2.0", W3C WD-xhtml2-20060726, July 2006,
1835              <http://www.w3.org/TR/xhtml2>.
1836
1837   [XSL-FO]   Berglund, A., "Extensible Stylesheet Language (XSL)
1838              Version 1.1", W3C REC-xsl11-20061205, Dec 2006,
1839              <http://www.w3.org/TR/2006/REC-xsl11-20061205/>.
1840
1841   [1]   <http://www.exslt.org/exsl/functions/node-set/
1842         exsl.node-set.html>
1843
1844
1845
1846
1847Reschke                                                        [Page 33]
1848
1849Documentation             RFC2629 through XSLT             December 2008
1850
1851
1852   [2]   <http://bugzilla.mozilla.org/show_bug.cgi?id=193678>
1853
1854   [3]   <https://addons.mozilla.org/firefox/2933/>
1855
1856   [4]   <http://microformats.org/wiki/hcard>
1857
1858   [5]   <http://www.w3.org/TR/2003/WD-xsl11-20031217/>
1859
1860   [6]   <http://www.antennahouse.com/>
1861
1862   [7]   <http://www.antennahouse.com/XSL20/axf-extension.htm>
1863
1864   [8]   <http://xml.apache.org/fop/>
1865
1866   [9]   <http://xep.xattic.com/>
1867
1868   [10]  <http://xep.xattic.com/xep/spec.html>
1869
1870   [11]  <http://www.thaiopensource.com/relaxng/jing.html>
1871
1872   [12]  <http://dpcarlisle.blogspot.com/2007/05/
1873         exslt-node-set-function.html>
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
1903Reschke                                                        [Page 34]
1904
1905Documentation             RFC2629 through XSLT             December 2008
1906
1907
1908Appendix A.  RELAX NG Compact Schema
1909
1910   The RelaxNG schema ([RNC]) below can be used to validate input
1911   documents (for instance, with Jing [11]).
1912
1913   _Note that this is work in progress, and doesn't yet cover all
1914   extensions completely._
1915
1916  # WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.
1917
1918  # Define our extension namespace
1919  namespace x = "http://purl.org/net/xml2rfc/ext"
1920
1921  # Define GRDDL namespace
1922  namespace grddl = "http://www.w3.org/2003/g/data-view#"
1923
1924  # Define RDF namespace
1925  namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1926
1927  # Include rfc2629bis RNC grammar
1928  include "rfc2629.rnc" {
1929
1930    # Redefine <artwork> to allow markup
1931    artwork =
1932      element artwork {
1933        attlist.artwork,
1934        (TEXT
1935          | eref
1936          | iref
1937          | spanx
1938          | xref
1939          | x_abnf-char-sequence
1940          | x_bb
1941          | x_bc
1942          | x_bt
1943          | x_highlight
1944          | x_length-of
1945          | x_parse-xml
1946          | x_ref
1947          | x_span
1948          | x_x)*
1949      }
1950
1951    # Redefine <c> to allow our extension elements
1952    c =
1953      element c {
1954        attlist.c,
1955        (TEXT
1956
1957
1958
1959Reschke                                                        [Page 35]
1960
1961Documentation             RFC2629 through XSLT             December 2008
1962
1963
1964          | xref
1965          | eref
1966          | iref
1967          | cref
1968          | spanx
1969          | x_ref)*
1970      }
1971
1972    # Redefine <cref> to allow more child elements
1973    cref =
1974      element cref {
1975        attlist.cref,
1976        (TEXT
1977          | eref)*
1978      }
1979
1980    # Redefine <list> element to allow <x:lt> child elements
1981    \list =
1982      element list {
1983        attlist.list,
1984        (t+ | x_lt+)
1985      }
1986
1987    # Redefine <preamble> to allow our extension elements
1988    preamble =
1989      element preamble {
1990        attlist.preamble,
1991        (TEXT
1992          | xref
1993          | eref
1994          | iref
1995          | cref
1996          | spanx
1997          | x_anchor-alias)*
1998      }
1999
2000    # Redefine <postamble> to allow our extension elements
2001    postamble =
2002      element postamble {
2003        attlist.postamble,
2004        (TEXT
2005          | xref
2006          | eref
2007          | iref
2008          | cref
2009          | spanx
2010          | x_bcp14)*
2011      }
2012
2013
2014
2015Reschke                                                        [Page 36]
2016
2017Documentation             RFC2629 through XSLT             December 2008
2018
2019
2020    # Redefine <reference> to allow our extension elements
2021    reference =
2022      element reference {
2023        attlist.reference,
2024        front,
2025        seriesInfo*,
2026        format*,
2027        annotation*,
2028        x_source?
2029      }
2030
2031    # Redefine <rfc> to allow our extension elements
2032    rfc =
2033      element rfc {
2034        attlist.rfc,
2035        x_link*,
2036        x_assign-section-number*,
2037        front,
2038        middle,
2039        back?
2040      }
2041
2042    # Redefine <section> to allow our extension elements
2043    section =
2044      element section {
2045        attlist.section,
2046        (t
2047         | figure
2048         | texttable
2049         | iref
2050         | section
2051         | x_anchor-alias
2052         | x_blockquote
2053         | x_include-author
2054         | x_note
2055         | rdf_Description)*
2056      }
2057
2058    # Redefine <spanx> to allow some markup
2059    spanx =
2060      element spanx {
2061        attlist.spanx,
2062        (TEXT
2063          | iref
2064          | xref
2065          | x_ref)*
2066      }
2067
2068
2069
2070
2071Reschke                                                        [Page 37]
2072
2073Documentation             RFC2629 through XSLT             December 2008
2074
2075
2076    # Redefine <t> to allow our extension elements
2077    t =
2078      element t {
2079        attlist.t,
2080        (TEXT
2081         | \list
2082         | figure
2083         | xref
2084         | eref
2085         | iref
2086         | cref
2087         | spanx
2088         | vspace
2089         | x_abnf-char-sequence
2090         | x_anchor-alias
2091         | x_bcp14
2092         | x_dfn
2093         | x_h
2094         | x_q
2095         | x_ref
2096         | x_sup)*
2097      }
2098  }
2099
2100  # Allow x:indent-with attribute on <artwork>
2101  attlist.artwork &=
2102    attribute x:indent-with { ATEXT }?
2103
2104  # Allow anchor attribute on <author>
2105  attlist.author &=
2106    attribute anchor { xsd:ID }?
2107
2108    # Extend attribute set for <iref> (see Section 10.21)
2109  attlist.iref &=
2110    attribute x:for-anchor { ATEXT }?
2111
2112  # Extend attribute set for <list> (see Section 10.22)
2113  attlist.list &=
2114    attribute x:indent { ATEXT }?
2115
2116  # Extend attribute set for <preamble>
2117  attlist.preamble &=
2118    attribute anchor { xsd:ID }?
2119
2120  # Extend attribute set for <rfc>
2121  attlist.rfc &=
2122    attribute grddl:transformation { ATEXT }?,
2123    attribute x:maturity-level { "proposed" | "draft" | "internet" }?
2124
2125
2126
2127Reschke                                                        [Page 38]
2128
2129Documentation             RFC2629 through XSLT             December 2008
2130
2131
2132  # Extend attribute set for <section> (see Section 10.24)
2133  attlist.section &=
2134    attribute x:fixed-section-number { ATEXT }?
2135
2136  # Allow anchor attribute on <spanx>
2137  attlist.spanx &=
2138    attribute anchor { xsd:ID }?
2139
2140  # Extend attribute set for <xref> (see Section 10.25)
2141  attlist.xref &=
2142    attribute x:fmt  { "()" | "," | "anchor" | "of" | "number" | "sec" |
2143                       "none" }?,
2144    attribute x:rel  { ATEXT }?,
2145    attribute x:sec  { ATEXT }?
2146
2147  # Conversion to ABNF char sequence (see Section 10.1)
2148  x_abnf-char-sequence =
2149    element x:abnf-char-sequence {
2150      TEXT
2151    }
2152
2153  # Aliasing of anchors (see Section 10.2)
2154  x_anchor-alias =
2155    element x:anchor-alias {
2156      attribute value { TEXT },
2157      empty
2158    }
2159
2160  # Including Author information
2161  # (experimental)
2162  x_include-author =
2163    element x:include-author {
2164      attribute target { xsd:IDREF }
2165    }
2166
2167  # Setting section numbers for internally generated sections
2168  # (experimental)
2169  x_assign-section-number =
2170    element x:assign-section-number {
2171      attribute builtin-target { "authors" },
2172      attribute number { TEXT },
2173      empty
2174    }
2175
2176  # Bottom line of box drawing (see Section 10.4)
2177  x_bb =
2178    element x:bb {
2179      (TEXT
2180
2181
2182
2183Reschke                                                        [Page 39]
2184
2185Documentation             RFC2629 through XSLT             December 2008
2186
2187
2188        | iref
2189        | xref
2190        | x_bb
2191        | x_bc
2192        | x_bt
2193        | x_ref)*
2194    }
2195
2196  # Center line of box drawing (see Section 10.5)
2197  x_bc =
2198    element x:bc {
2199      (TEXT
2200        | iref
2201        | xref
2202        | x_bb
2203        | x_bc
2204        | x_bt
2205        | x_ref)*
2206    }
2207
2208  # BCP14/RFC2119 keywords (see Section 10.3)
2209  x_bcp14 =
2210    element x:bcp14 {
2211      "MAY"
2212      | "MUST"
2213      | "MUST NOT"
2214      | "NOT RECOMMENDED"
2215      | "OPTIONAL"
2216      | "RECOMMENDED"
2217      | "REQUIRED"
2218      | "SHALL"
2219      | "SHALL NOT"
2220      | "SHOULD"
2221      | "SHOULD NOT"
2222    }
2223
2224  # Blockquote (see Section 10.6)
2225  x_blockquote =
2226    element x:blockquote {
2227      attribute cite { URI }?,
2228      t+
2229    }
2230
2231  # Top line of box drawing (see Section 10.7)
2232  x_bt =
2233    element x:bt {
2234      (TEXT
2235        | iref
2236
2237
2238
2239Reschke                                                        [Page 40]
2240
2241Documentation             RFC2629 through XSLT             December 2008
2242
2243
2244        | xref
2245        | x_bb
2246        | x_bc
2247        | x_bt
2248        | x_ref)*
2249    }
2250
2251  # Definition (see Section 10.8)
2252  x_dfn =
2253    element x:dfn {
2254      attribute anchor { xsd:ID }?,
2255      (TEXT
2256        | iref)*
2257    }
2258
2259  # Heading (see Section 10.9)
2260  x_h =
2261    element x:h {
2262      TEXT
2263    }
2264
2265  # Heading (see Section 10.10)
2266  x_highlight =
2267    element x:highlight {
2268      TEXT
2269    }
2270
2271  # Length Measurement (see Section 10.11)
2272  x_length-of =
2273    element x:length-of {
2274      attribute indented { NUMBER }?,
2275      attribute target { xsd:IDREF },
2276      empty
2277    }
2278
2279  # Link (see Section 10.12)
2280  x_link =
2281    element x:link {
2282      attribute href { URI },
2283      attribute title { TEXT }?,
2284      attribute rel { TEXT },
2285      empty
2286    }
2287
2288  # Extended list item (see Section 10.13)
2289  x_lt =
2290    element x:lt {
2291      attribute anchor { xsd:ID }?,
2292
2293
2294
2295Reschke                                                        [Page 41]
2296
2297Documentation             RFC2629 through XSLT             December 2008
2298
2299
2300      attribute hangText { TEXT }?,
2301      t+
2302    }
2303
2304  # Note (see Section 10.14)
2305  x_note =
2306    element x:note {
2307      t+
2308    }
2309
2310  # Signal XML content (see Section 10.15)
2311  x_parse-xml =
2312    element x:parse-xml {
2313      TEXT
2314    }
2315
2316  # Inline quote (see Section 10.16)
2317  x_q =
2318    element x:q {
2319      TEXT
2320    }
2321
2322  # Anchor reference (see Section 10.17)
2323  x_ref =
2324    element x:ref {
2325      TEXT
2326    }
2327
2328  # source information (see Section 10.18)
2329  x_source =
2330    element x:source {
2331      attribute basename { ATEXT }?,
2332      attribute href { URI },
2333      empty
2334    }
2335
2336  # superscript (see Section 10.19)
2337  x_sup =
2338    element x:sup {
2339      TEXT
2340    }
2341
2342  # Inline Span
2343  x_span =
2344    element x:span {
2345      attribute anchor { xsd:ID }?,
2346      (TEXT
2347        | x_parse-xml)*
2348
2349
2350
2351Reschke                                                        [Page 42]
2352
2353Documentation             RFC2629 through XSLT             December 2008
2354
2355
2356    }
2357
2358  # Nop (for alignment in source)
2359  x_x =
2360    element x:x {
2361      empty
2362    }
2363
2364  # Embed RDF statements
2365  rdf_Description =
2366    element rdf:Description {
2367      rdf_content
2368    }
2369
2370  rdf_content =
2371    ( TEXT | element * { rdf_content })*
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407Reschke                                                        [Page 43]
2408
2409Documentation             RFC2629 through XSLT             December 2008
2410
2411
2412Appendix B.  Implementation Notes
2413
2414B.1.  Recognized type attributes for <artwork> element
2415
2416   Specific values in the <artwork> element's "type" attribute are
2417   recognized and cause a different visual style to be used:
2418
2419   +-------------------------------------+-----------------------------+
2420   | Media Type                          | Comment                     |
2421   +-------------------------------------+-----------------------------+
2422   | abnf                                | ABNF as per [RFC5234]       |
2423   |                                     |                             |
2424   | abnf2616                            | ABNF as per [RFC2616],      |
2425   |                                     | Section 2.1                 |
2426   |                                     |                             |
2427   | application/relax-ng-compact-syntax | Relax NG Compact Syntax as  |
2428   |                                     | per [RNC]                   |
2429   |                                     |                             |
2430   | application/xml-dtd                 | XML DTD                     |
2431   |                                     |                             |
2432   | message/http; msgtype="request"     | HTTP message, as per        |
2433   |                                     | [RFC2616], Section 19.1     |
2434   |                                     |                             |
2435   | message/http; msgtype="response"    | HTTP message, as per        |
2436   |                                     | [RFC2616], Section 19.1     |
2437   +-------------------------------------+-----------------------------+
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463Reschke                                                        [Page 44]
2464
2465Documentation             RFC2629 through XSLT             December 2008
2466
2467
2468Appendix C.  License
2469
2470   Copyright (c) 2006-2008, Julian Reschke
2471   (julian.reschke@greenbytes.de)
2472
2473   All rights reserved.
2474
2475   Redistribution and use in source and binary forms, with or without
2476   modification, are permitted provided that the following conditions
2477   are met:
2478
2479   o  Redistributions of source code must retain the above copyright
2480      notice, this list of conditions and the following disclaimer.
2481
2482   o  Redistributions in binary form must reproduce the above copyright
2483      notice, this list of conditions and the following disclaimer in
2484      the documentation and/or other materials provided with the
2485      distribution.
2486
2487   o  Neither the name of Julian Reschke nor the names of its
2488      contributors may be used to endorse or promote products derived
2489      from this software without specific prior written permission.
2490
2491   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2492   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2493   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2494   A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
2495   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2496   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2497   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2498   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2499   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2500   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2501   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519Reschke                                                        [Page 45]
2520
2521Documentation             RFC2629 through XSLT             December 2008
2522
2523
2524Appendix D.  Change Logs
2525
2526D.1.  Package
2527
2528   2006-01-01  Switch to BSD License.
2529
2530   2007-01-12  Update to xml2rfc v1.33pre2.
2531
2532   2007-03-31  Update to xml2rfc v1.33pre3.
2533
2534   2007-05-01  Add XSLT test cases.
2535
2536   2008-07-18  Experimental support for inlined rdf:Description elements
2537      (ignored by the formatter, extracted by rfc2629grddl).
2538
2539   2008-12-04  Update to xml2rfc v1.34pre2.
2540
2541D.2.  amazon-asin.xslt
2542
2543   2003-11-16  Initial release.
2544
2545   2005-04-02  Fix two DTD issues.
2546
2547D.3.  check-references.xslt
2548
2549   2003-11-16  Initial release.
2550
2551   2004-05-11  Add document status; print references type.
2552
2553   2005-01-01  Add experimental check for ID status.
2554
2555   2005-04-01  Add fixes from Bill Fenner.
2556
2557   2005-12-03  Add checks against local copy of
2558      <http://www.w3.org/2002/01/tr-automation/tr.rdf>.
2559
2560   2006-07-22  Add checks for standards levels.
2561
2562   2006-08-06  "check-ietf-references.xslt" replaced by "check-
2563      references.xslt".
2564
2565   2007-01-04  Use information online at <http://tools.ietf.org/> to
2566      retrieve Internet-Draft status information.
2567
2568   2007-06-16  Fix bug looking up ref type when inside change markup.
2569
2570
2571
2572
2573
2574
2575Reschke                                                        [Page 46]
2576
2577Documentation             RFC2629 through XSLT             December 2008
2578
2579
2580   2008-06-14  Enhance output when draft was updated, and then published
2581      as RFC.
2582
2583   2008-07-12  Add XSLT2-based link target checking.
2584
2585   2008-08-10  Change keywords for "intended-level" to proposed/draft/
2586      internet, optionall extract intended level from /rfc/@
2587      x:maturity-level attribute.
2588
2589D.4.  gen-reference-graph.xslt
2590
2591   2006-09-03  New.
2592
2593   2007-06-07  Use Carlisle method [12] to define exslt:node-set in
2594      msxsml (which means that the stylesheet can now be used with MSXML
2595      as well).
2596
2597   2007-10-15  Use W3C data from tr.rdf as well (experimental).
2598
2599D.5.  rfc2629.xslt
2600
2601   2001-03-28  Code rearranged, generate numbered section anchors for
2602      paragraphs (t) as well.  Fixes in index handling.
2603
2604   2001-04-12  Moved HTML output into XHTML namespace.
2605
2606   2001-10-02  Fixed default location for RFCs and numbering of section
2607      references.  Support ?rfc editing processing instruction.
2608
2609   2001-10-07  Made telephone number links active.
2610
2611   2001-10-08  Support for vspace element.
2612
2613   2001-10-09  Experimental support for rfc-issue PI.
2614
2615   2001-11-11  Support rfc private PI.  Removed bogus code reporting the
2616      WG in the header.
2617
2618   2001-11-11  Support rfc private PI.  Removed bogus code reporting the
2619      WG in the header.
2620
2621   2001-12-17  Support title attribute on references element
2622
2623   2002-01-05  Support for list/@style="@format"
2624
2625
2626
2627
2628
2629
2630
2631Reschke                                                        [Page 47]
2632
2633Documentation             RFC2629 through XSLT             December 2008
2634
2635
2636   2002-01-09  Display "closed" RFC issues as deleted
2637
2638   2002-01-14  Experimentally and optionally parse XML encountered in
2639      artwork elements (requires MSXSL).
2640
2641   2002-01-27  Some cleanup.  Moved RFC issues from PIs into namespaced
2642      elements.
2643
2644   2002-01-29  Added support for sortrefs PI.  Added support for figure
2645      names.
2646
2647   2002-02-07  Highlight parts of artwork which are too wide (72
2648      characters).
2649
2650   2002-02-12  Code rearrangement for static texts.  Fixes for section
2651      numbering.  TOC generation rewritten.
2652
2653   2002-02-15  Support for irefs in sections; support iref @primary=true
2654
2655   2002-03-03  Moved anchor prefix into a constant.  Added sanity checks
2656      on user anchor names.
2657
2658   2002-03-23  Bugfix in detection of matching org names when creating
2659      the header.  Fixed sorting in subitems.
2660
2661   2002-04-02  Fix TOC link HTML generation when no TOC is generated
2662      (created broken HTML table code).
2663
2664   2002-04-03  Made rendering of references more tolerant re: missing
2665      parts.
2666
2667   2002-04-08  Fixed reference numbering when references are split into
2668      separate sections.
2669
2670   2002-04-16  Fix default namespace (shouldn't be set for HTML output
2671      method).
2672
2673   2002-04-19  Lowercase internal CSS selectors for Mozilla compliance.
2674      Do not put TOC into ul element.
2675
2676   2002-04-21  Make numbered list inside numbered lists use alphanumeric
2677      numbering.
2678
2679   2002-05-05  Updated issue/editing support.
2680
2681
2682
2683
2684
2685
2686
2687Reschke                                                        [Page 48]
2688
2689Documentation             RFC2629 through XSLT             December 2008
2690
2691
2692   2002-05-15  Bugfix for section numbering after introduction of ed:
2693      replace
2694
2695   2002-06-21  When producing private documents, do not include document
2696      status, copyright etc.
2697
2698   2002-07-08  Fix xrefs to Appendices.
2699
2700   2002-07-19  Make artwork lightyellow for easier reading. (fielding)
2701
2702   2002-10-09  Translate references title to anchor name to avoid non-
2703      uri characters. (fielding)
2704
2705   2002-10-13  Support for tocdepth PI.
2706
2707   2002-11-03  Added temporariry workaround for Mozilla/Transformiix
2708      result tree fragment problem. (search for
2709      'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')
2710
2711   2002-12-25  xref code: attempt to uppercase "section" and "appendix"
2712      when at the start of a sentence.
2713
2714   2003-02-02  fixed code for vspace blankLines="0", enhanced display
2715      for list with "format" style, got rid of HTML blockquote elements,
2716      added support for "hangIndent"
2717
2718   2003-04-10  experimental support for appendix and spanx elements
2719
2720   2003-04-19  fixed counting of list numbers in "format %" styles (one
2721      counter per unique format string).  Added more spanx styles.
2722
2723   2003-05-02  experimental texttable support
2724
2725   2003-05-02  Make mailto links optional (default = none) (jre: default
2726      and PI name changed) (fielding)
2727
2728   2003-05-04  experimental support for HTML link elements; fix default
2729      for table header alignment default
2730
2731   2003-05-06  support for "background" PI.
2732
2733   2003-05-11  change %c format to lowercase alphabetic. add support for
2734      keyword elements (generate META tag). fix various HTML conformance
2735      problems. added experimental support for role attribute. do not
2736      number paragraphs in unnumbered sections. update boilerplate
2737      texts. support for "iprnotified" PI. bugfix list numbering. strip
2738      whitespace when building tel: URIs.
2739
2740
2741
2742
2743Reschke                                                        [Page 49]
2744
2745Documentation             RFC2629 through XSLT             December 2008
2746
2747
2748   2003-05-12  more conformance fixes (layout moved into CSS, move lists
2749      and figures out of para content, do not use tables for list
2750      formatting)
2751
2752   2003-05-13  add DC.Creator meta tag, refactoring
2753
2754   2003-05-16  put nbsps between "section" and section number (xref).
2755
2756   2003-05-18  author summary: add missing comma.
2757
2758   2003-06-06  fix index generation bug (transposed characters in key
2759      generation).  Enhance sentence start detection (xref starting a
2760      section was using lowercase "section").
2761
2762   2003-06-22  exp. support for xref/@format.  Add missing support for
2763      eref w/o content. exp. support for annotations in reference
2764      elements.  Code cleanup reference table formatting.
2765
2766   2003-07-09  Another fix for DC.Creator meta tag creation based on
2767      RFC2731
2768
2769   2003-07-24  Fix namespace name for DC.Creator.
2770
2771   2003-08-06  Cleanup node-set support (only use exslt (saxon, xalan,
2772      libxslt) extension functions; remove Transformix workarounds that
2773      stopped to work in Moz 1.4)
2774
2775   2003-08-09  Generate HTML lang tag.
2776
2777   2003-08-10  Map spanx/verb to HTML "samp" element.  Fix author name
2778      display in references (reverse surname/initials for last author),
2779      add "Ed.".  Fix internal bookmark generation.
2780
2781   2003-08-17  Add DCMI dates, identifiers and abstract.  Add PI to
2782      suppress DCMI generation.  Do not add TOC entry to Copyright
2783      Statement when there is none.  Align RFC2629 PI names and
2784      parameter names.  Change style for inline URIs generated by eref.
2785      Add header and footer support.  Enhance CSS paging properties.
2786      Support topblock PI.  Added hooks for proper XHTML generation
2787      through separate XSLT.  Enhance warning and error messages.  Add
2788      support for artwork image display.  Table formatting fixes
2789      (borders, thead continuation).
2790
2791   2003-08-18  Add workaround for MSXML4 node-set and Mozilla node-set
2792      issues (fallback just displays are warning).
2793
2794
2795
2796
2797
2798
2799Reschke                                                        [Page 50]
2800
2801Documentation             RFC2629 through XSLT             December 2008
2802
2803
2804   2003-10-06  Add workaround for broken pre/ins handling in Mozilla
2805      (see <http://bugzilla.mozilla.org/show_bug.cgi?id=204401>).  Make
2806      use of cite attribute on ed:replace.  CSS cleanup.
2807
2808   2003-10-08  Fix minor issue detecting the same org for the header
2809      (caused by IE's non-standard whitespace handling).  Fix default
2810      handling for /rfc/@category.
2811
2812   2003-11-09  Inherit ed:entered-by from ancestor elements.  Change CSS
2813      color for inserted text to green.  Generate issues-list anchor.
2814      Do not complain about missing targets when the xref element is
2815      below ed:del.  Remove code that attempted to distinguish section/
2816      Section when producing links - always use uppercase.  Fix date
2817      rendering for issue resolutions.
2818
2819   2003-11-29  Fix color values for table backgrounds for issue
2820      rendering.  Change rendering of issue links to use inline-styles.
2821      Add colored issue markers to issues.
2822
2823   2003-12-13  Fix inheritance of ed:entered-by attribute.  Display note
2824      elements inside change tracking as well.
2825
2826   2004-01-18  When PI compact = 'yes', make most CSS print page breaks
2827      conditional.
2828
2829   2004-02-20  Support for RFC3667 IPR changes (xml2rfc 1.22); see <http
2830      ://lists.xml.resource.org/pipermail/xml2rfc/2004-February/
2831      001088.html>.
2832
2833   2004-03-11  Add "(if approved)" to "updates" and "obsoletes" unless
2834      the document has an RFC number.
2835
2836   2004-04-01  Fix RFC3667 output, see <http://lists.xml.resource.org/
2837      pipermail/xml2rfc/2004-April/001208.html>.
2838
2839   2004-04-04  Add support for section/top attribute.  Move references
2840      into plain section container.
2841
2842   2004-04-06  Do not emit identical para anchors for deleted content.
2843
2844   2004-04-14  Fix references TOC generation when there are no
2845      references.
2846
2847   2004-04-24  Fix RFC3667 output, see
2848      <http://xml.resource.org/pipermail/xml2rfc/2004-April/
2849      001246.html>.
2850
2851
2852
2853
2854
2855Reschke                                                        [Page 51]
2856
2857Documentation             RFC2629 through XSLT             December 2008
2858
2859
2860   2004-05-09  Add custom support for generating compound index
2861      documents.  Add anchors for each Index letter.  Add experimental
2862      cref support.  Fix conditional page breaks before References
2863      section.
2864
2865   2004-05-16  Refactor external index generation.
2866
2867   2004-05-20  Rewrite anchor generation for comments.
2868
2869   2004-05-22  Enhance issues rendering (add links to changes).
2870
2871   2004-05-30  Allow single quote as delimiter in processing
2872      instructions as well.  Move block-level issue pointers to floats.
2873      Disable issue pointers for print media.  Add "purple numbers".
2874      Add hrefs to section headings.  Add non-printing index key letter
2875      list to start of index.
2876
2877   2004-06-01  Use &#xb6; instead of # for PNs.
2878
2879   2004-07-18  Add support for list style=letters (thanks Roy F.).  Make
2880      PNs optional; add new PI.
2881
2882   2004-09-05  Fix index links into unnumbered sections.  Bring IPR
2883      boilerplate in-line with xml2rfc 1.25.  Add experimental CSS3
2884      paged media support.  Various HTML fixes.
2885
2886   2004-09-21  Enhance checking of artwork width.
2887
2888   2004-09-26  Add check for unused references.  Uppercase letters in
2889      list style letters when nested into another list.
2890
2891   2004-10-10  Fix internal change track pointers.
2892
2893   2004-11-01  Allow change tracking on references (as a whole).
2894      Rewrite artwork handling so that it allows change tracking inside
2895      artwork.  Also allow a subset of text markup inside artwork, such
2896      as xrefs (note this requires post-processing the source to make it
2897      compliant to RFC2629bis).
2898
2899   2004-11-03  Enhanced placement of iref anchors.
2900
2901   2004-11-06  Index: display irefs that appeared (with primary=true)
2902      inside artwork elements in a monospaced font.
2903
2904   2004-11-14  Add special code so that changes in section titles can be
2905      change-tracked.
2906
2907
2908
2909
2910
2911Reschke                                                        [Page 52]
2912
2913Documentation             RFC2629 through XSLT             December 2008
2914
2915
2916   2005-01-14  Bugfixes for HtmlToXhtml converter.
2917
2918   2005-01-22  Enhance generation of HTML h* elements (for Mozilla
2919      Outliner).
2920
2921   2005-01-31  Put vertical space around top-level TOC entries in TOC.
2922      Switch to pt-based CSS.  Re-arrange top section.  Make hr elements
2923      reflect new-page settings in TXT output (compact-PI).  Fix page
2924      number in footer (CSS print) and add some more experimental
2925      support for paged media (tested with Prince 4.1 alpha).  Rewrite
2926      TOC and Index generation to generate HTML lists.  Cleanup id
2927      generation for paragraphs.  Reduce whitespace in output.  Fix
2928      vspace implementation.  Use right/left dqoutes and copyright sign
2929      where appropriate.
2930
2931   2005-02-04  Add <link> element to references section.  Fix newly
2932      introduced bug in references processing.
2933
2934   2005-02-05  Integrate various fixes/enhancements by Roy Fielding:
2935      spelling of "Authors' Addresses", comma setting in references,
2936      position of "Authors" section, optionally place authors addresses
2937      at end (PI), trailing dots in section numbers, switch to verdana
2938      default font in CSS.  Add experimental support for centered
2939      artwork.
2940
2941   2005-02-09  Fixes in spacing and links of references section titles.
2942      Enhance sorting in references when change tracking is in place.
2943      Re-add figure centering support.  Add missing 2nd part of
2944      "Author's Adresses" fix.
2945
2946   2005-02-25  Align section number format with xml2rfc1.29.
2947
2948   2005-03-28  Get rid of table elements in Author's section.  Add
2949      experimental hCard (<http://developers.technorati.com/wiki/hCard>)
2950      support.
2951
2952   2005-04-03  Add RFC3978-style IPR statement support.
2953      (fenner@research.att.com)
2954
2955   2005-04-11  Cleanup author display. hCard related fixes.
2956
2957   2005-05-07  Minor fixes to allow change tracking in doc title.  Add
2958      experimental support for table border styles.  CSS cleanup.
2959
2960   2005-06-18  Implement missing support for references to texttables.
2961
2962
2963
2964
2965
2966
2967Reschke                                                        [Page 53]
2968
2969Documentation             RFC2629 through XSLT             December 2008
2970
2971
2972   2005-09-25  Use (-moz-)column-count when printing the index.
2973
2974   2005-10-04  Report missing element templates with xsl:message.
2975
2976   2005-10-15  Process t/@anchor.
2977
2978   2005-10-23  More workarounds for Mozilla's broken del/ins handling
2979      (this time for figures).
2980
2981   2005-10-27  lowercase hCard class names
2982
2983   2005-11-22  Enhance diagnostics for XML-in-artwork extension
2984
2985   2005-11-26  Fix formatting of section numbers for sections inserted
2986      into <back>.
2987
2988   2005-12-12  Fix some validity problems when change tracking occured
2989      inside lists.
2990
2991   2005-12-18  Add change tracking inside the index.
2992
2993   2006-02-04  Add prev/next links to highlighted changes (change
2994      tracking extension).
2995
2996   2006-02-10  Catch errors instantiating MSXML component.
2997
2998   2006-02-11  References: add "work in progress" for Internet Drafts.
2999
3000   2006-02-27  Fix front matter (lowercase Internet-Draft, say "Intended
3001      status" for non-RFC documents).  Start work on experimental
3002      extension for simplified internal links.
3003
3004   2006-03-19  Tweaks to IESG Copyright stuff; support submissionType
3005      attribute.  Fix duplicate reference anchors in HTML output.
3006      Reduce HTML Tidy warnings.  Fix reference to normative ASCII
3007      version (now requires trailing ".txt").  Tweaks to hCard
3008      generation.  Started to move non-issue-tracking extensions into
3009      namespace "http://purl.org/net/xml2rfc/ext".
3010
3011   2006-03-27  Moved "simple reference" extension into namespace
3012      "http://purl.org/net/xml2rfc/ext" and add documentation.  HTML
3013      conformance enhancements.
3014
3015   2006-04-02  Cleanup special code for automated XHTML XSLT generation.
3016
3017
3018
3019
3020
3021
3022
3023Reschke                                                        [Page 54]
3024
3025Documentation             RFC2629 through XSLT             December 2008
3026
3027
3028   2006-04-21  Generate <CITE> elements where appropiate.  Introduce
3029      x:blockquote, x:dfn, x:h and x:q elements.
3030
3031   2006-05-06  Introduce x:bcp14 element.
3032
3033   2006-05-14  Fix content model for x:blockquote.
3034
3035   2006-06-18  Add box drawing support (x:bt, x:bc, x:bb).
3036
3037   2006-06-20  HTML validity fixes (legal chars in anchors in index).
3038
3039   2006-06-24  Reduce leading empty lines in artwork.  Move <dt> style
3040      info into CSS.
3041
3042   2006-07-14  Fix rendering of multiple street address entries (missing
3043      line break).
3044
3045   2006-07-24  Add extension for deep linking into RFCs, do not generate
3046      empty list items in TOC output, avoid empty <dt> elements for list
3047      items without hangText attribute.
3048
3049   2006-08-01  Allow @anchor on more elements; start work on Relax NG
3050      grammar for extensions.  Reduce generated style elements (use CSS
3051      classes instead).  Consistently use "id" instead of "name".
3052      Change default target for RFC links to
3053      "http://tools.ietf.org/html/rfcNNNN".
3054
3055   2006-08-06  Include appendices defined in <appendix> elements in TOC
3056      (please consider them deprecated anyhow!).  Generate links to
3057      "http://tools.ietf.org/html/draft-*" for Internet Drafts.  Replace
3058      x:frag by x:rel, allowing any kind of relative reference instead
3059      of just fragments.
3060
3061   2006-08-30  Reduce textual differences between HTML output and what
3062      xml2rfc produces in TXT output mode (section refs/reference
3063      targets).  Add small workaround for Opera 9.0.1's problem with
3064      node-set().
3065
3066   2006-10-29  Fix problem generating internal links to change markup
3067      within references section.  Enhancements when generating numbered
3068      references for deleted references.  Allow inclusion of references
3069      into the index (through include-references-in-index extension).
3070      Fix a bug that caused the newer version of the IETF boilerplate to
3071      be produced rather than the pre-RFC3667 one.  Update to RFC4287
3072      boilerplate.
3073
3074
3075
3076
3077
3078
3079Reschke                                                        [Page 55]
3080
3081Documentation             RFC2629 through XSLT             December 2008
3082
3083
3084   2006-11-11  Add extension attribute x:for-anchor to <iref> handling.
3085
3086   2006-11-26  Experimental (and limited) support for <x:lt>.
3087
3088   2006-12-04  Fix bugs in processing documents that have both the ipr
3089      and the number attribute set on the rfc root element.  Add support
3090      for x:fmt='none' on xrefs.  Add different pre style based on
3091      artwork type attributes (experimental).
3092
3093   2006-12-13  Add x:fmt='anchor' for xref elements.
3094
3095   2007-01-07  Fix root template for compatibility for the exslt:node-
3096      set implementation in Firefox3.
3097
3098   2007-01-29  Avoid empty table entry in front matter when organization
3099      is not specified for an author.
3100
3101   2007-02-10  Allow change tracking in table rows.
3102
3103   2007-03-09  Add hcard profile URI (<http://www.w3.org/2006/03/hcard>)
3104      to head element.  Add warning for misplaced <t> elements (after
3105      section).
3106
3107   2007-03-21  Fix internal linking from reference entries in index for
3108      some xref types.  Minor CSS tweaks contributed by MTR.  Allow
3109      turning on text justification through a PI.  Improve iref anchor
3110      generation to generate less instable anchors.
3111
3112   2007-03-28  Fixes for numbering of ed:inserted references sections.
3113
3114   2007-05-04  Do not generate anchors for edits in deleted sections.
3115      Enhance HTML conformance.
3116
3117   2007-05-19  Enhance diagnostics when using Saxon (needs Saxon's "-l"
3118      command line parameter to keep line number information).  Add
3119      warning when symref PI is missing (default will change in the
3120      future).  Add support for overriding computed section numbers
3121      (when formatting historic documents).
3122
3123   2007-06-07  Change default for symrefs PI to "yes" (see change in
3124      xml2rfc 1.33pre4).  Warn about docName attributes that appear to
3125      contain a file extension.
3126
3127   2007-06-26  Workaround author/@initials values without trailing dot,
3128      as in xml2rfc.tcl.
3129
3130
3131
3132
3133
3134
3135Reschke                                                        [Page 56]
3136
3137Documentation             RFC2629 through XSLT             December 2008
3138
3139
3140   2007-07-14  Enhance index generation for references that use @x:sec
3141      attribute.
3142
3143   2007-09-09  Fix: sortrefs is a nop when symrefs=no.
3144
3145   2007-10-17  Work in progress: add support for referencing sections in
3146      sibling documents by anchor name.
3147
3148   2007-10-17  Work in progress (continued): support for referencing
3149      sections in sibling documents by anchor name.
3150
3151   2007-12-31  Emit warning when updating/obsoleting stuff that's not
3152      referenced.
3153
3154   2008-02-03  Support xml2rfc-1.33pre5's suppress-title attribute on
3155      texttable and figure.
3156
3157   2008-02-06  Extension: allow <eref> below <cref>.
3158
3159   2008-02-17  Extensions: add x:span and x:length-of.
3160
3161   2008-02-20  Add new RFC boilerplate (as changed in 2007-08).
3162
3163   2008-02-27  Improve diagnostics for artwork width problems; add
3164      defaulting of publication dates (requires XSLT processor
3165      supporting exslt:date, or msxml).
3166
3167   2008-02-29  Enhance CSS for link elements in the front header, update
3168      rules for generating "Acknowledgment" statement.
3169
3170   2008-03-01  Use line numbers in diagnostics in Saxon8/9 as well.
3171
3172   2008-03-02  Fix a bug in the logic choosing the boilerplate,
3173      resulting in obsolete text being inserted into IDs.
3174
3175   2008-04-01  Add support for superscript element.
3176
3177   2008-06-28  Add sanity checks for email addresses, allow multiple
3178      email elements.
3179
3180   2008-07-06  Add x:abnf-char-sequence.
3181
3182   2008-08-21  Add x:note.
3183
3184   2008-09-06  Add experimental support for SVG images.
3185
3186
3187
3188
3189
3190
3191Reschke                                                        [Page 57]
3192
3193Documentation             RFC2629 through XSLT             December 2008
3194
3195
3196   2008-09-17  Add experimental support for x:author.  Fix xref/@
3197      format=none.
3198
3199   2008-10-10  Fix a huge bug, causing text content after an XML comment
3200      to be ignored.
3201
3202D.6.  rfc2629toFO.xslt
3203
3204   2003-11-16  Initial release.
3205
3206   2003-11-29  Enhance handling of unknown list styles.
3207
3208   2004-04-04  Update reference section handling.
3209
3210   2004-04-17  Use XSL-WD-1.1-style fo:bookmark and index handling and
3211      add postprocessors for existing implementations.  Unify PDF info
3212      generation by using XEP (postprocessors) will convert.
3213
3214   2004-04-20  Add experimental cref support.
3215
3216   2004-06-14  Set correct index-item defaults.
3217
3218   2004-07-18  Add list style=letters.
3219
3220   2004-09-03  Make URLs in text break where they are allowed to break
3221      by inserting zero-width spaces.
3222
3223   2004-09-26  Fix letter-style inside nested lists.
3224
3225   2004-10-31  Update handling of artwork.
3226
3227   2004-11-13  Fix handling of references inside ed:* markup.  Fix
3228      whitespace handling in artwork.
3229
3230   2004-11-27  Irefs in artwork generate monospaced entries in index.
3231
3232   2005-01-31  Fix TOC generation that was broken after changes in main
3233      XSLT.
3234
3235   2005-02-05  Bring in sync with cosmetic changes in rfc2629.xslt.
3236
3237   2005-05-07  Minor fix for change tracking in document title.  Support
3238      for table styles.
3239
3240   2005-06-18  Fix references to tables.
3241
3242
3243
3244
3245
3246
3247Reschke                                                        [Page 58]
3248
3249Documentation             RFC2629 through XSLT             December 2008
3250
3251
3252   2005-10-15  Process t/@anchor.
3253
3254   2006-02-11  References: add "work in progress" for Internet Drafts.
3255
3256   2006-06-02  Use XSL 1.1 WD Feb 2006.
3257
3258   2007-03-21  Support optional text justification.
3259
3260   2007-05-19  Various improvements in spacing; also allow overriding
3261      the automatic list indentation via list/x:indent.
3262
3263D.7.  xsl11toAn.xslt
3264
3265   2004-05-17  Initial release.
3266
3267   2006-06-02  Use XSL 1.1 WD Feb 2006.
3268
3269D.8.  xsl11toFop.xslt
3270
3271   2004-05-17  Initial release.
3272
3273   2006-06-02  Use XSL 1.1 WD Feb 2006.
3274
3275D.9.  xsl11toFop-0.93.xslt
3276
3277   2008-03-15  Add a workaround to the fo:inline workaround (sigh).
3278
3279D.10.  xsl11toXep.xslt
3280
3281   2004-05-17  Initial release.
3282
3283   2004-09-04  Fix xep:index-item attributes.
3284
3285   2006-06-02  Use XSL 1.1 WD Feb 2006.
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303Reschke                                                        [Page 59]
3304
3305Documentation             RFC2629 through XSLT             December 2008
3306
3307
3308Index
3309
3310   A
3311      abnf-char-sequence Extension Element  21, 35
3312      allow-markup-in-artwork PI pseudo-attribute  8
3313      alternate HTML LINK element  15
3314      anchor-alias Extension Element  21, 35
3315      Anchors
3316         rfc.abstract  12
3317         rfc.authors  12
3318         rfc.copyright  12
3319         rfc.copyrightnotice  12
3320         rfc.figure.n  12
3321         rfc.figure.u.n  12
3322         rfc.index  12
3323         rfc.ipr  12
3324         rfc.iref.n  12
3325         rfc.note.n  12
3326         rfc.references  12
3327         rfc.section.n  12
3328         rfc.section.n.p.m  12
3329         rfc.status  12
3330         rfc.toc  12
3331         rfc.xref.name.n  12
3332      AntennaHouse XSL Formatter  19
3333      Apache FOP  19
3334      appendix HTML LINK element  15
3335      assign-section-number Extension Element  35
3336      author HTML LINK element  15
3337      authors-section PI pseudo-attribute  8
3338
3339   B
3340      background PI pseudo-attribute  6
3341      bb Extension Element  22, 35
3342      bc Extension Element  22, 35
3343      bcp14 Extension Element  21, 35
3344      blockquote Extension Element  22, 35
3345      bt Extension Element  22, 35
3346
3347   C
3348      chapter HTML LINK element  15
3349      CHM format  18
3350      comments PI pseudo-attribute  6
3351      compact PI pseudo-attribute  6
3352      contents HTML LINK element  15
3353      copyright HTML LINK element  15
3354      Creator DCMI property  16
3355
3356
3357
3358
3359Reschke                                                        [Page 60]
3360
3361Documentation             RFC2629 through XSLT             December 2008
3362
3363
3364   D
3365      Date.Issued DCMI property  16
3366      DCMI properties
3367         Creator  16
3368         Date.Issued  16
3369         Description.Abstract  16
3370         Identifier  16
3371         Relation.Replaces  16
3372      Description.Abstract DCMI property  16
3373      dfn Extension Element  23, 35
3374
3375   E
3376      editing PI pseudo-attribute  6
3377      Extension Elements
3378         abnf-char-sequence  21, 35
3379         anchor-alias  21, 35
3380         assign-section-number  35
3381         bb  22, 35
3382         bc  22, 35
3383         bcp14  21, 35
3384         blockquote  22, 35
3385         bt  22, 35
3386         dfn  23, 35
3387         h  23, 35
3388         highlight  23, 35
3389         include-author  35
3390         length-of  23, 35
3391         link  23, 35
3392         lt  24, 35
3393         note  24, 35
3394         parse-xml  24, 35
3395         q  24, 35
3396         rdf:Description  35
3397         ref  24, 35
3398         source  25, 35
3399         span  35
3400         sup  25, 35
3401         x  35
3402
3403   F
3404      Firefox
3405         1.*/2.*  13
3406         3.*  13
3407      footer PI pseudo-attribute  6
3408
3409   G
3410      generator HTML META element  16
3411      Google Chrome  13
3412
3413
3414
3415Reschke                                                        [Page 61]
3416
3417Documentation             RFC2629 through XSLT             December 2008
3418
3419
3420      Grammar  35
3421
3422   H
3423      h Extension Element  23, 35
3424      header PI pseudo-attribute  6
3425      highlight Extension Element  23, 35
3426      HTML compliance  15
3427      HTML LINK elements
3428         alternate  15
3429         appendix  15
3430         author  15
3431         chapter  15
3432         contents  15
3433         copyright  15
3434         index  15
3435      HTML META elements
3436         generator  16
3437         keywords  16
3438
3439   I
3440      Identifier DCMI property  16
3441      include PI pseudo-attribute  7
3442      include-author Extension Element  35
3443      include-references-in-index PI pseudo-attribute  8
3444      index HTML LINK element  15
3445      inline PI pseudo-attribute  6
3446      Internet Explorer 5.5  13
3447      Internet Explorer 6  13
3448      Internet Explorer 7  13
3449      iprnotified PI pseudo-attribute  6
3450
3451   J
3452      justification PI pseudo-attribute  8
3453
3454   K
3455      keywords HTML META element  16
3456
3457   L
3458      length-of Extension Element  23, 35
3459      link Extension Element  23, 35
3460      linkmailto PI pseudo-attribute  6
3461      lt Extension Element  24, 35
3462
3463   M
3464      Microsoft Help  18
3465      Mozilla  13
3466      MSXML3  13
3467      MSXML4  13
3468
3469
3470
3471Reschke                                                        [Page 62]
3472
3473Documentation             RFC2629 through XSLT             December 2008
3474
3475
3476   N
3477      needLines PI pseudo-attribute  7
3478      note Extension Element  24, 35
3479
3480   O
3481      Opera  13
3482
3483   P
3484      Parameters
3485         xml2rfc-background  6
3486         xml2rfc-comments  6
3487         xml2rfc-compact  6
3488         xml2rfc-editing  6
3489         xml2rfc-ext-allow-markup-in-artwork  8
3490         xml2rfc-ext-authors-section  8
3491         xml2rfc-ext-include-references-in-index  8
3492         xml2rfc-ext-justification  8
3493         xml2rfc-ext-parse-xml-in-artwork  8
3494         xml2rfc-ext-sec-no-trailing-dots  8
3495         xml2rfc-ext-support-rfc2731  8
3496         xml2rfc-footer  6
3497         xml2rfc-header  6
3498         xml2rfc-inline  6
3499         xml2rfc-iprnotified  6
3500         xml2rfc-linkmailto  6
3501         xml2rfc-private  6
3502         xml2rfc-rfcedstyle  6
3503         xml2rfc-sortrefs  6
3504         xml2rfc-symrefs  6
3505         xml2rfc-toc  6
3506         xml2rfc-tocdepth  6
3507         xml2rfc-topblock  6
3508      parse-xml Extension Element  24, 35
3509      parse-xml-in-artwork PI pseudo-attribute  8
3510      private PI pseudo-attribute  6
3511      Processing Instruction pseudo attributes
3512         allow-markup-in-artwork  8
3513         authors-section  8
3514         background  6
3515         comments  6
3516         compact  6
3517         editing  6
3518         footer  6
3519         header  6
3520         ijustification  8
3521         include  7
3522         include-references-in-index  8
3523         inline  6
3524
3525
3526
3527Reschke                                                        [Page 63]
3528
3529Documentation             RFC2629 through XSLT             December 2008
3530
3531
3532         iprnotified  6
3533         linkmailto  6
3534         needLines  7
3535         parse-xml-in-artwork  8
3536         private  6
3537         rfcedstyle  6
3538         sec-no-trailing-dots  8
3539         slides  7
3540         sortrefs  6
3541         strict  7
3542         subcompact  7
3543         support-rfc2731  8
3544         symrefs  6
3545         toc  6
3546         tocdepth  6
3547         tocindent  7
3548         tocompact  7
3549         topblock  6
3550
3551   Q
3552      q Extension Element  24, 35
3553
3554   R
3555      rdf:Description Extension Element  35
3556      ref Extension Element  24, 35
3557      Relation.Replaces DCMI property  16
3558      RELAX NG Compact Schema  35
3559      rfc.abstract anchor  12
3560      rfc.authors anchor  12
3561      rfc.copyright anchor  12
3562      rfc.copyrightnotice anchor  12
3563      rfc.figure.n anchor  12
3564      rfc.figure.u.n anchor  12
3565      rfc.index anchor  12
3566      rfc.ipr anchor  12
3567      rfc.iref.n anchor  12
3568      rfc.note.n anchor  12
3569      rfc.references anchor  12
3570      rfc.references.n anchor  12
3571      rfc.section.n anchor  12
3572      rfc.section.n.p.m anchor  12
3573      rfc.status anchor  12
3574      rfc.toc anchor  12
3575      rfc.xref.name.n anchor  12
3576      rfcedstyle PI pseudo-attribute  6
3577
3578   S
3579      Safari  13-14
3580
3581
3582
3583Reschke                                                        [Page 64]
3584
3585Documentation             RFC2629 through XSLT             December 2008
3586
3587
3588         3.*  13
3589      Saxon  13
3590      Schema  35
3591      sec-no-trailing-dots PI pseudo-attribute  8
3592      slides PI pseudo-attribute  7
3593      sortrefs PI pseudo-attribute  6
3594      source Extension Element  25, 35
3595      span Extension Element  35
3596      strict PI pseudo-attribute  7
3597      subcompact PI pseudo-attribute  7
3598      sup Extension Element  25, 35
3599      support-rfc2731 PI pseudo-attribute  8
3600      symrefs PI pseudo-attribute  6
3601
3602   T
3603      toc PI pseudo-attribute  6
3604      tocdepth PI pseudo-attribute  6
3605      tocindent PI pseudo-attribute  7
3606      tocompact PI pseudo-attribute  7
3607      topblock PI pseudo-attribute  6
3608
3609   X
3610      x Extension Element  35
3611      Xalan  13
3612      xml-stylesheet PI  15
3613      xml2rfc-background parameter  6
3614      xml2rfc-comments parameter  6
3615      xml2rfc-editing parameter  6
3616      xml2rfc-ext-allow-markup-in-artwork parameter  8
3617      xml2rfc-ext-authors-section parameter  8
3618      xml2rfc-ext-include-references-in-index parameter  8
3619      xml2rfc-ext-justification parameter  8
3620      xml2rfc-ext-parse-xml-in-artwork parameter  8
3621      xml2rfc-ext-sec-no-trailing-dots parameter  8
3622      xml2rfc-ext-support-rfc2731 parameter  8
3623      xml2rfc-footer parameter  6
3624      xml2rfc-header parameter  6
3625      xml2rfc-inline parameter  6
3626      xml2rfc-iprnotified parameter  6
3627      xml2rfc-linkmailto parameter  6
3628      xml2rfc-private parameter  6
3629      xml2rfc-rfcedstyle parameter  6
3630      xml2rfc-sortrefs parameter  6
3631      xml2rfc-symrefs parameter  6
3632      xml2rfc-toc parameter  6
3633      xml2rfc-tocdepth parameter  6
3634      xml2rfc-topblock parameter  6
3635      xsltproc  13
3636
3637
3638
3639Reschke                                                        [Page 65]
3640
3641Documentation             RFC2629 through XSLT             December 2008
3642
3643
3644         passing parameters  5
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695Reschke                                                        [Page 66]
3696
3697Documentation             RFC2629 through XSLT             December 2008
3698
3699
3700Author's Address
3701
3702   Julian F. Reschke
3703   greenbytes GmbH
3704   Hafenweg 16
3705   Muenster, NW  48155
3706   Germany
3707
3708   Phone: +49 251 2807760
3709   Email: julian.reschke@greenbytes.de
3710   URI:   http://greenbytes.de/tech/webdav/
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751Reschke                                                        [Page 67]
3752
Note: See TracBrowser for help on using the repository browser.