source: rfc2629xslt/rfc2629xslt.xml @ 830

Last change on this file since 830 was 799, checked in by julian.reschke@…, 10 years ago

latest versions of rfc2629.xslt and xml2rfc.tcl, bump up document dates

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