source: rfc2629xslt/rfc2629xslt.txt @ 308

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

update to latest version of rfc2629.xslt, annotate spec with intended maturity level

  • Property svn:eol-style set to native
File size: 102.6 KB
Line 
1
2
3
4RFC2629 through XSLT                                          J. Reschke
5                                                              greenbytes
6                                                         August 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. <length-of> element . . . . . . . . . . . . . . . . . . . 23
49     10.11. <link> element  . . . . . . . . . . . . . . . . . . . . . 23
50     10.12. <lt> element  . . . . . . . . . . . . . . . . . . . . . . 23
51     10.13. <parse-xml> element . . . . . . . . . . . . . . . . . . . 24
52
53
54
55Reschke                                                         [Page 1]
56
57Documentation             RFC2629 through XSLT               August 2008
58
59
60     10.14. <q> element . . . . . . . . . . . . . . . . . . . . . . . 24
61     10.15. <ref> element . . . . . . . . . . . . . . . . . . . . . . 24
62     10.16. <source> element  . . . . . . . . . . . . . . . . . . . . 24
63     10.17. <sup> element . . . . . . . . . . . . . . . . . . . . . . 25
64     10.18. Extensions to Xml2rfc <iref> element  . . . . . . . . . . 25
65     10.19. Extensions to Xml2rfc <list> element  . . . . . . . . . . 25
66     10.20. Extensions to Xml2rfc <rfc> element . . . . . . . . . . . 25
67     10.21. Extensions to Xml2rfc <section> element . . . . . . . . . 26
68     10.22. Extensions to Xml2rfc <xref> element  . . . . . . . . . . 26
69   11. Utilities  . . . . . . . . . . . . . . . . . . . . . . . . . . 28
70     11.1.  Checking References . . . . . . . . . . . . . . . . . . . 28
71     11.2.  Generating Graphs from References . . . . . . . . . . . . 30
72     11.3.  Producing reference entries for books . . . . . . . . . . 30
73     11.4.  Down-converting to RFC2629bis DTD . . . . . . . . . . . . 31
74     11.5.  Extracting artwork  . . . . . . . . . . . . . . . . . . . 31
75     11.6.  GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 32
76   12. Informative References . . . . . . . . . . . . . . . . . . . . 33
77   Appendix A.  RELAX NG Compact Schema . . . . . . . . . . . . . . . 35
78   Appendix B.  Implementation Notes  . . . . . . . . . . . . . . . . 43
79     B.1.   Recognized type attributes for <artwork> element  . . . . 43
80   Appendix C.  License . . . . . . . . . . . . . . . . . . . . . . . 44
81   Appendix D.  Change Logs . . . . . . . . . . . . . . . . . . . . . 45
82     D.1.   Package . . . . . . . . . . . . . . . . . . . . . . . . . 45
83     D.2.   amazon-asin.xslt  . . . . . . . . . . . . . . . . . . . . 45
84     D.3.   check-references.xslt . . . . . . . . . . . . . . . . . . 45
85     D.4.   gen-reference-graph.xslt  . . . . . . . . . . . . . . . . 46
86     D.5.   rfc2629.xslt  . . . . . . . . . . . . . . . . . . . . . . 46
87     D.6.   rfc2629toFO.xslt  . . . . . . . . . . . . . . . . . . . . 56
88     D.7.   xsl11toAn.xslt  . . . . . . . . . . . . . . . . . . . . . 58
89     D.8.   xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 58
90     D.9.   xsl11toFop-0.93.xslt  . . . . . . . . . . . . . . . . . . 58
91     D.10.  xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 58
92   Index  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
93   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 66
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111Reschke                                                         [Page 2]
112
113Documentation             RFC2629 through XSLT               August 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               August 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               August 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               August 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               August 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               August 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               August 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               August 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               August 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               August 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               August 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.* (release candidate available)
709
710   o  Safari 3 (starting with version 3.0.4)
711
712   The following browsers are known not to work properly:
713
714   o  Firefox 1.*/2.* (missing extension function - see change request
715      at Mozilla BugZilla 193678 [2])
716
717   o  Opera 9.21: execution fails, potentially to a somewhat complex
718      XPath expression (reported to Opera as bug 245725).  Opera 9.5:
719      transformation appears to work, but CSS isn't getting applied
720      (repored to Opera as bug 337388 on 2008-06-12).
721
722   o  Safari 2.* supports client-side XSLT as of MacOS X 10.4, but
723      misses required extension functions.  A problem with stylesheets
724
725
726
727Reschke                                                        [Page 13]
728
729Documentation             RFC2629 through XSLT               August 2008
730
731
732      producing non-ASCII output (such as NBSP characters) has been
733      fixed as of OSX 10.4.4.  Both problems have been reported through
734      Apple's bug tracking system, see <http://drakken.dbc.mtview.ca.us/
735      pipermail/xml2rfc/2005-May/002073.html> and
736      <http://bugs.webkit.org/show_bug.cgi?id=4079>.
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783Reschke                                                        [Page 14]
784
785Documentation             RFC2629 through XSLT               August 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               August 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               August 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               August 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               August 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               August 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               August 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               August 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               August 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.  <length-of> element
1245
1246   This element can be used to insert the length of another formatted
1247   section (in decimal).
1248
1249   Example: computing the Content-Length header value
1250
1251   <artwork>
1252   ...
1253   Content-Length: <x:length-of target="req"/>
1254
1255   <x:span anchor="req">123456789
1256   <x:span><artwork/>
1257
1258   The lenght computation counts line ends as two characters (CRLF).
1259
1260   Note that indentation characters in artwork _will_ be counted.  The
1261   "indented" attribute allows to specify the amount of indentation to
1262   be substracted from the computed length.
1263
126410.11.  <link> element
1265
1266   This element can be added as a top-level child element below <rfc> to
1267   indicate additional link information.  It's currently used only when
1268   generating HTML output, in which case an HTML <link> element with
1269   identical attributes gets generated.
1270
1271   Example: generating HTML link element
1272
1273           <x:link xmlns="http://purl.org/net/xml2rfc/ext"
1274               rel="Bookmark"
1275               title="IETF WEBDAV Working Group"
1276               href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/>
1277
127810.12.  <lt> element
1279
1280   Used for grouping multiple <t> elements into a single list item.
1281
1282
1283
1284
1285
1286
1287Reschke                                                        [Page 23]
1288
1289Documentation             RFC2629 through XSLT               August 2008
1290
1291
129210.13.  <parse-xml> element
1293
1294   This element instructs the processor to parse the contents as XML and
1295   to warn when there's a problem (requires either MSXML or Saxon8 or
1296   newer).
1297
129810.14.  <q> element
1299
1300   This element is like the "q" element in [HTML].
1301
130210.15.  <ref> element
1303
1304   This element is a simplified variant of the <xref> element, in that
1305   no "target" attribute needs to be specified, instead the text
1306   contents acts as identifier.  That in itself wouldn't be terribly
1307   useful, but together with the <anchor-alias>, it allows referring to
1308   other parts of the document with minimal additional markup.
1309
1310   For instance, given an alias definition such as
1311
1312         <section title="Test" anchor="test">
1313           <x:anchor-alias value="alias1"/>
1314           <x:anchor-alias value="alias 2"/>
1315           ...
1316         </section>
1317
1318   the following simple references
1319
1320         <x:ref>test</x:ref>
1321         <x:ref>alias1</x:ref>
1322         <x:ref>alias 2</x:ref>
1323
1324   are equivalent to...:
1325
1326         <xref target="test">test</xref>
1327         <xref target="test">alias1</xref>
1328         <xref target="test">alias 2</xref>
1329
133010.16.  <source> element
1331
1332   Can be used to enhance a <reference> with information about the
1333   location for the XML source.  This can be used by the <xref>
1334   processing code to automatically extract the target section number.
1335
1336
1337
1338
1339
1340
1341
1342
1343Reschke                                                        [Page 24]
1344
1345Documentation             RFC2629 through XSLT               August 2008
1346
1347
1348   For example:
1349
1350         ...
1351         <xref target="RFC2616" x:fmt="of" x:rel="#PUT" />
1352         ...
1353
1354         <reference target="RFC2616"/>
1355           ...
1356           <x:source href="rfc2616.xml"/>
1357           ...
1358
135910.17.  <sup> element
1360
1361   This element is like the "sup" element in [HTML].
1362
1363   Note: the down conversion to RFC2629 format replaces "x^y" by "x^y".
1364
136510.18.  Extensions to Xml2rfc <iref> element
1366
1367   The extension attribute below is allowed on the standard <iref>
1368   element:
1369
1370   o  x:for-anchor specifies that the <iref> will also be automatically
1371      inserted whenever the specified anchor is cross-referenced -- this
1372      may save entering lots of <iref> instances.  As a special case, a
1373      value of "" (empty string) refers to the anchor attribute of the
1374      closest ancestor.
1375
137610.19.  Extensions to Xml2rfc <list> element
1377
1378   The extension attribute below is allowed on the standard <list>
1379   element:
1380
1381   o  x:indent specifies the amount of indentation for list items in
1382      hanging lists.  This can be useful when the output format, such as
1383      XSL-FO, does not support automatical formatting.  The value takes
1384      an XSL-FO width, such as "5em".  The default is _length of longest
1385      label in characters_ times _0.8em_.
1386
1387   Also, the <list> element can take <x:lt> child elements instead of
1388   <t>, allowing to insert multiple paragraphs into a single list item.
1389
139010.20.  Extensions to Xml2rfc <rfc> element
1391
1392   The extension attributes below are allowed on the standard <rfc>
1393   element:
1394
1395
1396
1397
1398
1399Reschke                                                        [Page 25]
1400
1401Documentation             RFC2629 through XSLT               August 2008
1402
1403
1404   o  grddl:transformation can be used to reference a GRDDL transform.
1405
1406   o  x:maturiy-level can be used to specify the IETF Standards Track
1407      Maturity Level of "proposed", "draft" or "internet" (see Section
1408      4.1 of [RFC2026]).
1409
141010.21.  Extensions to Xml2rfc <section> element
1411
1412   The extension attribute below is allowed on the standard <list>
1413   element:
1414
1415   o  x:fixed-section-number can be used to specify a fixed section
1416      number.  This can be useful when formatting historic documents
1417      that used a different numbering style.
1418
141910.22.  Extensions to Xml2rfc <xref> element
1420
1421   Three extension attributes are allowed on the standard <xref>
1422   element:
1423
1424   1.  x:sec can be specified to point to a specific section of the
1425       referenced document,
1426
1427   2.  x:rel may specify a relative reference to use when linking into
1428       the referenced document (if linking by section number is not
1429       available),
1430
1431   3.  x:fmt defines the text format to be used.
1432
1433   The following formats are defined for the x:fmt attribute:
1434
1435   , (Comma)  [_reference_], Section _sec_
1436
1437   () [_reference_] (Section _sec_)
1438
1439   anchor  Like the default format, but without brackets.
1440
1441   of Section _sec_ of [_reference_]
1442
1443   number  _sec_
1444
1445   none  No output (can be used to have xrefs to references without
1446      having them rendered as such)
1447
1448   sec  Section _sec_
1449
1450   These extensions are currently only supported for <xref> elements
1451   without child nodes.
1452
1453
1454
1455Reschke                                                        [Page 26]
1456
1457Documentation             RFC2629 through XSLT               August 2008
1458
1459
1460   If the processor knows how to reference the target section, it will
1461   generate a link directly to the target section, such as in [RFC2119],
1462   Section 5.
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511Reschke                                                        [Page 27]
1512
1513Documentation             RFC2629 through XSLT               August 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               August 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               August 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               August 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:q> elements get stripped, with apostrophes added around the
1715      text.
1716
1717   o  <x:ref> elements get replaced by <xref> elements, targetting
1718      either the anchor or another anchor with matching <x:anchor-alias>
1719      child element.
1720
172111.5.  Extracting artwork
1722
1723   With "extract-artwork.xslt", artwork elements named through the
1724   "name" attribute can be extracted.  This can be used to automatically
1725   check their syntax (for instance, when ABNFs appear within a figure
1726   element).
1727
1728   For instance:
1729   saxon rfc3986.xml extract-artwork.xslt name=uri.abnf
1730
1731   In addition, artwork of a specific type can be extracted, such as
1732
1733
1734
1735Reschke                                                        [Page 31]
1736
1737Documentation             RFC2629 through XSLT               August 2008
1738
1739
1740   with:
1741   saxon rfc3986.xml extract-artwork.xslt type=abnf
1742
174311.6.  GRRDL
1744
1745   "rfc2629grddl.xslt" extracts RDF information.  This is experimental
1746   work-in-progress.  See <http://www.w3.org/TR/grddl/> for more
1747   information.
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791Reschke                                                        [Page 32]
1792
1793Documentation             RFC2629 through XSLT               August 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               August 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               August 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_length-of
1944          | x_parse-xml
1945          | x_ref
1946          | x_span
1947          | x_x)*
1948      }
1949
1950    # Redefine <c> to allow our extension elements
1951    c =
1952      element c {
1953        attlist.c,
1954        (TEXT
1955          | xref
1956
1957
1958
1959Reschke                                                        [Page 35]
1960
1961Documentation             RFC2629 through XSLT               August 2008
1962
1963
1964          | eref
1965          | iref
1966          | cref
1967          | spanx
1968          | x_ref)*
1969      }
1970
1971    # Redefine <cref> to allow more child elements
1972    cref =
1973      element cref {
1974        attlist.cref,
1975        (TEXT
1976          | eref)*
1977      }
1978
1979    # Redefine <list> element to allow <x:lt> child elements
1980    \list =
1981      element list {
1982        attlist.list,
1983        (t+ | x_lt+)
1984      }
1985
1986    # Redefine <preamble> to allow our extension elements
1987    preamble =
1988      element preamble {
1989        attlist.preamble,
1990        (TEXT
1991          | xref
1992          | eref
1993          | iref
1994          | cref
1995          | spanx
1996          | x_anchor-alias)*
1997      }
1998
1999    # Redefine <postamble> to allow our extension elements
2000    postamble =
2001      element postamble {
2002        attlist.postamble,
2003        (TEXT
2004          | xref
2005          | eref
2006          | iref
2007          | cref
2008          | spanx
2009          | x_bcp14)*
2010      }
2011
2012
2013
2014
2015Reschke                                                        [Page 36]
2016
2017Documentation             RFC2629 through XSLT               August 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         | rdf_Description)*
2054      }
2055
2056    # Redefine <spanx> to allow some markup
2057    spanx =
2058      element spanx {
2059        attlist.spanx,
2060        (TEXT
2061          | iref
2062          | xref
2063          | x_ref)*
2064      }
2065
2066    # Redefine <t> to allow our extension elements
2067    t =
2068
2069
2070
2071Reschke                                                        [Page 37]
2072
2073Documentation             RFC2629 through XSLT               August 2008
2074
2075
2076      element t {
2077        attlist.t,
2078        (TEXT
2079         | \list
2080         | figure
2081         | xref
2082         | eref
2083         | iref
2084         | cref
2085         | spanx
2086         | vspace
2087         | x_abnf-char-sequence
2088         | x_anchor-alias
2089         | x_bcp14
2090         | x_dfn
2091         | x_h
2092         | x_q
2093         | x_ref
2094         | x_sup)*
2095      }
2096  }
2097
2098  # Extend attribute set for <iref> (see Section 10.18)
2099  attlist.iref &=
2100    attribute x:for-anchor { ATEXT }?
2101
2102  # Extend attribute set for <list> (see Section 10.19)
2103  attlist.list &=
2104    attribute x:indent { ATEXT }?
2105
2106  # Extend attribute set for <preamble>
2107  attlist.preamble &=
2108    attribute anchor { xsd:ID }?
2109
2110  # Extend attribute set for <rfc>
2111  attlist.rfc &=
2112    attribute grddl:transformation { ATEXT }?,
2113    attribute x:maturity-level { "proposed" | "draft" | "internet" }
2114
2115  # Extend attribute set for <section> (see Section 10.21)
2116  attlist.section &=
2117    attribute x:fixed-section-number { ATEXT }?
2118
2119  # Allow anchor attribute on <spanx>
2120  attlist.spanx &=
2121    attribute anchor { xsd:ID }?
2122
2123  # Extend attribute set for <xref> (see Section 10.22)
2124
2125
2126
2127Reschke                                                        [Page 38]
2128
2129Documentation             RFC2629 through XSLT               August 2008
2130
2131
2132  attlist.xref &=
2133    attribute x:fmt  { "()" | "," | "anchor" | "of" | "number" | "sec" |
2134                       "none" }?,
2135    attribute x:rel  { ATEXT }?,
2136    attribute x:sec  { ATEXT }?
2137
2138  # Conversion to ABNF char sequence (see Section 10.1)
2139  x_abnf-char-sequence =
2140    element x:abnf-char-sequence {
2141      TEXT
2142    }
2143
2144  # Aliasing of anchors (see Section 10.2)
2145  x_anchor-alias =
2146    element x:anchor-alias {
2147      attribute value { TEXT },
2148      empty
2149    }
2150
2151  # Setting section numbers for internally generated sections
2152  # (experimental)
2153  x_assign-section-number =
2154    element x:assign-section-number {
2155      attribute builtin-target { "authors" },
2156      attribute number { TEXT },
2157      empty
2158    }
2159
2160  # Bottom line of box drawing (see Section 10.4)
2161  x_bb =
2162    element x:bb {
2163      (TEXT
2164        | iref
2165        | xref
2166        | x_bb
2167        | x_bc
2168        | x_bt
2169        | x_ref)*
2170    }
2171
2172  # Center line of box drawing (see Section 10.5)
2173  x_bc =
2174    element x:bc {
2175      (TEXT
2176        | iref
2177        | xref
2178        | x_bb
2179        | x_bc
2180
2181
2182
2183Reschke                                                        [Page 39]
2184
2185Documentation             RFC2629 through XSLT               August 2008
2186
2187
2188        | x_bt
2189        | x_ref)*
2190    }
2191
2192  # BCP14/RFC2119 keywords (see Section 10.3)
2193  x_bcp14 =
2194    element x:bcp14 {
2195      "MAY"
2196      | "MUST"
2197      | "MUST NOT"
2198      | "NOT RECOMMENDED"
2199      | "OPTIONAL"
2200      | "RECOMMENDED"
2201      | "REQUIRED"
2202      | "SHALL"
2203      | "SHALL NOT"
2204      | "SHOULD"
2205      | "SHOULD NOT"
2206    }
2207
2208  # Blockquote (see Section 10.6)
2209  x_blockquote =
2210    element x:blockquote {
2211      attribute cite { URI }?,
2212      t+
2213    }
2214
2215  # Top line of box drawing (see Section 10.7)
2216  x_bt =
2217    element x:bt {
2218      (TEXT
2219        | iref
2220        | xref
2221        | x_bb
2222        | x_bc
2223        | x_bt
2224        | x_ref)*
2225    }
2226
2227  # Definition (see Section 10.8)
2228  x_dfn =
2229    element x:dfn {
2230      attribute anchor { xsd:ID }?,
2231      (TEXT
2232        | iref)*
2233    }
2234
2235  # Heading (see Section 10.9)
2236
2237
2238
2239Reschke                                                        [Page 40]
2240
2241Documentation             RFC2629 through XSLT               August 2008
2242
2243
2244  x_h =
2245    element x:h {
2246      TEXT
2247    }
2248
2249  # Length Measurement (see Section 10.10)
2250  x_length-of =
2251    element x:length-of {
2252      attribute indented { NUMBER }?,
2253      attribute target { xsd:IDREF },
2254      empty
2255    }
2256
2257  # Link (see Section 10.11)
2258  x_link =
2259    element x:link {
2260      attribute href { URI },
2261      attribute title { TEXT }?,
2262      attribute rel { TEXT },
2263      empty
2264    }
2265
2266  # Extended list item (see Section 10.12)
2267  x_lt =
2268    element x:lt {
2269      attribute anchor { xsd:ID }?,
2270      attribute hangText { TEXT }?,
2271      t+
2272    }
2273
2274  # Signal XML content (see Section 10.13)
2275  x_parse-xml =
2276    element x:parse-xml {
2277      TEXT
2278    }
2279
2280  # Inline quote (see Section 10.14)
2281  x_q =
2282    element x:q {
2283      TEXT
2284    }
2285
2286  # Anchor reference (see Section 10.15)
2287  x_ref =
2288    element x:ref {
2289      TEXT
2290    }
2291
2292
2293
2294
2295Reschke                                                        [Page 41]
2296
2297Documentation             RFC2629 through XSLT               August 2008
2298
2299
2300  # source information (see Section 10.16)
2301  x_source =
2302    element x:source {
2303      attribute basename { ATEXT }?,
2304      attribute href { URI },
2305      empty
2306    }
2307
2308  # superscript (see Section 10.17)
2309  x_sup =
2310    element x:sup {
2311      TEXT
2312    }
2313
2314  # Inline Span
2315  x_span =
2316    element x:span {
2317      attribute anchor { xsd:ID }?,
2318      (TEXT
2319        | x_parse-xml)*
2320    }
2321
2322  # Nop (for alignment in source)
2323  x_x =
2324    element x:x {
2325      empty
2326    }
2327
2328  # Nop (for alignment in source)
2329  rdf_Description =
2330    element rdf:Description {
2331      rdf_content
2332    }
2333
2334  rdf_content =
2335    ( TEXT | element * { rdf_content })*
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351Reschke                                                        [Page 42]
2352
2353Documentation             RFC2629 through XSLT               August 2008
2354
2355
2356Appendix B.  Implementation Notes
2357
2358B.1.  Recognized type attributes for <artwork> element
2359
2360   Specific values in the <artwork> element's "type" attribute are
2361   recognized and cause a different visual style to be used:
2362
2363   +-------------------------------------+-----------------------------+
2364   | Media Type                          | Comment                     |
2365   +-------------------------------------+-----------------------------+
2366   | abnf                                | ABNF as per [RFC5234]       |
2367   |                                     |                             |
2368   | abnf2616                            | ABNF as per [RFC2616],      |
2369   |                                     | Section 2.1                 |
2370   |                                     |                             |
2371   | application/relax-ng-compact-syntax | Relax NG Compact Syntax as  |
2372   |                                     | per [RNC]                   |
2373   |                                     |                             |
2374   | application/xml-dtd                 | XML DTD                     |
2375   |                                     |                             |
2376   | message/http; msgtype="request"     | HTTP message, as per        |
2377   |                                     | [RFC2616], Section 19.1     |
2378   |                                     |                             |
2379   | message/http; msgtype="response"    | HTTP message, as per        |
2380   |                                     | [RFC2616], Section 19.1     |
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               August 2008
2410
2411
2412Appendix C.  License
2413
2414   Copyright (c) 2006-2008, Julian Reschke
2415   (julian.reschke@greenbytes.de)
2416
2417   All rights reserved.
2418
2419   Redistribution and use in source and binary forms, with or without
2420   modification, are permitted provided that the following conditions
2421   are met:
2422
2423   o  Redistributions of source code must retain the above copyright
2424      notice, this list of conditions and the following disclaimer.
2425
2426   o  Redistributions in binary form must reproduce the above copyright
2427      notice, this list of conditions and the following disclaimer in
2428      the documentation and/or other materials provided with the
2429      distribution.
2430
2431   o  Neither the name of Julian Reschke nor the names of its
2432      contributors may be used to endorse or promote products derived
2433      from this software without specific prior written permission.
2434
2435   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2436   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2437   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2438   A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
2439   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2440   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2441   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2442   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2443   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2444   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2445   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
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               August 2008
2466
2467
2468Appendix D.  Change Logs
2469
2470D.1.  Package
2471
2472   2006-01-01  Switch to BSD License.
2473
2474   2007-01-12  Update to xml2rfc v1.33pre2.
2475
2476   2007-03-31  Update to xml2rfc v1.33pre3.
2477
2478   2007-05-01  Add XSLT test cases.
2479
2480   2008-07-18  Experimental support for inlined rdf:Description elements
2481      (ignored by the formatter, extracted by rfc2629grddl).
2482
2483D.2.  amazon-asin.xslt
2484
2485   2003-11-16  Initial release.
2486
2487   2005-04-02  Fix two DTD issues.
2488
2489D.3.  check-references.xslt
2490
2491   2003-11-16  Initial release.
2492
2493   2004-05-11  Add document status; print references type.
2494
2495   2005-01-01  Add experimental check for ID status.
2496
2497   2005-04-01  Add fixes from Bill Fenner.
2498
2499   2005-12-03  Add checks against local copy of
2500      <http://www.w3.org/2002/01/tr-automation/tr.rdf>.
2501
2502   2006-07-22  Add checks for standards levels.
2503
2504   2006-08-06  "check-ietf-references.xslt" replaced by "check-
2505      references.xslt".
2506
2507   2007-01-04  Use information online at <http://tools.ietf.org/> to
2508      retrieve Internet-Draft status information.
2509
2510   2007-06-16  Fix bug looking up ref type when inside change markup.
2511
2512   2008-06-14  Enhance output when draft was updated, and then published
2513      as RFC.
2514
2515
2516
2517
2518
2519Reschke                                                        [Page 45]
2520
2521Documentation             RFC2629 through XSLT               August 2008
2522
2523
2524   2008-07-12  Add XSLT2-based link target checking.
2525
2526   2008-08-10  Change keywords for "intended-level" to proposed/draft/
2527      internet, optionall extract intended level from /rfc/@
2528      x:maturity-level attribute.
2529
2530D.4.  gen-reference-graph.xslt
2531
2532   2006-09-03  New.
2533
2534   2007-06-07  Use Carlisle method [12] to define exslt:node-set in
2535      msxsml (which means that the stylesheet can now be used with MSXML
2536      as well).
2537
2538   2007-10-15  Use W3C data from tr.rdf as well (experimental).
2539
2540D.5.  rfc2629.xslt
2541
2542   2001-03-28  Code rearranged, generate numbered section anchors for
2543      paragraphs (t) as well.  Fixes in index handling.
2544
2545   2001-04-12  Moved HTML output into XHTML namespace.
2546
2547   2001-10-02  Fixed default location for RFCs and numbering of section
2548      references.  Support ?rfc editing processing instruction.
2549
2550   2001-10-07  Made telephone number links active.
2551
2552   2001-10-08  Support for vspace element.
2553
2554   2001-10-09  Experimental support for rfc-issue PI.
2555
2556   2001-11-11  Support rfc private PI.  Removed bogus code reporting the
2557      WG in the header.
2558
2559   2001-11-11  Support rfc private PI.  Removed bogus code reporting the
2560      WG in the header.
2561
2562   2001-12-17  Support title attribute on references element
2563
2564   2002-01-05  Support for list/@style="@format"
2565
2566   2002-01-09  Display "closed" RFC issues as deleted
2567
2568   2002-01-14  Experimentally and optionally parse XML encountered in
2569      artwork elements (requires MSXSL).
2570
2571
2572
2573
2574
2575Reschke                                                        [Page 46]
2576
2577Documentation             RFC2629 through XSLT               August 2008
2578
2579
2580   2002-01-27  Some cleanup.  Moved RFC issues from PIs into namespaced
2581      elements.
2582
2583   2002-01-29  Added support for sortrefs PI.  Added support for figure
2584      names.
2585
2586   2002-02-07  Highlight parts of artwork which are too wide (72
2587      characters).
2588
2589   2002-02-12  Code rearrangement for static texts.  Fixes for section
2590      numbering.  TOC generation rewritten.
2591
2592   2002-02-15  Support for irefs in sections; support iref @primary=true
2593
2594   2002-03-03  Moved anchor prefix into a constant.  Added sanity checks
2595      on user anchor names.
2596
2597   2002-03-23  Bugfix in detection of matching org names when creating
2598      the header.  Fixed sorting in subitems.
2599
2600   2002-04-02  Fix TOC link HTML generation when no TOC is generated
2601      (created broken HTML table code).
2602
2603   2002-04-03  Made rendering of references more tolerant re: missing
2604      parts.
2605
2606   2002-04-08  Fixed reference numbering when references are split into
2607      separate sections.
2608
2609   2002-04-16  Fix default namespace (shouldn't be set for HTML output
2610      method).
2611
2612   2002-04-19  Lowercase internal CSS selectors for Mozilla compliance.
2613      Do not put TOC into ul element.
2614
2615   2002-04-21  Make numbered list inside numbered lists use alphanumeric
2616      numbering.
2617
2618   2002-05-05  Updated issue/editing support.
2619
2620   2002-05-15  Bugfix for section numbering after introduction of ed:
2621      replace
2622
2623   2002-06-21  When producing private documents, do not include document
2624      status, copyright etc.
2625
2626
2627
2628
2629
2630
2631Reschke                                                        [Page 47]
2632
2633Documentation             RFC2629 through XSLT               August 2008
2634
2635
2636   2002-07-08  Fix xrefs to Appendices.
2637
2638   2002-07-19  Make artwork lightyellow for easier reading. (fielding)
2639
2640   2002-10-09  Translate references title to anchor name to avoid non-
2641      uri characters. (fielding)
2642
2643   2002-10-13  Support for tocdepth PI.
2644
2645   2002-11-03  Added temporariry workaround for Mozilla/Transformiix
2646      result tree fragment problem. (search for
2647      'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')
2648
2649   2002-12-25  xref code: attempt to uppercase "section" and "appendix"
2650      when at the start of a sentence.
2651
2652   2003-02-02  fixed code for vspace blankLines="0", enhanced display
2653      for list with "format" style, got rid of HTML blockquote elements,
2654      added support for "hangIndent"
2655
2656   2003-04-10  experimental support for appendix and spanx elements
2657
2658   2003-04-19  fixed counting of list numbers in "format %" styles (one
2659      counter per unique format string).  Added more spanx styles.
2660
2661   2003-05-02  experimental texttable support
2662
2663   2003-05-02  Make mailto links optional (default = none) (jre: default
2664      and PI name changed) (fielding)
2665
2666   2003-05-04  experimental support for HTML link elements; fix default
2667      for table header alignment default
2668
2669   2003-05-06  support for "background" PI.
2670
2671   2003-05-11  change %c format to lowercase alphabetic. add support for
2672      keyword elements (generate META tag). fix various HTML conformance
2673      problems. added experimental support for role attribute. do not
2674      number paragraphs in unnumbered sections. update boilerplate
2675      texts. support for "iprnotified" PI. bugfix list numbering. strip
2676      whitespace when building tel: URIs.
2677
2678   2003-05-12  more conformance fixes (layout moved into CSS, move lists
2679      and figures out of para content, do not use tables for list
2680      formatting)
2681
2682
2683
2684
2685
2686
2687Reschke                                                        [Page 48]
2688
2689Documentation             RFC2629 through XSLT               August 2008
2690
2691
2692   2003-05-13  add DC.Creator meta tag, refactoring
2693
2694   2003-05-16  put nbsps between "section" and section number (xref).
2695
2696   2003-05-18  author summary: add missing comma.
2697
2698   2003-06-06  fix index generation bug (transposed characters in key
2699      generation).  Enhance sentence start detection (xref starting a
2700      section was using lowercase "section").
2701
2702   2003-06-22  exp. support for xref/@format.  Add missing support for
2703      eref w/o content. exp. support for annotations in reference
2704      elements.  Code cleanup reference table formatting.
2705
2706   2003-07-09  Another fix for DC.Creator meta tag creation based on
2707      RFC2731
2708
2709   2003-07-24  Fix namespace name for DC.Creator.
2710
2711   2003-08-06  Cleanup node-set support (only use exslt (saxon, xalan,
2712      libxslt) extension functions; remove Transformix workarounds that
2713      stopped to work in Moz 1.4)
2714
2715   2003-08-09  Generate HTML lang tag.
2716
2717   2003-08-10  Map spanx/verb to HTML "samp" element.  Fix author name
2718      display in references (reverse surname/initials for last author),
2719      add "Ed.".  Fix internal bookmark generation.
2720
2721   2003-08-17  Add DCMI dates, identifiers and abstract.  Add PI to
2722      suppress DCMI generation.  Do not add TOC entry to Copyright
2723      Statement when there is none.  Align RFC2629 PI names and
2724      parameter names.  Change style for inline URIs generated by eref.
2725      Add header and footer support.  Enhance CSS paging properties.
2726      Support topblock PI.  Added hooks for proper XHTML generation
2727      through separate XSLT.  Enhance warning and error messages.  Add
2728      support for artwork image display.  Table formatting fixes
2729      (borders, thead continuation).
2730
2731   2003-08-18  Add workaround for MSXML4 node-set and Mozilla node-set
2732      issues (fallback just displays are warning).
2733
2734   2003-10-06  Add workaround for broken pre/ins handling in Mozilla
2735      (see <http://bugzilla.mozilla.org/show_bug.cgi?id=204401>).  Make
2736      use of cite attribute on ed:replace.  CSS cleanup.
2737
2738
2739
2740
2741
2742
2743Reschke                                                        [Page 49]
2744
2745Documentation             RFC2629 through XSLT               August 2008
2746
2747
2748   2003-10-08  Fix minor issue detecting the same org for the header
2749      (caused by IE's non-standard whitespace handling).  Fix default
2750      handling for /rfc/@category.
2751
2752   2003-11-09  Inherit ed:entered-by from ancestor elements.  Change CSS
2753      color for inserted text to green.  Generate issues-list anchor.
2754      Do not complain about missing targets when the xref element is
2755      below ed:del.  Remove code that attempted to distinguish section/
2756      Section when producing links - always use uppercase.  Fix date
2757      rendering for issue resolutions.
2758
2759   2003-11-29  Fix color values for table backgrounds for issue
2760      rendering.  Change rendering of issue links to use inline-styles.
2761      Add colored issue markers to issues.
2762
2763   2003-12-13  Fix inheritance of ed:entered-by attribute.  Display note
2764      elements inside change tracking as well.
2765
2766   2004-01-18  When PI compact = 'yes', make most CSS print page breaks
2767      conditional.
2768
2769   2004-02-20  Support for RFC3667 IPR changes (xml2rfc 1.22); see <http
2770      ://lists.xml.resource.org/pipermail/xml2rfc/2004-February/
2771      001088.html>.
2772
2773   2004-03-11  Add "(if approved)" to "updates" and "obsoletes" unless
2774      the document has an RFC number.
2775
2776   2004-04-01  Fix RFC3667 output, see <http://lists.xml.resource.org/
2777      pipermail/xml2rfc/2004-April/001208.html>.
2778
2779   2004-04-04  Add support for section/top attribute.  Move references
2780      into plain section container.
2781
2782   2004-04-06  Do not emit identical para anchors for deleted content.
2783
2784   2004-04-14  Fix references TOC generation when there are no
2785      references.
2786
2787   2004-04-24  Fix RFC3667 output, see
2788      <http://xml.resource.org/pipermail/xml2rfc/2004-April/
2789      001246.html>.
2790
2791   2004-05-09  Add custom support for generating compound index
2792      documents.  Add anchors for each Index letter.  Add experimental
2793      cref support.  Fix conditional page breaks before References
2794      section.
2795
2796
2797
2798
2799Reschke                                                        [Page 50]
2800
2801Documentation             RFC2629 through XSLT               August 2008
2802
2803
2804   2004-05-16  Refactor external index generation.
2805
2806   2004-05-20  Rewrite anchor generation for comments.
2807
2808   2004-05-22  Enhance issues rendering (add links to changes).
2809
2810   2004-05-30  Allow single quote as delimiter in processing
2811      instructions as well.  Move block-level issue pointers to floats.
2812      Disable issue pointers for print media.  Add "purple numbers".
2813      Add hrefs to section headings.  Add non-printing index key letter
2814      list to start of index.
2815
2816   2004-06-01  Use &#xb6; instead of # for PNs.
2817
2818   2004-07-18  Add support for list style=letters (thanks Roy F.).  Make
2819      PNs optional; add new PI.
2820
2821   2004-09-05  Fix index links into unnumbered sections.  Bring IPR
2822      boilerplate in-line with xml2rfc 1.25.  Add experimental CSS3
2823      paged media support.  Various HTML fixes.
2824
2825   2004-09-21  Enhance checking of artwork width.
2826
2827   2004-09-26  Add check for unused references.  Uppercase letters in
2828      list style letters when nested into another list.
2829
2830   2004-10-10  Fix internal change track pointers.
2831
2832   2004-11-01  Allow change tracking on references (as a whole).
2833      Rewrite artwork handling so that it allows change tracking inside
2834      artwork.  Also allow a subset of text markup inside artwork, such
2835      as xrefs (note this requires post-processing the source to make it
2836      compliant to RFC2629bis).
2837
2838   2004-11-03  Enhanced placement of iref anchors.
2839
2840   2004-11-06  Index: display irefs that appeared (with primary=true)
2841      inside artwork elements in a monospaced font.
2842
2843   2004-11-14  Add special code so that changes in section titles can be
2844      change-tracked.
2845
2846   2005-01-14  Bugfixes for HtmlToXhtml converter.
2847
2848   2005-01-22  Enhance generation of HTML h* elements (for Mozilla
2849      Outliner).
2850
2851
2852
2853
2854
2855Reschke                                                        [Page 51]
2856
2857Documentation             RFC2629 through XSLT               August 2008
2858
2859
2860   2005-01-31  Put vertical space around top-level TOC entries in TOC.
2861      Switch to pt-based CSS.  Re-arrange top section.  Make hr elements
2862      reflect new-page settings in TXT output (compact-PI).  Fix page
2863      number in footer (CSS print) and add some more experimental
2864      support for paged media (tested with Prince 4.1 alpha).  Rewrite
2865      TOC and Index generation to generate HTML lists.  Cleanup id
2866      generation for paragraphs.  Reduce whitespace in output.  Fix
2867      vspace implementation.  Use right/left dqoutes and copyright sign
2868      where appropriate.
2869
2870   2005-02-04  Add <link> element to references section.  Fix newly
2871      introduced bug in references processing.
2872
2873   2005-02-05  Integrate various fixes/enhancements by Roy Fielding:
2874      spelling of "Authors' Addresses", comma setting in references,
2875      position of "Authors" section, optionally place authors addresses
2876      at end (PI), trailing dots in section numbers, switch to verdana
2877      default font in CSS.  Add experimental support for centered
2878      artwork.
2879
2880   2005-02-09  Fixes in spacing and links of references section titles.
2881      Enhance sorting in references when change tracking is in place.
2882      Re-add figure centering support.  Add missing 2nd part of
2883      "Author's Adresses" fix.
2884
2885   2005-02-25  Align section number format with xml2rfc1.29.
2886
2887   2005-03-28  Get rid of table elements in Author's section.  Add
2888      experimental hCard (<http://developers.technorati.com/wiki/hCard>)
2889      support.
2890
2891   2005-04-03  Add RFC3978-style IPR statement support.
2892      (fenner@research.att.com)
2893
2894   2005-04-11  Cleanup author display. hCard related fixes.
2895
2896   2005-05-07  Minor fixes to allow change tracking in doc title.  Add
2897      experimental support for table border styles.  CSS cleanup.
2898
2899   2005-06-18  Implement missing support for references to texttables.
2900
2901   2005-09-25  Use (-moz-)column-count when printing the index.
2902
2903   2005-10-04  Report missing element templates with xsl:message.
2904
2905
2906
2907
2908
2909
2910
2911Reschke                                                        [Page 52]
2912
2913Documentation             RFC2629 through XSLT               August 2008
2914
2915
2916   2005-10-15  Process t/@anchor.
2917
2918   2005-10-23  More workarounds for Mozilla's broken del/ins handling
2919      (this time for figures).
2920
2921   2005-10-27  lowercase hCard class names
2922
2923   2005-11-22  Enhance diagnostics for XML-in-artwork extension
2924
2925   2005-11-26  Fix formatting of section numbers for sections inserted
2926      into <back>.
2927
2928   2005-12-12  Fix some validity problems when change tracking occured
2929      inside lists.
2930
2931   2005-12-18  Add change tracking inside the index.
2932
2933   2006-02-04  Add prev/next links to highlighted changes (change
2934      tracking extension).
2935
2936   2006-02-10  Catch errors instantiating MSXML component.
2937
2938   2006-02-11  References: add "work in progress" for Internet Drafts.
2939
2940   2006-02-27  Fix front matter (lowercase Internet-Draft, say "Intended
2941      status" for non-RFC documents).  Start work on experimental
2942      extension for simplified internal links.
2943
2944   2006-03-19  Tweaks to IESG Copyright stuff; support submissionType
2945      attribute.  Fix duplicate reference anchors in HTML output.
2946      Reduce HTML Tidy warnings.  Fix reference to normative ASCII
2947      version (now requires trailing ".txt").  Tweaks to hCard
2948      generation.  Started to move non-issue-tracking extensions into
2949      namespace "http://purl.org/net/xml2rfc/ext".
2950
2951   2006-03-27  Moved "simple reference" extension into namespace
2952      "http://purl.org/net/xml2rfc/ext" and add documentation.  HTML
2953      conformance enhancements.
2954
2955   2006-04-02  Cleanup special code for automated XHTML XSLT generation.
2956
2957   2006-04-21  Generate <CITE> elements where appropiate.  Introduce
2958      x:blockquote, x:dfn, x:h and x:q elements.
2959
2960   2006-05-06  Introduce x:bcp14 element.
2961
2962
2963
2964
2965
2966
2967Reschke                                                        [Page 53]
2968
2969Documentation             RFC2629 through XSLT               August 2008
2970
2971
2972   2006-05-14  Fix content model for x:blockquote.
2973
2974   2006-06-18  Add box drawing support (x:bt, x:bc, x:bb).
2975
2976   2006-06-20  HTML validity fixes (legal chars in anchors in index).
2977
2978   2006-06-24  Reduce leading empty lines in artwork.  Move <dt> style
2979      info into CSS.
2980
2981   2006-07-14  Fix rendering of multiple street address entries (missing
2982      line break).
2983
2984   2006-07-24  Add extension for deep linking into RFCs, do not generate
2985      empty list items in TOC output, avoid empty <dt> elements for list
2986      items without hangText attribute.
2987
2988   2006-08-01  Allow @anchor on more elements; start work on Relax NG
2989      grammar for extensions.  Reduce generated style elements (use CSS
2990      classes instead).  Consistently use "id" instead of "name".
2991      Change default target for RFC links to
2992      "http://tools.ietf.org/html/rfcNNNN".
2993
2994   2006-08-06  Include appendices defined in <appendix> elements in TOC
2995      (please consider them deprecated anyhow!).  Generate links to
2996      "http://tools.ietf.org/html/draft-*" for Internet Drafts.  Replace
2997      x:frag by x:rel, allowing any kind of relative reference instead
2998      of just fragments.
2999
3000   2006-08-30  Reduce textual differences between HTML output and what
3001      xml2rfc produces in TXT output mode (section refs/reference
3002      targets).  Add small workaround for Opera 9.0.1's problem with
3003      node-set().
3004
3005   2006-10-29  Fix problem generating internal links to change markup
3006      within references section.  Enhancements when generating numbered
3007      references for deleted references.  Allow inclusion of references
3008      into the index (through include-references-in-index extension).
3009      Fix a bug that caused the newer version of the IETF boilerplate to
3010      be produced rather than the pre-RFC3667 one.  Update to RFC4287
3011      boilerplate.
3012
3013   2006-11-11  Add extension attribute x:for-anchor to <iref> handling.
3014
3015   2006-11-26  Experimental (and limited) support for <x:lt>.
3016
3017
3018
3019
3020
3021
3022
3023Reschke                                                        [Page 54]
3024
3025Documentation             RFC2629 through XSLT               August 2008
3026
3027
3028   2006-12-04  Fix bugs in processing documents that have both the ipr
3029      and the number attribute set on the rfc root element.  Add support
3030      for x:fmt='none' on xrefs.  Add different pre style based on
3031      artwork type attributes (experimental).
3032
3033   2006-12-13  Add x:fmt='anchor' for xref elements.
3034
3035   2007-01-07  Fix root template for compatibility for the exslt:node-
3036      set implementation in Firefox3.
3037
3038   2007-01-29  Avoid empty table entry in front matter when organization
3039      is not specified for an author.
3040
3041   2007-02-10  Allow change tracking in table rows.
3042
3043   2007-03-09  Add hcard profile URI (<http://www.w3.org/2006/03/hcard>)
3044      to head element.  Add warning for misplaced <t> elements (after
3045      section).
3046
3047   2007-03-21  Fix internal linking from reference entries in index for
3048      some xref types.  Minor CSS tweaks contributed by MTR.  Allow
3049      turning on text justification through a PI.  Improve iref anchor
3050      generation to generate less instable anchors.
3051
3052   2007-03-28  Fixes for numbering of ed:inserted references sections.
3053
3054   2007-05-04  Do not generate anchors for edits in deleted sections.
3055      Enhance HTML conformance.
3056
3057   2007-05-19  Enhance diagnostics when using Saxon (needs Saxon's "-l"
3058      command line parameter to keep line number information).  Add
3059      warning when symref PI is missing (default will change in the
3060      future).  Add support for overriding computed section numbers
3061      (when formatting historic documents).
3062
3063   2007-06-07  Change default for symrefs PI to "yes" (see change in
3064      xml2rfc 1.33pre4).  Warn about docName attributes that appear to
3065      contain a file extension.
3066
3067   2007-06-26  Workaround author/@initials values without trailing dot,
3068      as in xml2rfc.tcl.
3069
3070   2007-07-14  Enhance index generation for references that use @x:sec
3071      attribute.
3072
3073
3074
3075
3076
3077
3078
3079Reschke                                                        [Page 55]
3080
3081Documentation             RFC2629 through XSLT               August 2008
3082
3083
3084   2007-09-09  Fix: sortrefs is a nop when symrefs=no.
3085
3086   2007-10-17  Work in progress: add support for referencing sections in
3087      sibling documents by anchor name.
3088
3089   2007-10-17  Work in progress (continued): support for referencing
3090      sections in sibling documents by anchor name.
3091
3092   2007-12-31  Emit warning when updating/obsoleting stuff that's not
3093      referenced.
3094
3095   2008-02-03  Support xml2rfc-1.33pre5's suppress-title attribute on
3096      texttable and figure.
3097
3098   2008-02-06  Extension: allow <eref> below <cref>.
3099
3100   2008-02-17  Extensions: add x:span and x:length-of.
3101
3102   2008-02-20  Add new RFC boilerplate (as changed in 2007-08).
3103
3104   2008-02-27  Improve diagnostics for artwork width problems; add
3105      defaulting of publication dates (requires XSLT processor
3106      supporting exslt:date, or msxml).
3107
3108   2008-02-29  Enhance CSS for link elements in the front header, update
3109      rules for generating "Acknowledgment" statement.
3110
3111   2008-03-01  Use line numbers in diagnostics in Saxon8/9 as well.
3112
3113   2008-03-02  Fix a bug in the logic choosing the boilerplate,
3114      resulting in obsolete text being inserted into IDs.
3115
3116   2008-04-01  Add support for superscript element.
3117
3118   2008-06-28  Add sanity checks for email addresses, allow multiple
3119      email elements.
3120
3121   2008-07-06  Add x:abnf-char-sequence.
3122
3123D.6.  rfc2629toFO.xslt
3124
3125   2003-11-16  Initial release.
3126
3127   2003-11-29  Enhance handling of unknown list styles.
3128
3129
3130
3131
3132
3133
3134
3135Reschke                                                        [Page 56]
3136
3137Documentation             RFC2629 through XSLT               August 2008
3138
3139
3140   2004-04-04  Update reference section handling.
3141
3142   2004-04-17  Use XSL-WD-1.1-style fo:bookmark and index handling and
3143      add postprocessors for existing implementations.  Unify PDF info
3144      generation by using XEP (postprocessors) will convert.
3145
3146   2004-04-20  Add experimental cref support.
3147
3148   2004-06-14  Set correct index-item defaults.
3149
3150   2004-07-18  Add list style=letters.
3151
3152   2004-09-03  Make URLs in text break where they are allowed to break
3153      by inserting zero-width spaces.
3154
3155   2004-09-26  Fix letter-style inside nested lists.
3156
3157   2004-10-31  Update handling of artwork.
3158
3159   2004-11-13  Fix handling of references inside ed:* markup.  Fix
3160      whitespace handling in artwork.
3161
3162   2004-11-27  Irefs in artwork generate monospaced entries in index.
3163
3164   2005-01-31  Fix TOC generation that was broken after changes in main
3165      XSLT.
3166
3167   2005-02-05  Bring in sync with cosmetic changes in rfc2629.xslt.
3168
3169   2005-05-07  Minor fix for change tracking in document title.  Support
3170      for table styles.
3171
3172   2005-06-18  Fix references to tables.
3173
3174   2005-10-15  Process t/@anchor.
3175
3176   2006-02-11  References: add "work in progress" for Internet Drafts.
3177
3178   2006-06-02  Use XSL 1.1 WD Feb 2006.
3179
3180   2007-03-21  Support optional text justification.
3181
3182   2007-05-19  Various improvements in spacing; also allow overriding
3183      the automatic list indentation via list/x:indent.
3184
3185
3186
3187
3188
3189
3190
3191Reschke                                                        [Page 57]
3192
3193Documentation             RFC2629 through XSLT               August 2008
3194
3195
3196D.7.  xsl11toAn.xslt
3197
3198   2004-05-17  Initial release.
3199
3200   2006-06-02  Use XSL 1.1 WD Feb 2006.
3201
3202D.8.  xsl11toFop.xslt
3203
3204   2004-05-17  Initial release.
3205
3206   2006-06-02  Use XSL 1.1 WD Feb 2006.
3207
3208D.9.  xsl11toFop-0.93.xslt
3209
3210   2008-03-15  Add a workaround to the fo:inline workaround (sigh).
3211
3212D.10.  xsl11toXep.xslt
3213
3214   2004-05-17  Initial release.
3215
3216   2004-09-04  Fix xep:index-item attributes.
3217
3218   2006-06-02  Use XSL 1.1 WD Feb 2006.
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247Reschke                                                        [Page 58]
3248
3249Documentation             RFC2629 through XSLT               August 2008
3250
3251
3252Index
3253
3254   A
3255      abnf-char-sequence Extension Element  21, 35
3256      allow-markup-in-artwork PI pseudo-attribute  8
3257      alternate HTML LINK element  15
3258      anchor-alias Extension Element  21, 35
3259      Anchors
3260         rfc.abstract  12
3261         rfc.authors  12
3262         rfc.copyright  12
3263         rfc.copyrightnotice  12
3264         rfc.figure.n  12
3265         rfc.figure.u.n  12
3266         rfc.index  12
3267         rfc.ipr  12
3268         rfc.iref.n  12
3269         rfc.note.n  12
3270         rfc.references  12
3271         rfc.section.n  12
3272         rfc.section.n.p.m  12
3273         rfc.status  12
3274         rfc.toc  12
3275         rfc.xref.name.n  12
3276      AntennaHouse XSL Formatter  19
3277      Apache FOP  19
3278      appendix HTML LINK element  15
3279      assign-section-number Extension Element  35
3280      author HTML LINK element  15
3281      authors-section PI pseudo-attribute  8
3282
3283   B
3284      background PI pseudo-attribute  6
3285      bb Extension Element  22, 35
3286      bc Extension Element  22, 35
3287      bcp14 Extension Element  21, 35
3288      blockquote Extension Element  22, 35
3289      bt Extension Element  22, 35
3290
3291   C
3292      chapter HTML LINK element  15
3293      CHM format  18
3294      comments PI pseudo-attribute  6
3295      compact PI pseudo-attribute  6
3296      contents HTML LINK element  15
3297      copyright HTML LINK element  15
3298      Creator DCMI property  16
3299
3300
3301
3302
3303Reschke                                                        [Page 59]
3304
3305Documentation             RFC2629 through XSLT               August 2008
3306
3307
3308   D
3309      Date.Issued DCMI property  16
3310      DCMI properties
3311         Creator  16
3312         Date.Issued  16
3313         Description.Abstract  16
3314         Identifier  16
3315         Relation.Replaces  16
3316      Description.Abstract DCMI property  16
3317      dfn Extension Element  23, 35
3318
3319   E
3320      editing PI pseudo-attribute  6
3321      Extension Elements
3322         abnf-char-sequence  21, 35
3323         anchor-alias  21, 35
3324         assign-section-number  35
3325         bb  22, 35
3326         bc  22, 35
3327         bcp14  21, 35
3328         blockquote  22, 35
3329         bt  22, 35
3330         dfn  23, 35
3331         h  23, 35
3332         length-of  23, 35
3333         link  23, 35
3334         lt  23, 35
3335         parse-xml  24, 35
3336         q  24, 35
3337         rdf:Description  35
3338         ref  24, 35
3339         source  24, 35
3340         span  35
3341         sup  25, 35
3342         x  35
3343
3344   F
3345      Firefox
3346         1.*/2.*  13
3347         3.*  13
3348      footer PI pseudo-attribute  6
3349
3350   G
3351      generator HTML META element  16
3352      Grammar  35
3353
3354   H
3355      h Extension Element  23, 35
3356
3357
3358
3359Reschke                                                        [Page 60]
3360
3361Documentation             RFC2629 through XSLT               August 2008
3362
3363
3364      header PI pseudo-attribute  6
3365      HTML compliance  15
3366      HTML LINK elements
3367         alternate  15
3368         appendix  15
3369         author  15
3370         chapter  15
3371         contents  15
3372         copyright  15
3373         index  15
3374      HTML META elements
3375         generator  16
3376         keywords  16
3377
3378   I
3379      Identifier DCMI property  16
3380      include PI pseudo-attribute  7
3381      include-references-in-index PI pseudo-attribute  8
3382      index HTML LINK element  15
3383      inline PI pseudo-attribute  6
3384      Internet Explorer 5.5  13
3385      Internet Explorer 6  13
3386      Internet Explorer 7  13
3387      iprnotified PI pseudo-attribute  6
3388
3389   J
3390      justification PI pseudo-attribute  8
3391
3392   K
3393      keywords HTML META element  16
3394
3395   L
3396      length-of Extension Element  23, 35
3397      link Extension Element  23, 35
3398      linkmailto PI pseudo-attribute  6
3399      lt Extension Element  23, 35
3400
3401   M
3402      Microsoft Help  18
3403      Mozilla  13
3404      MSXML3  13
3405      MSXML4  13
3406
3407   N
3408      needLines PI pseudo-attribute  7
3409
3410   O
3411      Opera  13
3412
3413
3414
3415Reschke                                                        [Page 61]
3416
3417Documentation             RFC2629 through XSLT               August 2008
3418
3419
3420   P
3421      Parameters
3422         xml2rfc-background  6
3423         xml2rfc-comments  6
3424         xml2rfc-compact  6
3425         xml2rfc-editing  6
3426         xml2rfc-ext-allow-markup-in-artwork  8
3427         xml2rfc-ext-authors-section  8
3428         xml2rfc-ext-include-references-in-index  8
3429         xml2rfc-ext-justification  8
3430         xml2rfc-ext-parse-xml-in-artwork  8
3431         xml2rfc-ext-sec-no-trailing-dots  8
3432         xml2rfc-ext-support-rfc2731  8
3433         xml2rfc-footer  6
3434         xml2rfc-header  6
3435         xml2rfc-inline  6
3436         xml2rfc-iprnotified  6
3437         xml2rfc-linkmailto  6
3438         xml2rfc-private  6
3439         xml2rfc-sortrefs  6
3440         xml2rfc-symrefs  6
3441         xml2rfc-toc  6
3442         xml2rfc-tocdepth  6
3443         xml2rfc-topblock  6
3444      parse-xml Extension Element  24, 35
3445      parse-xml-in-artwork PI pseudo-attribute  8
3446      private PI pseudo-attribute  6
3447      Processing Instruction pseudo attributes
3448         allow-markup-in-artwork  8
3449         authors-section  8
3450         background  6
3451         comments  6
3452         compact  6
3453         editing  6
3454         footer  6
3455         header  6
3456         ijustification  8
3457         include  7
3458         include-references-in-index  8
3459         inline  6
3460         iprnotified  6
3461         linkmailto  6
3462         needLines  7
3463         parse-xml-in-artwork  8
3464         private  6
3465         sec-no-trailing-dots  8
3466         slides  7
3467         sortrefs  6
3468
3469
3470
3471Reschke                                                        [Page 62]
3472
3473Documentation             RFC2629 through XSLT               August 2008
3474
3475
3476         strict  7
3477         subcompact  7
3478         support-rfc2731  8
3479         symrefs  6
3480         toc  6
3481         tocdepth  6
3482         tocindent  7
3483         tocompact  7
3484         topblock  6
3485
3486   Q
3487      q Extension Element  24, 35
3488
3489   R
3490      rdf:Description Extension Element  35
3491      ref Extension Element  24, 35
3492      Relation.Replaces DCMI property  16
3493      RELAX NG Compact Schema  35
3494      rfc.abstract anchor  12
3495      rfc.authors anchor  12
3496      rfc.copyright anchor  12
3497      rfc.copyrightnotice anchor  12
3498      rfc.figure.n anchor  12
3499      rfc.figure.u.n anchor  12
3500      rfc.index anchor  12
3501      rfc.ipr anchor  12
3502      rfc.iref.n anchor  12
3503      rfc.note.n anchor  12
3504      rfc.references anchor  12
3505      rfc.references.n anchor  12
3506      rfc.section.n anchor  12
3507      rfc.section.n.p.m anchor  12
3508      rfc.status anchor  12
3509      rfc.toc anchor  12
3510      rfc.xref.name.n anchor  12
3511
3512   S
3513      Safari  13
3514         3.*  13
3515      Saxon  13
3516      Schema  35
3517      sec-no-trailing-dots PI pseudo-attribute  8
3518      slides PI pseudo-attribute  7
3519      sortrefs PI pseudo-attribute  6
3520      source Extension Element  24, 35
3521      span Extension Element  35
3522      strict PI pseudo-attribute  7
3523      subcompact PI pseudo-attribute  7
3524
3525
3526
3527Reschke                                                        [Page 63]
3528
3529Documentation             RFC2629 through XSLT               August 2008
3530
3531
3532      sup Extension Element  25, 35
3533      support-rfc2731 PI pseudo-attribute  8
3534      symrefs PI pseudo-attribute  6
3535
3536   T
3537      toc PI pseudo-attribute  6
3538      tocdepth PI pseudo-attribute  6
3539      tocindent PI pseudo-attribute  7
3540      tocompact PI pseudo-attribute  7
3541      topblock PI pseudo-attribute  6
3542
3543   X
3544      x Extension Element  35
3545      Xalan  13
3546      xml-stylesheet PI  15
3547      xml2rfc-background parameter  6
3548      xml2rfc-comments parameter  6
3549      xml2rfc-editing parameter  6
3550      xml2rfc-ext-allow-markup-in-artwork parameter  8
3551      xml2rfc-ext-authors-section parameter  8
3552      xml2rfc-ext-include-references-in-index parameter  8
3553      xml2rfc-ext-justification parameter  8
3554      xml2rfc-ext-parse-xml-in-artwork parameter  8
3555      xml2rfc-ext-sec-no-trailing-dots parameter  8
3556      xml2rfc-ext-support-rfc2731 parameter  8
3557      xml2rfc-footer parameter  6
3558      xml2rfc-header parameter  6
3559      xml2rfc-inline parameter  6
3560      xml2rfc-iprnotified parameter  6
3561      xml2rfc-linkmailto parameter  6
3562      xml2rfc-private parameter  6
3563      xml2rfc-sortrefs parameter  6
3564      xml2rfc-symrefs parameter  6
3565      xml2rfc-toc parameter  6
3566      xml2rfc-tocdepth parameter  6
3567      xml2rfc-topblock parameter  6
3568      xsltproc  13
3569         passing parameters  5
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583Reschke                                                        [Page 64]
3584
3585Documentation             RFC2629 through XSLT               August 2008
3586
3587
3588Author's Address
3589
3590   Julian F. Reschke
3591   greenbytes GmbH
3592   Hafenweg 16
3593   Muenster, NW  48155
3594   Germany
3595
3596   Phone: +49 251 2807760
3597   Email: julian.reschke@greenbytes.de
3598   URI:   http://greenbytes.de/tech/webdav/
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639Reschke                                                        [Page 65]
3640
Note: See TracBrowser for help on using the repository browser.