source: rfc2629xslt/rfc2629xslt.xml @ 560

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

update to latest version of rfc2629.xslt

  • Property svn:eol-style set to native
File size: 108.9 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
3
4<?rfc header="Documentation"?>
5<?rfc private="RFC2629 through XSLT"?>
6<?rfc toc="yes"?>
7<!-- <?rfc topblock="no"?>  -->
8<?rfc strict="yes"?>
9<?rfc symrefs="yes"?>
10<?rfc sortrefs="yes"?>
11<?rfc-ext allow-markup-in-artwork="yes" ?>
12<?rfc-ext include-references-in-index="yes" ?>
13
14<rfc xmlns:x="http://purl.org/net/xml2rfc/ext">
15        <front>
16        <title abbrev="RFC2629 through XSLT">Transforming RFC2629-formatted XML through XSLT</title>
17
18        <author initials="J. F." surname="Reschke" fullname="Julian F. Reschke">
19                <organization abbrev="greenbytes">greenbytes GmbH</organization>
20        <address>
21                <postal>
22                <street>Hafenweg 16</street>
23            <city>Muenster</city><region>NW</region><code>48155</code>
24                <country>Germany</country>
25                </postal>
26                  <phone>+49 251 2807760</phone>       
27                  <email>julian.reschke@greenbytes.de</email>   
28                  <uri>http://greenbytes.de/tech/webdav/</uri> 
29                </address>
30        </author>
31     
32    <date month="March" year="2009"/>
33
34    <keyword>RFC2629</keyword>
35    <keyword>xml2rfc</keyword>
36    <keyword>XSLT</keyword>
37    <keyword>hCard</keyword>
38    <keyword>XSL-FO</keyword>
39    <keyword>PDF</keyword>
40    <keyword>GRDDL</keyword>
41    <keyword>Dublin Core</keyword>
42        </front>
43
44        <middle>
45
46<section title="Introduction">
47<t>
48  This document describes a set of XSLT transformations that can be used to
49  transform RFC2629-compliant XML (see <xref target="RFC2629"/>) to various
50  output formats, such as HTML and PDF. The main topics are 
51  <list style="symbols">
52    <t>compliance to the xml2rfc XML element set (<xref target="supported.elements"/>),</t>
53    <t>support for xml2rfc processing instructions (<xref target="processing.instructions"/>),</t>
54    <t>the names of anchor elements generated in HTML and PDF output (<xref target="anchors"/>),</t>
55    <t>various XSLT engines that can be used (<xref target="xslt.engines"/>),</t>
56    <t>outputting HTML (<xref target="output.html"/>) and XHTML (<xref target="output.xhtml"/>),</t>
57    <t>outputting CHM (Compiled Microsoft Help, <xref target="output.chm"/>),</t>
58    <t>outputting PDF (<xref target="output.pdf"/>),</t>
59    <t>extensions to the xml2rfc vocabulary (<xref target="extensions"/>).</t>
60    <t>various utilities (<xref target="utilities"/>).</t>
61  </list>
62</t>
63<t>
64  The full distribution is available at <eref target="http://greenbytes.de/tech/webdav/rfc2629xslt.zip"/>.
65</t>
66</section>
67
68<section title="Supported RFC2629 elements" anchor="supported.elements">
69<t>
70  <spanx style="verb">rfc2629.xslt</spanx> supports both all RFC2629 grammar elements and the extensions
71  implemented in xml2rfc 1.21.
72</t>
73<section title="Extension elements">
74<t>
75  <spanx style="verb">rfc2629.xslt</spanx> supports two kind of extension
76  elements, using different XML namespaces.
77</t>
78<t>
79  The first set contains (hopefully) generally useful extensions, see
80  <xref target="extensions"/>.
81</t>
82<t>
83  The second set is used for change and issue tracking and currently is not
84  documented here. Please email the author in case
85  you're interested in using these extensions.
86</t>
87</section>
88</section>
89
90<section title="Processing Instructions" anchor="processing.instructions">
91<t>
92  All PIs can be set as XSLT parameter as well, overriding any value that
93  is found in the source file to be transformed.
94</t>
95<figure>
96<preamble>Using processing instructions:</preamble>
97<artwork type="example">
98&lt;?rfc toc="yes"?>
99&lt;?rfc-ext support-rfc2731="no"?>
100</artwork>
101</figure>
102<figure>
103<preamble>Using XSLT parameters (Saxon):</preamble>
104<artwork type="example">
105java -cp saxon.jar com.icl.saxon.StyleSheet source.xml rfc2629.xslt \
106  xml2rfc-toc=yes xml2rfc-ext-support-rfc2731=no > result.html
107</artwork>
108</figure>
109<figure>
110<preamble>Using XSLT parameters (xsltproc):</preamble>
111<artwork type="example">
112xsltproc --param xml2rfc-toc '"yes"' \
113   --param xml2rfc-ext-support-rfc2731 '"no"' \
114   rfc2629.xslt source.xml > result.html
115</artwork>
116<postamble>(note the required quoting of string parameters)<iref item="xsltproc" subitem="passing parameters"/></postamble>
117</figure>
118
119<section title="Supported xml2rfc-compatible PIs">
120<texttable>
121  <ttcol>PI target</ttcol>
122  <ttcol>PI pseudo-attribute</ttcol>
123  <ttcol>XSLT parameter name</ttcol>
124  <ttcol>default</ttcol>
125  <ttcol>comment</ttcol>
126
127  <c>rfc</c>
128  <c>background<iref item="background PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="background"/></c>
129  <c>xml2rfc-background<iref item="xml2rfc-background parameter"/> <iref item="Parameters" subitem="xml2rfc-background"/></c>
130  <c>(not set)</c>
131  <c/>
132 
133  <c>rfc</c>
134  <c>compact<iref item="compact PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="compact"/></c>
135  <c>xml2rfc-compact<iref item="xml2rfc-editing parameter"/> <iref item="Parameters" subitem="xml2rfc-compact"/></c>
136  <c>"no"</c>
137  <c>only applies to HTML output method when printing</c>
138
139  <c>rfc</c>
140  <c>comments<iref item="comments PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="comments"/></c>
141  <c>xml2rfc-comments<iref item="xml2rfc-comments parameter"/> <iref item="Parameters" subitem="xml2rfc-comments"/></c>
142  <c>(not set)</c>
143  <c/>
144
145  <c>rfc</c>
146  <c>editing<iref item="editing PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="editing"/></c>
147  <c>xml2rfc-editing<iref item="xml2rfc-editing parameter"/> <iref item="Parameters" subitem="xml2rfc-editing"/></c>
148  <c>"no"</c>
149  <c/>
150 
151  <c>rfc</c>
152  <c>footer<iref item="footer PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="footer"/></c>
153  <c>xml2rfc-footer<iref item="xml2rfc-footer parameter"/> <iref item="Parameters" subitem="xml2rfc-footer"/></c>
154  <c>(not set)</c>
155  <c/>
156 
157  <c>rfc</c>
158  <c>header<iref item="header PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="header"/></c>
159  <c>xml2rfc-header<iref item="xml2rfc-header parameter"/> <iref item="Parameters" subitem="xml2rfc-header"/></c>
160  <c>(not set)</c>
161  <c/>
162
163  <c>rfc</c>
164  <c>inline<iref item="inline PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="inline"/></c>
165  <c>xml2rfc-inline<iref item="xml2rfc-inline parameter"/> <iref item="Parameters" subitem="xml2rfc-inline"/></c>
166  <c>(not set)</c>
167  <c/>
168
169  <c>rfc</c>
170  <c>iprnotified<iref item="iprnotified PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="iprnotified"/></c>
171  <c>xml2rfc-iprnotified<iref item="xml2rfc-iprnotified parameter"/> <iref item="Parameters" subitem="xml2rfc-iprnotified"/></c>
172  <c>"no"</c>
173  <c/>
174
175  <c>rfc</c>
176  <c>linkmailto<iref item="linkmailto PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="linkmailto"/></c>
177  <c>xml2rfc-linkmailto<iref item="xml2rfc-linkmailto parameter"/> <iref item="Parameters" subitem="xml2rfc-linkmailto"/></c>
178  <c>"yes"</c>
179  <c/>
180 
181  <c>rfc</c>
182  <c>private<iref item="private PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="private"/></c>
183  <c>xml2rfc-private<iref item="xml2rfc-private parameter"/> <iref item="Parameters" subitem="xml2rfc-private"/></c>
184  <c>(not set)</c>
185  <c/>
186 
187  <c>rfc</c>
188  <c>rfcedstyle<iref item="rfcedstyle PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="rfcedstyle"/></c>
189  <c>xml2rfc-rfcedstyle<iref item="xml2rfc-rfcedstyle parameter"/> <iref item="Parameters" subitem="xml2rfc-rfcedstyle"/></c>
190  <c>(not set)</c>
191  <c>(limited support)</c>
192
193  <c>rfc</c>
194  <c>sortrefs<iref item="sortrefs PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="sortrefs"/></c>
195  <c>xml2rfc-sortrefs<iref item="xml2rfc-sortrefs parameter"/> <iref item="Parameters" subitem="xml2rfc-sortrefs"/></c>
196  <c>"no"</c>
197  <c/>
198 
199  <c>rfc</c>
200  <c>symrefs<iref item="symrefs PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="symrefs"/></c>
201  <c>xml2rfc-symrefs<iref item="xml2rfc-symrefs parameter"/> <iref item="Parameters" subitem="xml2rfc-symrefs"/></c>
202  <c>"yes"</c>
203  <c>The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</c>
204 
205  <c>rfc</c>
206  <c>toc<iref item="toc PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="toc"/></c>
207  <c>xml2rfc-toc<iref item="xml2rfc-toc parameter"/> <iref item="Parameters" subitem="xml2rfc-toc"/></c>
208  <c>"no"</c>
209  <c/>
210 
211  <c>rfc</c>
212  <c>tocdepth<iref item="tocdepth PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="tocdepth"/></c>
213  <c>xml2rfc-tocdepth<iref item="xml2rfc-tocdepth parameter"/> <iref item="Parameters" subitem="xml2rfc-tocdepth"/></c>
214  <c>99</c>
215  <c/>
216
217  <c>rfc</c>
218  <c>topblock<iref item="topblock PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="topblock"/></c>
219  <c>xml2rfc-topblock<iref item="xml2rfc-topblock parameter"/> <iref item="Parameters" subitem="xml2rfc-topblock"/></c>
220  <c>"yes"</c>
221  <c/>
222
223</texttable>
224</section>
225
226<section title="Unsupported xml2rfc-compatible PIs">
227<texttable>
228  <ttcol>PI target</ttcol>
229  <ttcol>PI pseudo-attribute</ttcol>
230  <ttcol>comment</ttcol>
231
232  <c>rfc</c>
233  <c>include<iref item="include PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="include"/></c>
234  <c>incompatible with XML/XSLT processing model</c>
235
236  <c>rfc</c>
237  <c>needLines<iref item="needLines PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="needLines"/></c>
238  <c/>
239
240  <c>rfc</c>
241  <c>slides<iref item="slides PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="slides"/></c>
242  <c/>
243
244  <c>rfc</c>
245  <c>strict<iref item="strict PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="strict"/></c>
246  <c/>
247
248  <c>rfc</c>
249  <c>subcompact<iref item="subcompact PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="subcompact"/></c>
250  <c/>
251
252  <c>rfc</c>
253  <c>tocindent<iref item="tocindent PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="tocindent"/></c>
254  <c>(defaults to "yes")</c>
255
256 <c>rfc</c>
257  <c>tocompact<iref item="tocompact PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="tocompact"/></c>
258  <c/>
259
260</texttable>
261</section>
262
263<section title="Extension PIs">
264<texttable>
265  <ttcol>PI target</ttcol>
266  <ttcol>PI pseudo-attribute</ttcol>
267  <ttcol>XSLT parameter name</ttcol>
268  <ttcol>default</ttcol>
269  <ttcol>description</ttcol>
270
271  <c>rfc-ext</c>
272  <c>allow-markup-in-artwork<iref item="allow-markup-in-artwork PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="allow-markup-in-artwork"/></c>
273  <c>xml2rfc-allow-markup-in-artwork<iref item="xml2rfc-ext-allow-markup-in-artwork parameter"/> <iref item="Parameters" subitem="xml2rfc-ext-allow-markup-in-artwork"/></c>
274  <c>"no"</c>
275  <c>Enables support for specific elements inside abstract elements (using this extension
276  makes the document incompatible to the RFC2629bis DTD; see description of
277  conversion XSLT in <xref target="clean-for-dtd"/>).</c>
278
279  <c>rfc-ext</c>
280  <c>authors-section<iref item="authors-section PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="authors-section"/></c>
281  <c>xml2rfc-ext-authors-section<iref item="xml2rfc-ext-authors-section parameter"/> <iref item="Parameters" subitem="xml2rfc-ext-authors-section"/></c>
282  <c></c>
283  <c>When "end", place the authors section at the end (just before the
284  copyright statements). This seems to be the preferred order in the
285  newest RFCs.</c>
286
287  <c>rfc-ext</c>
288  <c>include-references-in-index<iref item="include-references-in-index PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="include-references-in-index"/></c>
289  <c>xml2rfc-ext-include-references-in-index<iref item="xml2rfc-ext-include-references-in-index parameter"/> <iref item="Parameters" subitem="xml2rfc-ext-include-references-in-index"/></c>
290  <c></c>
291  <c>When set to "yes", index entries are generated for all references.</c>
292
293  <c>rfc-ext</c>
294  <c>justification<iref item="justification PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="ijustification"/></c>
295  <c>xml2rfc-ext-justification<iref item="xml2rfc-ext-justification parameter"/> <iref item="Parameters" subitem="xml2rfc-ext-justification"/></c>
296  <c>"never"</c>
297  <c>"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</c>
298
299  <c>rfc-ext</c>
300  <c>parse-xml-in-artwork<iref item="parse-xml-in-artwork PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="parse-xml-in-artwork"/></c>
301  <c>xml2rfc-parse-xml-in-artwork<iref item="xml2rfc-ext-parse-xml-in-artwork parameter"/> <iref item="Parameters" subitem="xml2rfc-ext-parse-xml-in-artwork"/></c>
302  <c>"no"</c>
303  <c>May be used to enable parsing of XML content in figures (MSXML only).</c>
304
305  <c>rfc-ext</c>
306  <c>support-rfc2731<iref item="support-rfc2731 PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="support-rfc2731"/></c>
307  <c>xml2rfc-ext-support-rfc2731<iref item="xml2rfc-ext-support-rfc2731 parameter"/> <iref item="Parameters" subitem="xml2rfc-ext-support-rfc2731"/></c>
308  <c>"yes"</c>
309  <c>Decides whether the HTML transformation should generate META tags according <xref target="rfc2731.properties"/>.</c>
310
311  <c>rfc-ext</c>
312  <c>sec-no-trailing-dots<iref item="sec-no-trailing-dots PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="sec-no-trailing-dots"/></c>
313  <c>xml2rfc-ext-sec-no-trailing-dots<iref item="xml2rfc-ext-sec-no-trailing-dots parameter"/> <iref item="Parameters" subitem="xml2rfc-ext-sec-no-trailing-dots"/></c>
314  <c></c>
315  <c>When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the
316  newest RFCs.</c>
317
318</texttable>
319</section>
320
321</section>
322
323<section title="Anchors" anchor="anchors">
324<t>
325  The transformation automatically generates anchors that are supposed to
326  be stable and predictable and that can be used to identify specific
327  parts of the document. Anchors are generated both in HTML and XSL-FO
328  content (but the latter will only be used for PDF output when the XSL-FO
329  engine supports producing PDF anchors).
330</t>
331<texttable>
332<preamble>The following anchors get auto-generated:</preamble>
333<ttcol>Anchor name</ttcol><ttcol>Description</ttcol>
334
335  <c>rfc.abstract <iref item="rfc.abstract anchor"/><iref item="Anchors" subitem="rfc.abstract"/></c><c>Abstract</c>
336  <c>rfc.authors <iref item="rfc.authors anchor"/><iref item="Anchors" subitem="rfc.authors"/></c><c>Authors section</c>
337  <c>rfc.copyright <iref item="rfc.copyright anchor"/><iref item="Anchors" subitem="rfc.copyright"/></c><c>Copyright section</c>
338  <c>rfc.copyrightnotice <iref item="rfc.copyrightnotice anchor"/><iref item="Anchors" subitem="rfc.copyrightnotice"/></c><c>Copyright notice</c>
339  <c>rfc.figure.<spanx>n</spanx> <iref item="rfc.figure.n anchor"/><iref item="Anchors" subitem="rfc.figure.n"/></c><c>Figures (titled)</c>
340  <c>rfc.figure.u.<spanx>n</spanx> <iref item="rfc.figure.u.n anchor"/><iref item="Anchors" subitem="rfc.figure.u.n"/></c><c>Figures (untitled)</c>
341  <c>rfc.index <iref item="rfc.index anchor"/><iref item="Anchors" subitem="rfc.index"/></c><c>Index</c>
342  <c>rfc.ipr <iref item="rfc.ipr anchor"/><iref item="Anchors" subitem="rfc.ipr"/></c><c>Intellectual Property</c>
343  <c>rfc.iref.<spanx>n</spanx> <iref item="rfc.iref.n anchor"/><iref item="Anchors" subitem="rfc.iref.n"/></c><c>Internal references</c>
344  <c>rfc.note.<spanx>n</spanx> <iref item="rfc.note.n anchor"/><iref item="Anchors" subitem="rfc.note.n"/></c><c>Notes (from front section)</c>
345  <c>rfc.references <iref item="rfc.references anchor"/><iref item="Anchors" subitem="rfc.references"/></c><c>References</c>
346  <c>rfc.references.<spanx>n</spanx> <iref item="rfc.references.n anchor"/><iref item="Anchors" subitem="rfc.references"/></c><c>Additional references</c>
347  <c>rfc.section.<spanx>n</spanx> <iref item="rfc.section.n anchor"/><iref item="Anchors" subitem="rfc.section.n"/></c><c>Section <spanx>n</spanx></c>
348  <c>rfc.section.<spanx>n</spanx>.p.<spanx>m</spanx> <iref item="rfc.section.n.p.m anchor"/><iref item="Anchors" subitem="rfc.section.n.p.m"/></c><c>Section <spanx>n</spanx>, paragraph <spanx>m</spanx></c>
349  <c>rfc.status <iref item="rfc.status anchor"/><iref item="Anchors" subitem="rfc.status"/></c><c>Status of memo</c>
350  <c>rfc.table.<spanx>n</spanx> <iref item="rfc.figure.n anchor"/><iref item="Anchors" subitem="rfc.figure.n"/></c><c>Tables (titled)</c>
351  <c>rfc.table.u.<spanx>n</spanx> <iref item="rfc.figure.u.n anchor"/><iref item="Anchors" subitem="rfc.figure.u.n"/></c><c>Tables (untitled)</c>
352  <c>rfc.toc <iref item="rfc.toc anchor"/><iref item="Anchors" subitem="rfc.toc"/></c><c>Table of contents</c>
353  <c>rfc.xref.<spanx>name</spanx>.<spanx>n</spanx> <iref item="rfc.xref.name.n anchor"/><iref item="Anchors" subitem="rfc.xref.name.n"/></c><c>References to reference <spanx>n</spanx> to <spanx>name</spanx></c>
354
355</texttable>
356</section>
357
358<section title="Supported XSLT engines" anchor="xslt.engines">
359<t>
360  The transformation requires a non-standard extension function (see <eref target="http://www.exslt.org/exsl/functions/node-set/exsl.node-set.html">
361  exsl:node-set</eref>)
362  which is however widely available. XSLT processors that do not support this
363  extension (or a functional equivalent) currently are not supported.
364</t>
365<section title="Standalone Engines">
366<t>
367  The following XSLT engines are believed to work well:
368  <list style="symbols">
369    <t><iref item="MSXML3"/><iref item="MSXML4"/>MSXML3 and MSXML4 (<eref target="http://msdn.microsoft.com/xml"/>; these processors
370    do not support exsl:node-set(), but have a similar proprietary extension)</t>
371    <t><iref item="Saxon"/>Saxon (<eref target="http://saxon.sourceforge.net/"/>)</t>
372    <t><iref item="Xalan"/>Xalan (<eref target="http://xml.apache.org/xalan-j/"/>)</t>
373    <t><iref item="xsltproc"/>xsltproc (libxslt) (<eref target="http://xmlsoft.org/XSLT/"/>, make sure that you
374    have a current version)</t>
375  </list>
376</t>
377</section>
378
379<section title="In-Browser Engines">
380<t>
381  The following browsers seem to work fine:
382  <list style="symbols">
383    <t><iref item="Internet Explorer 5.5"/>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</t>
384    <t><iref item="Internet Explorer 6"/>Internet Explorer 6</t>
385    <t><iref item="Internet Explorer 7"/>Internet Explorer 7</t>
386    <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.0</t>
387    <t><iref item="Safari"/><iref item="Safari" subitem="3.*"/>Safari 3 (starting with version 3.0.4)</t>
388    <t><iref item="Google Chrome"/>Google Chrome (beta available)</t>
389    <t><iref item="Opera"/>Opera 10 (alpha version available)</t>
390  </list>
391</t>
392<t>
393  The following browsers are known not to work properly:
394  <list style="symbols">
395    <t anchor="firefox12"><iref item="Mozilla"/><iref item="Firefox" subitem="1.*/2.*"/>Firefox 1.*/2.*: (missing extension function - see change request at Mozilla BugZilla
396    <eref target="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</eref>)</t>
397    <t anchor="opera"><iref item="Opera"/>Opera 9.21: execution fails, potentially
398    to a somewhat complex XPath expression (reported to Opera as bug 245725).</t>
399    <t>Opera 9.5 and 9.6:
400    transformation appears to work, but CSS isn't getting applied (reported to Opera as bug 337388 on 2008-06-12).</t>
401    <t anchor="safari"><iref item="Safari"/>Safari 2.* supports client-side XSLT as of MacOS X 10.4,
402    but misses required extension functions. A problem
403    with stylesheets producing non-ASCII output (such as NBSP characters)
404    has been fixed as of OSX 10.4.4. Both
405    problems have been reported through Apple's bug tracking system, see
406    <eref target="http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html"/> and
407    <eref target="http://bugs.webkit.org/show_bug.cgi?id=4079"/>.
408    </t>
409  </list>
410</t>
411</section>
412
413</section>
414
415<section title="Transforming to HTML" anchor="output.html">
416<t>
417  Transformation to HTML can be done inside the browser if it supports
418  XSLT. To enable this, add the following processing instruction to
419  the start of the source file:
420</t>
421<iref item="xml-stylesheet PI"/>
422<figure><artwork type="example">
423  &lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
424</artwork></figure>
425<t>
426  (and ensure that <spanx style="verb">rfc2629.xslt</spanx> is present).
427</t>
428
429<section title="HTML compliance">
430<t>
431  The transformation result is supposed to conform to the HTML 4.01 strict
432  DTD <xref target="HTML"/>. This can be checked using the W3C's online
433  validator at <eref target="http://validator.w3.org" /><iref item="HTML compliance"/>.
434</t>
435</section>
436
437<section title="Standard HTML LINK elements" anchor="html.link">
438<t>
439  LINK elements exist since HTML 2.0. They can be used to embed content-independant
440  links inside the document. Unfortunately, only few user agents
441  support this element. Firefox users may want to check the
442  <eref target="https://addons.mozilla.org/firefox/2933/">Link Widgets</eref>
443  extension.
444</t>
445<texttable>
446<preamble>The following LINK elements are produced:</preamble>
447
448  <ttcol>LINK type</ttcol>
449  <ttcol>description</ttcol>
450 
451  <c>alternate<iref item="alternate HTML LINK element"/><iref item="HTML LINK elements" subitem="alternate"/></c><c>for RFCs, a link to the authorative ASCII version on the IETF web site</c>
452  <c>appendic<iref item="appendix HTML LINK element"/><iref item="HTML LINK elements" subitem="appendix"/></c><c>pointer to all top-level appendics</c>
453  <c>author<iref item="author HTML LINK element"/><iref item="HTML LINK elements" subitem="author"/></c><c>pointer to "authors" section</c>
454  <c>chapter<iref item="chapter HTML LINK element"/><iref item="HTML LINK elements" subitem="chapter"/></c><c>pointer to all top-level sections</c>
455  <c>contents<iref item="contents HTML LINK element"/><iref item="HTML LINK elements" subitem="contents"/></c><c>pointer to table of contents</c>
456  <c>copyright<iref item="copyright HTML LINK element"/><iref item="HTML LINK elements" subitem="copyright"/></c><c>pointer to copyright statement</c>
457  <c>index<iref item="index HTML LINK element"/><iref item="HTML LINK elements" subitem="index"/></c><c>pointer to index</c>
458
459</texttable>
460<figure>
461<preamble>
462The figure below shows how Mozilla Firefox 1.0 displays the Site Navigation Bar
463for rfc2396.xml.
464</preamble>
465<artwork src="rfc2629xslt-fig1.png" height="235" width="509" type="image/png">
466(LINK elements displayed in Mozilla Firefox for RFC2396.xml)
467</artwork>
468</figure>
469
470</section>
471
472
473<section title="Standard HTML metadata">
474<texttable>
475<preamble>The following standard HTML META elements are produced:</preamble>
476
477  <ttcol>META name</ttcol>
478  <ttcol>description</ttcol>
479 
480  <c>generator<iref item="generator HTML META element"/><iref item="HTML META elements" subitem="generator"/></c><c>from XSLT engine version and stylesheet version</c>
481  <c>keywords<iref item="keywords HTML META element"/><iref item="HTML META elements" subitem="keywords"/></c><c>from keyword elements in front section</c>
482
483</texttable>
484</section>
485
486
487<section title="Dublin Core (RFC2731) metadata" anchor="rfc2731.properties">
488<t>
489  Unless turned off using the "rfc-ext support-rfc2731" processing
490  instruction, the transformation will generate metadata according to
491  <xref target="RFC2731"/>.
492</t>
493<texttable>
494<preamble>The following DCMI properties are produced:</preamble>
495
496  <ttcol>META name</ttcol>
497  <ttcol>description</ttcol>
498 
499  <c>DC.Creator<iref item="Creator DCMI property"/><iref item="DCMI properties" subitem="Creator"/></c><c>from author information in front section</c>
500  <c>DC.Date.Issued<iref item="Date.Issued DCMI property"/><iref item="DCMI properties" subitem="Date.Issued"/></c><c>from date information in front section</c>
501  <c>DC.Description.Abstract<iref item="Description.Abstract DCMI property"/><iref item="DCMI properties" subitem="Description.Abstract"/></c><c>from abstract</c>
502  <c>DC.Identifier<iref item="Identifier DCMI property"/><iref item="DCMI properties" subitem="Identifier"/></c><c>document URN <xref target="RFC2648" /> from "docName" attribute</c>
503  <c>DC.Relation.Replaces<iref item="Relation.Replaces DCMI property"/><iref item="DCMI properties" subitem="Relation.Replaces"/></c><c>from "obsoletes" attribute</c>
504
505</texttable>
506</section>
507
508<section title="Experimental hCard support" anchor="hcard">
509<t>
510  The generated author information is formatted in <eref target="http://microformats.org/wiki/hcard">hCard</eref>
511  format.
512</t>
513</section>
514
515
516</section>
517
518<section title="Transforming to XHTML" anchor="output.xhtml">
519<t>
520  Transforming to XHTML requires slightly different XSLT output options and
521  is implemented by the derived transformation script <spanx style="verb">rfc2629toXHTML.xslt</spanx>.
522</t>
523<t><list><t>
524  <x:h>Note:</x:h> Microsoft Internet Explorer does <spanx>not</spanx> support XHTML.
525  Therefore it usually makes more sense to generate plain old HTML.
526</t></list></t>
527</section>
528
529<section title="Transforming to CHM (Microsoft Compiled Help)" anchor="output.chm">
530<t>
531  <iref item="CHM format"/>
532  <iref item="Microsoft Help"/>
533  To generate a CHM file using Microsoft's HTML Help Compiler (hhc), three
534  files are required in addition to the HTML file.
535  <list style="numbers">
536    <t>hhc - table of contents file (HTML)</t>
537    <t>hhk - index file (HTML)</t>
538    <t>hhp - project file (plain text)</t>
539  </list> 
540</t>
541<t>
542  The three files are generated with three specific transformations, each
543  requiring the additional XSLT parameter "basename" to specify the filename
544  prefix.
545</t>
546<figure>
547<preamble>Example:</preamble>
548<artwork type="example">
549saxon rfc2616.xml rfc2629toHhp.xslt basename=rfc2616  > rfc2616.hhp
550saxon rfc2616.xml rfc2629toHhc.xslt basename=rfc2616  > rfc2616.hhc
551saxon rfc2616.xml rfc2629toHhk.xslt basename=rfc2616  > rfc2616.hhk
552hhc rfc2616.hhp
553</artwork>
554</figure>
555</section>
556
557<section title="Transforming to PDF" anchor="output.pdf">
558
559<section title="Via XSL-FO" anchor="output.pdf.fop">
560<t>
561  Transformation to XSL-FO <xref target="XSL-FO"/> format is available through
562  <spanx style="verb">rfc2629toFO.xslt</spanx> (which includes <spanx style="verb">rfc2629.xslt</spanx>, so keep both in the
563  same folder).
564</t>
565<t>
566  Compared to HTML user agents, XSL-FO engines unfortunately either come
567  as open source (for instance, <iref item="Apache FOP"/>Apache FOP) or
568  feature-complete (for instance, <iref item="AntennaHouse XSL Formatter"/>
569  AntennaHouse XSL Formatter), but not both at the same time.
570</t>
571<t>
572  As Apache FOP needs special workarounds (page breaking, table layout), and
573  some popular extensions aren't standardized yet, the translation produces
574  a generic output (hopefully) conforming to <xref target="XSL-FO"/>.
575  Specific backends (<spanx style="verb">xsl11toFop.xslt</spanx>,
576  <spanx style="verb">xsl11toXep.xslt</spanx>, <spanx style="verb">xsl11toAn.xslt</spanx>)
577  then provide post-processing for the individual processors.
578</t>
579<x:note>
580  <t>
581    <x:h>Note:</x:h>
582    the output is currently targeted at Apache FOP 0.95.
583  </t>
584</x:note>
585
586<section title="Extension feature matrix">
587<texttable>
588  <ttcol/>
589  <ttcol align="center" width="20%">PDF anchors</ttcol>
590  <ttcol align="center" width="20%">PDF bookmarks</ttcol>
591  <ttcol align="center" width="20%">PDF document information</ttcol>
592  <ttcol align="center" width="20%">Index cleanup</ttcol>
593 
594  <c><eref target="http://www.w3.org/TR/2003/WD-xsl11-20031217/">XSL 1.1 WD</eref></c>
595  <c>no, but can be auto-generated from "id" attributes</c> 
596  <c><eref target="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12873">yes</eref></c>
597  <c>no, but uses XEP output extensions</c>
598  <c><eref target="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12534">yes</eref></c>
599
600  <c><eref target="http://www.antennahouse.com/">Antenna House XSL formatter</eref></c>
601  <c>no</c>
602  <c><eref target="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</eref> (from XSL 1.1 bookmarks)</c>
603  <c><eref target="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</eref> (from XEP document info)</c>
604  <c><eref target="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</eref> (just page duplicate elimination, from XSL 1.1 page index)</c>
605
606  <c><eref target="http://xml.apache.org/fop/">Apache FOP</eref></c>
607  <c><eref target="http://xml.apache.org/fop/extensions.html#named-destinations">yes</eref></c>
608  <c><eref target="http://xml.apache.org/fop/extensions.html#bookmarks">yes</eref> (from XSL 1.1 bookmarks)</c>
609  <c><eref target="http://xmlgraphics.apache.org/fop/0.95/metadata.html#xmp-in-fo">yes</eref></c>
610  <c>no</c>
611
612  <c><eref target="http://xep.xattic.com/">RenderX XEP</eref></c>
613  <c>no</c>
614  <c><eref target="http://xep.xattic.com/xep/spec.html">yes</eref> (from XSL 1.1 bookmarks)</c>
615  <c><eref target="http://xep.xattic.com/xep/spec.html">yes</eref></c>
616  <c><eref target="http://xep.xattic.com/xep/spec.html">yes</eref> (from XSL 1.1 page index)</c>
617
618</texttable>
619</section>
620
621<section title="Example: producing output for Apache FOP">
622<figure>
623<preamble>Example:</preamble>
624<artwork type="example">
625saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo
626saxon tmp.fo xsl11toFop.xslt > rfc2629.fo
627</artwork>
628</figure>
629</section>
630</section>
631
632<section title="Via X(HTML)" anchor="output.pdf.html">
633<t>
634  PDF output can also be produced directly from (X)HTML. One simple approach
635  is to rely on the browser's printing function, and to use a printer driver
636  that produces PDF. Depending on the brower's CSS capabilities, the output
637  will behave properly with respect to table breaks etc.
638</t>
639<t>
640  An alternative is PrinceXML (see <eref target="http://www.princexml.com/"/>),
641  which can produce PDF directly from (X)HTML input, based on the CSS printing
642  information.
643</t>
644<figure>
645  <preamble>
646    For instance, PDF output with text justification turned on can be
647    produced with:
648  </preamble>
649  <artwork type="example">
650saxon input.xml rfc2629toXHTML.xslt xml2rfc-ext-justification=print \
651  > output.xhtml
652prince output.xhtml output.pdf</artwork>
653</figure>
654</section>
655
656</section>
657
658<section title="Generic Extensions" anchor="extensions">
659<t>
660  This section documents extensions implemented in
661  <spanx style="verb">rfc2629.xslt</spanx>, using the extension
662  namespace "http://purl.org/net/xml2rfc/ext".
663</t>
664
665<section title="&lt;abnf-char-sequence> element" anchor="ext.element.abnf-char-sequence">
666  <iref item="Extension Elements" subitem="abnf-char-sequence" primary="true"/>
667  <iref item="abnf-char-sequence Extension Element" primary="true"/>
668  <x:anchor-alias value="abnf-char-sequence"/>
669  <t>
670    Converts the contained quoted string into a hex-encoded character
671    sequence, for use in case-sensitive ABNF productions.
672  </t>
673  <t>
674    For instance, "&lt;x:abnf-char-sequence>"HTTP"&lt;/x:abnf-char-sequence>"
675    gets converted to "<x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence>".
676  </t>
677</section>
678
679<section title="&lt;anchor-alias> element" anchor="ext.element.anchor-alias">
680  <iref item="Extension Elements" subitem="anchor-alias" primary="true"/>
681  <iref item="anchor-alias Extension Element" primary="true"/>
682  <x:anchor-alias value="anchor-alias"/>
683  <t>
684    Using its "value" attribute, this element allows the definition of an
685    internal link target alias for the enclosing element. This alias can
686    then be used with the &lt;<x:ref>ref</x:ref>> element for intra-document
687    references.
688  </t>
689  <t>
690    Note that the anchor alias is not subject to the naming constraints that
691    apply to anchor elements (which are <eref target="http://www.w3.org/TR/REC-xml/#NT-Name">XML
692    names</eref>).
693  </t>
694</section>
695
696<!--<section title="&lt;include-author> element" anchor="ext.element.include-author">
697  <iref item="Extension Elements" subitem="include-author" primary="true"/>
698  <iref item="include-author Extension Element" primary="true"/>
699  <x:anchor-alias value="include-author"/>
700  <t>
701    This element can be used to include an author's contact information in
702    place where a paragraphj (&lt;t>) would be allowed otherwise.
703  </t>
704</section> -->
705
706<section title="&lt;bcp14> element" anchor="ext.element.bcp14">
707  <iref item="Extension Elements" subitem="bcp14" primary="true"/>
708  <iref item="bcp14 Extension Element" primary="true"/>
709  <x:anchor-alias value="bcp14"/>
710  <t>
711    This element marks the content as being one of the normative keywords
712    defined in <xref target="RFC2119"/>.
713  </t>
714  <figure>
715    <preamble>
716      The DOCTYPE definition below allows using these keywords using XML
717      entity expansion: such as in "...server &amp;MUST; accept...".
718    </preamble>
719    <artwork type="example">
720&lt;!DOCTYPE rfc [
721 &lt;!ENTITY MAY "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
722   >MAY&lt;/bcp14>">
723 &lt;!ENTITY MUST "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
724   >MUST&lt;/bcp14>">
725 &lt;!ENTITY MUST-NOT "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
726   >MUST NOT&lt;/bcp14>">
727 &lt;!ENTITY OPTIONAL "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
728   >OPTIONAL&lt;/bcp14>">
729 &lt;!ENTITY RECOMMENDED "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
730   >RECOMMENDED&lt;/bcp14>">
731 &lt;!ENTITY REQUIRED "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
732   >REQUIRED&lt;/bcp14>">
733 &lt;!ENTITY SHALL "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
734   >SHALL&lt;/bcp14>">
735 &lt;!ENTITY SHALL-NOT "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
736   >SHALL NOT&lt;/bcp14>">
737 &lt;!ENTITY SHOULD "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
738   >SHOULD&lt;/bcp14>">
739 &lt;!ENTITY SHOULD-NOT "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
740   >SHOULD NOT&lt;/bcp14>">]></artwork>
741  </figure>
742</section>
743
744<section title="&lt;bb> element" anchor="ext.element.bb">
745  <iref item="Extension Elements" subitem="bb" primary="true"/>
746  <iref item="bb Extension Element" primary="true"/>
747  <x:anchor-alias value="bb"/>
748  <t>
749    Marking up a string as &lt;bb> indicates that it represents the bottom
750    line of a box drawing, replacing the "+" and "-" characters accordingly.
751  </t>
752</section>
753
754<section title="&lt;bc> element" anchor="ext.element.bc">
755  <iref item="Extension Elements" subitem="bc" primary="true"/>
756  <iref item="bc Extension Element" primary="true"/>
757  <x:anchor-alias value="bc"/>
758  <t>
759    Marking up a string as &lt;bc> indicates that it represents a center
760    line of a box drawing, replacing the "|" character accordingly.
761  </t>
762</section>
763
764<section title="&lt;blockquote> element" anchor="ext.element.blockquote">
765  <iref item="Extension Elements" subitem="blockquote" primary="true"/>
766  <iref item="blockquote Extension Element" primary="true"/>
767  <x:anchor-alias value="blockquote"/>
768  <t>
769    This element is like the "<eref target="http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE">blockquote</eref>" element in <xref target="HTML"/> 
770    (note this is a block-level element!). It should contain one or more
771    &lt;t> child elements.
772  </t>
773</section>
774
775<section title="&lt;boilerplate> element" anchor="ext.element.boilerplate">
776  <iref item="Extension Elements" subitem="boilerplate" primary="true"/>
777  <iref item="boilerplate Extension Element" primary="true"/>
778  <x:anchor-alias value="boilerplate"/>
779  <t>
780    Can be used to include boilerplate (status, copyright, ...) into the
781    front or back section. &lt;section> elements within &lt;x:boilerplate>
782    appear as unnumbered sections in the output.
783  </t>
784  <t>
785    <spanx>This element currently can not be "down-translated" for use
786    in xml2rfc!</spanx>
787  </t>
788</section>
789
790<section title="&lt;bt> element" anchor="ext.element.bt">
791  <iref item="Extension Elements" subitem="bt" primary="true"/>
792  <iref item="bt Extension Element" primary="true"/>
793  <x:anchor-alias value="bt"/>
794  <t>
795    Marking up a string as &lt;bt> indicates that it represents the top
796    line of a box drawing, replacing the "+" and "-" characters accordingly.
797  </t>
798</section>
799
800<section title="&lt;dfn> element" anchor="ext.element.dfn">
801  <iref item="Extension Elements" subitem="dfn" primary="true"/>
802  <iref item="dfn Extension Element" primary="true"/>
803  <x:anchor-alias value="dfn"/>
804  <t>
805    This element is like the "<eref target="http://www.w3.org/TR/html401/struct/text.html#edef-DFN">dfn</eref>" element in <xref target="HTML"/>.
806  </t>
807</section>
808
809<section title="&lt;h> element" anchor="ext.element.h">
810  <iref item="Extension Elements" subitem="h" primary="true"/>
811  <iref item="h Extension Element" primary="true"/>
812  <x:anchor-alias value="h"/>
813  <t>
814    This element is like the "<eref target="http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-structural.html#edef_structural_h">h</eref>" element in <xref target="XHTML2"/>.
815  </t>
816</section>
817
818<section title="&lt;highlight> element" anchor="ext.element.highlight">
819  <iref item="Extension Elements" subitem="highlight" primary="true"/>
820  <iref item="highlight Extension Element" primary="true"/>
821  <x:anchor-alias value="highlight"/>
822  <t>
823    Used to highlight text passages, currently only allowed in &lt;artwork>.
824  </t>
825  <t>
826    <x:h>Note:</x:h> this is stripped when generating input for xml2rfc,
827    so please use with care.
828  </t>
829</section>
830
831<section title="&lt;length-of> element" anchor="ext.element.length-of">
832  <iref item="Extension Elements" subitem="length-of" primary="true"/>
833  <iref item="length-of Extension Element" primary="true"/>
834  <x:anchor-alias value="length-of"/>
835  <t>
836    This element can be used to insert the length of another formatted
837    section (in decimal).
838  </t>
839  <figure>
840    <preamble>Example: computing the Content-Length header value</preamble>
841    <artwork type="example">
842&lt;artwork>
843...
844Content-Length: &lt;x:length-of target="req"/>
845 
846&lt;x:span anchor="req">123456789
847&lt;x:span>&lt;artwork/>
848</artwork>
849  </figure>
850  <t>
851    The lenght computation counts line ends as two characters (CRLF).
852  </t>
853  <t>
854    Note that indentation characters in artwork <spanx>will</spanx> be
855    counted. The "indented" attribute allows to specify the amount of
856    indentation to be substracted from the computed length.
857  </t>
858</section>
859
860<section title="&lt;link> element" anchor="ext.element.link">
861  <iref item="Extension Elements" subitem="link" primary="true"/>
862  <iref item="link Extension Element" primary="true"/>
863  <x:anchor-alias value="link"/>
864  <t>
865    This element can be added as a top-level child element below
866    &lt;rfc> to indicate additional link information. It's currently
867    used only when generating HTML output, in which case an HTML
868    <eref target="http://www.w3.org/TR/html4/struct/links.html#edef-LINK">&lt;link></eref> element with identical attributes gets generated.
869  </t>
870  <figure>
871    <preamble>Example: generating HTML link element</preamble>
872    <artwork type="example">
873        &lt;x:link xmlns="http://purl.org/net/xml2rfc/ext"
874            rel="Bookmark"
875            title="IETF WEBDAV Working Group"
876            href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/></artwork>
877  </figure>
878</section>
879
880<section title="&lt;lt> element" anchor="ext.element.lt">
881  <iref item="Extension Elements" subitem="lt" primary="true"/>
882  <iref item="lt Extension Element" primary="true"/>
883  <x:anchor-alias value="lt"/>
884  <t>
885    Used for grouping multiple &lt;t&gt; elements into a single list item.
886  </t>
887</section>
888
889<section title="&lt;note> element" anchor="ext.element.note">
890  <iref item="Extension Elements" subitem="note" primary="true"/>
891  <iref item="note Extension Element" primary="true"/>
892  <x:anchor-alias value="note"/>
893  <t>
894    Can be used to add a note, usually indented by a few characters.
895    It should contain one or more &lt;t> child elements.
896  </t>
897</section>
898
899<section title="&lt;parse-xml> element" anchor="ext.element.parse-xml">
900  <iref item="Extension Elements" subitem="parse-xml" primary="true"/>
901  <iref item="parse-xml Extension Element" primary="true"/>
902  <x:anchor-alias value="parse-xml"/>
903  <t>
904    This element instructs the processor to parse the contents as XML and
905    to warn when there's a problem (requires either MSXML or Saxon8 or newer).
906  </t>
907</section>
908
909<section title="&lt;q> element" anchor="ext.element.q">
910  <iref item="Extension Elements" subitem="q" primary="true"/>
911  <iref item="q Extension Element" primary="true"/>
912  <x:anchor-alias value="q"/>
913  <t>
914    This element is like the "<eref target="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</eref>" element in <xref target="HTML"/>.
915  </t>
916</section>
917
918<section title="&lt;ref> element" anchor="ext.element.ref">
919  <iref item="Extension Elements" subitem="ref" primary="true"/>
920  <iref item="ref Extension Element" primary="true"/>
921  <x:anchor-alias value="ref"/>
922  <t>
923    This element is a simplified variant of the &lt;xref> element, in that
924    no "target" attribute needs to be specified, instead the text contents
925    acts as identifier.  That in itself wouldn't be terribly useful,
926    but together with the &lt;<x:ref>anchor-alias</x:ref>>, it allows
927    referring to other parts of the document with minimal additional markup.
928  </t>
929  <t>
930    For instance, given an alias definition such as
931  </t>
932  <figure>
933    <artwork type="example">
934      &lt;section title="Test" anchor="test">
935        &lt;x:anchor-alias value="alias1"/>
936        &lt;x:anchor-alias value="alias 2"/>
937        ...
938      &lt;/section></artwork>
939  </figure>
940  <t>
941    the following simple references
942  </t>
943  <figure>
944    <artwork type="example">
945      &lt;x:ref>test&lt;/x:ref>
946      &lt;x:ref>alias1&lt;/x:ref>
947      &lt;x:ref>alias 2&lt;/x:ref></artwork>
948  </figure>
949  <t>
950    are equivalent to...:
951  </t>
952  <figure>
953    <artwork type="example">
954      &lt;xref target="test">test&lt;/xref>
955      &lt;xref target="test">alias1&lt;/xref>
956      &lt;xref target="test">alias 2&lt;/xref></artwork>
957  </figure>
958</section>
959
960<section title="&lt;source> element" anchor="ext.element.source">
961  <iref item="Extension Elements" subitem="source" primary="true"/>
962  <iref item="source Extension Element" primary="true"/>
963  <x:anchor-alias value="source"/>
964  <t>
965    Can be used to enhance a &lt;reference> with information about the
966    location for the XML source. This can be used by the &lt;xref>
967    processing code to automatically extract the target section number.
968  </t>
969  <figure>
970    <preamble>
971      For example:
972    </preamble>
973    <artwork type="example">
974      ...
975      &lt;xref target="RFC2616" x:fmt="of" x:rel="#PUT" />
976      ...
977   
978      &lt;reference target="RFC2616"/>
979        ...
980        &lt;x:source href="rfc2616.xml"/>
981        ...
982    </artwork>
983  </figure>
984</section>
985
986<section title="&lt;sup> element" anchor="ext.element.sup">
987  <iref item="Extension Elements" subitem="sup" primary="true"/>
988  <iref item="sup Extension Element" primary="true"/>
989  <x:anchor-alias value="sup"/>
990  <t>
991    This element is like the "<eref target="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</eref>" element in <xref target="HTML"/>.
992  </t>
993  <t>
994    Note: the down conversion to RFC2629 format replaces
995    "x<x:sup>y</x:sup>" by "x^y".
996  </t>
997</section>
998
999<section title="Extensions to Xml2rfc &lt;artwork&gt; element" anchor="ext-rfc2629.artwork">
1000<t>
1001  Sometimes, artwork occurs inside lists. To get it indent properly in xml2rfc's
1002  text output, it needs to be indented in the source. This is sub-optimal, as
1003  this whitespace will also appear in the HTML output, where it's already
1004  indented due to HTML's semantics.
1005</t>
1006<t>
1007  As a workaround, a "x:indent-with" attribute can be specified, containing
1008  a string that will be prepended to each line when <spanx style="verb">clean-for-DTD.xslt</spanx>
1009  is run (see <xref target="clean-for-dtd"/>).
1010</t>
1011</section>
1012
1013<section title="Extensions to Xml2rfc &lt;iref&gt; element" anchor="ext-rfc2629.iref">
1014<t>
1015  The extension attribute below is allowed on the standard &lt;iref&gt; element:
1016  <list style="symbols">
1017    <t>x:for-anchor specifies that the &lt;iref&gt; will also be automatically
1018    inserted whenever the specified anchor is cross-referenced -- this may
1019    save entering lots of &lt;iref&gt; instances. As a special case, a value of
1020    "" (empty string) refers to the anchor attribute of the closest ancestor.</t>
1021  </list>
1022</t>
1023</section>
1024
1025<section title="Extensions to Xml2rfc &lt;list&gt; element" anchor="ext-rfc2629.list">
1026<t>
1027  The extension attribute below is allowed on the standard &lt;list&gt; element:
1028  <list style="symbols">
1029    <t>x:indent specifies the amount of indentation for list items in hanging
1030    lists. This can be useful when the output format, such as XSL-FO, does not
1031    support automatical formatting. The value takes an XSL-FO width, such as "5em".
1032    The default is <spanx>length of longest label in characters</spanx> times
1033    <spanx>0.8em</spanx>.</t>
1034  </list>
1035</t>
1036<t>
1037  Also, the &lt;list&gt; element can take &lt;x:<x:ref>lt</x:ref>&gt; child elements instead of
1038  &lt;t&gt;, allowing to insert multiple paragraphs into a single list item.
1039</t>
1040</section>
1041
1042<section title="Extensions to Xml2rfc &lt;rfc&gt; element" anchor="ext-rfc2629.rfc">
1043<t>
1044  The extension attributes below are allowed on the standard &lt;rfc&gt; element:
1045  <list style="symbols">
1046    <t>grddl:transformation can be used to reference a GRDDL transform.</t>
1047    <t>x:maturiy-level can be used to specify the IETF Standards Track
1048    Maturity Level of "proposed", "draft" or "internet" (see <xref target="RFC2026" x:fmt="of" x:sec="4.1"/>).</t>
1049  </list>
1050</t>
1051</section>
1052
1053<section title="Extensions to Xml2rfc &lt;section&gt; element" anchor="ext-rfc2629.section">
1054<t>
1055  The extension attribute below is allowed on the standard &lt;list&gt; element:
1056  <list style="symbols">
1057    <t>x:fixed-section-number can be used to specify a fixed section number.
1058    This can be useful when formatting historic documents that used a different
1059    numbering style.</t>
1060  </list>
1061</t>
1062</section>
1063
1064<section title="Extensions to Xml2rfc &lt;xref&gt; element" anchor="ext-rfc2629.xref">
1065<t>
1066  Three extension attributes are allowed on the standard &lt;xref&gt; element:
1067  <list style="numbers">
1068    <t>x:sec can be specified to point to a specific section of the referenced document,</t>
1069    <t>x:rel may specify a relative reference to use when linking into the referenced document (if linking by section number is not available),</t>
1070    <t>x:fmt defines the text format to be used.</t>
1071  </list>
1072</t>
1073<t>
1074  The following formats are defined for the x:fmt attribute:
1075  <list style="hanging">
1076    <t hangText=", (Comma)">
1077      [<spanx>reference</spanx>], Section <spanx>sec</spanx>
1078    </t>
1079    <t hangText="()">
1080      [<spanx>reference</spanx>] (Section <spanx>sec</spanx>)
1081    </t>
1082    <t hangText="anchor">
1083      Like the default format, but without brackets.
1084    </t>
1085    <t hangText="of">
1086      Section <spanx>sec</spanx> of [<spanx>reference</spanx>]
1087    </t>
1088    <t hangText="number">
1089      <spanx>sec</spanx>
1090    </t>
1091    <t hangText="none">
1092      No output (can be used to have xrefs to references without
1093      having them rendered as such)
1094    </t>
1095    <t hangText="sec">
1096      Section <spanx>sec</spanx>
1097    </t>
1098  </list>
1099</t>
1100<t>
1101  These extensions are currently only supported for &lt;xref&gt; elements without
1102  child nodes.
1103</t>
1104<t>
1105  If the processor knows how to reference the target section, it will generate
1106  a link directly to the target section, such as in <xref target="RFC2119" x:fmt="," x:sec="5"/>.
1107</t>
1108</section>
1109
1110</section>
1111
1112<section title="Utilities" anchor="utilities">
1113
1114<section title="Checking References" anchor="checking-references">
1115<t>
1116  <spanx style="verb">check-references.xslt</spanx> can be used to check
1117  all references to RFC- and ID-series IETF publications and to W3C publications (note
1118  this script requires local copies of
1119  <eref target="ftp://ftp.isi.edu/in-notes/rfc-index.xml"/> and
1120  <eref target="http://www.w3.org/2002/01/tr-automation/tr.rdf"/> and
1121  will use the XML status information provided at <eref target="http://tools.ietf.org/"/>).
1122</t>
1123<t>
1124  If the document is supposed to be published on the IETF standards track,
1125  the desired level can be specified using the parameter <spanx style='verb'>intended-level</spanx>
1126  as 'proposed', 'draft' or 'internet'. Alternatively, it can be specified
1127  inside the document using the attribute x:maturity-level on the &lt;rfc> element.
1128</t>
1129<t>
1130  <x:h>Note:</x:h> Downward references should be
1131  annotated using the &lt;annotate> element, containing an &lt;xref> to
1132  <xref target="BCP97"/>.
1133</t>
1134<t>
1135  When an XSLT 2.0 processor is used, links in the document can be checked as well
1136  using the <spanx style='verb'>link-check</spanx> paramerer ('yes' or 'no').
1137  Note that this only works for http links to documents of tytpe text/*.
1138</t>
1139<figure>
1140<preamble>
1141For instance, as of 2008-07-12, the script produces for <eref target="http://greenbytes.de/tech/webdav/rfc2518.xml"/>:
1142</preamble>
1143<artwork type="example">
1144> saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \
1145  link-check=yes
1146
1147Normative References:
1148ISO-11578: not checked
1149ISO-639: not checked
1150ISO-8601: not checked
1151REC-xml-19980210: [FirstEdition] obsoleted by REC-xml-20001006
1152REC-xml-names-19990114: [FirstEdition] obsoleted by
1153 REC-xml-names-20060816
1154RFC1766: [PROPOSED STANDARD] obsoleted by RFC3066 RFC3282
1155RFC2068: [PROPOSED STANDARD] obsoleted by RFC2616
1156RFC2069: [PROPOSED STANDARD] obsoleted by RFC2617
1157RFC2119: [BEST CURRENT PRACTICE] (-> BCP0014) ok
1158RFC2141: [PROPOSED STANDARD] ok
1159RFC2277: [BEST CURRENT PRACTICE] (-> BCP0018) ok
1160RFC2396: [DRAFT STANDARD] obsoleted by RFC3986
1161RFC2279: [DRAFT STANDARD] obsoleted by RFC3629
1162
1163Informational References:
1164REC-PICS-labels-961031: [REC] ok
1165RFC1807: [INFORMATIONAL] ok
1166RFC2026: [BEST CURRENT PRACTICE] (-> BCP0009) ok
1167RFC2291: [INFORMATIONAL] ok
1168RFC2376: [INFORMATIONAL] obsoleted by RFC3023
1169RFC2413: [INFORMATIONAL] obsoleted by RFC5013
1170USMARC: not checked
1171WF: not checked
1172
1173Link Targets
1174&lt;http://www.w3.org/TR/1998/REC-xml-19980210>: ok
1175&lt;http://www.w3.org/TR/1999/REC-xml-names-19990114>: ok
1176&lt;http://www.dlib.org/dlib/july96/lagoze/07lagoze.html>: ok
1177&lt;http://www.w3.org/pub/WWW/TR/REC-PICS-labels-961031.html>: ok
1178</artwork></figure>
1179<t>
1180  Recognized formats in the &lt;seriesInfo> element are:
1181  <list style="symbols">
1182    <t>for RFCs, the name attribute must be "RFC", and the value attribute must
1183    be the number of the RFC,</t>
1184    <t>for Internet Drafs, the name attribute must be "ID" or "Internet-Draft", and the value attribute must
1185    be the file name of the draft (including the two-digit running number, but excluding a file extension),</t>
1186    <t>for W3C documents, the name attribute must be "W3C", must start with "W3C&#160;", or
1187    must start with "World Wide Web Consortium&#160;", and the value attribute
1188    must be the "shorthand" name of the specification, such as "REC-xml-19980210".</t>
1189  </list>
1190</t>
1191
1192</section>
1193
1194<section title="Generating Graphs from References">
1195<t>
1196  <spanx style="verb">gen-reference-graph.xslt</spanx> generates a graph
1197  of RFC dependencies, using the same base data as in <spanx style="verb">check-references.xslt</spanx>
1198  (see <xref target="checking-references"/>). Its output is a "dot" file,
1199  to be processed by GraphViz (see <eref target="http://www.graphviz.org/"/>).
1200</t>
1201<figure>
1202<preamble>
1203The picture below shows the RFC dependencies in RFC2629.
1204</preamble>
1205<artwork src="rfc2629xslt-fig2.png" type="image/png">
1206(PNG output obtained from GraphViz)
1207</artwork>
1208</figure>
1209</section>
1210
1211<section title="Producing reference entries for books">
1212<t>
1213  <spanx style="verb">amazon-asin.xslt</spanx> uses the Amazon web services
1214  to generate a &lt;reference> element for a given ASIN (ISBN).
1215</t>
1216<figure>
1217<preamble>For instance:</preamble>
1218<artwork type="example">
1219&lt;?xml version="1.0" encoding="utf-8"?>
1220&lt;references>
1221 &lt;reference target="urn:isbn:0134516591">
1222   &lt;front>
1223     &lt;title>Simple Book, The: An Introduction to Internet Management,
1224               Revised Second Edition&lt;/title>
1225     &lt;author surname="Rose"
1226                fullname="Marshall T. Rose" initials="M. T. ">
1227       &lt;organization/>
1228     &lt;/author>
1229     &lt;author surname="Marshall"
1230                fullname="Rose T. Marshall" initials="R. T.">
1231       &lt;organization/>
1232     &lt;/author>
1233     &lt;date year="1996" month="March"/>
1234   &lt;/front>
1235   &lt;seriesInfo name="Prentice Hall" value=""/>
1236 &lt;/reference>
1237&lt;/references>
1238</artwork></figure>
1239<t>
1240  Note that the resulting XML usually requires checking, in this case Amazon's
1241  database is playing tricks with Marshall's name...
1242</t>
1243</section>
1244
1245<section title="Down-converting to RFC2629bis DTD" anchor="clean-for-dtd">
1246<t>
1247  <spanx style="verb">clean-for-DTD.xslt</spanx> can be used to down-convert
1248  some extensions to a format that is supported by the base xml2rfc
1249  distribution.  Note that these extensions are experimental (feedback
1250  appreciated).
1251</t>
1252<t>
1253  The following mappings are done:
1254  <list style="symbols">
1255    <t>
1256      &lt;iref> elements inside &lt;artwork> elements are moved in front
1257      of the enclosing &lt;figure> element.
1258    </t>
1259    <t>
1260      &lt;xref> elements inside &lt;artwork> are expanded just like in
1261      regular text (that is, the markup is stripped, but the element
1262      is replaced by the applicable replacement text).
1263    </t>
1264    <t>
1265      &lt;x:<x:ref>anchor-alias</x:ref>> elements get stripped.
1266    </t>
1267    <t>
1268      &lt;x:<x:ref>bcp14</x:ref>> elements get stripped.
1269    </t>
1270    <t>
1271      &lt;x:<x:ref>bb</x:ref>>, &lt;x:<x:ref>bc</x:ref>> and &lt;x:<x:ref>bt</x:ref>> elements get stripped.
1272    </t>
1273    <t>
1274      &lt;x:<x:ref>blockquote</x:ref>> elements get converted to
1275      indented text (through a &lt;list> element).
1276    </t>
1277    <t>
1278      &lt;x:<x:ref>dfn</x:ref>> elements get stripped.
1279    </t>
1280    <t>
1281      &lt;x:<x:ref>h</x:ref>> elements get stripped.
1282    </t>
1283    <t>
1284      &lt;x:<x:ref>link</x:ref>> elements get stripped.
1285    </t>
1286    <t>
1287      &lt;x:<x:ref>note</x:ref>> elements get converted to
1288      indented text (through a &lt;list> element).
1289    </t>
1290    <t>
1291      &lt;x:<x:ref>q</x:ref>> elements get stripped, with apostrophes
1292      added around the text.
1293    </t>
1294    <t>
1295      &lt;x:<x:ref>ref</x:ref>> elements get replaced by &lt;xref>
1296      elements, targetting either the anchor or another anchor with
1297      matching &lt;x:<x:ref>anchor-alias</x:ref>> child element.
1298    </t>
1299  </list>
1300</t>
1301</section>
1302
1303<section title="Extracting artwork" anchor="extract-artwork">
1304<t>
1305  With <spanx style="verb">extract-artwork.xslt</spanx>, artwork elements
1306  named through the "name" attribute can be extracted. This can be used
1307  to automatically check their syntax (for instance, when ABNFs appear
1308  within a figure element).
1309</t>
1310<figure><preamble>For instance:</preamble>
1311<artwork type="example">saxon rfc3986.xml extract-artwork.xslt name=uri.abnf
1312</artwork>
1313</figure>
1314<t>
1315  In addition, artwork of a specific type can be extracted, such as with:
1316</t>
1317<figure>
1318<artwork type="example">saxon rfc3986.xml extract-artwork.xslt type=abnf
1319</artwork>
1320</figure>
1321</section>
1322
1323<section title="GRRDL" anchor="grddl">
1324<t>
1325  <spanx style="verb">rfc2629grddl.xslt</spanx> extracts RDF
1326  information. This is experimental work-in-progress. See
1327  <eref target="http://www.w3.org/TR/grddl/"/> for more information.
1328</t>
1329</section>
1330</section>
1331
1332 
1333
1334</middle>
1335
1336<back>
1337<references title="Informative References">
1338
1339<reference anchor='RFC2026'>
1340  <front>
1341    <title abbrev='Internet Standards Process'>The Internet Standards Process -- Revision 3</title>
1342    <author initials='S.' surname='Bradner' fullname='Scott O. Bradner'>
1343      <organization>Harvard University</organization>
1344      <address>
1345        <email>sob@harvard.edu</email>
1346      </address>
1347    </author>
1348    <date year='1996' month='October' />
1349  </front>
1350  <seriesInfo name='BCP' value='9' />
1351  <seriesInfo name='RFC' value='2026' />
1352</reference>
1353
1354<reference anchor="RFC2119">
1355  <front>
1356    <title abbrev="RFC Key Words">Key words for use in RFCs to Indicate Requirement Levels</title>
1357    <author initials="S." surname="Bradner" fullname="Scott Bradner">
1358      <organization>Harvard University</organization>
1359      <address>
1360        <email>sob@harvard.edu</email>
1361      </address>
1362    </author>
1363    <date month="March" year="1997"/>
1364  </front>
1365  <seriesInfo name="BCP" value="14"/>
1366  <seriesInfo name="RFC" value="2119"/>
1367</reference>
1368
1369<reference anchor="RFC2616">
1370  <front>
1371  <title abbrev="HTTP/1.1">Hypertext Transfer Protocol -- HTTP/1.1</title>
1372  <author initials="R.T." surname="Fielding" fullname="Roy T. Fielding">
1373  <organization>University of California, Irvine, Information and Computer Science</organization>
1374  <address>
1375  <postal>
1376  <street/>
1377  <city>Irvine</city>
1378  <region>CA</region>
1379  <code>92697-3425</code>
1380  <country>US</country></postal>
1381  <phone>+1 949 824 1715</phone>
1382  <email>fielding@ics.uci.edu</email></address></author>
1383  <author initials="J." surname="Gettys" fullname="James Gettys">
1384  <organization>World Wide Web Consortium, MIT Laboratory for Computer Science</organization>
1385  <address>
1386  <postal>
1387  <street>545 Technology Square</street>
1388  <city>Cambridge</city>
1389  <region>MA</region>
1390  <code>02139</code>
1391  <country>US</country></postal>
1392  <phone/>
1393  <facsimile>+1 617 258 8682</facsimile>
1394  <email>jg@w3.org</email></address></author>
1395  <author initials="J.C." surname="Mogul" fullname="Jeffrey C. Mogul">
1396  <organization>Compaq Computer Corporation, Western Research Laboratory</organization>
1397  <address>
1398  <postal>
1399  <street>250 University Avenue</street>
1400  <city>Palo Alto</city>
1401  <region>CA</region>
1402  <code>94301</code>
1403  <country>US</country></postal>
1404  <phone/>
1405  <email>mogul@wrl.dec.com</email></address></author>
1406  <author initials="H.F." surname="Nielsen" fullname="Henrik Frystyk Nielsen">
1407  <organization>World Wide Web Consortium, MIT Laboratory for Computer Science</organization>
1408  <address>
1409  <postal>
1410  <street>545 Technology Square</street>
1411  <city>Cambridge</city>
1412  <region>MA</region>
1413  <code>02139</code>
1414  <country>US</country></postal>
1415  <phone/>
1416  <facsimile>+1 617 258 8682</facsimile>
1417  <email>frystyk@w3.org</email></address></author>
1418  <author initials="L." surname="Masinter" fullname="Larry Masinter">
1419  <organization>Xerox Corporation</organization>
1420  <address>
1421  <postal>
1422  <street>3333 Coyote Hill Road</street>
1423  <city>Palo Alto</city>
1424  <region>CA</region>
1425  <code>94034</code>
1426  <country>US</country></postal>
1427  <phone/>
1428  <email>masinter@parc.xerox.com</email></address></author>
1429  <author initials="P.J." surname="Leach" fullname="Paul J. Leach">
1430  <organization>Microsoft Corporation</organization>
1431  <address>
1432  <postal>
1433  <street>1 Microsoft Way</street>
1434  <city>Redmond</city>
1435  <region>WA</region>
1436  <code>98052</code>
1437  <country>US</country></postal>
1438  <phone/>
1439  <email>paulle@microsoft.com</email></address></author>
1440  <author initials="T." surname="Berners-Lee" fullname="Tim Berners-Lee">
1441  <organization>World Wide Web Consortium, MIT Laboratory for Computer Science</organization>
1442  <address>
1443  <postal>
1444  <street>545 Technology Square</street>
1445  <city>Cambridge</city>
1446  <region>MA</region>
1447  <code>02139</code>
1448  <country>US</country></postal>
1449  <phone>+1 617 258 8682</phone>
1450  <facsimile/>
1451  <email>timbl@w3.org</email></address></author>
1452  <date month="June" year="1999"/>
1453  </front>
1454  <seriesInfo name="RFC" value="2616"/>
1455</reference>
1456
1457<reference anchor='RFC2629'>
1458  <front>
1459    <title>Writing I-Ds and RFCs using XML</title>
1460    <author initials='M.T.' surname='Rose' fullname='Marshall T. Rose'>
1461      <organization>Invisible Worlds, Inc.</organization>
1462      <address>
1463        <postal>
1464          <street>660 York Street</street>
1465          <city>San Francisco</city>
1466          <region>CA</region>
1467          <code>94110</code>
1468          <country>US</country>
1469        </postal>
1470        <phone>+1 415 695 3975</phone>
1471        <email>mrose@not.invisible.net</email>
1472        <uri>http://invisible.net/</uri>
1473      </address>
1474    </author>
1475    <date month='June' year='1999' />
1476  </front>
1477  <seriesInfo name='RFC' value='2629' />
1478</reference>
1479
1480<reference anchor='RFC2648'>
1481  <front>
1482    <title>A URN Namespace for IETF Documents</title>
1483    <author initials='R.' surname='Moats' fullname='Ryan Moats'>
1484      <organization>AT&amp;T</organization>
1485      <address>
1486      <postal>
1487        <street>15621 Drexel Circle</street>
1488        <city>Omaha</city>
1489        <region>NE</region>
1490        <code>68135-2358</code>
1491        <country>US</country>
1492      </postal>
1493      <email>jayhawk@att.com</email></address>
1494    </author>
1495    <date month='August' year='1999' />
1496  </front>
1497  <seriesInfo name='RFC' value='2648' />
1498</reference>
1499
1500<reference anchor='RFC2731'>
1501  <front>
1502    <title>Encoding Dublin Core Metadata in HTML</title>
1503    <author initials='J.A.' surname='Kunze' fullname='John A. Kunze'>
1504      <organization>University of California, San Francisco,  Center for Knowledge Management</organization>
1505      <address>
1506        <postal>
1507          <street>530 Parnassus Ave</street>
1508          <street>Box 0840</street>
1509          <city>San Francisco</city>
1510          <region>CA</region>
1511          <code>94143-0840</code>
1512          <country>US</country>
1513        </postal>
1514        <facsimile>+1 415 476 4653</facsimile>
1515        <email>jak@ckm.ucsf.edu</email>
1516      </address>
1517    </author>
1518    <date month='December' year='1999' />
1519  </front>
1520  <seriesInfo name='RFC' value='2731' />
1521</reference>
1522
1523<reference anchor="RFC5234">
1524  <front>
1525    <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title>
1526    <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor">
1527      <organization>Brandenburg InternetWorking</organization>
1528      <address>
1529      <postal>
1530      <street>675 Spruce Dr.</street>
1531      <city>Sunnyvale</city>
1532      <region>CA</region>
1533      <code>94086</code>
1534      <country>US</country></postal>
1535      <phone>+1.408.246.8253</phone>
1536      <email>dcrocker@bbiw.net</email></address> 
1537    </author>
1538    <author initials="P." surname="Overell" fullname="Paul Overell">
1539      <organization>THUS plc.</organization>
1540      <address>
1541      <postal>
1542      <street>1/2 Berkeley Square</street>
1543      <street>99 Berkely Street</street>
1544      <city>Glasgow</city>
1545      <code>G3 7HR</code>
1546      <country>UK</country></postal>
1547      <email>paul.overell@thus.net</email></address>
1548    </author>
1549    <date month="January" year="2008"/>
1550  </front>
1551  <seriesInfo name="STD" value="68"/>
1552  <seriesInfo name="RFC" value="5234"/>
1553</reference>
1554
1555<reference anchor="HTML" target="http://www.w3.org/TR/html401/">
1556  <front>
1557    <title>HTML 4.01 Specification</title>
1558    <author initials="D." surname="Raggett" fullname="David Raggett">
1559      <organization>W3C</organization>
1560      <address>
1561        <email>dsr@w3.org</email>
1562      </address>
1563    </author>
1564    <author initials="A." surname="Hors" fullname="Arnaud Le Hors">
1565      <organization>W3C</organization>
1566    </author>
1567    <author initials="I." surname="Jacobs" fullname="Ian Jacobs">
1568      <organization>W3C</organization>
1569    </author>
1570    <date month="December" day="24" year="1999" />
1571  </front>
1572  <seriesInfo name="W3C" value="REC-html401-19991224" />
1573</reference>
1574
1575<reference anchor="XHTML2" target="http://www.w3.org/TR/xhtml2">
1576  <front>
1577    <title>XHTML&#8482; 2.0</title>
1578    <author initials="J." surname="Axelsson" fullname="Jonny Axelsson">
1579      <organization>Opera Software</organization>
1580    </author>
1581    <author initials="M." surname="Birbeck" fullname="Mark Birbeck">
1582      <organization>x-port.net</organization>
1583    </author>
1584    <author initials="M." surname="Dubinko" fullname="Micah Dubinko">
1585      <organization></organization>
1586    </author>
1587    <author initials="B." surname="Epperson" fullname="Beth Epperson">
1588      <organization>Websense</organization>
1589    </author>
1590    <author initials="M." surname="Ishikawa" fullname="Masayasu Ishikawa">
1591      <organization>W3C</organization>
1592    </author>
1593    <author initials="S." surname="McCarron" fullname="Shane McCarron">
1594      <organization>Applied Testing and Technology</organization>
1595    </author>
1596    <author initials="A." surname="Navarro" fullname="Ann Navarro">
1597      <organization>WebGeek, Inc.</organization>
1598    </author>
1599    <author initials="S." surname="Pemberton" fullname="Steven Pemberton">
1600      <organization>CWI</organization>
1601    </author>
1602    <date month="July" day="26" year="2006" />
1603  </front>
1604  <seriesInfo name="W3C" value="WD-xhtml2-20060726" />
1605</reference>
1606
1607<reference anchor="XSL-FO" target="http://www.w3.org/TR/2006/REC-xsl11-20061205/">
1608  <front>
1609    <title>Extensible Stylesheet Language (XSL) Version 1.1</title>
1610    <author initials="A." surname="Berglund" fullname="Anders Berglund">
1611      <organization>IBM</organization>
1612      <address>
1613        <email>alrb@us.ibm.com</email>
1614      </address>
1615    </author>
1616    <date month="Dec" day="5" year="2006" />
1617  </front>
1618  <seriesInfo name="W3C" value="REC-xsl11-20061205" />
1619</reference>
1620
1621<reference anchor="RNC" target="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">
1622  <front>
1623    <title>RELAX NG Compact Syntax</title>
1624    <author initials="J." surname="Clark" fullname="James Clark">
1625      <organization/>
1626      <address>
1627        <email>jjc@jclark.com</email>
1628      </address>
1629    </author>
1630    <date month="Nov" day="21" year="2002" />
1631  </front>
1632  <seriesInfo name="OASIS" value=""/>
1633</reference>
1634
1635<reference anchor='BCP97'>
1636  <front>
1637    <title>Handling Normative References to Standards-Track Documents</title>
1638    <author initials='J.' surname='Klensin' fullname='J. Klensin'>
1639      <organization />
1640      <address>
1641        <email>klensin+ietf@jck.com</email>
1642      </address>
1643    </author>
1644    <author initials='S.' surname='Hartman' fullname='S. Hartman'>
1645      <organization>MIT</organization>
1646      <address>
1647        <email>hartmans-ietf@mit.edu</email>
1648      </address>
1649    </author>
1650    <date year='2007' month='June' />
1651  </front>
1652  <seriesInfo name='BCP' value='97' />
1653  <seriesInfo name='RFC' value='4897' />
1654</reference>
1655</references>
1656
1657  <section title="RELAX NG Compact Schema" anchor="grammar">
1658  <iref item="Grammar" primary="true"/>
1659  <iref item="Schema" primary="true"/>
1660  <iref item="RELAX NG Compact Schema" primary="true"/>
1661  <t>
1662    The RelaxNG schema (<xref target="RNC"/>) below can be used to validate
1663    input documents (for instance, with <eref target="http://www.thaiopensource.com/relaxng/jing.html">Jing</eref>).
1664  </t>
1665  <t>
1666    <spanx>Note that this is work in progress, and doesn't yet cover all
1667    extensions completely.</spanx>
1668  </t>
1669  <figure>
1670    <artwork type="application/relax-ng-compact-syntax" name="rfc2629-ext.rnc" x:extraction-note="# Automatically extracted from rfc2629xslt.xml. DO NOT EDIT!&#10;">
1671<spanx># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</spanx>
1672
1673<spanx># Define our extension namespace</spanx>
1674namespace x = "http://purl.org/net/xml2rfc/ext"
1675
1676<spanx># Define GRDDL namespace</spanx>
1677namespace grddl = "http://www.w3.org/2003/g/data-view#"
1678
1679<spanx># Define RDF namespace</spanx>
1680namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1681
1682<spanx># Include rfc2629bis RNC grammar</spanx>
1683include "rfc2629.rnc" {
1684 
1685  <spanx># Redefine &lt;artwork> to allow markup</spanx>
1686  artwork =
1687    element artwork {
1688      attlist.artwork,
1689      (TEXT
1690        <spanx style="strong">| eref</spanx> 
1691        <spanx style="strong">| iref</spanx> 
1692        <spanx style="strong">| spanx</spanx> 
1693        <spanx style="strong">| xref</spanx>
1694        <spanx style="strong">| <x:ref>x_abnf-char-sequence</x:ref></spanx>
1695        <spanx style="strong">| <x:ref>x_bb</x:ref></spanx>
1696        <spanx style="strong">| <x:ref>x_bc</x:ref></spanx>
1697        <spanx style="strong">| <x:ref>x_bt</x:ref></spanx>
1698        <spanx style="strong">| <x:ref>x_highlight</x:ref></spanx>
1699        <spanx style="strong">| <x:ref>x_length-of</x:ref></spanx>
1700        <spanx style="strong">| <x:ref>x_parse-xml</x:ref></spanx>
1701        <spanx style="strong">| <x:ref>x_ref</x:ref></spanx>
1702        <spanx style="strong">| <x:ref>x_span</x:ref></spanx>
1703        <spanx style="strong">| <x:ref>x_x</x:ref></spanx>)*
1704    }
1705
1706  <spanx># Redefine &lt;back> to allow boilerplate</spanx>
1707  back =
1708    element back {
1709      attlist.back,
1710      references*,
1711      section*,
1712      <spanx style="strong"><x:ref>x_boilerplate</x:ref>?</spanx>
1713    }
1714
1715  <spanx># Redefine &lt;c> to allow our extension elements</spanx>
1716  c =
1717    element c {
1718      attlist.c,
1719      (TEXT
1720        | xref
1721        | eref
1722        | iref
1723        | cref
1724        | spanx
1725        <spanx style="strong">| <x:ref>x_ref</x:ref></spanx>)*
1726    }
1727
1728  <spanx># Redefine &lt;cref> to allow more child elements</spanx>
1729  cref =
1730    element cref {
1731      attlist.cref,
1732      (TEXT
1733        | eref)*
1734    }
1735
1736  <spanx># Redefine &lt;front> to allow boilerplate</spanx>
1737  front =
1738    element front {
1739      attlist.front,
1740      title,
1741      author+,
1742      date,
1743      area*,
1744      workgroup*,
1745      keyword*,
1746      <spanx style="strong"><x:ref>x_boilerplate</x:ref>?,</spanx>
1747      abstract?,
1748      note*
1749    }
1750 
1751  <spanx># Redefine &lt;list> element to allow &lt;x:<x:ref>lt</x:ref>> child elements</spanx>
1752  \list =
1753    element list {
1754      attlist.list,
1755      (t+ <spanx style="strong">| <x:ref>x_lt</x:ref>+</spanx>)
1756    }   
1757   
1758  <spanx># Redefine &lt;preamble> to allow our extension elements</spanx>
1759  preamble =
1760    element preamble {
1761      attlist.preamble,
1762      (TEXT
1763        | xref
1764        | eref
1765        | iref
1766        | cref
1767        | spanx
1768        <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx>)*
1769    }
1770
1771  <spanx># Redefine &lt;postamble> to allow our extension elements</spanx>
1772  postamble =
1773    element postamble {
1774      attlist.postamble,
1775      (TEXT
1776        | xref
1777        | eref
1778        | iref
1779        | cref
1780        | spanx
1781        <spanx style="strong">| <x:ref>x_bcp14</x:ref></spanx>)*
1782    }
1783
1784  <spanx># Redefine &lt;reference> to allow our extension elements</spanx>
1785  reference =
1786    element reference {
1787      attlist.reference,
1788      front,
1789      seriesInfo*,
1790      format*,
1791      annotation*,
1792      <spanx style="strong"><x:ref>x_source</x:ref>?</spanx>
1793    }
1794
1795  <spanx># Redefine &lt;rfc> to allow our extension elements</spanx>
1796  rfc =
1797    element rfc {
1798      attlist.rfc,
1799      <spanx style="strong"><x:ref>x_link</x:ref>*,</spanx>
1800      <spanx style="strong"><x:ref>x_assign-section-number</x:ref>*,</spanx>
1801      front,
1802      middle,
1803      back?
1804    }
1805
1806  <spanx># Redefine &lt;section> to allow our extension elements</spanx>
1807  section =
1808    element section {
1809      attlist.section,
1810      (t
1811       | figure
1812       | texttable
1813       | iref
1814       | section
1815       <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx>
1816       <spanx style="strong">| <x:ref>x_blockquote</x:ref></spanx>
1817       <spanx style="strong">| <x:ref>x_include-author</x:ref></spanx>
1818       <spanx style="strong">| <x:ref>x_note</x:ref></spanx>
1819       <spanx style="strong">| <x:ref>rdf_Description</x:ref></spanx>)*
1820    }
1821
1822  <spanx># Redefine &lt;spanx> to allow some markup</spanx>
1823  spanx =
1824    element spanx {
1825      attlist.spanx,
1826      (TEXT
1827        <spanx style="strong">| iref</spanx>
1828        <spanx style="strong">| xref</spanx>
1829        <spanx style="strong">| <x:ref>x_ref</x:ref></spanx>)*
1830    }
1831
1832  <spanx># Redefine &lt;t> to allow our extension elements</spanx>
1833  t =
1834    element t {
1835      attlist.t,
1836      (TEXT
1837       | \list
1838       | figure
1839       | xref
1840       | eref
1841       | iref
1842       | cref
1843       | spanx
1844       | vspace
1845       <spanx style="strong">| <x:ref>x_abnf-char-sequence</x:ref></spanx>
1846       <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx>
1847       <spanx style="strong">| <x:ref>x_bcp14</x:ref></spanx>
1848       <spanx style="strong">| <x:ref>x_dfn</x:ref></spanx>
1849       <spanx style="strong">| <x:ref>x_h</x:ref></spanx>
1850       <spanx style="strong">| <x:ref>x_q</x:ref></spanx>
1851       <spanx style="strong">| <x:ref>x_ref</x:ref></spanx>
1852       <spanx style="strong">| <x:ref>x_sup</x:ref></spanx>)*
1853    }
1854}
1855
1856<spanx># Allow x:indent-with attribute on &lt;artwork></spanx>
1857attlist.artwork &amp;=
1858  attribute x:indent-with { ATEXT }?
1859
1860<spanx># Allow anchor attribute on &lt;author></spanx>
1861attlist.author &amp;=
1862  attribute anchor { xsd:ID }?
1863 
1864  <spanx># Extend attribute set for &lt;iref> (see <xref target="ext-rfc2629.iref"/>)</spanx>
1865attlist.iref &amp;=
1866  attribute x:for-anchor { ATEXT }?
1867
1868<spanx># Extend attribute set for &lt;list> (see <xref target="ext-rfc2629.list"/>)</spanx>
1869attlist.list &amp;=
1870  attribute x:indent { ATEXT }?
1871
1872<spanx># Extend attribute set for &lt;preamble></spanx>
1873attlist.preamble &amp;=
1874  attribute anchor { xsd:ID }?
1875
1876<spanx># Extend attribute set for &lt;rfc></spanx>
1877attlist.rfc &amp;=
1878  attribute grddl:transformation { ATEXT }?,
1879  attribute x:maturity-level { "proposed" | "draft" | "internet" }?
1880
1881<spanx># Extend attribute set for &lt;section> (see <xref target="ext-rfc2629.section"/>)</spanx>
1882attlist.section &amp;=
1883  attribute x:fixed-section-number { ATEXT }?
1884
1885<spanx># Allow anchor attribute on &lt;spanx></spanx>
1886attlist.spanx &amp;=
1887  attribute anchor { xsd:ID }?
1888
1889<spanx># Extend attribute set for &lt;xref> (see <xref target="ext-rfc2629.xref"/>)</spanx>
1890attlist.xref &amp;=
1891  attribute x:fmt  { "()" | "," | "anchor" | "of" | "number" | "sec" |
1892                     "none" }?,
1893  attribute x:rel  { ATEXT }?,
1894  attribute x:sec  { ATEXT }?
1895
1896<spanx anchor="x_abnf-char-sequence"><iref item="abnf-char-sequence Extension Element"/><iref item="Extension Elements" subitem="abnf-char-sequence"
1897/># Conversion to ABNF char sequence (see <xref target="ext.element.abnf-char-sequence"/>)</spanx>
1898<x:ref>x_abnf-char-sequence</x:ref> =
1899  element x:abnf-char-sequence {
1900    TEXT
1901  }
1902
1903<spanx anchor="x_anchor-alias"><iref item="anchor-alias Extension Element"/><iref item="Extension Elements" subitem="anchor-alias"
1904/># Aliasing of anchors (see <xref target="ext.element.anchor-alias"/>)</spanx>
1905<x:ref>x_anchor-alias</x:ref> =
1906  element x:anchor-alias {
1907    attribute value { TEXT },
1908    empty
1909  }
1910
1911<spanx anchor="x_include-author"><iref item="include-author Extension Element"/><iref item="Extension Elements" subitem="include-author"
1912/># Including Author information
1913# (experimental)</spanx>
1914<x:ref>x_include-author</x:ref> =
1915  element x:include-author {
1916    attribute target { xsd:IDREF }
1917  }
1918
1919<spanx anchor="x_assign-section-number"><iref item="assign-section-number Extension Element"/><iref item="Extension Elements" subitem="assign-section-number"
1920/># Setting section numbers for internally generated sections
1921# (experimental)</spanx>
1922<x:ref>x_assign-section-number</x:ref> =
1923  element x:assign-section-number {
1924    attribute builtin-target { "authors" },
1925    attribute number { TEXT },
1926    empty
1927  }
1928
1929<spanx anchor="x_bb"><iref item="bb Extension Element"/><iref item="Extension Elements" subitem="bb"
1930/># Bottom line of box drawing (see <xref target="ext.element.bb"/>)</spanx>
1931<x:ref>x_bb</x:ref> =
1932  element x:bb {
1933    (TEXT
1934      | iref
1935      | xref
1936      | <x:ref>x_bb</x:ref>
1937      | <x:ref>x_bc</x:ref>
1938      | <x:ref>x_bt</x:ref>
1939      | <x:ref>x_ref</x:ref>)*
1940  }
1941
1942<spanx anchor="x_bc"><iref item="bc Extension Element"/><iref item="Extension Elements" subitem="bc"
1943/># Center line of box drawing (see <xref target="ext.element.bc"/>)</spanx>
1944<x:ref>x_bc</x:ref> =
1945  element x:bc {
1946    (TEXT
1947      | iref
1948      | xref
1949      | <x:ref>x_bb</x:ref>
1950      | <x:ref>x_bc</x:ref>
1951      | <x:ref>x_bt</x:ref>
1952      | <x:ref>x_ref</x:ref>)*
1953  }
1954
1955<spanx anchor="x_bcp14"><iref item="bcp14 Extension Element"/><iref item="Extension Elements" subitem="bcp14"
1956/># BCP14/RFC2119 keywords (see <xref target="ext.element.bcp14"/>)</spanx>
1957<x:ref>x_bcp14</x:ref> =
1958  element x:bcp14 {
1959    "MAY"
1960    | "MUST"
1961    | "MUST NOT"
1962    | "NOT RECOMMENDED"
1963    | "OPTIONAL"
1964    | "RECOMMENDED"
1965    | "REQUIRED"
1966    | "SHALL"
1967    | "SHALL NOT"
1968    | "SHOULD"
1969    | "SHOULD NOT"
1970  }
1971 
1972<spanx anchor="x_blockquote"><iref item="blockquote Extension Element"/><iref item="Extension Elements" subitem="blockquote"
1973/># Blockquote (see <xref target="ext.element.blockquote"/>)</spanx>
1974<x:ref>x_blockquote</x:ref> =
1975  element x:blockquote {
1976    attribute cite { URI }?,
1977    t+
1978  }
1979
1980<spanx anchor="x_boilerplate"><iref item="boilerplate Extension Element"/><iref item="Extension Elements" subitem="boilerplate"
1981/># Boilerplate (see <xref target="ext.element.blockquote"/>) </spanx>
1982<x:ref>x_boilerplate</x:ref> =
1983  element x:boilerplate {
1984    section+
1985  }
1986
1987<spanx anchor="x_bt"><iref item="bt Extension Element"/><iref item="Extension Elements" subitem="bt"
1988/># Top line of box drawing (see <xref target="ext.element.bt"/>)</spanx>
1989<x:ref>x_bt</x:ref> =
1990  element x:bt {
1991    (TEXT
1992      | iref
1993      | xref
1994      | <x:ref>x_bb</x:ref>
1995      | <x:ref>x_bc</x:ref>
1996      | <x:ref>x_bt</x:ref>
1997      | <x:ref>x_ref</x:ref>)*
1998  }
1999
2000<spanx anchor="x_dfn"><iref item="dfn Extension Element"/><iref item="Extension Elements" subitem="dfn"
2001/># Definition (see <xref target="ext.element.dfn"/>)</spanx>
2002<x:ref>x_dfn</x:ref> =
2003  element x:dfn {
2004    attribute anchor { xsd:ID }?,
2005    (TEXT
2006      | iref)*
2007  }
2008 
2009<spanx anchor="x_h"><iref item="h Extension Element"/><iref item="Extension Elements" subitem="h"
2010/># Heading (see <xref target="ext.element.h"/>)</spanx>
2011<x:ref>x_h</x:ref> =
2012  element x:h {
2013    TEXT
2014  }
2015
2016<spanx anchor="x_highlight"><iref item="highlight Extension Element"/><iref item="Extension Elements" subitem="highlight"
2017/># Heading (see <xref target="ext.element.highlight"/>)</spanx>
2018<x:ref>x_highlight</x:ref> =
2019  element x:highlight {
2020    TEXT
2021  }
2022
2023<spanx anchor="x_length-of"><iref item="length-of Extension Element"/><iref item="Extension Elements" subitem="length-of"
2024/># Length Measurement (see <xref target="ext.element.length-of"/>)</spanx>
2025<x:ref>x_length-of</x:ref> =
2026  element x:length-of {
2027    attribute indented { NUMBER }?,
2028    attribute target { xsd:IDREF },
2029    empty
2030  }
2031
2032<spanx anchor="x_link"><iref item="link Extension Element"/><iref item="Extension Elements" subitem="link"
2033/># Link (see <xref target="ext.element.link"/>)</spanx>
2034<x:ref>x_link</x:ref> =
2035  element x:link {
2036    attribute href { URI },
2037    attribute title { TEXT }?,
2038    attribute rel { TEXT },
2039    empty
2040  }
2041 
2042<spanx anchor="x_lt"><iref item="lt Extension Element"/><iref item="Extension Elements" subitem="lt"
2043/># Extended list item (see <xref target="ext.element.lt"/>)</spanx>
2044<x:ref>x_lt</x:ref> =
2045  element x:lt {
2046    attribute anchor { xsd:ID }?,
2047    attribute hangText { TEXT }?,
2048    t+
2049  }
2050
2051<spanx anchor="x_note"><iref item="note Extension Element"/><iref item="Extension Elements" subitem="note"
2052/># Note (see <xref target="ext.element.note"/>)</spanx>
2053<x:ref>x_note</x:ref> =
2054  element x:note {
2055    t+
2056  }
2057
2058<spanx anchor="x_parse-xml"><iref item="parse-xml Extension Element"/><iref item="Extension Elements" subitem="parse-xml"
2059/># Signal XML content (see <xref target="ext.element.parse-xml"/>)</spanx>
2060<x:ref>x_parse-xml</x:ref> =
2061  element x:parse-xml {
2062    TEXT
2063  }
2064
2065<spanx anchor="x_q"><iref item="q Extension Element"/><iref item="Extension Elements" subitem="q"
2066/># Inline quote (see <xref target="ext.element.q"/>)</spanx>
2067<x:ref>x_q</x:ref> =
2068  element x:q {
2069    TEXT
2070  }
2071
2072<spanx anchor="x_ref"><iref item="ref Extension Element"/><iref item="Extension Elements" subitem="ref"
2073/># Anchor reference (see <xref target="ext.element.ref"/>)</spanx> 
2074<x:ref>x_ref</x:ref> =
2075  element x:ref {
2076    TEXT
2077  }
2078
2079<spanx anchor="x_source"><iref item="source Extension Element"/><iref item="Extension Elements" subitem="source"
2080/># source information (see <xref target="ext.element.source"/>)</spanx> 
2081<x:ref>x_source</x:ref> =
2082  element x:source {
2083    attribute basename { ATEXT }?,
2084    attribute href { URI },
2085    empty
2086  }
2087
2088<spanx anchor="x_sup"><iref item="sup Extension Element"/><iref item="Extension Elements" subitem="sup"
2089/># superscript (see <xref target="ext.element.sup"/>)</spanx>
2090<x:ref>x_sup</x:ref> =
2091  element x:sup {
2092    TEXT
2093  }
2094
2095<spanx anchor="x_span"><iref item="span Extension Element"/><iref item="Extension Elements" subitem="span"
2096/># Inline Span <!--(see <xref target="ext.element.span"/>)--></spanx>
2097<x:ref>x_span</x:ref> =
2098  element x:span {
2099    attribute anchor { xsd:ID }?,
2100    (TEXT
2101      | <x:ref>x_parse-xml</x:ref>)*
2102  }
2103
2104<spanx anchor="x_x"><iref item="x Extension Element"/><iref item="Extension Elements" subitem="x"
2105/># Nop (for alignment in source)</spanx>
2106<x:ref>x_x</x:ref> =
2107  element x:x {
2108    empty
2109  }
2110
2111<spanx anchor="rdf_Description"><iref item="rdf:Description Extension Element"/><iref item="Extension Elements" subitem="rdf:Description"
2112/># Embed RDF statements </spanx>
2113<x:ref>rdf_Description</x:ref> =
2114  element rdf:Description {
2115    rdf_content
2116  }
2117 
2118rdf_content =
2119  ( TEXT | element * { rdf_content })*
2120</artwork></figure>
2121  </section>
2122 
2123  <section title="Implementation Notes">
2124 
2125  <section title="Recognized type attributes for &lt;artwork> element">
2126  <t>
2127    Specific values in the &lt;artwork> element's "type" attribute are
2128    recognized and cause a different visual style to be used:
2129  </t>
2130  <texttable>
2131    <ttcol>Media Type</ttcol>
2132    <ttcol>Comment</ttcol>
2133   
2134    <c>abnf</c><c>ABNF as per <xref target="RFC5234"/></c>
2135    <c>abnf2616</c><c>ABNF as per <xref target="RFC2616" x:fmt="," x:sec="2.1" /></c>
2136    <c>application/relax-ng-compact-syntax</c><c>Relax NG Compact Syntax as per <xref target="RNC"/></c>
2137    <c>application/xml-dtd</c><c>XML DTD</c>
2138    <c>message/http; msgtype="request"</c><c>HTTP message, as per <xref target="RFC2616" x:fmt="," x:sec="19.1" /></c>
2139    <c>message/http; msgtype="response"</c><c>HTTP message, as per <xref target="RFC2616" x:fmt="," x:sec="19.1" /></c>
2140  </texttable>
2141  </section>
2142 
2143  </section>
2144 
2145  <section title="License" anchor="license">
2146  <t>
2147Copyright (c) 2006-2009, Julian Reschke (julian.reschke@greenbytes.de)
2148  </t>
2149  <t>
2150All rights reserved.
2151  </t>
2152  <t>
2153Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
2154  <list style="symbols">
2155    <t>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</t>
2156    <t>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</t>
2157    <t>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</t>
2158  </list>
2159  </t>
2160  <t>
2161THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2162  </t>
2163  </section>
2164
2165  <section title="Change Logs">
2166   
2167 
2168    <section title="Package">
2169      <t><list style="hanging">
2170<t hangText="2006-01-01">
2171    Switch to BSD License.
2172</t>
2173<t hangText="2007-01-12">
2174    Update to xml2rfc v1.33pre2.
2175</t>
2176<t hangText="2007-03-31">
2177    Update to xml2rfc v1.33pre3.
2178</t>
2179<t hangText="2007-05-01">
2180    Add XSLT test cases.
2181</t>
2182<t hangText="2008-07-18">
2183    Experimental support for inlined rdf:Description elements (ignored
2184    by the formatter, extracted by rfc2629grddl).
2185</t>
2186<t hangText="2008-12-04">
2187    Update to xml2rfc v1.34pre2.
2188</t>
2189<t hangText="2009-02-24">
2190    Experimental support for February 2009 boilerplate changes, and for
2191    the x:boilerplate element.
2192</t>
2193      </list></t>
2194    </section>
2195   
2196    <section title="amazon-asin.xslt">
2197    <t><list style="hanging">
2198<t hangText="2003-11-16">
2199     Initial release.
2200</t>
2201<t hangText="2005-04-02">
2202     Fix two DTD issues.
2203</t>
2204    </list></t>
2205    </section>
2206
2207    <section title="check-references.xslt">
2208    <t><list style="hanging">
2209<t hangText="2003-11-16">
2210     Initial release.
2211</t>
2212<t hangText="2004-05-11">
2213     Add document status; print references type.
2214</t>
2215<t hangText="2005-01-01">
2216     Add experimental check for ID status.
2217</t>
2218<t hangText="2005-04-01">
2219     Add fixes from Bill Fenner.
2220</t>
2221<t hangText="2005-12-03">
2222    Add checks against local copy of <eref target="http://www.w3.org/2002/01/tr-automation/tr.rdf"/>
2223</t>
2224<t hangText="2006-07-22">
2225    Add checks for standards levels.
2226</t>
2227<t hangText="2006-08-06">
2228    "check-ietf-references.xslt" replaced by "check-references.xslt".
2229</t>
2230<t hangText="2007-01-04">
2231    Use information online at <eref target="http://tools.ietf.org/"/> to
2232    retrieve Internet-Draft status information.
2233</t>
2234<t hangText="2007-06-16">
2235    Fix bug looking up ref type when inside change markup.
2236</t>
2237<t hangText="2008-06-14">
2238    Enhance output when draft was updated, and then published as RFC.
2239</t>
2240<t hangText="2008-07-12">
2241    Add XSLT2-based link target checking.
2242</t>
2243<t hangText="2008-08-10">
2244    Change keywords for "intended-level" to proposed/draft/internet,
2245    optionall extract intended level from /rfc/@x:maturity-level attribute.
2246</t>
2247    </list></t>
2248    </section>
2249   
2250    <section title="gen-reference-graph.xslt">
2251    <t><list style="hanging">
2252<t hangText="2006-09-03">
2253  New.
2254</t>
2255<t hangText="2007-06-07">
2256  Use <eref target="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</eref> to define exslt:node-set in
2257  msxsml (which means that the stylesheet can now be used with MSXML as well).
2258</t>
2259<t hangText="2007-10-15">
2260  Use W3C data from tr.rdf as well (experimental).
2261</t>
2262    </list></t>
2263    </section>
2264
2265    <section title="rfc2629.xslt">
2266      <t><list style="hanging">
2267<t hangText="2001-03-28">
2268    Code rearranged, generate numbered section anchors for paragraphs (t)
2269    as well. Fixes in index handling.
2270</t>
2271<t hangText="2001-04-12">
2272    Moved HTML output into XHTML namespace.
2273</t>
2274<t hangText="2001-10-02">
2275    Fixed default location for RFCs and numbering of section references.
2276    Support ?rfc editing processing instruction.
2277</t>
2278<t hangText="2001-10-07">
2279    Made telephone number links active.
2280</t>
2281<t hangText="2001-10-08">
2282    Support for vspace element.
2283</t>
2284<t hangText="2001-10-09">
2285    Experimental support for rfc-issue PI.
2286</t>
2287<t hangText="2001-11-11">
2288    Support rfc private PI. Removed bogus code reporting the WG in the header.
2289</t>
2290<t hangText="2001-11-11">
2291    Support rfc private PI. Removed bogus code reporting the WG in the header.
2292</t>
2293<t hangText="2001-12-17">
2294    Support title attribute on references element
2295</t>
2296<t hangText="2002-01-05">
2297    Support for list/@style="@format"
2298</t>
2299<t hangText="2002-01-09">
2300    Display "closed" RFC issues as deleted
2301</t>
2302<t hangText="2002-01-14">
2303    Experimentally and optionally parse XML encountered in artwork elements
2304    (requires MSXSL).
2305</t>
2306<t hangText="2002-01-27">
2307    Some cleanup. Moved RFC issues from PIs into namespaced elements.
2308</t>
2309<t hangText="2002-01-29">
2310    Added support for sortrefs PI. Added support for figure names.
2311</t>
2312<t hangText="2002-02-07">
2313    Highlight parts of artwork which are too wide (72 characters).
2314</t>
2315<t hangText="2002-02-12">
2316    Code rearrangement for static texts. Fixes for section numbering.
2317    TOC generation rewritten.
2318</t>
2319<t hangText="2002-02-15">
2320    Support for irefs in sections; support iref @primary=true
2321</t>
2322<t hangText="2002-03-03">
2323    Moved anchor prefix into a constant. Added sanity checks on user anchor
2324    names.
2325</t>
2326<t hangText="2002-03-23">
2327    Bugfix in detection of matching org names when creating the header. Fixed
2328    sorting in subitems.
2329</t>
2330<t hangText="2002-04-02">
2331    Fix TOC link HTML generation when no TOC is generated (created broken
2332    HTML table code).
2333</t>
2334<t hangText="2002-04-03">
2335    Made rendering of references more tolerant re: missing parts.
2336</t>
2337<t hangText="2002-04-08">
2338    Fixed reference numbering when references are split into separate sections.
2339</t>
2340<t hangText="2002-04-16">
2341    Fix default namespace (shouldn't be set for HTML output method).
2342</t>
2343<t hangText="2002-04-19">
2344    Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC
2345    into ul element.
2346</t>
2347<t hangText="2002-04-21">
2348    Make numbered list inside numbered lists use alphanumeric numbering.
2349</t>
2350<t hangText="2002-05-05">
2351    Updated issue/editing support.
2352</t>
2353<t hangText="2002-05-15">
2354    Bugfix for section numbering after introduction of ed:replace
2355</t>
2356<t hangText="2002-06-21">
2357    When producing private documents, do not include document status, copyright etc.
2358</t>
2359<t hangText="2002-07-08">
2360    Fix xrefs to Appendices.
2361</t>
2362<t hangText="2002-07-19">
2363    Make artwork lightyellow for easier reading. (fielding)
2364</t>
2365<t hangText="2002-10-09">
2366    Translate references title to anchor name to avoid non-uri characters. (fielding)
2367</t>
2368<t hangText="2002-10-13">
2369    Support for tocdepth PI.
2370</t>
2371<t hangText="2002-11-03">
2372    Added temporariry workaround for Mozilla/Transformiix result tree fragment problem.
2373    (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')
2374</t>
2375<t hangText="2002-12-25">
2376    xref code: attempt to uppercase "section" and "appendix" when at the start
2377    of a sentence.
2378</t>
2379<t hangText="2003-02-02">
2380    fixed code for vspace blankLines="0", enhanced display for list with "format" style,
2381    got rid of HTML blockquote elements, added support for "hangIndent"
2382</t>
2383<t hangText="2003-04-10">
2384    experimental support for appendix and spanx elements
2385</t>
2386<t hangText="2003-04-19">
2387    fixed counting of list numbers in "format %" styles (one counter
2388    per unique format string). Added more spanx styles.
2389</t>
2390<t hangText="2003-05-02">
2391    experimental texttable support
2392</t>
2393<t hangText="2003-05-02">
2394    Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)
2395</t>
2396<t hangText="2003-05-04">
2397    experimental support for HTML link elements; fix default for table header
2398    alignment default
2399</t>
2400<t hangText="2003-05-06">
2401    support for "background" PI.
2402</t>
2403<t hangText="2003-05-11">
2404    change %c format to lowercase alphabetic. add support for keyword
2405    elements (generate META tag). fix various HTML conformance problems.
2406    added experimental support for role attribute. do not number paragraphs
2407    in unnumbered sections. update boilerplate texts. support for
2408    "iprnotified" PI. bugfix list numbering. strip whitespace when
2409    building tel: URIs.
2410</t>
2411<t hangText="2003-05-12">
2412    more conformance fixes (layout moved into CSS, move lists and figures
2413    out of para content, do not use tables for list formatting)
2414</t>
2415<t hangText="2003-05-13">
2416    add DC.Creator meta tag, refactoring
2417</t>
2418<t hangText="2003-05-16">
2419    put nbsps between "section" and section number (xref).
2420</t>
2421<t hangText="2003-05-18">
2422    author summary: add missing comma.
2423</t>
2424<t hangText="2003-06-06">
2425    fix index generation bug (transposed characters in key generation). Enhance
2426    sentence start detection (xref starting a section was using lowercase
2427    "section").
2428</t>
2429<t hangText="2003-06-22">
2430    exp. support for xref/@format. Add missing support for eref w/o content.
2431    exp. support for annotations in reference elements. Code cleanup
2432    reference table formatting.
2433</t>
2434<t hangText="2003-07-09">
2435    Another fix for DC.Creator meta tag creation based on RFC2731
2436</t>
2437<t hangText="2003-07-24">
2438    Fix namespace name for DC.Creator.
2439</t>
2440<t hangText="2003-08-06">
2441    Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension
2442    functions; remove Transformix workarounds that stopped to work in Moz 1.4)
2443</t>
2444<t hangText="2003-08-09">
2445    Generate HTML lang tag.
2446</t>
2447<t hangText="2003-08-10">
2448    Map spanx/verb to HTML "samp" element. Fix author name display in
2449    references (reverse surname/initials for last author), add "Ed.".
2450    Fix internal bookmark generation.
2451</t>
2452<t hangText="2003-08-17">
2453    Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI
2454    generation.  Do not add TOC entry to Copyright Statement when there is
2455    none. Align RFC2629 PI names and parameter names. Change style for
2456    inline URIs generated by eref. Add header and footer support.
2457    Enhance CSS paging properties. Support topblock PI. Added hooks for
2458    proper XHTML generation through separate XSLT. Enhance warning and
2459    error messages. Add support for artwork image display. Table formatting
2460    fixes (borders, thead continuation).
2461</t>
2462<t hangText="2003-08-18">
2463    Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback
2464    just displays are warning).
2465</t>
2466<t hangText="2003-10-06">
2467    Add workaround for broken pre/ins handling in Mozilla
2468    (see <eref target="http://bugzilla.mozilla.org/show_bug.cgi?id=204401"/>). Make use
2469    of cite attribute on ed:replace. CSS cleanup.
2470</t>
2471<t hangText="2003-10-08">
2472    Fix minor issue detecting the same org for the header (caused by IE's
2473    non-standard whitespace handling). Fix default handling for /rfc/@category.
2474</t>
2475<t hangText="2003-11-09">
2476    Inherit ed:entered-by from ancestor elements. Change CSS color for inserted
2477    text to green. Generate issues-list anchor. Do not complain about missing
2478    targets when the xref element is below ed:del. Remove code that attempted
2479    to distinguish section/Section when producing links - always use
2480    uppercase. Fix date rendering for issue resolutions.
2481</t>
2482<t hangText="2003-11-29">
2483    Fix color values for table backgrounds for issue rendering. Change
2484    rendering of issue links to use inline-styles. Add colored issue markers to
2485    issues.
2486</t>
2487<t hangText="2003-12-13">
2488    Fix inheritance of ed:entered-by attribute. Display note elements inside
2489    change tracking as well.
2490</t>
2491<t hangText="2004-01-18">
2492    When PI compact = 'yes', make most CSS print page breaks conditional.
2493</t>
2494<t hangText="2004-02-20">
2495    Support for RFC3667 IPR changes (xml2rfc 1.22); see
2496    <eref target="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html"/>.
2497</t>
2498<t hangText="2004-03-11">
2499    Add "(if approved)" to "updates" and "obsoletes" unless the document has
2500    an RFC number.
2501</t>
2502<t hangText="2004-04-01">
2503    Fix RFC3667 output, see <eref target="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html"/>.
2504</t>
2505<t hangText="2004-04-04">
2506    Add support for section/top attribute. Move references into plain
2507    section container.
2508</t>
2509<t hangText="2004-04-06">
2510    Do not emit identical para anchors for deleted content.
2511</t>
2512<t hangText="2004-04-14">
2513    Fix references TOC generation when there are no references.
2514</t>
2515<t hangText="2004-04-24">
2516    Fix RFC3667 output, see <eref target="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html"/>.
2517</t>
2518<t hangText="2004-05-09">
2519    Add custom support for generating compound index documents. Add anchors
2520    for each Index letter. Add experimental cref support. Fix conditional page
2521    breaks before References section.
2522</t>
2523<t hangText="2004-05-16">
2524    Refactor external index generation.
2525</t>
2526<t hangText="2004-05-20">
2527    Rewrite anchor generation for comments.
2528</t>
2529<t hangText="2004-05-22">
2530    Enhance issues rendering (add links to changes).
2531</t>
2532<t hangText="2004-05-30">
2533    Allow single quote as delimiter in processing instructions as well. Move
2534    block-level issue pointers to floats. Disable issue pointers for print
2535    media. Add "purple numbers". Add hrefs to section headings. Add non-printing
2536    index key letter list to start of index.
2537</t>
2538<t hangText="2004-06-01">
2539    Use &amp;#xb6; instead of # for PNs.
2540</t>
2541<t hangText="2004-07-18">
2542    Add support for list style=letters (thanks Roy F.). Make PNs optional;
2543    add new PI.
2544</t>
2545<t hangText="2004-09-05">
2546    Fix index links into unnumbered sections.  Bring IPR boilerplate in-line
2547    with xml2rfc 1.25.  Add experimental CSS3 paged media support.  Various
2548    HTML fixes.
2549</t>
2550<t hangText="2004-09-21">
2551    Enhance checking of artwork width.
2552</t>
2553<t hangText="2004-09-26">
2554    Add check for unused references. Uppercase letters in list style letters
2555    when nested into another list.
2556</t>
2557<t hangText="2004-10-10">
2558    Fix internal change track pointers.
2559</t>
2560<t hangText="2004-11-01">
2561    Allow change tracking on references (as a whole).  Rewrite artwork handling
2562    so that it allows change tracking inside artwork.  Also allow a subset of
2563    text markup inside artwork, such as xrefs (note this requires post-processing
2564    the source to make it compliant to RFC2629bis).
2565</t>
2566<t hangText="2004-11-03">
2567    Enhanced placement of iref anchors.
2568</t>
2569<t hangText="2004-11-06">
2570    Index: display irefs that appeared (with primary=true) inside artwork elements
2571    in a monospaced font.
2572</t>
2573<t hangText="2004-11-14">
2574    Add special code so that changes in section titles can be change-tracked.
2575</t>
2576<t hangText="2005-01-14">
2577    Bugfixes for HtmlToXhtml converter.
2578</t>
2579<t hangText="2005-01-22">
2580    Enhance generation of HTML h* elements (for Mozilla Outliner).
2581</t>
2582<t hangText="2005-01-31">
2583    Put vertical space around top-level TOC entries in TOC.  Switch to
2584    pt-based CSS. Re-arrange top section. Make hr elements reflect new-page
2585    settings in TXT output (compact-PI).  Fix page number in footer (CSS
2586    print) and add some more experimental support for paged media (tested
2587    with Prince 4.1 alpha).  Rewrite TOC and Index generation to generate HTML
2588    lists.  Cleanup id generation for paragraphs.  Reduce whitespace in output.
2589    Fix vspace implementation. Use right/left dqoutes and copyright sign
2590    where appropriate.
2591</t>
2592<t hangText="2005-02-04">
2593    Add &lt;link> element to references section.  Fix newly introduced bug
2594    in references processing.
2595</t>
2596<t hangText="2005-02-05">
2597    Integrate various fixes/enhancements by Roy Fielding: spelling of
2598    "Authors' Addresses", comma setting in references, position of "Authors"
2599    section, optionally place authors addresses at end (PI), trailing dots
2600    in section numbers, switch to verdana default font in CSS.  Add
2601    experimental support for centered artwork.
2602</t>
2603<t hangText="2005-02-09">
2604    Fixes in spacing and links of references section titles.  Enhance sorting
2605    in references when change tracking is in place.  Re-add figure centering
2606    support.  Add missing 2nd part of "Author's Adresses" fix.
2607</t>
2608<t hangText="2005-02-25">
2609    Align section number format with xml2rfc1.29.
2610</t>
2611<t hangText="2005-03-28">
2612    Get rid of table elements in Author's section.  Add experimental hCard
2613    (<eref target="http://developers.technorati.com/wiki/hCard"/>) support.
2614</t>
2615<t hangText="2005-04-03">
2616    Add RFC3978-style IPR statement support. (fenner@research.att.com)
2617</t>
2618<t hangText="2005-04-11">
2619    Cleanup author display. hCard related fixes.
2620</t>
2621<t hangText="2005-05-07">
2622    Minor fixes to allow change tracking in doc title.  Add experimental
2623    support for table border styles. CSS cleanup.
2624</t>
2625<t hangText="2005-06-18">
2626    Implement missing support for references to texttables.
2627</t>
2628<t hangText="2005-09-25">
2629    Use (-moz-)column-count when printing the index.
2630</t>
2631<t hangText="2005-10-04">
2632    Report missing element templates with xsl:message.
2633</t>
2634<t hangText="2005-10-15">
2635    Process t/@anchor.
2636</t>
2637<t hangText="2005-10-23">
2638    More workarounds for Mozilla's broken del/ins handling (this time for
2639    figures).
2640</t>
2641<t hangText="2005-10-27">
2642    lowercase hCard class names
2643</t>
2644<t hangText="2005-11-22">
2645    Enhance diagnostics for XML-in-artwork extension
2646</t>
2647<t hangText="2005-11-26">
2648    Fix formatting of section numbers for sections inserted into &lt;back>.
2649</t>
2650<t hangText="2005-12-12">
2651    Fix some validity problems when change tracking occured inside lists.
2652</t>
2653<t hangText="2005-12-18">
2654    Add change tracking inside the index.
2655</t>
2656<t hangText="2006-02-04">
2657    Add prev/next links to highlighted changes (change tracking extension).
2658</t>
2659<t hangText="2006-02-10">
2660    Catch errors instantiating MSXML component.
2661</t>
2662<t hangText="2006-02-11">
2663    References: add "work in progress" for Internet Drafts.
2664</t>
2665<t hangText="2006-02-27">
2666    Fix front matter (lowercase Internet-Draft, say "Intended status" for
2667    non-RFC documents). Start work on experimental extension for 
2668    simplified internal links.
2669</t>
2670<t hangText="2006-03-19">
2671    Tweaks to IESG Copyright stuff; support submissionType attribute.
2672    Fix duplicate reference anchors in HTML output.  Reduce HTML Tidy warnings.
2673    Fix reference to normative ASCII version (now requires trailing ".txt").
2674    Tweaks to hCard generation.  Started to move non-issue-tracking
2675    extensions into namespace "http://purl.org/net/xml2rfc/ext".
2676</t>
2677<t hangText="2006-03-27">
2678    Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext"
2679    and add documentation.  HTML conformance enhancements.
2680</t>
2681<t hangText="2006-04-02">
2682    Cleanup special code for automated XHTML XSLT generation.
2683</t>
2684<t hangText="2006-04-21">
2685    Generate &lt;CITE> elements where appropiate.
2686    Introduce x:blockquote, x:dfn, x:h and x:q elements.
2687</t>
2688<t hangText="2006-05-06">
2689    Introduce x:bcp14 element.
2690</t>
2691<t hangText="2006-05-14">
2692  Fix content model for x:blockquote.
2693</t>
2694<t hangText="2006-06-18">
2695  Add box drawing support (x:bt, x:bc, x:bb).
2696</t>
2697<t hangText="2006-06-20">
2698  HTML validity fixes (legal chars in anchors in index).
2699</t>
2700<t hangText="2006-06-24">
2701  Reduce leading empty lines in artwork. Move &lt;dt> style info into CSS.
2702</t>
2703<t hangText="2006-07-14">
2704  Fix rendering of multiple street address entries (missing line break).
2705</t>
2706<t hangText="2006-07-24">
2707  Add extension for deep linking into RFCs, do not generate empty list
2708  items in TOC output, avoid empty &lt;dt> elements for list items
2709  without hangText attribute.
2710</t>
2711<t hangText="2006-08-01">
2712  Allow @anchor on more elements; start work on Relax NG grammar for
2713  extensions. Reduce generated style elements (use CSS classes instead).
2714  Consistently use "id" instead of "name". Change default target for RFC
2715  links to "http://tools.ietf.org/html/rfcNNNN".
2716</t>
2717<t hangText="2006-08-06">
2718  Include appendices defined in &lt;appendix> elements in TOC (please
2719  consider them deprecated anyhow!). Generate links to
2720  "http://tools.ietf.org/html/draft-*" for Internet Drafts.
2721  Replace x:frag by x:rel, allowing any kind of relative reference instead
2722  of just fragments.
2723</t>
2724<t hangText="2006-08-30">
2725  Reduce textual differences between HTML output and what xml2rfc produces
2726  in TXT output mode (section refs/reference targets). Add small workaround
2727  for Opera 9.0.1's problem with node-set().
2728</t>
2729<t hangText="2006-10-29">
2730  Fix problem generating internal links to change markup within references
2731  section. Enhancements when generating numbered references for deleted
2732  references.
2733  Allow inclusion of references into the index (through include-references-in-index
2734  extension).
2735  Fix a bug that caused the newer version of the IETF boilerplate to be
2736  produced rather than the pre-RFC3667 one.
2737  Update to RFC4287 boilerplate.
2738</t>
2739<t hangText="2006-11-11">
2740  Add extension attribute x:for-anchor to &lt;iref&gt; handling.
2741</t>
2742<t hangText="2006-11-26">
2743  Experimental (and limited) support for &lt;x:lt&gt;.
2744</t>
2745<t hangText="2006-12-04">
2746  Fix bugs in processing documents that have both the ipr and the number attribute
2747  set on the rfc root element. Add support for x:fmt='none' on xrefs.
2748  Add different pre style based on artwork type attributes (experimental).
2749</t>
2750<t hangText="2006-12-13">
2751  Add x:fmt='anchor' for xref elements.
2752</t>
2753<t hangText="2007-01-07">
2754  Fix root template for compatibility for the exslt:node-set implementation
2755  in Firefox3.
2756</t>
2757<t hangText="2007-01-29">
2758  Avoid empty table entry in front matter when organization is not specified
2759  for an author.
2760</t>
2761<t hangText="2007-02-10">
2762  Allow change tracking in table rows.
2763</t>
2764<t hangText="2007-03-09">
2765  Add hcard profile URI (<eref target="http://www.w3.org/2006/03/hcard"/>) to head element.
2766  Add warning for misplaced &lt;t> elements (after section).
2767</t>
2768<t hangText="2007-03-21">
2769  Fix internal linking from reference entries in index for some xref types.
2770  Minor CSS tweaks contributed by MTR. Allow turning on text justification through
2771  a PI. Improve iref anchor generation to generate less instable anchors.
2772</t>
2773<t hangText="2007-03-28">
2774  Fixes for numbering of ed:inserted references sections.
2775</t>
2776<t hangText="2007-05-04">
2777  Do not generate anchors for edits in deleted sections. Enhance HTML
2778  conformance.
2779</t>
2780<t hangText="2007-05-19">
2781  Enhance diagnostics when using Saxon (needs Saxon's "-l" command line
2782  parameter to keep line number information). Add warning when symref PI
2783  is missing (default will change in the future).
2784  Add support for overriding computed section numbers (when formatting
2785  historic documents).
2786</t>
2787<t hangText="2007-06-07">
2788  Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4).
2789  Warn about docName attributes that appear to contain a file extension.
2790</t>
2791<t hangText="2007-06-26">
2792  Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.
2793</t>
2794<t hangText="2007-07-14">
2795  Enhance index generation for references that use @x:sec attribute.
2796</t>
2797<t hangText="2007-09-09">
2798  Fix: sortrefs is a nop when symrefs=no.
2799</t>
2800<t hangText="2007-10-17">
2801  Work in progress: add support for referencing sections in sibling
2802  documents by anchor name.
2803</t>
2804<t hangText="2007-10-17">
2805  Work in progress (continued): support for referencing sections in sibling
2806  documents by anchor name.
2807</t>
2808<t hangText="2007-12-31">
2809  Emit warning when updating/obsoleting stuff that's not referenced.
2810</t>
2811<t hangText="2008-02-03">
2812  Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.
2813</t>
2814<t hangText="2008-02-06">
2815  Extension: allow &lt;eref> below &lt;cref>.
2816</t>
2817<t hangText="2008-02-17">
2818  Extensions: add x:span and x:length-of.
2819</t>
2820<t hangText="2008-02-20">
2821  Add new RFC boilerplate (as changed in 2007-08).
2822</t>
2823<t hangText="2008-02-27">
2824  Improve diagnostics for artwork width problems; add defaulting of publication
2825  dates (requires XSLT processor supporting exslt:date, or msxml).
2826</t>
2827<t hangText="2008-02-29">
2828  Enhance CSS for link elements in the front header, update rules for
2829  generating "Acknowledgment" statement.
2830</t>
2831<t hangText="2008-03-01">
2832  Use line numbers in diagnostics in Saxon8/9 as well.
2833</t>
2834<t hangText="2008-03-02">
2835  Fix a bug in the logic choosing the boilerplate, resulting in obsolete
2836  text being inserted into IDs.
2837</t>
2838<t hangText="2008-04-01">
2839  Add support for superscript element.
2840</t>
2841<t hangText="2008-06-28">
2842  Add sanity checks for email addresses, allow multiple email elements.
2843</t>
2844<t hangText="2008-07-06">
2845  Add x:abnf-char-sequence.
2846</t>
2847<t hangText="2008-08-21">
2848  Add x:note.
2849</t>
2850<t hangText="2008-09-06">
2851  Add experimental support for SVG images.
2852</t>
2853<t hangText="2008-09-17">
2854  Add experimental support for x:author. Fix xref/@format=none.
2855</t>
2856<t hangText="2008-10-10">
2857  Fix a huge bug, causing text content after an XML comment to be ignored.
2858</t>
2859<t hangText="2009-02-24">
2860  Use table/caption when needed.
2861</t>
2862<t hangText="2009-03-07">
2863  Fix bug that caused text to disappear in the output in presence of
2864  processing instructions.
2865</t>
2866<t hangText="2009-03-12">
2867  Make inlined comments bookmarkable.
2868</t>
2869      </list></t>
2870    </section>
2871    <section title="rfc2629toFO.xslt">
2872      <t><list style="hanging">
2873<t hangText="2003-11-16">
2874    Initial release.
2875</t>
2876<t hangText="2003-11-29">
2877    Enhance handling of unknown list styles.
2878</t>
2879<t hangText="2004-04-04">
2880    Update reference section handling.
2881</t>
2882<t hangText="2004-04-17">
2883    Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for
2884    existing implementations. Unify PDF info generation by using XEP (postprocessors)
2885    will convert.
2886</t>
2887<t hangText="2004-04-20">
2888    Add experimental cref support.
2889</t>
2890<t hangText="2004-06-14">
2891    Set correct index-item defaults.
2892</t>
2893<t hangText="2004-07-18">
2894    Add list style=letters.
2895</t>
2896<t hangText="2004-09-03">
2897    Make URLs in text break where they are allowed to break by inserting
2898    zero-width spaces.
2899</t>
2900<t hangText="2004-09-26">
2901    Fix letter-style inside nested lists.
2902</t>
2903<t hangText="2004-10-31">
2904    Update handling of artwork.
2905</t>
2906<t hangText="2004-11-13">
2907    Fix handling of references inside ed:* markup.  Fix whitespace handling
2908    in artwork.
2909</t>
2910<t hangText="2004-11-27">
2911    Irefs in artwork generate monospaced entries in index.
2912</t>
2913<t hangText="2005-01-31">
2914    Fix TOC generation that was broken after changes in main XSLT.
2915</t>
2916<t hangText="2005-02-05">
2917    Bring in sync with cosmetic changes in rfc2629.xslt.
2918</t>
2919<t hangText="2005-05-07">
2920    Minor fix for change tracking in document title.  Support for table
2921    styles.
2922</t>
2923<t hangText="2005-06-18">
2924    Fix references to tables.
2925</t>
2926<t hangText="2005-10-15">
2927    Process t/@anchor.
2928</t>
2929<t hangText="2006-02-11">
2930    References: add "work in progress" for Internet Drafts.
2931</t>
2932<t hangText="2006-06-02">
2933    Use XSL 1.1 WD Feb 2006.
2934</t>
2935<t hangText="2007-03-21">
2936    Support optional text justification.
2937</t>
2938<t hangText="2007-05-19">
2939    Various improvements in spacing; also allow overriding the automatic
2940    list indentation via list/x:indent.
2941</t>
2942     </list></t>
2943    </section>
2944
2945    <section title="xsl11toAn.xslt">
2946    <t><list style="hanging">
2947<t hangText="2004-05-17">
2948     Initial release.
2949</t>
2950<t hangText="2006-06-02">
2951    Use XSL 1.1 WD Feb 2006.
2952</t>
2953    </list></t>
2954    </section>
2955
2956    <section title="xsl11toFop.xslt">
2957    <t><list style="hanging">
2958<t hangText="2004-05-17">
2959     Initial release.
2960</t>
2961<t hangText="2006-06-02">
2962    Use XSL 1.1 WD Feb 2006.
2963</t>
2964    </list></t>
2965    </section>
2966
2967    <section title="xsl11toFop-0.93.xslt">
2968    <t><list style="hanging">
2969<t hangText="2008-03-15">
2970    Add a workaround to the fo:inline workaround (sigh).
2971</t>
2972    </list></t>
2973    </section>
2974
2975    <section title="xsl11toXep.xslt">
2976    <t><list style="hanging">
2977<t hangText="2004-05-17">
2978     Initial release.
2979</t>
2980<t hangText="2004-09-04">
2981     Fix xep:index-item attributes.
2982</t>
2983<t hangText="2006-06-02">
2984    Use XSL 1.1 WD Feb 2006.
2985</t>
2986    </list></t>
2987    </section>
2988  </section>
2989
2990</back>
2991</rfc>
Note: See TracBrowser for help on using the repository browser.