source: rfc2629xslt/rfc2629xslt.xml @ 573

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

update to latest version of rfc2629.xslt; bump up document dates

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