source: rfc2629xslt/rfc2629xslt.txt @ 329

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

update to latest version of rfc2629.xslt

  • Property svn:eol-style set to native
File size: 104.9 KB
Line 
1
2
3
4RFC2629 through XSLT                                          J. Reschke
5                                                              greenbytes
6                                                        October 10, 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 via XSL-FO . . . . . . . . . . . . . . . . 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              October 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              October 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 through XSL-FO (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              October 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              October 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              October 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   | sortrefs       | xml2rfc-sortrefs   | "no"    |           |
325   |       |                |                    |         |           |
326
327
328
329
330
331
332
333
334
335Reschke                                                         [Page 6]
336
337Documentation             RFC2629 through XSLT              October 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              October 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              October 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              October 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              October 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              October 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              October 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   The following browsers are known not to work properly:
715
716   o  Firefox 1.*/2.*: (missing extension function - see change request
717      at Mozilla BugZilla 193678 [2])
718
719   o  Opera 9.21: execution fails, potentially to a somewhat complex
720      XPath expression (reported to Opera as bug 245725).
721
722   o  Opera 9.5 and 9.6: transformation appears to work, but CSS isn't
723      getting applied (reported to Opera as bug 337388 on 2008-06-12).
724
725
726
727Reschke                                                        [Page 13]
728
729Documentation             RFC2629 through XSLT              October 2008
730
731
732   o  Safari 2.* supports client-side XSLT as of MacOS X 10.4, but
733      misses required extension functions.  A problem with stylesheets
734      producing non-ASCII output (such as NBSP characters) has been
735      fixed as of OSX 10.4.4.  Both problems have been reported through
736      Apple's bug tracking system, see <http://drakken.dbc.mtview.ca.us/
737      pipermail/xml2rfc/2005-May/002073.html> and
738      <http://bugs.webkit.org/show_bug.cgi?id=4079>.
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783Reschke                                                        [Page 14]
784
785Documentation             RFC2629 through XSLT              October 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              October 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              October 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              October 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              October 2008
1010
1011
10129.  Transforming to PDF via XSL-FO
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.20.5
1033      (<http://xmlgraphics.apache.org/fop/0.20.5/>), not the newer
1034      versions.
1035
10369.1.1.  Extension feature matrix
1037
1038   +------------+-------------+------------+-------------+-------------+
1039   |            | PDF anchors |     PDF    |     PDF     |    Index    |
1040   |            |             |  bookmarks |   document  |   cleanup   |
1041   |            |             |            | information |             |
1042   +------------+-------------+------------+-------------+-------------+
1043   | XSL 1.1    | no, but can |     yes    |   no, but   |     yes     |
1044   | WD [5]     |      be     |            |   uses XEP  |             |
1045   |            | auto-genera |            |    output   |             |
1046   |            |   ted from  |            |  extensions |             |
1047   |            |     "id"    |            |             |             |
1048   |            |  attributes |            |             |             |
1049   |            |             |            |             |             |
1050   | Antenna    |      no     |   yes [7]  |   yes [7]   |   yes [7]   |
1051   | House XSL  |             |  (from XSL |  (from XEP  |  (just page |
1052   | formatter  |             |     1.1    |   document  |  duplicate  |
1053   | [6]        |             | bookmarks) |    info)    | elimination |
1054   |            |             |            |             |  , from XSL |
1055   |            |             |            |             |   1.1 page  |
1056   |            |             |            |             |    index)   |
1057   |            |             |            |             |             |
1058
1059
1060
1061
1062
1063Reschke                                                        [Page 19]
1064
1065Documentation             RFC2629 through XSLT              October 2008
1066
1067
1068   | Apache     |     yes     |  yes (from |      no     |      no     |
1069   | FOP [8]    |             |   XSL 1.1  |             |             |
1070   |            |             | bookmarks) |             |             |
1071   |            |             |            |             |             |
1072   | RenderX    |      no     |  yes [10]  |   yes [10]  |   yes [10]  |
1073   | XEP [9]    |             |  (from XSL |             |  (from XSL  |
1074   |            |             |     1.1    |             |   1.1 page  |
1075   |            |             | bookmarks) |             |    index)   |
1076   +------------+-------------+------------+-------------+-------------+
1077
10789.1.2.  Example: producing output for Apache FOP
1079
1080   Example:
1081
1082   saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo
1083   saxon tmp.fo xsl11toFop.xslt > rfc2629.fo
1084
10859.2.  Via X(HTML)
1086
1087   PDF output can also be produced directly from (X)HTML.  One simple
1088   approach is to rely on the browser's printing function, and to use a
1089   printer driver that produces PDF.  Depending on the brower's CSS
1090   capabilities, the output will behave properly with respect to table
1091   breaks etc.
1092
1093   An alternative is PrinceXML (see <http://www.princexml.com/>), which
1094   can produce PDF directly from (X)HTML input, based on the CSS
1095   printing information.
1096
1097   For instance, PDF output with text justification turned on can be
1098   produced with:
1099
1100   saxon input.xml rfc2629toXHTML.xslt xml2rfc-ext-justification=print \
1101     > output.xhtml
1102   prince output.xhtml output.pdf
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119Reschke                                                        [Page 20]
1120
1121Documentation             RFC2629 through XSLT              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 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              October 2008
2354
2355
2356    }
2357
2358  # Nop (for alignment in source)
2359  x_x =
2360    element x:x {
2361      empty
2362    }
2363
2364  # Nop (for alignment in source)
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              October 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              October 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              October 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
2539D.2.  amazon-asin.xslt
2540
2541   2003-11-16  Initial release.
2542
2543   2005-04-02  Fix two DTD issues.
2544
2545D.3.  check-references.xslt
2546
2547   2003-11-16  Initial release.
2548
2549   2004-05-11  Add document status; print references type.
2550
2551   2005-01-01  Add experimental check for ID status.
2552
2553   2005-04-01  Add fixes from Bill Fenner.
2554
2555   2005-12-03  Add checks against local copy of
2556      <http://www.w3.org/2002/01/tr-automation/tr.rdf>.
2557
2558   2006-07-22  Add checks for standards levels.
2559
2560   2006-08-06  "check-ietf-references.xslt" replaced by "check-
2561      references.xslt".
2562
2563   2007-01-04  Use information online at <http://tools.ietf.org/> to
2564      retrieve Internet-Draft status information.
2565
2566   2007-06-16  Fix bug looking up ref type when inside change markup.
2567
2568   2008-06-14  Enhance output when draft was updated, and then published
2569      as RFC.
2570
2571
2572
2573
2574
2575Reschke                                                        [Page 46]
2576
2577Documentation             RFC2629 through XSLT              October 2008
2578
2579
2580   2008-07-12  Add XSLT2-based link target checking.
2581
2582   2008-08-10  Change keywords for "intended-level" to proposed/draft/
2583      internet, optionall extract intended level from /rfc/@
2584      x:maturity-level attribute.
2585
2586D.4.  gen-reference-graph.xslt
2587
2588   2006-09-03  New.
2589
2590   2007-06-07  Use Carlisle method [12] to define exslt:node-set in
2591      msxsml (which means that the stylesheet can now be used with MSXML
2592      as well).
2593
2594   2007-10-15  Use W3C data from tr.rdf as well (experimental).
2595
2596D.5.  rfc2629.xslt
2597
2598   2001-03-28  Code rearranged, generate numbered section anchors for
2599      paragraphs (t) as well.  Fixes in index handling.
2600
2601   2001-04-12  Moved HTML output into XHTML namespace.
2602
2603   2001-10-02  Fixed default location for RFCs and numbering of section
2604      references.  Support ?rfc editing processing instruction.
2605
2606   2001-10-07  Made telephone number links active.
2607
2608   2001-10-08  Support for vspace element.
2609
2610   2001-10-09  Experimental support for rfc-issue PI.
2611
2612   2001-11-11  Support rfc private PI.  Removed bogus code reporting the
2613      WG in the header.
2614
2615   2001-11-11  Support rfc private PI.  Removed bogus code reporting the
2616      WG in the header.
2617
2618   2001-12-17  Support title attribute on references element
2619
2620   2002-01-05  Support for list/@style="@format"
2621
2622   2002-01-09  Display "closed" RFC issues as deleted
2623
2624   2002-01-14  Experimentally and optionally parse XML encountered in
2625      artwork elements (requires MSXSL).
2626
2627
2628
2629
2630
2631Reschke                                                        [Page 47]
2632
2633Documentation             RFC2629 through XSLT              October 2008
2634
2635
2636   2002-01-27  Some cleanup.  Moved RFC issues from PIs into namespaced
2637      elements.
2638
2639   2002-01-29  Added support for sortrefs PI.  Added support for figure
2640      names.
2641
2642   2002-02-07  Highlight parts of artwork which are too wide (72
2643      characters).
2644
2645   2002-02-12  Code rearrangement for static texts.  Fixes for section
2646      numbering.  TOC generation rewritten.
2647
2648   2002-02-15  Support for irefs in sections; support iref @primary=true
2649
2650   2002-03-03  Moved anchor prefix into a constant.  Added sanity checks
2651      on user anchor names.
2652
2653   2002-03-23  Bugfix in detection of matching org names when creating
2654      the header.  Fixed sorting in subitems.
2655
2656   2002-04-02  Fix TOC link HTML generation when no TOC is generated
2657      (created broken HTML table code).
2658
2659   2002-04-03  Made rendering of references more tolerant re: missing
2660      parts.
2661
2662   2002-04-08  Fixed reference numbering when references are split into
2663      separate sections.
2664
2665   2002-04-16  Fix default namespace (shouldn't be set for HTML output
2666      method).
2667
2668   2002-04-19  Lowercase internal CSS selectors for Mozilla compliance.
2669      Do not put TOC into ul element.
2670
2671   2002-04-21  Make numbered list inside numbered lists use alphanumeric
2672      numbering.
2673
2674   2002-05-05  Updated issue/editing support.
2675
2676   2002-05-15  Bugfix for section numbering after introduction of ed:
2677      replace
2678
2679   2002-06-21  When producing private documents, do not include document
2680      status, copyright etc.
2681
2682
2683
2684
2685
2686
2687Reschke                                                        [Page 48]
2688
2689Documentation             RFC2629 through XSLT              October 2008
2690
2691
2692   2002-07-08  Fix xrefs to Appendices.
2693
2694   2002-07-19  Make artwork lightyellow for easier reading. (fielding)
2695
2696   2002-10-09  Translate references title to anchor name to avoid non-
2697      uri characters. (fielding)
2698
2699   2002-10-13  Support for tocdepth PI.
2700
2701   2002-11-03  Added temporariry workaround for Mozilla/Transformiix
2702      result tree fragment problem. (search for
2703      'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')
2704
2705   2002-12-25  xref code: attempt to uppercase "section" and "appendix"
2706      when at the start of a sentence.
2707
2708   2003-02-02  fixed code for vspace blankLines="0", enhanced display
2709      for list with "format" style, got rid of HTML blockquote elements,
2710      added support for "hangIndent"
2711
2712   2003-04-10  experimental support for appendix and spanx elements
2713
2714   2003-04-19  fixed counting of list numbers in "format %" styles (one
2715      counter per unique format string).  Added more spanx styles.
2716
2717   2003-05-02  experimental texttable support
2718
2719   2003-05-02  Make mailto links optional (default = none) (jre: default
2720      and PI name changed) (fielding)
2721
2722   2003-05-04  experimental support for HTML link elements; fix default
2723      for table header alignment default
2724
2725   2003-05-06  support for "background" PI.
2726
2727   2003-05-11  change %c format to lowercase alphabetic. add support for
2728      keyword elements (generate META tag). fix various HTML conformance
2729      problems. added experimental support for role attribute. do not
2730      number paragraphs in unnumbered sections. update boilerplate
2731      texts. support for "iprnotified" PI. bugfix list numbering. strip
2732      whitespace when building tel: URIs.
2733
2734   2003-05-12  more conformance fixes (layout moved into CSS, move lists
2735      and figures out of para content, do not use tables for list
2736      formatting)
2737
2738
2739
2740
2741
2742
2743Reschke                                                        [Page 49]
2744
2745Documentation             RFC2629 through XSLT              October 2008
2746
2747
2748   2003-05-13  add DC.Creator meta tag, refactoring
2749
2750   2003-05-16  put nbsps between "section" and section number (xref).
2751
2752   2003-05-18  author summary: add missing comma.
2753
2754   2003-06-06  fix index generation bug (transposed characters in key
2755      generation).  Enhance sentence start detection (xref starting a
2756      section was using lowercase "section").
2757
2758   2003-06-22  exp. support for xref/@format.  Add missing support for
2759      eref w/o content. exp. support for annotations in reference
2760      elements.  Code cleanup reference table formatting.
2761
2762   2003-07-09  Another fix for DC.Creator meta tag creation based on
2763      RFC2731
2764
2765   2003-07-24  Fix namespace name for DC.Creator.
2766
2767   2003-08-06  Cleanup node-set support (only use exslt (saxon, xalan,
2768      libxslt) extension functions; remove Transformix workarounds that
2769      stopped to work in Moz 1.4)
2770
2771   2003-08-09  Generate HTML lang tag.
2772
2773   2003-08-10  Map spanx/verb to HTML "samp" element.  Fix author name
2774      display in references (reverse surname/initials for last author),
2775      add "Ed.".  Fix internal bookmark generation.
2776
2777   2003-08-17  Add DCMI dates, identifiers and abstract.  Add PI to
2778      suppress DCMI generation.  Do not add TOC entry to Copyright
2779      Statement when there is none.  Align RFC2629 PI names and
2780      parameter names.  Change style for inline URIs generated by eref.
2781      Add header and footer support.  Enhance CSS paging properties.
2782      Support topblock PI.  Added hooks for proper XHTML generation
2783      through separate XSLT.  Enhance warning and error messages.  Add
2784      support for artwork image display.  Table formatting fixes
2785      (borders, thead continuation).
2786
2787   2003-08-18  Add workaround for MSXML4 node-set and Mozilla node-set
2788      issues (fallback just displays are warning).
2789
2790   2003-10-06  Add workaround for broken pre/ins handling in Mozilla
2791      (see <http://bugzilla.mozilla.org/show_bug.cgi?id=204401>).  Make
2792      use of cite attribute on ed:replace.  CSS cleanup.
2793
2794
2795
2796
2797
2798
2799Reschke                                                        [Page 50]
2800
2801Documentation             RFC2629 through XSLT              October 2008
2802
2803
2804   2003-10-08  Fix minor issue detecting the same org for the header
2805      (caused by IE's non-standard whitespace handling).  Fix default
2806      handling for /rfc/@category.
2807
2808   2003-11-09  Inherit ed:entered-by from ancestor elements.  Change CSS
2809      color for inserted text to green.  Generate issues-list anchor.
2810      Do not complain about missing targets when the xref element is
2811      below ed:del.  Remove code that attempted to distinguish section/
2812      Section when producing links - always use uppercase.  Fix date
2813      rendering for issue resolutions.
2814
2815   2003-11-29  Fix color values for table backgrounds for issue
2816      rendering.  Change rendering of issue links to use inline-styles.
2817      Add colored issue markers to issues.
2818
2819   2003-12-13  Fix inheritance of ed:entered-by attribute.  Display note
2820      elements inside change tracking as well.
2821
2822   2004-01-18  When PI compact = 'yes', make most CSS print page breaks
2823      conditional.
2824
2825   2004-02-20  Support for RFC3667 IPR changes (xml2rfc 1.22); see <http
2826      ://lists.xml.resource.org/pipermail/xml2rfc/2004-February/
2827      001088.html>.
2828
2829   2004-03-11  Add "(if approved)" to "updates" and "obsoletes" unless
2830      the document has an RFC number.
2831
2832   2004-04-01  Fix RFC3667 output, see <http://lists.xml.resource.org/
2833      pipermail/xml2rfc/2004-April/001208.html>.
2834
2835   2004-04-04  Add support for section/top attribute.  Move references
2836      into plain section container.
2837
2838   2004-04-06  Do not emit identical para anchors for deleted content.
2839
2840   2004-04-14  Fix references TOC generation when there are no
2841      references.
2842
2843   2004-04-24  Fix RFC3667 output, see
2844      <http://xml.resource.org/pipermail/xml2rfc/2004-April/
2845      001246.html>.
2846
2847   2004-05-09  Add custom support for generating compound index
2848      documents.  Add anchors for each Index letter.  Add experimental
2849      cref support.  Fix conditional page breaks before References
2850      section.
2851
2852
2853
2854
2855Reschke                                                        [Page 51]
2856
2857Documentation             RFC2629 through XSLT              October 2008
2858
2859
2860   2004-05-16  Refactor external index generation.
2861
2862   2004-05-20  Rewrite anchor generation for comments.
2863
2864   2004-05-22  Enhance issues rendering (add links to changes).
2865
2866   2004-05-30  Allow single quote as delimiter in processing
2867      instructions as well.  Move block-level issue pointers to floats.
2868      Disable issue pointers for print media.  Add "purple numbers".
2869      Add hrefs to section headings.  Add non-printing index key letter
2870      list to start of index.
2871
2872   2004-06-01  Use &#xb6; instead of # for PNs.
2873
2874   2004-07-18  Add support for list style=letters (thanks Roy F.).  Make
2875      PNs optional; add new PI.
2876
2877   2004-09-05  Fix index links into unnumbered sections.  Bring IPR
2878      boilerplate in-line with xml2rfc 1.25.  Add experimental CSS3
2879      paged media support.  Various HTML fixes.
2880
2881   2004-09-21  Enhance checking of artwork width.
2882
2883   2004-09-26  Add check for unused references.  Uppercase letters in
2884      list style letters when nested into another list.
2885
2886   2004-10-10  Fix internal change track pointers.
2887
2888   2004-11-01  Allow change tracking on references (as a whole).
2889      Rewrite artwork handling so that it allows change tracking inside
2890      artwork.  Also allow a subset of text markup inside artwork, such
2891      as xrefs (note this requires post-processing the source to make it
2892      compliant to RFC2629bis).
2893
2894   2004-11-03  Enhanced placement of iref anchors.
2895
2896   2004-11-06  Index: display irefs that appeared (with primary=true)
2897      inside artwork elements in a monospaced font.
2898
2899   2004-11-14  Add special code so that changes in section titles can be
2900      change-tracked.
2901
2902   2005-01-14  Bugfixes for HtmlToXhtml converter.
2903
2904   2005-01-22  Enhance generation of HTML h* elements (for Mozilla
2905      Outliner).
2906
2907
2908
2909
2910
2911Reschke                                                        [Page 52]
2912
2913Documentation             RFC2629 through XSLT              October 2008
2914
2915
2916   2005-01-31  Put vertical space around top-level TOC entries in TOC.
2917      Switch to pt-based CSS.  Re-arrange top section.  Make hr elements
2918      reflect new-page settings in TXT output (compact-PI).  Fix page
2919      number in footer (CSS print) and add some more experimental
2920      support for paged media (tested with Prince 4.1 alpha).  Rewrite
2921      TOC and Index generation to generate HTML lists.  Cleanup id
2922      generation for paragraphs.  Reduce whitespace in output.  Fix
2923      vspace implementation.  Use right/left dqoutes and copyright sign
2924      where appropriate.
2925
2926   2005-02-04  Add <link> element to references section.  Fix newly
2927      introduced bug in references processing.
2928
2929   2005-02-05  Integrate various fixes/enhancements by Roy Fielding:
2930      spelling of "Authors' Addresses", comma setting in references,
2931      position of "Authors" section, optionally place authors addresses
2932      at end (PI), trailing dots in section numbers, switch to verdana
2933      default font in CSS.  Add experimental support for centered
2934      artwork.
2935
2936   2005-02-09  Fixes in spacing and links of references section titles.
2937      Enhance sorting in references when change tracking is in place.
2938      Re-add figure centering support.  Add missing 2nd part of
2939      "Author's Adresses" fix.
2940
2941   2005-02-25  Align section number format with xml2rfc1.29.
2942
2943   2005-03-28  Get rid of table elements in Author's section.  Add
2944      experimental hCard (<http://developers.technorati.com/wiki/hCard>)
2945      support.
2946
2947   2005-04-03  Add RFC3978-style IPR statement support.
2948      (fenner@research.att.com)
2949
2950   2005-04-11  Cleanup author display. hCard related fixes.
2951
2952   2005-05-07  Minor fixes to allow change tracking in doc title.  Add
2953      experimental support for table border styles.  CSS cleanup.
2954
2955   2005-06-18  Implement missing support for references to texttables.
2956
2957   2005-09-25  Use (-moz-)column-count when printing the index.
2958
2959   2005-10-04  Report missing element templates with xsl:message.
2960
2961
2962
2963
2964
2965
2966
2967Reschke                                                        [Page 53]
2968
2969Documentation             RFC2629 through XSLT              October 2008
2970
2971
2972   2005-10-15  Process t/@anchor.
2973
2974   2005-10-23  More workarounds for Mozilla's broken del/ins handling
2975      (this time for figures).
2976
2977   2005-10-27  lowercase hCard class names
2978
2979   2005-11-22  Enhance diagnostics for XML-in-artwork extension
2980
2981   2005-11-26  Fix formatting of section numbers for sections inserted
2982      into <back>.
2983
2984   2005-12-12  Fix some validity problems when change tracking occured
2985      inside lists.
2986
2987   2005-12-18  Add change tracking inside the index.
2988
2989   2006-02-04  Add prev/next links to highlighted changes (change
2990      tracking extension).
2991
2992   2006-02-10  Catch errors instantiating MSXML component.
2993
2994   2006-02-11  References: add "work in progress" for Internet Drafts.
2995
2996   2006-02-27  Fix front matter (lowercase Internet-Draft, say "Intended
2997      status" for non-RFC documents).  Start work on experimental
2998      extension for simplified internal links.
2999
3000   2006-03-19  Tweaks to IESG Copyright stuff; support submissionType
3001      attribute.  Fix duplicate reference anchors in HTML output.
3002      Reduce HTML Tidy warnings.  Fix reference to normative ASCII
3003      version (now requires trailing ".txt").  Tweaks to hCard
3004      generation.  Started to move non-issue-tracking extensions into
3005      namespace "http://purl.org/net/xml2rfc/ext".
3006
3007   2006-03-27  Moved "simple reference" extension into namespace
3008      "http://purl.org/net/xml2rfc/ext" and add documentation.  HTML
3009      conformance enhancements.
3010
3011   2006-04-02  Cleanup special code for automated XHTML XSLT generation.
3012
3013   2006-04-21  Generate <CITE> elements where appropiate.  Introduce
3014      x:blockquote, x:dfn, x:h and x:q elements.
3015
3016   2006-05-06  Introduce x:bcp14 element.
3017
3018
3019
3020
3021
3022
3023Reschke                                                        [Page 54]
3024
3025Documentation             RFC2629 through XSLT              October 2008
3026
3027
3028   2006-05-14  Fix content model for x:blockquote.
3029
3030   2006-06-18  Add box drawing support (x:bt, x:bc, x:bb).
3031
3032   2006-06-20  HTML validity fixes (legal chars in anchors in index).
3033
3034   2006-06-24  Reduce leading empty lines in artwork.  Move <dt> style
3035      info into CSS.
3036
3037   2006-07-14  Fix rendering of multiple street address entries (missing
3038      line break).
3039
3040   2006-07-24  Add extension for deep linking into RFCs, do not generate
3041      empty list items in TOC output, avoid empty <dt> elements for list
3042      items without hangText attribute.
3043
3044   2006-08-01  Allow @anchor on more elements; start work on Relax NG
3045      grammar for extensions.  Reduce generated style elements (use CSS
3046      classes instead).  Consistently use "id" instead of "name".
3047      Change default target for RFC links to
3048      "http://tools.ietf.org/html/rfcNNNN".
3049
3050   2006-08-06  Include appendices defined in <appendix> elements in TOC
3051      (please consider them deprecated anyhow!).  Generate links to
3052      "http://tools.ietf.org/html/draft-*" for Internet Drafts.  Replace
3053      x:frag by x:rel, allowing any kind of relative reference instead
3054      of just fragments.
3055
3056   2006-08-30  Reduce textual differences between HTML output and what
3057      xml2rfc produces in TXT output mode (section refs/reference
3058      targets).  Add small workaround for Opera 9.0.1's problem with
3059      node-set().
3060
3061   2006-10-29  Fix problem generating internal links to change markup
3062      within references section.  Enhancements when generating numbered
3063      references for deleted references.  Allow inclusion of references
3064      into the index (through include-references-in-index extension).
3065      Fix a bug that caused the newer version of the IETF boilerplate to
3066      be produced rather than the pre-RFC3667 one.  Update to RFC4287
3067      boilerplate.
3068
3069   2006-11-11  Add extension attribute x:for-anchor to <iref> handling.
3070
3071   2006-11-26  Experimental (and limited) support for <x:lt>.
3072
3073
3074
3075
3076
3077
3078
3079Reschke                                                        [Page 55]
3080
3081Documentation             RFC2629 through XSLT              October 2008
3082
3083
3084   2006-12-04  Fix bugs in processing documents that have both the ipr
3085      and the number attribute set on the rfc root element.  Add support
3086      for x:fmt='none' on xrefs.  Add different pre style based on
3087      artwork type attributes (experimental).
3088
3089   2006-12-13  Add x:fmt='anchor' for xref elements.
3090
3091   2007-01-07  Fix root template for compatibility for the exslt:node-
3092      set implementation in Firefox3.
3093
3094   2007-01-29  Avoid empty table entry in front matter when organization
3095      is not specified for an author.
3096
3097   2007-02-10  Allow change tracking in table rows.
3098
3099   2007-03-09  Add hcard profile URI (<http://www.w3.org/2006/03/hcard>)
3100      to head element.  Add warning for misplaced <t> elements (after
3101      section).
3102
3103   2007-03-21  Fix internal linking from reference entries in index for
3104      some xref types.  Minor CSS tweaks contributed by MTR.  Allow
3105      turning on text justification through a PI.  Improve iref anchor
3106      generation to generate less instable anchors.
3107
3108   2007-03-28  Fixes for numbering of ed:inserted references sections.
3109
3110   2007-05-04  Do not generate anchors for edits in deleted sections.
3111      Enhance HTML conformance.
3112
3113   2007-05-19  Enhance diagnostics when using Saxon (needs Saxon's "-l"
3114      command line parameter to keep line number information).  Add
3115      warning when symref PI is missing (default will change in the
3116      future).  Add support for overriding computed section numbers
3117      (when formatting historic documents).
3118
3119   2007-06-07  Change default for symrefs PI to "yes" (see change in
3120      xml2rfc 1.33pre4).  Warn about docName attributes that appear to
3121      contain a file extension.
3122
3123   2007-06-26  Workaround author/@initials values without trailing dot,
3124      as in xml2rfc.tcl.
3125
3126   2007-07-14  Enhance index generation for references that use @x:sec
3127      attribute.
3128
3129
3130
3131
3132
3133
3134
3135Reschke                                                        [Page 56]
3136
3137Documentation             RFC2629 through XSLT              October 2008
3138
3139
3140   2007-09-09  Fix: sortrefs is a nop when symrefs=no.
3141
3142   2007-10-17  Work in progress: add support for referencing sections in
3143      sibling documents by anchor name.
3144
3145   2007-10-17  Work in progress (continued): support for referencing
3146      sections in sibling documents by anchor name.
3147
3148   2007-12-31  Emit warning when updating/obsoleting stuff that's not
3149      referenced.
3150
3151   2008-02-03  Support xml2rfc-1.33pre5's suppress-title attribute on
3152      texttable and figure.
3153
3154   2008-02-06  Extension: allow <eref> below <cref>.
3155
3156   2008-02-17  Extensions: add x:span and x:length-of.
3157
3158   2008-02-20  Add new RFC boilerplate (as changed in 2007-08).
3159
3160   2008-02-27  Improve diagnostics for artwork width problems; add
3161      defaulting of publication dates (requires XSLT processor
3162      supporting exslt:date, or msxml).
3163
3164   2008-02-29  Enhance CSS for link elements in the front header, update
3165      rules for generating "Acknowledgment" statement.
3166
3167   2008-03-01  Use line numbers in diagnostics in Saxon8/9 as well.
3168
3169   2008-03-02  Fix a bug in the logic choosing the boilerplate,
3170      resulting in obsolete text being inserted into IDs.
3171
3172   2008-04-01  Add support for superscript element.
3173
3174   2008-06-28  Add sanity checks for email addresses, allow multiple
3175      email elements.
3176
3177   2008-07-06  Add x:abnf-char-sequence.
3178
3179   2008-08-21  Add x:note.
3180
3181   2008-09-06  Add experimental support for SVG images.
3182
3183   2008-09-17  Add experimental support for x:author.  Fix xref/@
3184      format=none.
3185
3186
3187
3188
3189
3190
3191Reschke                                                        [Page 57]
3192
3193Documentation             RFC2629 through XSLT              October 2008
3194
3195
3196   2008-10-10  Fix a huge bug, causing text content after an XML comment
3197      to be ignored.
3198
3199D.6.  rfc2629toFO.xslt
3200
3201   2003-11-16  Initial release.
3202
3203   2003-11-29  Enhance handling of unknown list styles.
3204
3205   2004-04-04  Update reference section handling.
3206
3207   2004-04-17  Use XSL-WD-1.1-style fo:bookmark and index handling and
3208      add postprocessors for existing implementations.  Unify PDF info
3209      generation by using XEP (postprocessors) will convert.
3210
3211   2004-04-20  Add experimental cref support.
3212
3213   2004-06-14  Set correct index-item defaults.
3214
3215   2004-07-18  Add list style=letters.
3216
3217   2004-09-03  Make URLs in text break where they are allowed to break
3218      by inserting zero-width spaces.
3219
3220   2004-09-26  Fix letter-style inside nested lists.
3221
3222   2004-10-31  Update handling of artwork.
3223
3224   2004-11-13  Fix handling of references inside ed:* markup.  Fix
3225      whitespace handling in artwork.
3226
3227   2004-11-27  Irefs in artwork generate monospaced entries in index.
3228
3229   2005-01-31  Fix TOC generation that was broken after changes in main
3230      XSLT.
3231
3232   2005-02-05  Bring in sync with cosmetic changes in rfc2629.xslt.
3233
3234   2005-05-07  Minor fix for change tracking in document title.  Support
3235      for table styles.
3236
3237   2005-06-18  Fix references to tables.
3238
3239   2005-10-15  Process t/@anchor.
3240
3241
3242
3243
3244
3245
3246
3247Reschke                                                        [Page 58]
3248
3249Documentation             RFC2629 through XSLT              October 2008
3250
3251
3252   2006-02-11  References: add "work in progress" for Internet Drafts.
3253
3254   2006-06-02  Use XSL 1.1 WD Feb 2006.
3255
3256   2007-03-21  Support optional text justification.
3257
3258   2007-05-19  Various improvements in spacing; also allow overriding
3259      the automatic list indentation via list/x:indent.
3260
3261D.7.  xsl11toAn.xslt
3262
3263   2004-05-17  Initial release.
3264
3265   2006-06-02  Use XSL 1.1 WD Feb 2006.
3266
3267D.8.  xsl11toFop.xslt
3268
3269   2004-05-17  Initial release.
3270
3271   2006-06-02  Use XSL 1.1 WD Feb 2006.
3272
3273D.9.  xsl11toFop-0.93.xslt
3274
3275   2008-03-15  Add a workaround to the fo:inline workaround (sigh).
3276
3277D.10.  xsl11toXep.xslt
3278
3279   2004-05-17  Initial release.
3280
3281   2004-09-04  Fix xep:index-item attributes.
3282
3283   2006-06-02  Use XSL 1.1 WD Feb 2006.
3284
3285
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              October 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              October 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              October 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              October 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-sortrefs  6
3503         xml2rfc-symrefs  6
3504         xml2rfc-toc  6
3505         xml2rfc-tocdepth  6
3506         xml2rfc-topblock  6
3507      parse-xml Extension Element  24, 35
3508      parse-xml-in-artwork PI pseudo-attribute  8
3509      private PI pseudo-attribute  6
3510      Processing Instruction pseudo attributes
3511         allow-markup-in-artwork  8
3512         authors-section  8
3513         background  6
3514         comments  6
3515         compact  6
3516         editing  6
3517         footer  6
3518         header  6
3519         ijustification  8
3520         include  7
3521         include-references-in-index  8
3522         inline  6
3523         iprnotified  6
3524
3525
3526
3527Reschke                                                        [Page 63]
3528
3529Documentation             RFC2629 through XSLT              October 2008
3530
3531
3532         linkmailto  6
3533         needLines  7
3534         parse-xml-in-artwork  8
3535         private  6
3536         sec-no-trailing-dots  8
3537         slides  7
3538         sortrefs  6
3539         strict  7
3540         subcompact  7
3541         support-rfc2731  8
3542         symrefs  6
3543         toc  6
3544         tocdepth  6
3545         tocindent  7
3546         tocompact  7
3547         topblock  6
3548
3549   Q
3550      q Extension Element  24, 35
3551
3552   R
3553      rdf:Description Extension Element  35
3554      ref Extension Element  24, 35
3555      Relation.Replaces DCMI property  16
3556      RELAX NG Compact Schema  35
3557      rfc.abstract anchor  12
3558      rfc.authors anchor  12
3559      rfc.copyright anchor  12
3560      rfc.copyrightnotice anchor  12
3561      rfc.figure.n anchor  12
3562      rfc.figure.u.n anchor  12
3563      rfc.index anchor  12
3564      rfc.ipr anchor  12
3565      rfc.iref.n anchor  12
3566      rfc.note.n anchor  12
3567      rfc.references anchor  12
3568      rfc.references.n anchor  12
3569      rfc.section.n anchor  12
3570      rfc.section.n.p.m anchor  12
3571      rfc.status anchor  12
3572      rfc.toc anchor  12
3573      rfc.xref.name.n anchor  12
3574
3575   S
3576      Safari  13-14
3577         3.*  13
3578      Saxon  13
3579      Schema  35
3580
3581
3582
3583Reschke                                                        [Page 64]
3584
3585Documentation             RFC2629 through XSLT              October 2008
3586
3587
3588      sec-no-trailing-dots PI pseudo-attribute  8
3589      slides PI pseudo-attribute  7
3590      sortrefs PI pseudo-attribute  6
3591      source Extension Element  25, 35
3592      span Extension Element  35
3593      strict PI pseudo-attribute  7
3594      subcompact PI pseudo-attribute  7
3595      sup Extension Element  25, 35
3596      support-rfc2731 PI pseudo-attribute  8
3597      symrefs PI pseudo-attribute  6
3598
3599   T
3600      toc PI pseudo-attribute  6
3601      tocdepth PI pseudo-attribute  6
3602      tocindent PI pseudo-attribute  7
3603      tocompact PI pseudo-attribute  7
3604      topblock PI pseudo-attribute  6
3605
3606   X
3607      x Extension Element  35
3608      Xalan  13
3609      xml-stylesheet PI  15
3610      xml2rfc-background parameter  6
3611      xml2rfc-comments parameter  6
3612      xml2rfc-editing parameter  6
3613      xml2rfc-ext-allow-markup-in-artwork parameter  8
3614      xml2rfc-ext-authors-section parameter  8
3615      xml2rfc-ext-include-references-in-index parameter  8
3616      xml2rfc-ext-justification parameter  8
3617      xml2rfc-ext-parse-xml-in-artwork parameter  8
3618      xml2rfc-ext-sec-no-trailing-dots parameter  8
3619      xml2rfc-ext-support-rfc2731 parameter  8
3620      xml2rfc-footer parameter  6
3621      xml2rfc-header parameter  6
3622      xml2rfc-inline parameter  6
3623      xml2rfc-iprnotified parameter  6
3624      xml2rfc-linkmailto parameter  6
3625      xml2rfc-private parameter  6
3626      xml2rfc-sortrefs parameter  6
3627      xml2rfc-symrefs parameter  6
3628      xml2rfc-toc parameter  6
3629      xml2rfc-tocdepth parameter  6
3630      xml2rfc-topblock parameter  6
3631      xsltproc  13
3632         passing parameters  5
3633
3634
3635
3636
3637
3638
3639Reschke                                                        [Page 65]
3640
3641Documentation             RFC2629 through XSLT              October 2008
3642
3643
3644Author's Address
3645
3646   Julian F. Reschke
3647   greenbytes GmbH
3648   Hafenweg 16
3649   Muenster, NW  48155
3650   Germany
3651
3652   Phone: +49 251 2807760
3653   Email: julian.reschke@greenbytes.de
3654   URI:   http://greenbytes.de/tech/webdav/
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
Note: See TracBrowser for help on using the repository browser.