Changeset 981 for rfc2629xslt
- Timestamp:
- 01/09/10 07:07:16 (12 years ago)
- Location:
- rfc2629xslt
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/clean-for-DTD.xslt
r814 r981 142 142 <xsl:template match="x:parse-xml" mode="cleanup"> 143 143 <xsl:apply-templates/> 144 </xsl:template> 145 146 <xsl:template match="x:prose" mode="cleanup"> 147 <xsl:variable name="text" select="."/> 148 <xsl:comment>Converted from rfc2629.xslt x:prose extension</xsl:comment> 149 <xsl:choose> 150 <xsl:when test="contains($text,' ')"> 151 <seriesInfo name="{substring-before($text,' ')}" value="{substring-after($text,' ')}"/> 152 </xsl:when> 153 <xsl:otherwise> 154 <seriesInfo name="" value="{$text}"/> 155 </xsl:otherwise> 156 </xsl:choose> 144 157 </xsl:template> 145 158 … … 702 715 <xsl:template match="@x:nrm" mode="cleanup"/> 703 716 717 <!-- title extensions --> 718 <xsl:template match="title/@x:quotes" mode="cleanup"/> 719 704 720 <!-- RDF info stripped --> 705 721 <xsl:template match="rdf:*" mode="cleanup"/> -
rfc2629xslt/rfc2629-ext.rnc
r799 r981 27 27 | x_bb 28 28 | x_bc 29 | x_bcp14 29 30 | x_bt 30 31 | x_highlight … … 121 122 front, 122 123 seriesInfo*, 124 x_prose? 123 125 format*, 124 126 annotation*, … … 196 198 attribute x:annotation { ATEXT }? 197 199 198 # Extend attribute set for <iref> (see Section 10.2 2)200 # Extend attribute set for <iref> (see Section 10.23) 199 201 attlist.iref &= 200 202 attribute x:for-anchor { ATEXT }? 201 203 202 # Extend attribute set for <list> (see Section 10.2 3)204 # Extend attribute set for <list> (see Section 10.24) 203 205 attlist.list &= 204 206 attribute x:indent { ATEXT }? … … 213 215 attribute x:maturity-level { "proposed" | "draft" | "internet" }? 214 216 215 # Extend attribute set for <section> (see Section 10.2 5)217 # Extend attribute set for <section> (see Section 10.26) 216 218 attlist.section &= 217 219 attribute x:fixed-section-number { ATEXT }? … … 221 223 attribute anchor { xsd:ID }? 222 224 225 # Allow x:quotes attribute on <title> 226 attlist.title &= 227 attribute x:quotes { "true" | "false" }? 228 223 229 # Allow annotation attribute on <uri> 224 230 attlist.uri &= 225 231 attribute x:annotation { ATEXT }? 226 232 227 # Extend attribute set for <xref> (see Section 10.2 6)233 # Extend attribute set for <xref> (see Section 10.27) 228 234 attlist.xref &= 229 235 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | … … 278 284 (TEXT 279 285 | iref 286 | spanx 280 287 | xref 281 288 | x_bb … … 380 387 x_parse-xml = 381 388 element x:parse-xml { 382 TEXT 383 } 384 385 # Inline quote (see Section 10.17) 389 (TEXT 390 | xref)* 391 } 392 393 # Inline prose in a reference (see Section 10.17) 394 x_prose = 395 element x:prose { 396 TEXT 397 } 398 399 # Inline quote (see Section 10.18) 386 400 x_q = 387 401 element x:q { … … 389 403 } 390 404 391 # Anchor reference (see Section 10.1 8)405 # Anchor reference (see Section 10.19) 392 406 x_ref = 393 407 element x:ref { … … 396 410 } 397 411 398 # source information (see Section 10. 19)412 # source information (see Section 10.20) 399 413 x_source = 400 414 element x:source { … … 404 418 } 405 419 406 # superscript (see Section 10.2 0)420 # superscript (see Section 10.21) 407 421 x_sup = 408 422 element x:sup { -
rfc2629xslt/rfc2629.xslt
r971 r981 1620 1620 </xsl:for-each> 1621 1621 1622 <xsl:if test="not(front/title/@x:quotes='false')">“</xsl:if> 1622 1623 <xsl:choose> 1623 1624 <xsl:when test="string-length($target) > 0"> 1624 <xsl:text>“</xsl:text>1625 1625 <a href="{$target}"><xsl:value-of select="normalize-space(front/title)" /></a> 1626 <xsl:text>”</xsl:text>1627 1626 </xsl:when> 1628 1627 <xsl:otherwise> 1629 <xsl:text>“</xsl:text>1630 1628 <xsl:value-of select="normalize-space(front/title)" /> 1631 <xsl:text>”</xsl:text>1632 1629 </xsl:otherwise> 1633 1630 </xsl:choose> 1631 <xsl:if test="not(front/title/@x:quotes='false')">”</xsl:if> 1634 1632 1635 1633 <xsl:for-each select="seriesInfo"> … … 1645 1643 </xsl:for-each> 1646 1644 1645 <!-- avoid hacks using seriesInfo when it's not really series information --> 1646 <xsl:for-each select="x:prose"> 1647 <xsl:text>, </xsl:text> 1648 <xsl:value-of select="."/> 1649 </xsl:for-each> 1650 1647 1651 <xsl:if test="front/date/@year != ''"> 1648 1652 <xsl:if test="string(number(front/date/@year)) = 'NaN'"> … … 6191 6195 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6192 6196 <!-- when RCS keyword substitution in place, add version info --> 6193 <xsl:if test="contains('$Revision: 1.52 0$',':')">6194 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.52 0$', 'Revision: '),'$','')),', ')" />6197 <xsl:if test="contains('$Revision: 1.522 $',':')"> 6198 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.522 $', 'Revision: '),'$','')),', ')" /> 6195 6199 </xsl:if> 6196 <xsl:if test="contains('$Date: 2010-0 7-14 12:36:35$',':')">6197 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-0 7-14 12:36:35$', 'Date: '),'$','')),', ')" />6200 <xsl:if test="contains('$Date: 2010-08-31 15:02:33 $',':')"> 6201 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-08-31 15:02:33 $', 'Date: '),'$','')),', ')" /> 6198 6202 </xsl:if> 6199 6203 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> -
rfc2629xslt/rfc2629toFO.xslt
r832 r981 750 750 </xsl:for-each> 751 751 752 <xsl: text>"</xsl:text>752 <xsl:if test="not(front/title/@x:quotes='false')">"<!--“--></xsl:if> 753 753 <xsl:choose> 754 754 <xsl:when test="string-length($target) > 0"> … … 759 759 </xsl:otherwise> 760 760 </xsl:choose> 761 <xsl: text>"</xsl:text>761 <xsl:if test="not(front/title/@x:quotes='false')">"<!--”--></xsl:if> 762 762 763 763 <xsl:for-each select="seriesInfo"> … … 771 771 </xsl:otherwise> 772 772 </xsl:choose> 773 </xsl:for-each> 774 775 <!-- avoid hacks using seriesInfo when it's not really series information --> 776 <xsl:for-each select="x:prose"> 777 <xsl:text>, </xsl:text> 778 <xsl:value-of select="."/> 773 779 </xsl:for-each> 774 780 -
rfc2629xslt/rfc2629toXHTML.xslt
r971 r981 1488 1488 </xsl:for-each> 1489 1489 1490 <xsl:if test="not(front/title/@x:quotes='false')">“</xsl:if> 1490 1491 <xsl:choose> 1491 1492 <xsl:when test="string-length($target) > 0"> 1492 <xsl:text>“</xsl:text>1493 1493 <a href="{$target}"><xsl:value-of select="normalize-space(front/title)"/></a> 1494 <xsl:text>”</xsl:text>1495 1494 </xsl:when> 1496 1495 <xsl:otherwise> 1497 <xsl:text>“</xsl:text>1498 1496 <xsl:value-of select="normalize-space(front/title)"/> 1499 <xsl:text>”</xsl:text>1500 1497 </xsl:otherwise> 1501 1498 </xsl:choose> 1499 <xsl:if test="not(front/title/@x:quotes='false')">”</xsl:if> 1502 1500 1503 1501 <xsl:for-each select="seriesInfo"> … … 1513 1511 </xsl:for-each> 1514 1512 1513 <!-- avoid hacks using seriesInfo when it's not really series information --> 1514 <xsl:for-each select="x:prose"> 1515 <xsl:text>, </xsl:text> 1516 <xsl:value-of select="."/> 1517 </xsl:for-each> 1518 1515 1519 <xsl:if test="front/date/@year != ''"> 1516 1520 <xsl:if test="string(number(front/date/@year)) = 'NaN'"> … … 6049 6053 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6050 6054 <!-- when RCS keyword substitution in place, add version info --> 6051 <xsl:if test="contains('$Revision: 1.52 0$',':')">6052 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.52 0$', 'Revision: '),'$','')),', ')"/>6055 <xsl:if test="contains('$Revision: 1.522 $',':')"> 6056 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.522 $', 'Revision: '),'$','')),', ')"/> 6053 6057 </xsl:if> 6054 <xsl:if test="contains('$Date: 2010-0 7-14 12:36:35$',':')">6055 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-0 7-14 12:36:35$', 'Date: '),'$','')),', ')"/>6058 <xsl:if test="contains('$Date: 2010-08-31 15:02:33 $',':')"> 6059 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-08-31 15:02:33 $', 'Date: '),'$','')),', ')"/> 6056 6060 </xsl:if> 6057 6061 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/> -
rfc2629xslt/rfc2629xslt.html
r971 r981 350 350 } 351 351 @top-right { 352 content: " June2010";352 content: "August 2010"; 353 353 } 354 354 @top-center { … … 377 377 } 378 378 } 379 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C Examples" href="#rfc.section.C"><link rel="Appendix" title="D The /rfc/@ipr Attribute" href="#rfc.section.D"><link rel="Appendix" title="E License" href="#rfc.section.E"><link rel="Appendix" title="F Change Logs" href="#rfc.section.F"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.52 0, 2010-07-14 12:36:35, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 through XSLT</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">June 2010</td></tr></tbody></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2. <a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1 <a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3. <a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4. <a href="#anchors">Anchors</a></li><li class="tocline0">5. <a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1 <a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2 <a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li class="tocline0">6. <a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1 <a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2 <a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3 <a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4 <a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5 <a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7. <a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8. <a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9. <a href="#output.pdf">Transforming to PDF</a><ul class="toc"><li class="tocline1">9.1 <a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1 <a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2 <a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2 <a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10. <a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#ext.element.abnf-char-sequence"><abnf-char-sequence> element</a></li><li class="tocline1">10.2 <a href="#ext.element.anchor-alias"><anchor-alias> element</a></li><li class="tocline1">10.3 <a href="#ext.element.bcp14"><bcp14> element</a></li><li class="tocline1">10.4 <a href="#ext.element.bb"><bb> element</a></li><li class="tocline1">10.5 <a href="#ext.element.bc"><bc> element</a></li><li class="tocline1">10.6 <a href="#ext.element.blockquote"><blockquote> element</a></li><li class="tocline1">10.7 <a href="#ext.element.boilerplate"><boilerplate> element</a></li><li class="tocline1">10.8 <a href="#ext.element.bt"><bt> element</a></li><li class="tocline1">10.9 <a href="#ext.element.dfn"><dfn> element</a></li><li class="tocline1">10.10 <a href="#ext.element.h"><h> element</a></li><li class="tocline1">10.11 <a href="#ext.element.highlight"><highlight> element</a></li><li class="tocline1">10.12 <a href="#ext.element.length-of"><length-of> element</a></li><li class="tocline1">10.13 <a href="#ext.element.link"><link> element</a></li><li class="tocline1">10.14 <a href="#ext.element.lt"><lt> element</a></li><li class="tocline1">10.15 <a href="#ext.element.note"><note> element</a></li><li class="tocline1">10.16 <a href="#ext.element.parse-xml"><parse-xml> element</a></li><li class="tocline1">10.17 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.18 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.19 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.20 <a href="#ext.element.sup"><sup> element</a></li><li class="tocline1">10.21 <a href="#ext-rfc2629.artwork">Extensions to Xml2rfc <artwork> element</a></li><li class="tocline1">10.22 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.23 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.24 <a href="#ext-rfc2629.rfc">Extensions to Xml2rfc <rfc> element</a></li><li class="tocline1">10.25 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.26 <a href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></li></ul></li><li class="tocline0">11. <a href="#utilities">Utilities</a><ul class="toc"><li class="tocline1">11.1 <a href="#checking-references">Checking References</a></li><li class="tocline1">11.2 <a href="#rfc.section.11.2">Generating Graphs from References</a></li><li class="tocline1">11.3 <a href="#rfc.section.11.3">Producing reference entries for books</a></li><li class="tocline1">11.4 <a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li class="tocline1">11.5 <a href="#extract-artwork">Extracting artwork</a></li><li class="tocline1">11.6 <a href="#grddl">GRRDL</a></li></ul></li><li class="tocline0">12. <a href="#rfc.references">Informative References</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0">A. <a href="#grammar">RELAX NG Compact Schema</a></li><li class="tocline0">B. <a href="#rfc.section.B">Implementation Notes</a><ul class="toc"><li class="tocline1">B.1 <a href="#rfc.section.B.1">Recognized type attributes for <artwork> element</a></li></ul></li><li class="tocline0">C. <a href="#examples">Examples</a><ul class="toc"><li class="tocline1">C.1 <a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li class="tocline1">C.2 <a href="#examples.customizing">Customization</a></li></ul></li><li class="tocline0">D. <a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul class="toc"><li class="tocline1">D.1 <a href="#attribute-ipr-current">Current Values: '*trust200902'</a><ul class="toc"><li class="tocline1">D.1.1 <a href="#attribute-ipr-trust200902">trust200902</a></li><li class="tocline1">D.1.2 <a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></li><li class="tocline1">D.1.3 <a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></li><li class="tocline1">D.1.4 <a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></li></ul></li><li class="tocline1">D.2 <a href="#attribute-ipr-historic">Historic Values</a><ul class="toc"><li class="tocline1">D.2.1 <a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></li><li class="tocline1">D.2.2 <a href="#attribute-ipr-3978">Historic Values: '*3978'</a></li><li class="tocline1">D.2.3 <a href="#attribute-ipr-3667">Historic Values: '*3667'</a></li><li class="tocline1">D.2.4 <a href="#attribute-ipr-2026">Historic Values: '*2026'</a></li></ul></li></ul></li><li class="tocline0">E. <a href="#license">License</a></li><li class="tocline0">F. <a href="#rfc.section.F">Change Logs</a><ul class="toc"><li class="tocline1">F.1 <a href="#rfc.section.F.1">Package</a></li><li class="tocline1">F.2 <a href="#rfc.section.F.2">amazon-asin.xslt</a></li><li class="tocline1">F.3 <a href="#rfc.section.F.3">check-references.xslt</a></li><li class="tocline1">F.4 <a href="#rfc.section.F.4">gen-reference-graph.xslt</a></li><li class="tocline1">F.5 <a href="#rfc.section.F.5">rfc2629.xslt</a></li><li class="tocline1">F.6 <a href="#rfc.section.F.6">rfc2629toFO.xslt</a></li><li class="tocline1">F.7 <a href="#rfc.section.F.7">xsl11toAn.xslt</a></li><li class="tocline1">F.8 <a href="#rfc.section.F.8">xsl11toFop.xslt</a></li><li class="tocline1">F.9 <a href="#rfc.section.F.9">xsl11toFop-0.95.xslt</a></li><li class="tocline1">F.10 <a href="#rfc.section.F.10">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section 2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section 3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section 4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section 5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section 6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section 7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section 8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section 9</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section 10</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section 11</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at <<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>>.</p><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> <a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.33.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> Extension elements</h2><p id="rfc.section.2.1.p.1"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section 10</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p> <pre class="text"><?rfc toc="yes"?>379 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C Examples" href="#rfc.section.C"><link rel="Appendix" title="D The /rfc/@ipr Attribute" href="#rfc.section.D"><link rel="Appendix" title="E License" href="#rfc.section.E"><link rel="Appendix" title="F Change Logs" href="#rfc.section.F"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.522, 2010-08-31 15:02:33, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 through XSLT</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">August 2010</td></tr></tbody></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2. <a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1 <a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3. <a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4. <a href="#anchors">Anchors</a></li><li class="tocline0">5. <a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1 <a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2 <a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li class="tocline0">6. <a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1 <a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2 <a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3 <a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4 <a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5 <a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7. <a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8. <a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9. <a href="#output.pdf">Transforming to PDF</a><ul class="toc"><li class="tocline1">9.1 <a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1 <a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2 <a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2 <a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10. <a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#ext.element.abnf-char-sequence"><abnf-char-sequence> element</a></li><li class="tocline1">10.2 <a href="#ext.element.anchor-alias"><anchor-alias> element</a></li><li class="tocline1">10.3 <a href="#ext.element.bcp14"><bcp14> element</a></li><li class="tocline1">10.4 <a href="#ext.element.bb"><bb> element</a></li><li class="tocline1">10.5 <a href="#ext.element.bc"><bc> element</a></li><li class="tocline1">10.6 <a href="#ext.element.blockquote"><blockquote> element</a></li><li class="tocline1">10.7 <a href="#ext.element.boilerplate"><boilerplate> element</a></li><li class="tocline1">10.8 <a href="#ext.element.bt"><bt> element</a></li><li class="tocline1">10.9 <a href="#ext.element.dfn"><dfn> element</a></li><li class="tocline1">10.10 <a href="#ext.element.h"><h> element</a></li><li class="tocline1">10.11 <a href="#ext.element.highlight"><highlight> element</a></li><li class="tocline1">10.12 <a href="#ext.element.length-of"><length-of> element</a></li><li class="tocline1">10.13 <a href="#ext.element.link"><link> element</a></li><li class="tocline1">10.14 <a href="#ext.element.lt"><lt> element</a></li><li class="tocline1">10.15 <a href="#ext.element.note"><note> element</a></li><li class="tocline1">10.16 <a href="#ext.element.parse-xml"><parse-xml> element</a></li><li class="tocline1">10.17 <a href="#ext.element.prose"><prose> element</a></li><li class="tocline1">10.18 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.19 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.20 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.21 <a href="#ext.element.sup"><sup> element</a></li><li class="tocline1">10.22 <a href="#ext-rfc2629.artwork">Extensions to Xml2rfc <artwork> element</a></li><li class="tocline1">10.23 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.24 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.25 <a href="#ext-rfc2629.rfc">Extensions to Xml2rfc <rfc> element</a></li><li class="tocline1">10.26 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.27 <a href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></li></ul></li><li class="tocline0">11. <a href="#utilities">Utilities</a><ul class="toc"><li class="tocline1">11.1 <a href="#checking-references">Checking References</a></li><li class="tocline1">11.2 <a href="#rfc.section.11.2">Generating Graphs from References</a></li><li class="tocline1">11.3 <a href="#rfc.section.11.3">Producing reference entries for books</a></li><li class="tocline1">11.4 <a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li class="tocline1">11.5 <a href="#extract-artwork">Extracting artwork</a></li><li class="tocline1">11.6 <a href="#grddl">GRRDL</a></li></ul></li><li class="tocline0">12. <a href="#rfc.references">Informative References</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0">A. <a href="#grammar">RELAX NG Compact Schema</a></li><li class="tocline0">B. <a href="#rfc.section.B">Implementation Notes</a><ul class="toc"><li class="tocline1">B.1 <a href="#rfc.section.B.1">Recognized type attributes for <artwork> element</a></li></ul></li><li class="tocline0">C. <a href="#examples">Examples</a><ul class="toc"><li class="tocline1">C.1 <a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li class="tocline1">C.2 <a href="#examples.customizing">Customization</a></li></ul></li><li class="tocline0">D. <a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul class="toc"><li class="tocline1">D.1 <a href="#attribute-ipr-current">Current Values: '*trust200902'</a><ul class="toc"><li class="tocline1">D.1.1 <a href="#attribute-ipr-trust200902">trust200902</a></li><li class="tocline1">D.1.2 <a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></li><li class="tocline1">D.1.3 <a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></li><li class="tocline1">D.1.4 <a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></li></ul></li><li class="tocline1">D.2 <a href="#attribute-ipr-historic">Historic Values</a><ul class="toc"><li class="tocline1">D.2.1 <a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></li><li class="tocline1">D.2.2 <a href="#attribute-ipr-3978">Historic Values: '*3978'</a></li><li class="tocline1">D.2.3 <a href="#attribute-ipr-3667">Historic Values: '*3667'</a></li><li class="tocline1">D.2.4 <a href="#attribute-ipr-2026">Historic Values: '*2026'</a></li></ul></li></ul></li><li class="tocline0">E. <a href="#license">License</a></li><li class="tocline0">F. <a href="#rfc.section.F">Change Logs</a><ul class="toc"><li class="tocline1">F.1 <a href="#rfc.section.F.1">Package</a></li><li class="tocline1">F.2 <a href="#rfc.section.F.2">amazon-asin.xslt</a></li><li class="tocline1">F.3 <a href="#rfc.section.F.3">check-references.xslt</a></li><li class="tocline1">F.4 <a href="#rfc.section.F.4">gen-reference-graph.xslt</a></li><li class="tocline1">F.5 <a href="#rfc.section.F.5">rfc2629.xslt</a></li><li class="tocline1">F.6 <a href="#rfc.section.F.6">rfc2629toFO.xslt</a></li><li class="tocline1">F.7 <a href="#rfc.section.F.7">xsl11toAn.xslt</a></li><li class="tocline1">F.8 <a href="#rfc.section.F.8">xsl11toFop.xslt</a></li><li class="tocline1">F.9 <a href="#rfc.section.F.9">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section 2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section 3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section 4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section 5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section 6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section 7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section 8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section 9</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section 10</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section 11</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at <<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>>.</p><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> <a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.33.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> Extension elements</h2><p id="rfc.section.2.1.p.1"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section 10</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p> <pre class="text"><?rfc toc="yes"?> 380 380 <?rfc-ext support-rfc2731="no"?> 381 381 </pre> <div id="rfc.figure.u.2"></div> <p>Using XSLT parameters (Saxon):</p> <pre class="text">java -cp saxon.jar com.icl.saxon.StyleSheet source.xml rfc2629.xslt \ … … 384 384 --param xml2rfc-ext-support-rfc2731 '"no"' \ 385 385 rfc2629.xslt source.xml > result.html 386 </pre> <p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p> <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> Supported xml2rfc-compatible PIs</h2><div id="rfc.table.u.1"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>comment</th></tr></thead><tbody><tr><td class="left">rfc</td><td class="left">background<div id="rfc.iref.b.1"></div><div id="rfc.iref.p.1"></div></td><td class="left">xml2rfc-background<div id="rfc.iref.x.2"></div> <div id="rfc.iref.p.2"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">compact<div id="rfc.iref.c.1"></div><div id="rfc.iref.p.3"></div></td><td class="left">xml2rfc-compact<div id="rfc.iref.x.3"></div> <div id="rfc.iref.p.4"></div></td><td class="left">"no"</td><td class="left">only applies to HTML output method when printing</td></tr><tr><td class="left">rfc</td><td class="left">comments<div id="rfc.iref.c.2"></div><div id="rfc.iref.p.5"></div></td><td class="left">xml2rfc-comments<div id="rfc.iref.x.4"></div> <div id="rfc.iref.p.6"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">editing<div id="rfc.iref.e.1"></div><div id="rfc.iref.p.7"></div></td><td class="left">xml2rfc-editing<div id="rfc.iref.x.5"></div> <div id="rfc.iref.p.8"></div></td><td class="left">"no"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">footer<div id="rfc.iref.f.1"></div><div id="rfc.iref.p.9"></div></td><td class="left">xml2rfc-footer<div id="rfc.iref.x.6"></div> <div id="rfc.iref.p.10"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">header<div id="rfc.iref.h.1"></div><div id="rfc.iref.p.11"></div></td><td class="left">xml2rfc-header<div id="rfc.iref.x.7"></div> <div id="rfc.iref.p.12"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">inline<div id="rfc.iref.i.1"></div><div id="rfc.iref.p.13"></div></td><td class="left">xml2rfc-inline<div id="rfc.iref.x.8"></div> <div id="rfc.iref.p.14"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">iprnotified<div id="rfc.iref.i.2"></div><div id="rfc.iref.p.15"></div></td><td class="left">xml2rfc-iprnotified<div id="rfc.iref.x.9"></div> <div id="rfc.iref.p.16"></div></td><td class="left">"no"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">linkmailto<div id="rfc.iref.l.1"></div><div id="rfc.iref.p.17"></div></td><td class="left">xml2rfc-linkmailto<div id="rfc.iref.x.10"></div> <div id="rfc.iref.p.18"></div></td><td class="left">"yes"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">private<div id="rfc.iref.p.19"></div><div id="rfc.iref.p.20"></div></td><td class="left">xml2rfc-private<div id="rfc.iref.x.11"></div> <div id="rfc.iref.p.21"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">refparent<div id="rfc.iref.r.1"></div><div id="rfc.iref.p.22"></div></td><td class="left">xml2rfc-private<div id="rfc.iref.x.12"></div> <div id="rfc.iref.p.23"></div></td><td class="left">"References"</td><td class="left">Title for References sections when automatically inserted</td></tr><tr><td class="left">rfc</td><td class="left">rfcedstyle<div id="rfc.iref.r.2"></div><div id="rfc.iref.p.24"></div></td><td class="left">xml2rfc-rfcedstyle<div id="rfc.iref.x.13"></div> <div id="rfc.iref.p.25"></div></td><td class="left">(not set)</td><td class="left">(limited support)</td></tr><tr><td class="left">rfc</td><td class="left">sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.26"></div></td><td class="left">xml2rfc-sortrefs<div id="rfc.iref.x.14"></div> <div id="rfc.iref.p.27"></div></td><td class="left">"no"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">symrefs<div id="rfc.iref.s.2"></div><div id="rfc.iref.p.28"></div></td><td class="left">xml2rfc-symrefs<div id="rfc.iref.x.15"></div> <div id="rfc.iref.p.29"></div></td><td class="left">"yes"</td><td class="left">The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</td></tr><tr><td class="left">rfc</td><td class="left">toc<div id="rfc.iref.t.1"></div><div id="rfc.iref.p.30"></div></td><td class="left">xml2rfc-toc<div id="rfc.iref.x.16"></div> <div id="rfc.iref.p.31"></div></td><td class="left">"no"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">tocdepth<div id="rfc.iref.t.2"></div><div id="rfc.iref.p.32"></div></td><td class="left">xml2rfc-tocdepth<div id="rfc.iref.x.17"></div> <div id="rfc.iref.p.33"></div></td><td class="left">99</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">topblock<div id="rfc.iref.t.3"></div><div id="rfc.iref.p.34"></div></td><td class="left">xml2rfc-topblock<div id="rfc.iref.x.18"></div> <div id="rfc.iref.p.35"></div></td><td class="left">"yes"</td><td class="left"></td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> Unsupported xml2rfc-compatible PIs</h2><div id="rfc.table.u.2"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td class="left">rfc</td><td class="left">include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.36"></div></td><td class="left">incompatible with XML/XSLT processing model, please use external entities instead</td></tr><tr><td class="left">rfc</td><td class="left">needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.37"></div></td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.38"></div></td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.39"></div></td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.40"></div></td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.41"></div></td><td class="left">(defaults to "yes")</td></tr><tr><td class="left">rfc</td><td class="left">tocompact<div id="rfc.iref.t.5"></div><div id="rfc.iref.p.42"></div></td><td class="left"></td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> Extension PIs</h2><div id="rfc.table.u.3"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>description</th></tr></thead><tbody><tr><td class="left">rfc-ext</td><td class="left">allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.43"></div></td><td class="left">xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.19"></div> <div id="rfc.iref.p.44"></div></td><td class="left">"no"</td><td class="left">Enables support for specific elements inside abstract elements (using this extension makes the document incompatible to the RFC2629bis DTD; see description of conversion XSLT in <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section 11.4</a>).</td></tr><tr><td class="left">rfc-ext</td><td class="left">authors-section<div id="rfc.iref.a.2"></div><div id="rfc.iref.p.45"></div></td><td class="left">xml2rfc-ext-authors-section<div id="rfc.iref.x.20"></div> <div id="rfc.iref.p.46"></div></td><td class="left"></td><td class="left">When "end", place the authors section at the end (just before the copyright statements). This seems to be the preferred order in the newest RFCs.</td></tr><tr><td class="left">rfc-ext</td><td class="left">duplex<div id="rfc.iref.d.1"></div><div id="rfc.iref.p.47"></div></td><td class="left">xml2rfc-ext-duplex<div id="rfc.iref.x.21"></div> <div id="rfc.iref.p.48"></div></td><td class="left">no</td><td class="left">When set to "yes", format the PDF output for doublesided printing.</td></tr><tr><td class="left">rfc-ext</td><td class="left">include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.49"></div></td><td class="left">xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.22"></div> <div id="rfc.iref.p.50"></div></td><td class="left"></td><td class="left">When set to "yes", index entries are generated for all references.</td></tr><tr><td class="left">rfc-ext</td><td class="left">justification<div id="rfc.iref.j.1"></div><div id="rfc.iref.p.51"></div></td><td class="left">xml2rfc-ext-justification<div id="rfc.iref.x.23"></div> <div id="rfc.iref.p.52"></div></td><td class="left">"never"</td><td class="left">"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</td></tr><tr><td class="left">rfc-ext</td><td class="left">parse-xml-in-artwork<div id="rfc.iref.p.53"></div><div id="rfc.iref.p.54"></div></td><td class="left">xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.24"></div> <div id="rfc.iref.p.55"></div></td><td class="left">"no"</td><td class="left">May be used to enable parsing of XML content in figures (MSXML only).</td></tr><tr><td class="left">rfc-ext</td><td class="left">support-rfc2731<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.56"></div></td><td class="left">xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.25"></div> <div id="rfc.iref.p.57"></div></td><td class="left">"yes"</td><td class="left">Decides whether the HTML transformation should generate META tags according <a href="#rfc2731.properties" title="Dublin Core (RFC2731) metadata">Section 6.4</a>.</td></tr><tr><td class="left">rfc-ext</td><td class="left">sec-no-trailing-dots<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.58"></div></td><td class="left">xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.26"></div> <div id="rfc.iref.p.59"></div></td><td class="left"></td><td class="left">When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the newest RFCs.</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> <a id="anchors" href="#anchors">Anchors</a></h1><p id="rfc.section.4.p.1">The transformation automatically generates anchors that are supposed to be stable and predictable and that can be used to identify specific parts of the document. Anchors are generated both in HTML and XSL-FO content (but the latter will only be used for PDF output when the XSL-FO engine supports producing PDF anchors).</p><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>Anchor name</th><th>Description</th></tr></thead><tbody><tr><td class="left">rfc.abstract <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.3"></div></td><td class="left">Abstract</td></tr><tr><td class="left">rfc.authors <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.4"></div></td><td class="left">Authors section</td></tr><tr><td class="left">rfc.copyright <div id="rfc.iref.r.5"></div><div id="rfc.iref.a.5"></div></td><td class="left">Copyright section</td></tr><tr><td class="left">rfc.copyrightnotice <div id="rfc.iref.r.6"></div><div id="rfc.iref.a.6"></div></td><td class="left">Copyright notice</td></tr><tr><td class="left">rfc.figure.<em>n</em> <div id="rfc.iref.r.7"></div><div id="rfc.iref.a.7"></div></td><td class="left">Figures (titled)</td></tr><tr><td class="left">rfc.figure.u.<em>n</em> <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.8"></div></td><td class="left">Figures (untitled)</td></tr><tr><td class="left">rfc.index <div id="rfc.iref.r.9"></div><div id="rfc.iref.a.9"></div></td><td class="left">Index</td></tr><tr><td class="left">rfc.ipr <div id="rfc.iref.r.10"></div><div id="rfc.iref.a.10"></div></td><td class="left">Intellectual Property</td></tr><tr><td class="left">rfc.iref.<em>n</em> <div id="rfc.iref.r.11"></div><div id="rfc.iref.a.11"></div></td><td class="left">Internal references</td></tr><tr><td class="left">rfc.note.<em>n</em> <div id="rfc.iref.r.12"></div><div id="rfc.iref.a.12"></div></td><td class="left">Notes (from front section)</td></tr><tr><td class="left">rfc.references <div id="rfc.iref.r.13"></div><div id="rfc.iref.a.13"></div></td><td class="left">References</td></tr><tr><td class="left">rfc.references.<em>n</em> <div id="rfc.iref.r.14"></div><div id="rfc.iref.a.14"></div></td><td class="left">Additional references</td></tr><tr><td class="left">rfc.section.<em>n</em> <div id="rfc.iref.r.15"></div><div id="rfc.iref.a.15"></div></td><td class="left">Section <em>n</em></td></tr><tr><td class="left">rfc.section.<em>n</em>.p.<em>m</em> <div id="rfc.iref.r.16"></div><div id="rfc.iref.a.16"></div></td><td class="left">Section <em>n</em>, paragraph <em>m</em></td></tr><tr><td class="left">rfc.status <div id="rfc.iref.r.17"></div><div id="rfc.iref.a.17"></div></td><td class="left">Status of memo</td></tr><tr><td class="left">rfc.table.<em>n</em> <div id="rfc.iref.r.18"></div><div id="rfc.iref.a.18"></div></td><td class="left">Tables (titled)</td></tr><tr><td class="left">rfc.table.u.<em>n</em> <div id="rfc.iref.r.19"></div><div id="rfc.iref.a.19"></div></td><td class="left">Tables (untitled)</td></tr><tr><td class="left">rfc.toc <div id="rfc.iref.r.20"></div><div id="rfc.iref.a.20"></div></td><td class="left">Table of contents</td></tr><tr><td class="left">rfc.xref.<em>name</em>.<em>n</em> <div id="rfc.iref.r.21"></div><div id="rfc.iref.a.21"></div></td><td class="left">References to reference <em>n</em> to <em>name</em></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="xslt.engines" href="#xslt.engines">Supported XSLT engines</a></h1><p id="rfc.section.5.p.1">The transformation requires a non-standard extension function (see <a href="http://www.exslt.org/exsl/functions/node-set/exsl.node-set.html">exsl:node-set</a>) which is however widely available. XSLT processors that do not support this extension (or a functional equivalent) currently are not supported.</p><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> Standalone Engines</h2><p id="rfc.section.5.1.p.1">The following XSLT engines are believed to work well: </p><ul><li>Windows: <span id="rfc.iref.m.1"></span><span id="rfc.iref.m.2"></span>MSXML3 and MSXML4 (<<a href="http://msdn.microsoft.com/xml">http://msdn.microsoft.com/xml</a>>; command line processor "msxsl" is available from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41">Microsoft Download Center</a>)</li><li>Java: <span id="rfc.iref.s.8"></span>Saxon (<<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>>)</li><li>Java: <span id="rfc.iref.x.27"></span>Xalan (<<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>>)</li><li>C/C++: <span id="rfc.iref.x.28"></span>xsltproc (libxslt) (<<a href="http://xmlsoft.org/XSLT/">http://xmlsoft.org/XSLT/</a>>, make sure that you have a current version)</li></ul><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="xslt.engines.browser" href="#xslt.engines.browser">In-Browser Engines</a></h2><p id="rfc.section.5.2.p.1">The following browsers seem to work fine: </p><ul><li><p><span id="rfc.iref.i.5"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</p></li><li><p><span id="rfc.iref.i.6"></span><span id="rfc.iref.i.7"></span><span id="rfc.iref.i.8"></span>Internet Explorer 6 and newer</p></li><li><div id="firefox3"><p><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.0 and newer</p></div><p> </p><ul><li>Be aware that XSLT execution can be suppressed using <span id="rfc.iref.n.2"></span><a href="https://addons.mozilla.org/de/firefox/addon/722">NoScript</a></li><li>Firefox does not load external DTDs nor external entities, see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=22942">Mozilla Bug 22942</a>, thus entities like &nbsp; need to be declared in the internal subset (<a href="#examples.internalsubset" title="Using the 'Internal Subset'">Appendix C.1</a>)</li></ul></li><li><p><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</p></li><li><p><span id="rfc.iref.g.1"></span>Google Chrome (beta available)</p></li><li><p><span id="rfc.iref.o.1"></span>Opera 10 (beta version available)</p></li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li><div id="firefox12"><p><span id="rfc.iref.m.4"></span><span id="rfc.iref.f.3"></span>Firefox 1.*/2.*: (missing extension function - see change request at Mozilla BugZilla <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</a>)</p></div></li><li><div id="opera"><p><span id="rfc.iref.o.2"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725).</p></div></li><li><p>Opera 9.5 and 9.6: transformation appears to work, but CSS isn't getting applied (reported to Opera as bug 337388 on 2008-06-12).</p></li><li><div id="safari"><p><span id="rfc.iref.s.11"></span>Safari 2.* supports client-side XSLT as of MacOS X 10.4, but misses required extension functions. A problem with stylesheets producing non-ASCII output (such as NBSP characters) has been fixed as of OSX 10.4.4. Both problems have been reported through Apple's bug tracking system, see <<a href="http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html">http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html</a>> and <<a href="http://bugs.webkit.org/show_bug.cgi?id=4079">http://bugs.webkit.org/show_bug.cgi?id=4079</a>>.</p></div></li></ul><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> <a id="output.html" href="#output.html">Transforming to HTML</a></h1><p id="rfc.section.6.p.1">Transformation to HTML can be done inside the browser if it supports XSLT. To enable this, add the following processing instruction to the start of the source file:</p><div id="rfc.iref.x.29"></div><div id="rfc.figure.u.4"></div><pre class="text"> <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>386 </pre> <p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p> <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> Supported xml2rfc-compatible PIs</h2><div id="rfc.table.u.1"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>comment</th></tr></thead><tbody><tr><td class="left">rfc</td><td class="left">background<div id="rfc.iref.b.1"></div><div id="rfc.iref.p.1"></div></td><td class="left">xml2rfc-background<div id="rfc.iref.x.2"></div> <div id="rfc.iref.p.2"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">compact<div id="rfc.iref.c.1"></div><div id="rfc.iref.p.3"></div></td><td class="left">xml2rfc-compact<div id="rfc.iref.x.3"></div> <div id="rfc.iref.p.4"></div></td><td class="left">"no"</td><td class="left">only applies to HTML output method when printing</td></tr><tr><td class="left">rfc</td><td class="left">comments<div id="rfc.iref.c.2"></div><div id="rfc.iref.p.5"></div></td><td class="left">xml2rfc-comments<div id="rfc.iref.x.4"></div> <div id="rfc.iref.p.6"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">editing<div id="rfc.iref.e.1"></div><div id="rfc.iref.p.7"></div></td><td class="left">xml2rfc-editing<div id="rfc.iref.x.5"></div> <div id="rfc.iref.p.8"></div></td><td class="left">"no"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">footer<div id="rfc.iref.f.1"></div><div id="rfc.iref.p.9"></div></td><td class="left">xml2rfc-footer<div id="rfc.iref.x.6"></div> <div id="rfc.iref.p.10"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">header<div id="rfc.iref.h.1"></div><div id="rfc.iref.p.11"></div></td><td class="left">xml2rfc-header<div id="rfc.iref.x.7"></div> <div id="rfc.iref.p.12"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">inline<div id="rfc.iref.i.1"></div><div id="rfc.iref.p.13"></div></td><td class="left">xml2rfc-inline<div id="rfc.iref.x.8"></div> <div id="rfc.iref.p.14"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">iprnotified<div id="rfc.iref.i.2"></div><div id="rfc.iref.p.15"></div></td><td class="left">xml2rfc-iprnotified<div id="rfc.iref.x.9"></div> <div id="rfc.iref.p.16"></div></td><td class="left">"no"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">linkmailto<div id="rfc.iref.l.1"></div><div id="rfc.iref.p.17"></div></td><td class="left">xml2rfc-linkmailto<div id="rfc.iref.x.10"></div> <div id="rfc.iref.p.18"></div></td><td class="left">"yes"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">private<div id="rfc.iref.p.19"></div><div id="rfc.iref.p.20"></div></td><td class="left">xml2rfc-private<div id="rfc.iref.x.11"></div> <div id="rfc.iref.p.21"></div></td><td class="left">(not set)</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">refparent<div id="rfc.iref.r.1"></div><div id="rfc.iref.p.22"></div></td><td class="left">xml2rfc-private<div id="rfc.iref.x.12"></div> <div id="rfc.iref.p.23"></div></td><td class="left">"References"</td><td class="left">Title for References sections when automatically inserted</td></tr><tr><td class="left">rfc</td><td class="left">rfcedstyle<div id="rfc.iref.r.2"></div><div id="rfc.iref.p.24"></div></td><td class="left">xml2rfc-rfcedstyle<div id="rfc.iref.x.13"></div> <div id="rfc.iref.p.25"></div></td><td class="left">(not set)</td><td class="left">(limited support)</td></tr><tr><td class="left">rfc</td><td class="left">sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.26"></div></td><td class="left">xml2rfc-sortrefs<div id="rfc.iref.x.14"></div> <div id="rfc.iref.p.27"></div></td><td class="left">"no"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">symrefs<div id="rfc.iref.s.2"></div><div id="rfc.iref.p.28"></div></td><td class="left">xml2rfc-symrefs<div id="rfc.iref.x.15"></div> <div id="rfc.iref.p.29"></div></td><td class="left">"yes"</td><td class="left">The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</td></tr><tr><td class="left">rfc</td><td class="left">toc<div id="rfc.iref.t.1"></div><div id="rfc.iref.p.30"></div></td><td class="left">xml2rfc-toc<div id="rfc.iref.x.16"></div> <div id="rfc.iref.p.31"></div></td><td class="left">"no"</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">tocdepth<div id="rfc.iref.t.2"></div><div id="rfc.iref.p.32"></div></td><td class="left">xml2rfc-tocdepth<div id="rfc.iref.x.17"></div> <div id="rfc.iref.p.33"></div></td><td class="left">99</td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">topblock<div id="rfc.iref.t.3"></div><div id="rfc.iref.p.34"></div></td><td class="left">xml2rfc-topblock<div id="rfc.iref.x.18"></div> <div id="rfc.iref.p.35"></div></td><td class="left">"yes"</td><td class="left"></td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> Unsupported xml2rfc-compatible PIs</h2><div id="rfc.table.u.2"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td class="left">rfc</td><td class="left">include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.36"></div></td><td class="left">incompatible with XML/XSLT processing model, please use external entities instead</td></tr><tr><td class="left">rfc</td><td class="left">needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.37"></div></td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.38"></div></td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.39"></div></td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.40"></div></td><td class="left"></td></tr><tr><td class="left">rfc</td><td class="left">tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.41"></div></td><td class="left">(defaults to "yes")</td></tr><tr><td class="left">rfc</td><td class="left">tocompact<div id="rfc.iref.t.5"></div><div id="rfc.iref.p.42"></div></td><td class="left"></td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> Extension PIs</h2><div id="rfc.table.u.3"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>description</th></tr></thead><tbody><tr><td class="left">rfc-ext</td><td class="left">allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.43"></div></td><td class="left">xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.19"></div> <div id="rfc.iref.p.44"></div></td><td class="left">"no"</td><td class="left">Enables support for specific elements inside abstract elements (using this extension makes the document incompatible to the RFC2629bis DTD; see description of conversion XSLT in <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section 11.4</a>).</td></tr><tr><td class="left">rfc-ext</td><td class="left">authors-section<div id="rfc.iref.a.2"></div><div id="rfc.iref.p.45"></div></td><td class="left">xml2rfc-ext-authors-section<div id="rfc.iref.x.20"></div> <div id="rfc.iref.p.46"></div></td><td class="left"></td><td class="left">When "end", place the authors section at the end (just before the copyright statements). This seems to be the preferred order in the newest RFCs.</td></tr><tr><td class="left">rfc-ext</td><td class="left">duplex<div id="rfc.iref.d.1"></div><div id="rfc.iref.p.47"></div></td><td class="left">xml2rfc-ext-duplex<div id="rfc.iref.x.21"></div> <div id="rfc.iref.p.48"></div></td><td class="left">no</td><td class="left">When set to "yes", format the PDF output for doublesided printing.</td></tr><tr><td class="left">rfc-ext</td><td class="left">include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.49"></div></td><td class="left">xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.22"></div> <div id="rfc.iref.p.50"></div></td><td class="left"></td><td class="left">When set to "yes", index entries are generated for all references.</td></tr><tr><td class="left">rfc-ext</td><td class="left">justification<div id="rfc.iref.j.1"></div><div id="rfc.iref.p.51"></div></td><td class="left">xml2rfc-ext-justification<div id="rfc.iref.x.23"></div> <div id="rfc.iref.p.52"></div></td><td class="left">"never"</td><td class="left">"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</td></tr><tr><td class="left">rfc-ext</td><td class="left">parse-xml-in-artwork<div id="rfc.iref.p.53"></div><div id="rfc.iref.p.54"></div></td><td class="left">xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.24"></div> <div id="rfc.iref.p.55"></div></td><td class="left">"no"</td><td class="left">May be used to enable parsing of XML content in figures (MSXML only).</td></tr><tr><td class="left">rfc-ext</td><td class="left">support-rfc2731<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.56"></div></td><td class="left">xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.25"></div> <div id="rfc.iref.p.57"></div></td><td class="left">"yes"</td><td class="left">Decides whether the HTML transformation should generate META tags according <a href="#rfc2731.properties" title="Dublin Core (RFC2731) metadata">Section 6.4</a>.</td></tr><tr><td class="left">rfc-ext</td><td class="left">sec-no-trailing-dots<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.58"></div></td><td class="left">xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.26"></div> <div id="rfc.iref.p.59"></div></td><td class="left"></td><td class="left">When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the newest RFCs.</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> <a id="anchors" href="#anchors">Anchors</a></h1><p id="rfc.section.4.p.1">The transformation automatically generates anchors that are supposed to be stable and predictable and that can be used to identify specific parts of the document. Anchors are generated both in HTML and XSL-FO content (but the latter will only be used for PDF output when the XSL-FO engine supports producing PDF anchors).</p><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>Anchor name</th><th>Description</th></tr></thead><tbody><tr><td class="left">rfc.abstract <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.3"></div></td><td class="left">Abstract</td></tr><tr><td class="left">rfc.authors <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.4"></div></td><td class="left">Authors section</td></tr><tr><td class="left">rfc.copyright <div id="rfc.iref.r.5"></div><div id="rfc.iref.a.5"></div></td><td class="left">Copyright section</td></tr><tr><td class="left">rfc.copyrightnotice <div id="rfc.iref.r.6"></div><div id="rfc.iref.a.6"></div></td><td class="left">Copyright notice</td></tr><tr><td class="left">rfc.figure.<em>n</em> <div id="rfc.iref.r.7"></div><div id="rfc.iref.a.7"></div></td><td class="left">Figures (titled)</td></tr><tr><td class="left">rfc.figure.u.<em>n</em> <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.8"></div></td><td class="left">Figures (untitled)</td></tr><tr><td class="left">rfc.index <div id="rfc.iref.r.9"></div><div id="rfc.iref.a.9"></div></td><td class="left">Index</td></tr><tr><td class="left">rfc.ipr <div id="rfc.iref.r.10"></div><div id="rfc.iref.a.10"></div></td><td class="left">Intellectual Property</td></tr><tr><td class="left">rfc.iref.<em>n</em> <div id="rfc.iref.r.11"></div><div id="rfc.iref.a.11"></div></td><td class="left">Internal references</td></tr><tr><td class="left">rfc.note.<em>n</em> <div id="rfc.iref.r.12"></div><div id="rfc.iref.a.12"></div></td><td class="left">Notes (from front section)</td></tr><tr><td class="left">rfc.references <div id="rfc.iref.r.13"></div><div id="rfc.iref.a.13"></div></td><td class="left">References</td></tr><tr><td class="left">rfc.references.<em>n</em> <div id="rfc.iref.r.14"></div><div id="rfc.iref.a.14"></div></td><td class="left">Additional references</td></tr><tr><td class="left">rfc.section.<em>n</em> <div id="rfc.iref.r.15"></div><div id="rfc.iref.a.15"></div></td><td class="left">Section <em>n</em></td></tr><tr><td class="left">rfc.section.<em>n</em>.p.<em>m</em> <div id="rfc.iref.r.16"></div><div id="rfc.iref.a.16"></div></td><td class="left">Section <em>n</em>, paragraph <em>m</em></td></tr><tr><td class="left">rfc.status <div id="rfc.iref.r.17"></div><div id="rfc.iref.a.17"></div></td><td class="left">Status of memo</td></tr><tr><td class="left">rfc.table.<em>n</em> <div id="rfc.iref.r.18"></div><div id="rfc.iref.a.18"></div></td><td class="left">Tables (titled)</td></tr><tr><td class="left">rfc.table.u.<em>n</em> <div id="rfc.iref.r.19"></div><div id="rfc.iref.a.19"></div></td><td class="left">Tables (untitled)</td></tr><tr><td class="left">rfc.toc <div id="rfc.iref.r.20"></div><div id="rfc.iref.a.20"></div></td><td class="left">Table of contents</td></tr><tr><td class="left">rfc.xref.<em>name</em>.<em>n</em> <div id="rfc.iref.r.21"></div><div id="rfc.iref.a.21"></div></td><td class="left">References to reference <em>n</em> to <em>name</em></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="xslt.engines" href="#xslt.engines">Supported XSLT engines</a></h1><p id="rfc.section.5.p.1">The transformation requires a non-standard extension function (see <a href="http://www.exslt.org/exsl/functions/node-set/exsl.node-set.html">exsl:node-set</a>) which is however widely available. XSLT processors that do not support this extension (or a functional equivalent) currently are not supported.</p><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> Standalone Engines</h2><p id="rfc.section.5.1.p.1">The following XSLT engines are believed to work well: </p><ul><li>Windows: <span id="rfc.iref.m.1"></span><span id="rfc.iref.m.2"></span>MSXML3 and MSXML4 (<<a href="http://msdn.microsoft.com/xml">http://msdn.microsoft.com/xml</a>>; command line processor "msxsl" is available from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41">Microsoft Download Center</a>)</li><li>Java: <span id="rfc.iref.s.8"></span>Saxon (<<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>>)</li><li>Java: <span id="rfc.iref.x.27"></span>Xalan (<<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>>)</li><li>C/C++: <span id="rfc.iref.x.28"></span>xsltproc (libxslt) (<<a href="http://xmlsoft.org/XSLT/">http://xmlsoft.org/XSLT/</a>>, make sure that you have a current version)</li></ul><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="xslt.engines.browser" href="#xslt.engines.browser">In-Browser Engines</a></h2><p id="rfc.section.5.2.p.1">The following browsers seem to work fine: </p><ul><li><p><span id="rfc.iref.i.5"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</p></li><li><p><span id="rfc.iref.i.6"></span><span id="rfc.iref.i.7"></span><span id="rfc.iref.i.8"></span>Internet Explorer 6 and newer</p></li><li><div id="firefox3"><p><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.0 and newer</p></div><p> </p><ul><li>Be aware that XSLT execution can be suppressed using <span id="rfc.iref.n.2"></span><a href="https://addons.mozilla.org/de/firefox/addon/722">NoScript</a></li><li>Firefox does not load external DTDs nor external entities, see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=22942">Mozilla Bug 22942</a>, thus entities like &nbsp; need to be declared in the internal subset (<a href="#examples.internalsubset" title="Using the 'Internal Subset'">Appendix C.1</a>)</li></ul></li><li><p><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</p></li><li><p><span id="rfc.iref.g.1"></span>Google Chrome</p></li><li><p><span id="rfc.iref.o.1"></span>Opera (starting with version 10)</p></li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li><div id="firefox12"><p><span id="rfc.iref.m.4"></span><span id="rfc.iref.f.3"></span>Firefox 1.*/2.*: (missing extension function - see change request at Mozilla BugZilla <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</a>)</p></div></li><li><div id="opera"><p><span id="rfc.iref.o.2"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725).</p></div></li><li><p>Opera 9.5 and 9.6: transformation appears to work, but CSS isn't getting applied (reported to Opera as bug 337388 on 2008-06-12).</p></li><li><div id="safari"><p><span id="rfc.iref.s.11"></span>Safari 2.* supports client-side XSLT as of MacOS X 10.4, but misses required extension functions. A problem with stylesheets producing non-ASCII output (such as NBSP characters) has been fixed as of OSX 10.4.4. Both problems have been reported through Apple's bug tracking system, see <<a href="http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html">http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html</a>> and <<a href="http://bugs.webkit.org/show_bug.cgi?id=4079">http://bugs.webkit.org/show_bug.cgi?id=4079</a>>.</p></div></li></ul><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> <a id="output.html" href="#output.html">Transforming to HTML</a></h1><p id="rfc.section.6.p.1">Transformation to HTML can be done inside the browser if it supports XSLT. To enable this, add the following processing instruction to the start of the source file:</p><div id="rfc.iref.x.29"></div><div id="rfc.figure.u.4"></div><pre class="text"> <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?> 387 387 </pre><p id="rfc.section.6.p.3">(and ensure that <samp>rfc2629.xslt</samp> is present).</p><h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a> HTML compliance</h2><p id="rfc.section.6.1.p.1">The transformation result is supposed to conform to the HTML 4.01 strict DTD <a href="#HTML" id="rfc.xref.HTML.1"><cite title="HTML 4.01 Specification">[HTML]</cite></a>. This can be checked using the W3C's online validator at <<a href="http://validator.w3.org">http://validator.w3.org</a>><span id="rfc.iref.h.2"></span>.</p><h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a> <a id="html.link" href="#html.link">Standard HTML LINK elements</a></h2><p id="rfc.section.6.2.p.1">LINK elements exist since HTML 2.0. They can be used to embed content-independant links inside the document. Unfortunately, only few user agents support this element. Firefox users may want to check the <a href="https://addons.mozilla.org/firefox/2933/">Link Widgets</a> extension.</p><div id="rfc.table.u.5"><p>The following LINK elements are produced:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>LINK type</th><th>description</th></tr></thead><tbody><tr><td class="left">alternate<div id="rfc.iref.a.22"></div><div id="rfc.iref.h.3"></div></td><td class="left">for RFCs, a link to the authorative ASCII version on the IETF web site</td></tr><tr><td class="left">appendic<div id="rfc.iref.a.23"></div><div id="rfc.iref.h.4"></div></td><td class="left">pointer to all top-level appendics</td></tr><tr><td class="left">author<div id="rfc.iref.a.24"></div><div id="rfc.iref.h.5"></div></td><td class="left">pointer to "authors" section</td></tr><tr><td class="left">chapter<div id="rfc.iref.c.3"></div><div id="rfc.iref.h.6"></div></td><td class="left">pointer to all top-level sections</td></tr><tr><td class="left">contents<div id="rfc.iref.c.4"></div><div id="rfc.iref.h.7"></div></td><td class="left">pointer to table of contents</td></tr><tr><td class="left">copyright<div id="rfc.iref.c.5"></div><div id="rfc.iref.h.8"></div></td><td class="left">pointer to copyright statement</td></tr><tr><td class="left">index<div id="rfc.iref.i.9"></div><div id="rfc.iref.h.9"></div></td><td class="left">pointer to index</td></tr></tbody></table></div><div id="rfc.figure.u.5"></div> <p>The figure below shows how Mozilla Firefox 1.0 displays the Site Navigation Bar for rfc2396.xml.</p> <p><img src="rfc2629xslt-fig1.png" alt="
(LINK elements displayed in Mozilla Firefox for RFC2396.xml)
" width="509" height="235"></p> <h2 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a> Standard HTML metadata</h2><div id="rfc.table.u.6"><p>The following standard HTML META elements are produced:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td class="left">generator<div id="rfc.iref.g.2"></div><div id="rfc.iref.h.10"></div></td><td class="left">from XSLT engine version and stylesheet version</td></tr><tr><td class="left">keywords<div id="rfc.iref.k.1"></div><div id="rfc.iref.h.11"></div></td><td class="left">from keyword elements in front section</td></tr></tbody></table></div><h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a> <a id="rfc2731.properties" href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></h2><p id="rfc.section.6.4.p.1">Unless turned off using the "rfc-ext support-rfc2731" processing instruction, the transformation will generate metadata according to <a href="#RFC2731" id="rfc.xref.RFC2731.1"><cite title="Encoding Dublin Core Metadata in HTML">[RFC2731]</cite></a> and <a href="#DC-HTML" id="rfc.xref.DC-HTML.1"><cite title="Expressing Dublin Core metadata using HTML/XHTML meta and link elements">[DC-HTML]</cite></a>.</p><div id="rfc.table.u.7"><p>The following DCMI properties are produced:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td class="left">DC.Creator<div id="rfc.iref.c.6"></div><div id="rfc.iref.d.2"></div></td><td class="left">from author information in front section</td></tr><tr><td class="left">DC.Date.Issued<div id="rfc.iref.d.3"></div><div id="rfc.iref.d.4"></div></td><td class="left">from date information in front section</td></tr><tr><td class="left">DC.Description.Abstract<div id="rfc.iref.d.5"></div><div id="rfc.iref.d.6"></div></td><td class="left">from abstract</td></tr><tr><td class="left">DC.Identifier<div id="rfc.iref.i.10"></div><div id="rfc.iref.d.7"></div></td><td class="left">document URN <a href="#RFC2648" id="rfc.xref.RFC2648.1"><cite title="A URN Namespace for IETF Documents">[RFC2648]</cite></a> from "docName" attribute</td></tr><tr><td class="left">DC.isPartOf<div id="rfc.iref.i.11"></div><div id="rfc.iref.d.8"></div></td><td class="left">RFC ISSN (for RFCs)</td></tr><tr><td class="left">DC.Relation.Replaces<div id="rfc.iref.r.22"></div><div id="rfc.iref.d.9"></div></td><td class="left">from "obsoletes" attribute</td></tr></tbody></table></div><h2 id="rfc.section.6.5"><a href="#rfc.section.6.5">6.5</a> <a id="hcard" href="#hcard">Experimental hCard support</a></h2><p id="rfc.section.6.5.p.1">The generated author information is formatted in <a href="http://microformats.org/wiki/hcard">hCard</a> format.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a> <a id="output.xhtml" href="#output.xhtml">Transforming to XHTML</a></h1><p id="rfc.section.7.p.1">Transforming to XHTML requires slightly different XSLT output options and is implemented by the derived transformation script <samp>rfc2629toXHTML.xslt</samp>.</p><ul class="empty"><li> <b>Note:</b> Microsoft Internet Explorer does <em>not</em> support XHTML. Therefore it usually makes more sense to generate plain old HTML.</li></ul><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a> <a id="output.chm" href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></h1><p id="rfc.section.8.p.1"> <span id="rfc.iref.c.7"></span> <span id="rfc.iref.m.5"></span> To generate a CHM file using Microsoft's HTML Help Compiler (hhc), three files are required in addition to the HTML file. </p><ol><li>hhc - table of contents file (HTML)</li><li>hhk - index file (HTML)</li><li>hhp - project file (plain text)</li></ol><p id="rfc.section.8.p.2">The three files are generated with three specific transformations, each requiring the additional XSLT parameter "basename" to specify the filename prefix.</p><div id="rfc.figure.u.6"></div> <p>Example:</p> <pre class="text">saxon rfc2616.xml rfc2629toHhp.xslt basename=rfc2616 > rfc2616.hhp 388 388 saxon rfc2616.xml rfc2629toHhc.xslt basename=rfc2616 > rfc2616.hhc 389 389 saxon rfc2616.xml rfc2629toHhk.xslt basename=rfc2616 > rfc2616.hhk 390 390 hhc rfc2616.hhp 391 </pre> <hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> <a id="output.pdf" href="#output.pdf">Transforming to PDF</a></h1><h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a> <a id="output.pdf.fop" href="#output.pdf.fop">Via XSL-FO</a></h2><p id="rfc.section.9.1.p.1">Transformation to XSL-FO <a href="#XSL-FO" id="rfc.xref.XSL-FO.1"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a> format is available through <samp>rfc2629toFO.xslt</samp> (which includes <samp>rfc2629.xslt</samp>, so keep both in the same folder).</p><p id="rfc.section.9.1.p.2">Compared to HTML user agents, XSL-FO engines unfortunately either come as open source (for instance, <span id="rfc.iref.a.25"></span>Apache FOP) or feature-complete (for instance, <span id="rfc.iref.a.26"></span> AntennaHouse XSL Formatter), but not both at the same time.</p><p id="rfc.section.9.1.p.3">As Apache FOP needs special workarounds ( page breaking, table layout), and some popular extensions aren't standardized yet, the translation produces a generic output (hopefully) conforming to <a href="#XSL-FO" id="rfc.xref.XSL-FO.2"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a>. Specific backends (<samp>xsl11toFop-0.95xslt</samp>, <samp>xsl11toXep.xslt</samp>, <samp>xsl11toAn.xslt</samp>) then provide post-processing for the individual processors.</p><div class="note" id="rfc.section.9.1.p.4"> <p> <b>Note:</b> the output is currently targeted at Apache FOP 0.95.</p> </div><h3 id="rfc.section.9.1.1"><a href="#rfc.section.9.1.1">9.1.1</a> Extension feature matrix</h3><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th></th><th class="center" style="width: 20%;">PDF anchors</th><th class="center" style="width: 20%;">PDF bookmarks</th><th class="center" style="width: 20%;">PDF document information</th><th class="center" style="width: 20%;">Index cleanup</th></tr></thead><tbody><tr><td class="left"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/">XSL 1.1 WD</a></td><td class="center">no, but can be auto-generated from "id" attributes</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12873">yes</a></td><td class="center">no, but uses XEP output extensions</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12534">yes</a></td></tr><tr><td class="left"><a href="http://www.antennahouse.com/">Antenna House XSL formatter</a></td><td class="center">no</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XEP document info)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (just page duplicate elimination, from XSL 1.1 page index)</td></tr><tr><td class="left"><a href="http://xml.apache.org/fop/">Apache FOP</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#named-destinations">yes</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#bookmarks">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xmlgraphics.apache.org/fop/0.95/metadata.html#xmp-in-fo">yes</a></td><td class="center">no</td></tr><tr><td class="left"><a href="http://xep.xattic.com/">RenderX XEP</a></td><td class="center">no</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a></td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 page index)</td></tr></tbody></table></div><h3 id="rfc.section.9.1.2"><a href="#rfc.section.9.1.2">9.1.2</a> Example: producing output for Apache FOP</h3><div id="rfc.figure.u.7"></div> <p>Example:</p> <pre class="text">saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo392 saxon tmp.fo xsl11toFop -0.95.xslt > rfc2629.fo391 </pre> <hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> <a id="output.pdf" href="#output.pdf">Transforming to PDF</a></h1><h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a> <a id="output.pdf.fop" href="#output.pdf.fop">Via XSL-FO</a></h2><p id="rfc.section.9.1.p.1">Transformation to XSL-FO <a href="#XSL-FO" id="rfc.xref.XSL-FO.1"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a> format is available through <samp>rfc2629toFO.xslt</samp> (which includes <samp>rfc2629.xslt</samp>, so keep both in the same folder).</p><p id="rfc.section.9.1.p.2">Compared to HTML user agents, XSL-FO engines unfortunately either come as open source (for instance, <span id="rfc.iref.a.25"></span>Apache FOP) or feature-complete (for instance, <span id="rfc.iref.a.26"></span> AntennaHouse XSL Formatter), but not both at the same time.</p><p id="rfc.section.9.1.p.3">As Apache FOP needs special workarounds (index generation), and some popular extensions aren't standardized yet, the translation produces a generic output (hopefully) conforming to <a href="#XSL-FO" id="rfc.xref.XSL-FO.2"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a>. Specific backends (<samp>xsl11toFop.xslt</samp>, <samp>xsl11toXep.xslt</samp>, <samp>xsl11toAn.xslt</samp>) then provide post-processing for the individual processors.</p><div class="note" id="rfc.section.9.1.p.4"> <p> <b>Note:</b> the output is currently targeted at Apache FOP 1.0.</p> </div><h3 id="rfc.section.9.1.1"><a href="#rfc.section.9.1.1">9.1.1</a> Extension feature matrix</h3><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th></th><th class="center" style="width: 20%;">PDF anchors</th><th class="center" style="width: 20%;">PDF bookmarks</th><th class="center" style="width: 20%;">PDF document information</th><th class="center" style="width: 20%;">Index cleanup</th></tr></thead><tbody><tr><td class="left"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/">XSL 1.1 WD</a></td><td class="center">no, but can be auto-generated from "id" attributes</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12873">yes</a></td><td class="center">no, but uses XEP output extensions</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12534">yes</a></td></tr><tr><td class="left"><a href="http://www.antennahouse.com/">Antenna House XSL formatter</a></td><td class="center">no</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XEP document info)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (just page duplicate elimination, from XSL 1.1 page index)</td></tr><tr><td class="left"><a href="http://xml.apache.org/fop/">Apache FOP</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#named-destinations">yes</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#bookmarks">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xmlgraphics.apache.org/fop/0.95/metadata.html#xmp-in-fo">yes</a></td><td class="center">no</td></tr><tr><td class="left"><a href="http://xep.xattic.com/">RenderX XEP</a></td><td class="center">no</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a></td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 page index)</td></tr></tbody></table></div><h3 id="rfc.section.9.1.2"><a href="#rfc.section.9.1.2">9.1.2</a> Example: producing output for Apache FOP</h3><div id="rfc.figure.u.7"></div> <p>Example:</p> <pre class="text">saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo 392 saxon tmp.fo xsl11toFop.xslt > rfc2629.fo 393 393 </pre> <h2 id="rfc.section.9.2"><a href="#rfc.section.9.2">9.2</a> <a id="output.pdf.html" href="#output.pdf.html">Via X(HTML)</a></h2><p id="rfc.section.9.2.p.1">PDF output can also be produced directly from (X)HTML. One simple approach is to rely on the browser's printing function, and to use a printer driver that produces PDF. Depending on the brower's CSS capabilities, the output will behave properly with respect to table breaks etc.</p><p id="rfc.section.9.2.p.2">An alternative is PrinceXML (see <<a href="http://www.princexml.com/">http://www.princexml.com/</a>>), which can produce PDF directly from (X)HTML input, based on the CSS printing information.</p><div id="rfc.figure.u.8"></div> <p>For instance, PDF output with text justification turned on can be produced with:</p> <pre class="text">saxon input.xml rfc2629toXHTML.xslt xml2rfc-ext-justification=print \ 394 394 > output.xhtml … … 422 422 rel="Bookmark" 423 423 title="IETF WEBDAV Working Group" 424 href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/></pre> <div id="rfc.iref.e.15"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a> <a id="ext.element.lt" href="#ext.element.lt"><lt> element</a></h2><p id="rfc.section.10.14.p.1">Used for grouping multiple <t> elements into a single list item.</p><div id="rfc.iref.e.16"></div><div id="rfc.iref.n.3"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext.element.note" href="#ext.element.note"><note> element</a></h2><p id="rfc.section.10.15.p.1">Can be used to add a note, usually indented by a few characters. It should contain one or more <t> child elements.</p><div id="rfc.iref.e.17"></div><div id="rfc.iref.p.60"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext.element.parse-xml" href="#ext.element.parse-xml"><parse-xml> element</a></h2><p id="rfc.section.10.16.p.1">This element instructs the processor to parse the contents as XML and to warn when there's a problem (requires either MSXML or Saxon8 or newer).</p><div id="rfc.iref.e.18"></div><div id="rfc.iref. q.1"></div><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext.element.q" href="#ext.element.q"><q> element</a></h2><p id="rfc.section.10.17.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.19"></div><div id="rfc.iref.r.23"></div><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext.element.ref" href="#ext.element.ref"><ref> element</a></h2><p id="rfc.section.10.18.p.1">This element is a simplified variant of the <xref> element, in that no "target" attribute needs to be specified, instead the text contents acts as identifier. That in itself wouldn't be terribly useful, but together with the <<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>>, it allows referring to other parts of the document with minimal additional markup.</p><p id="rfc.section.10.18.p.2">For instance, given an alias definition such as</p><div id="rfc.figure.u.12"></div> <pre class="text"> <section title="Test" anchor="test">424 href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/></pre> <div id="rfc.iref.e.15"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a> <a id="ext.element.lt" href="#ext.element.lt"><lt> element</a></h2><p id="rfc.section.10.14.p.1">Used for grouping multiple <t> elements into a single list item.</p><div id="rfc.iref.e.16"></div><div id="rfc.iref.n.3"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext.element.note" href="#ext.element.note"><note> element</a></h2><p id="rfc.section.10.15.p.1">Can be used to add a note, usually indented by a few characters. It should contain one or more <t> child elements.</p><div id="rfc.iref.e.17"></div><div id="rfc.iref.p.60"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext.element.parse-xml" href="#ext.element.parse-xml"><parse-xml> element</a></h2><p id="rfc.section.10.16.p.1">This element instructs the processor to parse the contents as XML and to warn when there's a problem (requires either MSXML or Saxon8 or newer).</p><div id="rfc.iref.e.18"></div><div id="rfc.iref.p.61"></div><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext.element.prose" href="#ext.element.prose"><prose> element</a></h2><p id="rfc.section.10.17.p.1">This element can be used inside <reference> to add plain text (before the date, when present).</p><div id="rfc.iref.e.19"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext.element.q" href="#ext.element.q"><q> element</a></h2><p id="rfc.section.10.18.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.20"></div><div id="rfc.iref.r.23"></div><h2 id="rfc.section.10.19"><a href="#rfc.section.10.19">10.19</a> <a id="ext.element.ref" href="#ext.element.ref"><ref> element</a></h2><p id="rfc.section.10.19.p.1">This element is a simplified variant of the <xref> element, in that no "target" attribute needs to be specified, instead the text contents acts as identifier. That in itself wouldn't be terribly useful, but together with the <<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>>, it allows referring to other parts of the document with minimal additional markup.</p><p id="rfc.section.10.19.p.2">For instance, given an alias definition such as</p><div id="rfc.figure.u.12"></div> <pre class="text"> <section title="Test" anchor="test"> 425 425 <x:anchor-alias value="alias1"/> 426 426 <x:anchor-alias value="alias 2"/> 427 427 ... 428 </section></pre> <p id="rfc.section.10.1 8.p.4">the following simple references</p><div id="rfc.figure.u.13"></div> <pre class="text"> <x:ref>test</x:ref>428 </section></pre> <p id="rfc.section.10.19.p.4">the following simple references</p><div id="rfc.figure.u.13"></div> <pre class="text"> <x:ref>test</x:ref> 429 429 <x:ref>alias1</x:ref> 430 <x:ref>alias 2</x:ref></pre> <p id="rfc.section.10.1 8.p.6">are equivalent to...:</p><div id="rfc.figure.u.14"></div> <pre class="text"> <xref target="test">test</xref>430 <x:ref>alias 2</x:ref></pre> <p id="rfc.section.10.19.p.6">are equivalent to...:</p><div id="rfc.figure.u.14"></div> <pre class="text"> <xref target="test">test</xref> 431 431 <xref target="test">alias1</xref> 432 <xref target="test">alias 2</xref></pre> <div id="rfc.iref.e.2 0"></div><div id="rfc.iref.s.12"></div><h2 id="rfc.section.10.19"><a href="#rfc.section.10.19">10.19</a> <a id="ext.element.source" href="#ext.element.source"><source> element</a></h2><p id="rfc.section.10.19.p.1">Can be used to enhance a <reference> with information about the location for the XML source. This can be used by the <xref> processing code to automatically extract the target section number.</p><div id="rfc.figure.u.15"></div> <p>For example:</p> <pre class="text"> ...432 <xref target="test">alias 2</xref></pre> <div id="rfc.iref.e.21"></div><div id="rfc.iref.s.12"></div><h2 id="rfc.section.10.20"><a href="#rfc.section.10.20">10.20</a> <a id="ext.element.source" href="#ext.element.source"><source> element</a></h2><p id="rfc.section.10.20.p.1">Can be used to enhance a <reference> with information about the location for the XML source. This can be used by the <xref> processing code to automatically extract the target section number.</p><div id="rfc.figure.u.15"></div> <p>For example:</p> <pre class="text"> ... 433 433 <xref target="RFC2616" x:fmt="of" x:rel="#PUT" /> 434 434 ... … … 438 438 <x:source href="rfc2616.xml"/> 439 439 ... 440 </pre> <div id="rfc.iref.e.2 1"></div><div id="rfc.iref.s.13"></div><h2 id="rfc.section.10.20"><a href="#rfc.section.10.20">10.20</a> <a id="ext.element.sup" href="#ext.element.sup"><sup> element</a></h2><p id="rfc.section.10.20.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</a>" element in <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><p id="rfc.section.10.20.p.2">Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".</p><h2 id="rfc.section.10.21"><a href="#rfc.section.10.21">10.21</a> <a id="ext-rfc2629.artwork" href="#ext-rfc2629.artwork">Extensions to Xml2rfc <artwork> element</a></h2><p id="rfc.section.10.21.p.1">Sometimes, artwork occurs inside lists. To get it indent properly in xml2rfc's text output, it needs to be indented in the source. This is sub-optimal, as this whitespace will also appear in the HTML output, where it's already indented due to HTML's semantics.</p><p id="rfc.section.10.21.p.2">As a workaround, a "x:indent-with" attribute can be specified, containing a string that will be prepended to each line when <samp>clean-for-DTD.xslt</samp> is run (see <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section 11.4</a>).</p><h2 id="rfc.section.10.22"><a href="#rfc.section.10.22">10.22</a> <a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></h2><p id="rfc.section.10.22.p.1">The extension attribute below is allowed on the standard <iref> element: </p><ul><li>x:for-anchor specifies that the <iref> will also be automatically inserted whenever the specified anchor is cross-referenced -- this may save entering lots of <iref> instances. As a special case, a value of "" (empty string) refers to the anchor attribute of the closest ancestor.</li></ul><h2 id="rfc.section.10.23"><a href="#rfc.section.10.23">10.23</a> <a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></h2><p id="rfc.section.10.23.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:indent specifies the amount of indentation for list items in hanging lists. This can be useful when the output format, such as XSL-FO, does not support automatical formatting. The value takes an XSL-FO width, such as "5em". The default is <em>length of longest label in characters</em> times <em>0.8em</em>.</li></ul><p id="rfc.section.10.23.p.2">Also, the <list> element can take <x:<a href="#ext.element.lt" class="smpl">lt</a>> child elements instead of <t>, allowing to insert multiple paragraphs into a single list item.</p><h2 id="rfc.section.10.24"><a href="#rfc.section.10.24">10.24</a> <a id="ext-rfc2629.rfc" href="#ext-rfc2629.rfc">Extensions to Xml2rfc <rfc> element</a></h2><p id="rfc.section.10.24.p.1">The extension attributes below are allowed on the standard <rfc> element: </p><ul><li>grddl:transformation can be used to reference a GRDDL transform.</li><li>x:maturiy-level can be used to specify the IETF Standards Track Maturity Level of "proposed", "draft" or "internet" (see <a href="http://tools.ietf.org/html/rfc2026#section-4.1">Section 4.1</a> of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a>).</li></ul><h2 id="rfc.section.10.25"><a href="#rfc.section.10.25">10.25</a> <a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></h2><p id="rfc.section.10.25.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:fixed-section-number can be used to specify a fixed section number. This can be useful when formatting historic documents that used a different numbering style.</li></ul><h2 id="rfc.section.10.26"><a href="#rfc.section.10.26">10.26</a> <a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></h2><p id="rfc.section.10.26.p.1">Three extension attributes are allowed on the standard <xref> element: </p><ol><li>x:sec can be specified to point to a specific section of the referenced document,</li><li>x:rel may specify a relative reference to use when linking into the referenced document (if linking by section number is not available),</li><li>x:fmt defines the text format to be used.</li></ol><p id="rfc.section.10.26.p.2">The following formats are defined for the x:fmt attribute: </p><dl><dt>, (Comma)</dt><dd>[<em>reference</em>], Section <em>sec</em> </dd><dt>()</dt><dd>[<em>reference</em>] (Section <em>sec</em>)</dd><dt>anchor</dt><dd>Like the default format, but without brackets.</dd><dt>of</dt><dd>Section <em>sec</em> of [<em>reference</em>]</dd><dt>number</dt><dd> <em>sec</em> </dd><dt>none</dt><dd>No output (can be used to have xrefs to references without having them rendered as such)</dd><dt>sec</dt><dd>Section <em>sec</em> </dd></dl><p id="rfc.section.10.26.p.3">These extensions are currently only supported for <xref> elements without child nodes.</p><p id="rfc.section.10.26.p.4">If the processor knows how to reference the target section, it will generate a link directly to the target section, such as in <a href="#RFC2119" id="rfc.xref.RFC2119.2"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>, <a href="http://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> <a id="utilities" href="#utilities">Utilities</a></h1><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a> <a id="checking-references" href="#checking-references">Checking References</a></h2><p id="rfc.section.11.1.p.1"> <samp>check-references.xslt</samp> can be used to check all references to RFC- and ID-series IETF publications and to W3C publications (note this script requires local copies of <<a href="ftp://ftp.isi.edu/in-notes/rfc-index.xml">ftp://ftp.isi.edu/in-notes/rfc-index.xml</a>> and <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>> and will use the XML status information provided at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>>).</p><p id="rfc.section.11.1.p.2">If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <samp>intended-level</samp> as 'proposed', 'draft' or 'internet'. Alternatively, it can be specified inside the document using the attribute x:maturity-level on the <rfc> element.</p><p id="rfc.section.11.1.p.3"> <b>Note:</b> Downward references should be annotated using the <annotate> element, containing an <xref> to <a href="#BCP97" id="rfc.xref.BCP97.1"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>.</p><p id="rfc.section.11.1.p.4">When an XSLT 2.0 processor is used, links in the document can be checked as well using the <samp>link-check</samp> paramerer ('yes' or 'no'). Note that this only works for http links to documents of type text/*.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2008-07-12, the script produces for <<a href="http://greenbytes.de/tech/webdav/rfc2518.xml">http://greenbytes.de/tech/webdav/rfc2518.xml</a>>:</p> <pre class="text">> saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \440 </pre> <div id="rfc.iref.e.22"></div><div id="rfc.iref.s.13"></div><h2 id="rfc.section.10.21"><a href="#rfc.section.10.21">10.21</a> <a id="ext.element.sup" href="#ext.element.sup"><sup> element</a></h2><p id="rfc.section.10.21.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</a>" element in <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><p id="rfc.section.10.21.p.2">Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".</p><h2 id="rfc.section.10.22"><a href="#rfc.section.10.22">10.22</a> <a id="ext-rfc2629.artwork" href="#ext-rfc2629.artwork">Extensions to Xml2rfc <artwork> element</a></h2><p id="rfc.section.10.22.p.1">Sometimes, artwork occurs inside lists. To get it indent properly in xml2rfc's text output, it needs to be indented in the source. This is sub-optimal, as this whitespace will also appear in the HTML output, where it's already indented due to HTML's semantics.</p><p id="rfc.section.10.22.p.2">As a workaround, a "x:indent-with" attribute can be specified, containing a string that will be prepended to each line when <samp>clean-for-DTD.xslt</samp> is run (see <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section 11.4</a>).</p><h2 id="rfc.section.10.23"><a href="#rfc.section.10.23">10.23</a> <a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></h2><p id="rfc.section.10.23.p.1">The extension attribute below is allowed on the standard <iref> element: </p><ul><li>x:for-anchor specifies that the <iref> will also be automatically inserted whenever the specified anchor is cross-referenced -- this may save entering lots of <iref> instances. As a special case, a value of "" (empty string) refers to the anchor attribute of the closest ancestor.</li></ul><h2 id="rfc.section.10.24"><a href="#rfc.section.10.24">10.24</a> <a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></h2><p id="rfc.section.10.24.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:indent specifies the amount of indentation for list items in hanging lists. This can be useful when the output format, such as XSL-FO, does not support automatical formatting. The value takes an XSL-FO width, such as "5em". The default is <em>length of longest label in characters</em> times <em>0.8em</em>.</li></ul><p id="rfc.section.10.24.p.2">Also, the <list> element can take <x:<a href="#ext.element.lt" class="smpl">lt</a>> child elements instead of <t>, allowing to insert multiple paragraphs into a single list item.</p><h2 id="rfc.section.10.25"><a href="#rfc.section.10.25">10.25</a> <a id="ext-rfc2629.rfc" href="#ext-rfc2629.rfc">Extensions to Xml2rfc <rfc> element</a></h2><p id="rfc.section.10.25.p.1">The extension attributes below are allowed on the standard <rfc> element: </p><ul><li>grddl:transformation can be used to reference a GRDDL transform.</li><li>x:maturiy-level can be used to specify the IETF Standards Track Maturity Level of "proposed", "draft" or "internet" (see <a href="http://tools.ietf.org/html/rfc2026#section-4.1">Section 4.1</a> of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a>).</li></ul><h2 id="rfc.section.10.26"><a href="#rfc.section.10.26">10.26</a> <a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></h2><p id="rfc.section.10.26.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:fixed-section-number can be used to specify a fixed section number. This can be useful when formatting historic documents that used a different numbering style.</li></ul><h2 id="rfc.section.10.27"><a href="#rfc.section.10.27">10.27</a> <a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></h2><p id="rfc.section.10.27.p.1">Three extension attributes are allowed on the standard <xref> element: </p><ol><li>x:sec can be specified to point to a specific section of the referenced document,</li><li>x:rel may specify a relative reference to use when linking into the referenced document (if linking by section number is not available),</li><li>x:fmt defines the text format to be used.</li></ol><p id="rfc.section.10.27.p.2">The following formats are defined for the x:fmt attribute: </p><dl><dt>, (Comma)</dt><dd>[<em>reference</em>], Section <em>sec</em> </dd><dt>()</dt><dd>[<em>reference</em>] (Section <em>sec</em>)</dd><dt>anchor</dt><dd>Like the default format, but without brackets.</dd><dt>of</dt><dd>Section <em>sec</em> of [<em>reference</em>]</dd><dt>number</dt><dd> <em>sec</em> </dd><dt>none</dt><dd>No output (can be used to have xrefs to references without having them rendered as such)</dd><dt>sec</dt><dd>Section <em>sec</em> </dd></dl><p id="rfc.section.10.27.p.3">These extensions are currently only supported for <xref> elements without child nodes.</p><p id="rfc.section.10.27.p.4">If the processor knows how to reference the target section, it will generate a link directly to the target section, such as in <a href="#RFC2119" id="rfc.xref.RFC2119.2"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>, <a href="http://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> <a id="utilities" href="#utilities">Utilities</a></h1><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a> <a id="checking-references" href="#checking-references">Checking References</a></h2><p id="rfc.section.11.1.p.1"> <samp>check-references.xslt</samp> can be used to check all references to RFC- and ID-series IETF publications and to W3C publications (note this script requires local copies of <<a href="ftp://ftp.isi.edu/in-notes/rfc-index.xml">ftp://ftp.isi.edu/in-notes/rfc-index.xml</a>> and <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>> and will use the XML status information provided at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>>).</p><p id="rfc.section.11.1.p.2">If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <samp>intended-level</samp> as 'proposed', 'draft' or 'internet'. Alternatively, it can be specified inside the document using the attribute x:maturity-level on the <rfc> element.</p><p id="rfc.section.11.1.p.3"> <b>Note:</b> Downward references should be annotated using the <annotate> element, containing an <xref> to <a href="#BCP97" id="rfc.xref.BCP97.1"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>.</p><p id="rfc.section.11.1.p.4">When an XSLT 2.0 processor is used, links in the document can be checked as well using the <samp>link-check</samp> paramerer ('yes' or 'no'). Note that this only works for http links to documents of type text/*.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2008-07-12, the script produces for <<a href="http://greenbytes.de/tech/webdav/rfc2518.xml">http://greenbytes.de/tech/webdav/rfc2518.xml</a>>:</p> <pre class="text">> saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \ 441 441 link-check=yes 442 442 … … 491 491 </reference> 492 492 </references> 493 </pre><p id="rfc.section.11.3.p.3">Note that the resulting XML usually requires checking, in this case Amazon's database is playing tricks with Marshall's name...</p><h2 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a> <a id="clean-for-dtd" href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></h2><p id="rfc.section.11.4.p.1"> <samp>clean-for-DTD.xslt</samp> can be used to down-convert some extensions to a format that is supported by the base xml2rfc distribution. Note that these extensions are experimental (feedback appreciated).</p><p id="rfc.section.11.4.p.2">The following mappings are done: </p><ul><li><iref> elements inside <artwork> elements are moved in front of the enclosing <figure> element.</li><li><xref> elements inside <artwork> are expanded just like in regular text (that is, the markup is stripped, but the element is replaced by the applicable replacement text).</li><li><x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>> elements get stripped.</li><li><x:<a href="#ext.element.bcp14" class="smpl">bcp14</a>> elements get stripped.</li><li><x:<a href="#ext.element.bb" class="smpl">bb</a>>, <x:<a href="#ext.element.bc" class="smpl">bc</a>> and <x:<a href="#ext.element.bt" class="smpl">bt</a>> elements get stripped.</li><li><x:<a href="#ext.element.blockquote" class="smpl">blockquote</a>> elements get converted to indented text (through a <list> element).</li><li><x:<a href="#ext.element.dfn" class="smpl">dfn</a>> elements get stripped.</li><li><x:<a href="#ext.element.h" class="smpl">h</a>> elements get stripped.</li><li><x:<a href="#ext.element.link" class="smpl">link</a>> elements get stripped.</li><li><x:<a href="#ext.element.note" class="smpl">note</a>> elements get converted to indented text (through a <list> element).</li><li><x:<a href="#ext.element.q" class="smpl">q</a>> elements get stripped, with apostrophes added around the text.</li><li><x:<a href="#ext.element. ref" class="smpl">ref</a>> elements get replaced by <xref> elements, targetting either the anchor or another anchor with matching <x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>> child element.</li></ul><h2 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a> <a id="extract-artwork" href="#extract-artwork">Extracting artwork</a></h2><p id="rfc.section.11.5.p.1">With <samp>extract-artwork.xslt</samp>, artwork elements named through the "name" attribute can be extracted. This can be used to automatically check their syntax (for instance, when ABNFs appear within a figure element).</p><div id="rfc.figure.u.19"></div><p>For instance:</p> <pre class="text">saxon rfc3986.xml extract-artwork.xslt name=uri.abnf493 </pre><p id="rfc.section.11.3.p.3">Note that the resulting XML usually requires checking, in this case Amazon's database is playing tricks with Marshall's name...</p><h2 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a> <a id="clean-for-dtd" href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></h2><p id="rfc.section.11.4.p.1"> <samp>clean-for-DTD.xslt</samp> can be used to down-convert some extensions to a format that is supported by the base xml2rfc distribution. Note that these extensions are experimental (feedback appreciated).</p><p id="rfc.section.11.4.p.2">The following mappings are done: </p><ul><li><iref> elements inside <artwork> elements are moved in front of the enclosing <figure> element.</li><li><xref> elements inside <artwork> are expanded just like in regular text (that is, the markup is stripped, but the element is replaced by the applicable replacement text).</li><li><x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>> elements get stripped.</li><li><x:<a href="#ext.element.bcp14" class="smpl">bcp14</a>> elements get stripped.</li><li><x:<a href="#ext.element.bb" class="smpl">bb</a>>, <x:<a href="#ext.element.bc" class="smpl">bc</a>> and <x:<a href="#ext.element.bt" class="smpl">bt</a>> elements get stripped.</li><li><x:<a href="#ext.element.blockquote" class="smpl">blockquote</a>> elements get converted to indented text (through a <list> element).</li><li><x:<a href="#ext.element.dfn" class="smpl">dfn</a>> elements get stripped.</li><li><x:<a href="#ext.element.h" class="smpl">h</a>> elements get stripped.</li><li><x:<a href="#ext.element.link" class="smpl">link</a>> elements get stripped.</li><li><x:<a href="#ext.element.note" class="smpl">note</a>> elements get converted to indented text (through a <list> element).</li><li><x:<a href="#ext.element.q" class="smpl">q</a>> elements get stripped, with apostrophes added around the text.</li><li><x:<a href="#ext.element.prose" class="smpl">prose</a>> elements are transformed into <seriesInfo> elements (which is an abuse of the element and only a workaround until xml2rfc gets a matching extension).</li><li><x:<a href="#ext.element.ref" class="smpl">ref</a>> elements get replaced by <xref> elements, targetting either the anchor or another anchor with matching <x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>> child element.</li></ul><h2 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a> <a id="extract-artwork" href="#extract-artwork">Extracting artwork</a></h2><p id="rfc.section.11.5.p.1">With <samp>extract-artwork.xslt</samp>, artwork elements named through the "name" attribute can be extracted. This can be used to automatically check their syntax (for instance, when ABNFs appear within a figure element).</p><div id="rfc.figure.u.19"></div><p>For instance:</p> <pre class="text">saxon rfc3986.xml extract-artwork.xslt name=uri.abnf 494 494 </pre> <p id="rfc.section.11.5.p.3">In addition, artwork of a specific type can be extracted, such as with:</p><div id="rfc.figure.u.20"></div> <pre class="text">saxon rfc3986.xml extract-artwork.xslt type=abnf 495 495 </pre> <p id="rfc.section.11.5.p.5">When extracting by type, artwork elements with a specified name can be excluded; this can be handy when the document uses some kind of schema language, and an appendix contains the collected schema, repeating definitions from earlier on. Example:</p><div id="rfc.figure.u.21"></div><pre class="text">saxon rfc3986.xml extract-artwork.xslt type=abnf except-name=clschm … … 520 520 <strong>| <a href="#x_bb" class="smpl">x_bb</a></strong> 521 521 <strong>| <a href="#x_bc" class="smpl">x_bc</a></strong> 522 <strong>| <a href="#x_bcp14" class="smpl">x_bcp14</a></strong> 522 523 <strong>| <a href="#x_bt" class="smpl">x_bt</a></strong> 523 524 <strong>| <a href="#x_highlight" class="smpl">x_highlight</a></strong> … … 614 615 front, 615 616 seriesInfo*, 617 <strong><a href="#x_prose" class="smpl">x_prose</a>?</strong> 616 618 format*, 617 619 annotation*, … … 689 691 attribute x:annotation { ATEXT }? 690 692 691 <em># Extend attribute set for <iref> (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref> element">Section 10.2 2</a>)</em>693 <em># Extend attribute set for <iref> (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref> element">Section 10.23</a>)</em> 692 694 attlist.iref &= 693 695 attribute x:for-anchor { ATEXT }? 694 696 695 <em># Extend attribute set for <list> (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list> element">Section 10.2 3</a>)</em>697 <em># Extend attribute set for <list> (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list> element">Section 10.24</a>)</em> 696 698 attlist.list &= 697 699 attribute x:indent { ATEXT }? … … 706 708 attribute x:maturity-level { "proposed" | "draft" | "internet" }? 707 709 708 <em># Extend attribute set for <section> (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section> element">Section 10.2 5</a>)</em>710 <em># Extend attribute set for <section> (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section> element">Section 10.26</a>)</em> 709 711 attlist.section &= 710 712 attribute x:fixed-section-number { ATEXT }? … … 714 716 attribute anchor { xsd:ID }? 715 717 718 <em># Allow x:quotes attribute on <title></em> 719 attlist.title &= 720 attribute x:quotes { "true" | "false" }? 721 716 722 <em># Allow annotation attribute on <uri></em> 717 723 attlist.uri &= 718 724 attribute x:annotation { ATEXT }? 719 725 720 <em># Extend attribute set for <xref> (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref> element">Section 10.2 6</a>)</em>726 <em># Extend attribute set for <xref> (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref> element">Section 10.27</a>)</em> 721 727 attlist.xref &= 722 728 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | … … 725 731 attribute x:sec { ATEXT }? 726 732 727 <em id="x_abnf-char-sequence"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.2 2"></span># Conversion to ABNF char sequence (see <a href="#ext.element.abnf-char-sequence" title="<abnf-char-sequence> element">Section 10.1</a>)</em>733 <em id="x_abnf-char-sequence"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.23"></span># Conversion to ABNF char sequence (see <a href="#ext.element.abnf-char-sequence" title="<abnf-char-sequence> element">Section 10.1</a>)</em> 728 734 <a href="#x_abnf-char-sequence" class="smpl">x_abnf-char-sequence</a> = 729 735 element x:abnf-char-sequence { … … 731 737 } 732 738 733 <em id="x_anchor-alias"><span id="rfc.iref.a.30"></span><span id="rfc.iref.e.2 3"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias> element">Section 10.2</a>)</em>739 <em id="x_anchor-alias"><span id="rfc.iref.a.30"></span><span id="rfc.iref.e.24"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias> element">Section 10.2</a>)</em> 734 740 <a href="#x_anchor-alias" class="smpl">x_anchor-alias</a> = 735 741 element x:anchor-alias { … … 738 744 } 739 745 740 <em id="x_include-author"><span id="rfc.iref.i.12"></span><span id="rfc.iref.e.2 4"></span># Including Author information746 <em id="x_include-author"><span id="rfc.iref.i.12"></span><span id="rfc.iref.e.25"></span># Including Author information 741 747 # (experimental)</em> 742 748 <a href="#x_include-author" class="smpl">x_include-author</a> = … … 745 751 } 746 752 747 <em id="x_assign-section-number"><span id="rfc.iref.a.31"></span><span id="rfc.iref.e.2 5"></span># Setting section numbers for internally generated sections753 <em id="x_assign-section-number"><span id="rfc.iref.a.31"></span><span id="rfc.iref.e.26"></span># Setting section numbers for internally generated sections 748 754 # (experimental)</em> 749 755 <a href="#x_assign-section-number" class="smpl">x_assign-section-number</a> = … … 754 760 } 755 761 756 <em id="x_bb"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.2 6"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb> element">Section 10.4</a>)</em>762 <em id="x_bb"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.27"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb> element">Section 10.4</a>)</em> 757 763 <a href="#x_bb" class="smpl">x_bb</a> = 758 764 element x:bb { … … 766 772 } 767 773 768 <em id="x_bc"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.2 7"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc> element">Section 10.5</a>)</em>774 <em id="x_bc"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.28"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc> element">Section 10.5</a>)</em> 769 775 <a href="#x_bc" class="smpl">x_bc</a> = 770 776 element x:bc { 771 777 (TEXT 772 778 | iref 779 | spanx 773 780 | xref 774 781 | <a href="#x_bb" class="smpl">x_bb</a> … … 778 785 } 779 786 780 <em id="x_bcp14"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.2 8"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.3</a>)</em>787 <em id="x_bcp14"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.29"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.3</a>)</em> 781 788 <a href="#x_bcp14" class="smpl">x_bcp14</a> = 782 789 element x:bcp14 { … … 794 801 } 795 802 796 <em id="x_blockquote"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e. 29"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.6</a>)</em>803 <em id="x_blockquote"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.30"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.6</a>)</em> 797 804 <a href="#x_blockquote" class="smpl">x_blockquote</a> = 798 805 element x:blockquote { … … 801 808 } 802 809 803 <em id="x_boilerplate"><span id="rfc.iref.b.12"></span><span id="rfc.iref.e.3 0"></span># Boilerplate (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.6</a>) </em>810 <em id="x_boilerplate"><span id="rfc.iref.b.12"></span><span id="rfc.iref.e.31"></span># Boilerplate (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.6</a>) </em> 804 811 <a href="#x_boilerplate" class="smpl">x_boilerplate</a> = 805 812 element x:boilerplate { … … 807 814 } 808 815 809 <em id="x_bt"><span id="rfc.iref.b.13"></span><span id="rfc.iref.e.3 1"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt> element">Section 10.8</a>)</em>816 <em id="x_bt"><span id="rfc.iref.b.13"></span><span id="rfc.iref.e.32"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt> element">Section 10.8</a>)</em> 810 817 <a href="#x_bt" class="smpl">x_bt</a> = 811 818 element x:bt { … … 819 826 } 820 827 821 <em id="x_dfn"><span id="rfc.iref.d.11"></span><span id="rfc.iref.e.3 2"></span># Definition (see <a href="#ext.element.dfn" title="<dfn> element">Section 10.9</a>)</em>828 <em id="x_dfn"><span id="rfc.iref.d.11"></span><span id="rfc.iref.e.33"></span># Definition (see <a href="#ext.element.dfn" title="<dfn> element">Section 10.9</a>)</em> 822 829 <a href="#x_dfn" class="smpl">x_dfn</a> = 823 830 element x:dfn { … … 827 834 } 828 835 829 <em id="x_h"><span id="rfc.iref.h.14"></span><span id="rfc.iref.e.3 3"></span># Heading (see <a href="#ext.element.h" title="<h> element">Section 10.10</a>)</em>836 <em id="x_h"><span id="rfc.iref.h.14"></span><span id="rfc.iref.e.34"></span># Heading (see <a href="#ext.element.h" title="<h> element">Section 10.10</a>)</em> 830 837 <a href="#x_h" class="smpl">x_h</a> = 831 838 element x:h { … … 833 840 } 834 841 835 <em id="x_highlight"><span id="rfc.iref.h.15"></span><span id="rfc.iref.e.3 4"></span># Heading (see <a href="#ext.element.highlight" title="<highlight> element">Section 10.11</a>)</em>842 <em id="x_highlight"><span id="rfc.iref.h.15"></span><span id="rfc.iref.e.35"></span># Heading (see <a href="#ext.element.highlight" title="<highlight> element">Section 10.11</a>)</em> 836 843 <a href="#x_highlight" class="smpl">x_highlight</a> = 837 844 element x:highlight { … … 839 846 } 840 847 841 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.3 5"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of> element">Section 10.12</a>)</em>848 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.36"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of> element">Section 10.12</a>)</em> 842 849 <a href="#x_length-of" class="smpl">x_length-of</a> = 843 850 element x:length-of { … … 847 854 } 848 855 849 <em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.3 6"></span># Link (see <a href="#ext.element.link" title="<link> element">Section 10.13</a>)</em>856 <em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.37"></span># Link (see <a href="#ext.element.link" title="<link> element">Section 10.13</a>)</em> 850 857 <a href="#x_link" class="smpl">x_link</a> = 851 858 element x:link { … … 856 863 } 857 864 858 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.3 7"></span># Extended list item (see <a href="#ext.element.lt" title="<lt> element">Section 10.14</a>)</em>865 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.38"></span># Extended list item (see <a href="#ext.element.lt" title="<lt> element">Section 10.14</a>)</em> 859 866 <a href="#x_lt" class="smpl">x_lt</a> = 860 867 element x:lt { … … 864 871 } 865 872 866 <em id="x_note"><span id="rfc.iref.n.4"></span><span id="rfc.iref.e.3 8"></span># Note (see <a href="#ext.element.note" title="<note> element">Section 10.15</a>)</em>873 <em id="x_note"><span id="rfc.iref.n.4"></span><span id="rfc.iref.e.39"></span># Note (see <a href="#ext.element.note" title="<note> element">Section 10.15</a>)</em> 867 874 <a href="#x_note" class="smpl">x_note</a> = 868 875 element x:note { … … 870 877 } 871 878 872 <em id="x_parse-xml"><span id="rfc.iref.p.6 1"></span><span id="rfc.iref.e.39"></span># Signal XML content (see <a href="#ext.element.parse-xml" title="<parse-xml> element">Section 10.16</a>)</em>879 <em id="x_parse-xml"><span id="rfc.iref.p.62"></span><span id="rfc.iref.e.40"></span># Signal XML content (see <a href="#ext.element.parse-xml" title="<parse-xml> element">Section 10.16</a>)</em> 873 880 <a href="#x_parse-xml" class="smpl">x_parse-xml</a> = 874 881 element x:parse-xml { 882 (TEXT 883 | xref)* 884 } 885 886 <em id="x_prose"><span id="rfc.iref.p.63"></span><span id="rfc.iref.e.41"></span># Inline prose in a reference (see <a href="#ext.element.prose" title="<prose> element">Section 10.17</a>)</em> 887 <a href="#x_prose" class="smpl">x_prose</a> = 888 element x:prose { 875 889 TEXT 876 890 } 877 891 878 <em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e.4 0"></span># Inline quote (see <a href="#ext.element.q" title="<q> element">Section 10.17</a>)</em>892 <em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e.42"></span># Inline quote (see <a href="#ext.element.q" title="<q> element">Section 10.18</a>)</em> 879 893 <a href="#x_q" class="smpl">x_q</a> = 880 894 element x:q { … … 882 896 } 883 897 884 <em id="x_ref"><span id="rfc.iref.r.25"></span><span id="rfc.iref.e.4 1"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref> element">Section 10.18</a>)</em>898 <em id="x_ref"><span id="rfc.iref.r.25"></span><span id="rfc.iref.e.43"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref> element">Section 10.19</a>)</em> 885 899 <a href="#x_ref" class="smpl">x_ref</a> = 886 900 element x:ref { … … 889 903 } 890 904 891 <em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.4 2"></span># source information (see <a href="#ext.element.source" title="<source> element">Section 10.19</a>)</em>905 <em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.44"></span># source information (see <a href="#ext.element.source" title="<source> element">Section 10.20</a>)</em> 892 906 <a href="#x_source" class="smpl">x_source</a> = 893 907 element x:source { … … 897 911 } 898 912 899 <em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.4 3"></span># superscript (see <a href="#ext.element.sup" title="<sup> element">Section 10.20</a>)</em>913 <em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.45"></span># superscript (see <a href="#ext.element.sup" title="<sup> element">Section 10.21</a>)</em> 900 914 <a href="#x_sup" class="smpl">x_sup</a> = 901 915 element x:sup { … … 903 917 } 904 918 905 <em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.4 4"></span># Inline Span </em>919 <em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.46"></span># Inline Span </em> 906 920 <a href="#x_span" class="smpl">x_span</a> = 907 921 element x:span { … … 911 925 } 912 926 913 <em id="x_x"><span id="rfc.iref.x.30"></span><span id="rfc.iref.e.4 5"></span># Nop (for alignment in source)</em>927 <em id="x_x"><span id="rfc.iref.x.30"></span><span id="rfc.iref.e.47"></span># Nop (for alignment in source)</em> 914 928 <a href="#x_x" class="smpl">x_x</a> = 915 929 element x:x { … … 917 931 } 918 932 919 <em id="rdf_Description"><span id="rfc.iref.r.26"></span><span id="rfc.iref.e.4 6"></span># Embed RDF statements </em>933 <em id="rdf_Description"><span id="rfc.iref.r.26"></span><span id="rfc.iref.e.48"></span># Embed RDF statements </em> 920 934 <a href="#rdf_Description" class="smpl">rdf_Description</a> = 921 935 element rdf:Description { … … 969 983 970 984 </xsl:transform> 971 </pre><div class="note" id="rfc.section.C.2.p.3"> <p> <b>Note:</b> the name for the attribute sets may change in the future as more working is done with respect to customizability. In any case, overriding the settings in a separate file will be easier to maintain. Please contact the author if you find yourself trying to override style definitions that currently do not use attribute sets.</p> <p> <b>Note:</b> the CSS style information used in <samp>rfc2629.xslt</samp> can be overriden in a similar (but less granular) way: just overwrite the template called "insertCss". As for XSL-FO, the class names may change in future.</p> </div><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a> <a id="attribute-ipr" href="#attribute-ipr">The /rfc/@ipr Attribute</a></h1><p id="rfc.section.D.p.1">The <samp>ipr</samp> specifies what kind of text is generated for the "Status Of This Memo" and "Copyright Notice" sections on the front page. When submitting an Internet Draft, the "boilerplate" is checked by "Idnits" (<<a href="http://tools.ietf.org/tools/idnits/">http://tools.ietf.org/tools/idnits/</a>>) for compliance with the current Intellectual Property rules, and thus it's important to set the correct value.</p><p id="rfc.section.D.p.2">As of the time of this writing, the attribute value can take a long list of values. As frequently, this is not the result of a grand plan, but simply for historic reasons. Of these values, only a few are currently in use; all others are supported by the various tools for backwards compatibility with old source files.</p><div class="note" id="rfc.section.D.p.3"> <p> <b>Note:</b> some variations of the boilerplate are selected based on the document's date; therefore it is important to specify the "year", "month" and "date" attributes when archiving the XML source of an Internet Draft on the day of submission.</p> </div><p id="rfc.section.D.p.4"> <em>Disclaimer: THIS ONLY PROVIDES IMPLEMENTATION INFORMATION. IF YOU NEED LEGAL ADVICE, PLEASE CONTACT A LAWYER.</em> For further information, refer to <<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>>.</p><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a> <a id="attribute-ipr-current" href="#attribute-ipr-current">Current Values: '*trust200902'</a></h2><p id="rfc.section.D.1.p.1">The name for these values refers to the "TLP" ("IETF TRUST Legal Provisions Relating to IETF Documents"), on effect February 15, 2009 (see <<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090215.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090215.pdf</a>>). Updates to this document were published on September 12, 2009 (TLP 3.0, <<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090912.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090912.pdf</a>>) and on December 28, 2009 (TLP 4.0, <<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20091228.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20091228.pdf</a>>), modifying the license for code components. The actual text is located in Section 6 ("Text To Be Included in IETF Documents") of these documents.</p><p id="rfc.section.D.1.p.2">The tools will automatically produce the "right" text depending on the document's date information (see above):</p><div id="rfc.table.u.10"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th>TLP</th><th>URI</th><th>starting with publication date</th></tr></thead><tbody><tr><td class="left">3.0</td><td class="left"><<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090912.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090912.pdf</a>></td><td class="left">2009-11-01</td></tr><tr><td class="left">4.0</td><td class="left"><<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20091228.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20091228.pdf</a>></td><td class="left">2010-04-01</td></tr></tbody></table></div><h3 id="rfc.section.D.1.1"><a href="#rfc.section.D.1.1">D.1.1</a> <a id="attribute-ipr-trust200902" href="#attribute-ipr-trust200902">trust200902</a></h3><p id="rfc.section.D.1.1.p.1">This should be the default, unless one of the more specific '*trust200902' values is a better fit. It produces the text in Sections 6.a and 6.b of the TLP.</p><h3 id="rfc.section.D.1.2"><a href="#rfc.section.D.1.2">D.1.2</a> <a id="attribute-ipr-noModificationTrust200902" href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></h3><p id="rfc.section.D.1.2.p.1">This produces the additional text from Section 6.c.i of the TLP:</p><blockquote id="rfc.section.D.1.2.p.2"> <p>This document may not be modified, and derivative works of it may not be created, except to format it for publication as an RFC or to translate it into languages other than English.</p> </blockquote><h3 id="rfc.section.D.1.3"><a href="#rfc.section.D.1.3">D.1.3</a> <a id="attribute-ipr-noDerivativesTrust200902" href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></h3><p id="rfc.section.D.1.3.p.1">This produces the additional text from Section 6.c.ii of the TLP:</p><blockquote id="rfc.section.D.1.3.p.2"> <p>This document may not be modified, and derivative works of it may not be created, and it may not be published except as an Internet-Draft.</p> </blockquote><h3 id="rfc.section.D.1.4"><a href="#rfc.section.D.1.4">D.1.4</a> <a id="attribute-ipr-pre5378Trust200902" href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></h3><p id="rfc.section.D.1.4.p.1">This produces the additional text from Section 6.c.iii of the TLP, frequently called the "pre-5378 escape clause":</p><blockquote id="rfc.section.D.1.4.p.2"> <p>This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate it into languages other than English.</p> </blockquote><p id="rfc.section.D.1.4.p.3">See Section 4 of <<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>> for further information about when to use this value.</p><div class="note" id="rfc.section.D.1.4.p.4"> <p> <b>Note:</b> this text appears under "Copyright Notice", unless the document was published before November 2009, in which case it appears under "Status Of This Memo".</p> </div><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a> <a id="attribute-ipr-historic" href="#attribute-ipr-historic">Historic Values</a></h2><h3 id="rfc.section.D.2.1"><a href="#rfc.section.D.2.1">D.2.1</a> <a id="attribute-ipr-200811" href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></h3><p id="rfc.section.D.2.1.p.1">The attribute values "<span id="attribute-ipr-trust200811">trust200811</span>", "<span id="attribute-ipr-noModificationTrust200811">noModificationTrust200811</span>" and "<span id="attribute-ipr-noDerivativesTrust200811">noDerivativesTrust200811</span>" are similar to their "trust200902" counterparts, except that they use text specified in <<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy_11-10-08.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy_11-10-08.pdf</a>>.</p><h3 id="rfc.section.D.2.2"><a href="#rfc.section.D.2.2">D.2.2</a> <a id="attribute-ipr-3978" href="#attribute-ipr-3978">Historic Values: '*3978'</a></h3><p id="rfc.section.D.2.2.p.1">The attribute values "<span id="attribute-ipr-full3978">full3978</span>", "<span id="attribute-ipr-noModification3978">noModification3978</span>" and "<span id="attribute-ipr-noDerivatives3978">noDerivatives3978</span>" are similar to their counterparts above, except that they use text specified in RFC 3978 (March 2005).</p><h3 id="rfc.section.D.2.3"><a href="#rfc.section.D.2.3">D.2.3</a> <a id="attribute-ipr-3667" href="#attribute-ipr-3667">Historic Values: '*3667'</a></h3><p id="rfc.section.D.2.3.p.1">The attribute values "<span id="attribute-ipr-full3667">full3667</span>", "<span id="attribute-ipr-noModification3667">noModification3667</span>" and "<span id="attribute-ipr-noDerivatives3667">noDerivatives3667</span>" are similar to their counterparts above, except that they use text specified in RFC 3667 (February 2004).</p><h3 id="rfc.section.D.2.4"><a href="#rfc.section.D.2.4">D.2.4</a> <a id="attribute-ipr-2026" href="#attribute-ipr-2026">Historic Values: '*2026'</a></h3><p id="rfc.section.D.2.4.p.1">The attribute values "<span id="attribute-ipr-full2026">full2026</span>" and "<span id="attribute-ipr-noDerivativeWorks2026">noDerivativeWorks2026</span>" are similar to their counterparts above, except that they use text specified in RFC 2026 (October 1996).</p><p id="rfc.section.D.2.4.p.2">The special value "<span id="attribute-ipr-none">none</span>" was also used back then, and denied the IETF any rights beyond publication as Internet Draft.</p><hr class="noprint"><h1 id="rfc.section.E" class="np"><a href="#rfc.section.E">E.</a> <a id="license" href="#license">License</a></h1><p id="rfc.section.E.p.1">Copyright (c) 2006-2010, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.E.p.2">All rights reserved.</p><p id="rfc.section.E.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul><p id="rfc.section.E.p.4">THIS 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.</p><hr class="noprint"><h1 id="rfc.section.F" class="np"><a href="#rfc.section.F">F.</a> Change Logs</h1><h2 id="rfc.section.F.1"><a href="#rfc.section.F.1">F.1</a> Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd><dt>2008-07-18</dt><dd>Experimental support for inlined rdf:Description elements (ignored by the formatter, extracted by rfc2629grddl).</dd><dt>2008-12-04</dt><dd>Update to xml2rfc v1.34pre2.</dd><dt>2009-02-24</dt><dd>Experimental support for February 2009 boilerplate changes, and for the x:boilerplate element.</dd><dt>2009-07-08</dt><dd>Support new boilerplate ordering in RFCs published since July 2009. Fix problems with one-column text tables.</dd><dt>2009-07-19</dt><dd>When possible, calculate the actual Expiry date for Internet Drafts (full date must be available).</dd><dt>2009-08-01</dt><dd>For '$xml2rfc-ext-authors-section='end'", move the index in front of the authors section.</dd><dt>2009-08-04</dt><dd>Consider /rfc/@ipr="pre5378Trust200902" when producing RFCs, not IDs.</dd><dt>2009-08-29</dt><dd>Support alignment for artwork containing images (as opposed to, well, artwork).</dd><dt>2009-09-01</dt><dd>Allow xref in cref (as extension).</dd><dt>2009-09-14</dt><dd>Refactor handling of processing instructions.</dd><dt>2009-09-24</dt><dd>Fix typo in Status Of This Memo, present since November 2008. Fix formatting of iprExtract attribute. Starting with Internet Draft publication dates after 2009-11-30: use new Trust Legal Provisions text; for Internet Drafts: move Abstract up, and move "pre5378" escape clause to the Copyright Notice. Add support for refparent PI. For RFCs: use new TLP text as of September 2009. Incorporate xml2rfc v1.34pre4.</dd><dt>2009-10-06</dt><dd>Starting with Internet Draft publication dates after 2009-10-31: use new Trust Legal Provisions text; for Internet Drafts: move Abstract up, and move "pre5378" escape clause to the Copyright Notice. Incorporate xml2rfc v1.34pre5.</dd><dt>2009-10-27</dt><dd>Upgrade to xml2rfc v1.34.</dd><dt>2010-01-08</dt><dd>For RFC generation (not IDs), experimentally support RFC 5741 headers and boilerplate and Trust Legal Provisions 4.0.</dd><dt>2010-03-31</dt><dd>Upgrade to xml2rfc v1.35.</dd><dt>2010-06-27</dt><dd>Be consistent with xml2rfc.tcl in formatting initials (truncate after the first); see <<a href="http://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/10">http://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/10</a>>.</dd>< /dl><h2 id="rfc.section.F.2"><a href="#rfc.section.F.2">F.2</a> amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.F.3"><a href="#rfc.section.F.3">F.3</a> check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>>.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>> to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd><dt>2008-06-14</dt><dd>Enhance output when draft was updated, and then published as RFC.</dd><dt>2008-07-12</dt><dd>Add XSLT2-based link target checking.</dd><dt>2008-08-10</dt><dd>Change keywords for "intended-level" to proposed/draft/internet, optionally extract intended level from /rfc/@x:maturity-level attribute.</dd></dl><h2 id="rfc.section.F.4"><a href="#rfc.section.F.4">F.4</a> gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.F.5"><a href="#rfc.section.F.5">F.5</a> rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see <<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>>). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>>.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>>.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see <<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>>.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add <link> element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (<<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>>) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into <back>.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate <CITE> elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move <dt> style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty <dt> elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in <appendix> elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to <iref> handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for <x:lt>.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (<<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>>) to head element. Add warning for misplaced <t> elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow <eref> below <cref>.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd><dt>2008-03-01</dt><dd>Use line numbers in diagnostics in Saxon8/9 as well.</dd><dt>2008-03-02</dt><dd>Fix a bug in the logic choosing the boilerplate, resulting in obsolete text being inserted into IDs.</dd><dt>2008-04-01</dt><dd>Add support for superscript element.</dd><dt>2008-06-28</dt><dd>Add sanity checks for email addresses, allow multiple email elements.</dd><dt>2008-07-06</dt><dd>Add x:abnf-char-sequence.</dd><dt>2008-08-21</dt><dd>Add x:note.</dd><dt>2008-09-06</dt><dd>Add experimental support for SVG images.</dd><dt>2008-09-17</dt><dd>Add experimental support for x:author. Fix xref/@format=none.</dd><dt>2008-10-10</dt><dd>Fix a huge bug, causing text content after an XML comment to be ignored.</dd><dt>2009-02-24</dt><dd>Use table/caption when needed.</dd><dt>2009-03-07</dt><dd>Fix bug that caused text to disappear in the output in presence of processing instructions.</dd><dt>2009-03-12</dt><dd>Make inlined comments bookmarkable.</dd><dt>2009-04-09</dt><dd>Upgrade to DC-HTML from RFC 2731 (affects head/@profile).</dd><dt>2009-07-08</dt><dd>Remove table/@summary in output; the value getting inserted was just repeating stuff that appeared in the preamble.</dd><dt>2009-08-01</dt><dd>Implement table alignment (HTML output only for now).</dd><dt>2009-08-18</dt><dd>Replicate Dublin Core "abstract" metadata into meta/@name=description (search engines do use it).</dd><dt>2009-09-02</dt><dd>Fix default/left alignment of table columns, remove silly table summmary attributes.</dd><dt>2009-09-24</dt><dd>Support double-sided layout using CSS page:left/right selectors.</dd><dt>2009-11-27</dt><dd>Generate unordered lists instead of broken definition lists for list style empty.</dd></dl><h2 id="rfc.section.F.6"><a href="#rfc.section.F.6">F.6</a> rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd><dt>2009-04-08</dt><dd>Fix spacing in headers; add support for formatting for double-sided printing.</dd><dt>2009-08-01</dt><dd>Remove surplus empty pages when not generating double-sided output.</dd></dl><h2 id="rfc.section.F.7"><a href="#rfc.section.F.7">F.7</a> xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.F.8"><a href="#rfc.section.F.8">F.8</a> xsl11toFop.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.F.9"><a href="#rfc.section.F.9">F.9</a> xsl11toFop-0.95.xslt</h2><dl><dt>2009-09-12</dt><dd>Support for FOP 0.20.5 and FOP 0.93 removed. Please use FOP 0.95.</dd><dt>2008-03-15</dt><dd>Add a workaround to the fo:inline workaround (sigh).</dd></dl><h2 id="rfc.section.F.10"><a href="#rfc.section.F.10">F.10</a> xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">abnf-char-sequence Extension Element <a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">allow-markup-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element <a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element <a class="iref" href="#rfc.iref.a.28"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.a.30">A</a></li><li class="indline1">Anchors <ul class="ind"><li class="indline1">rfc.abstract <a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors <a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright <a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice <a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n <a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n <a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index <a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr <a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n <a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n <a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references <a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n <a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m <a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status <a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc <a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n <a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter <a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP <a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element <a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element <a class="iref" href="#rfc.iref.a.31">A</a></li><li class="indline1">author HTML LINK element <a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute <a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute <a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element <a class="iref" href="#rfc.iref.b.3"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bc Extension Element <a class="iref" href="#rfc.iref.b.4"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">bcp14 Extension Element <a class="iref" href="#rfc.iref.b.2"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1"><em>BCP97</em> <a class="iref" href="#rfc.xref.BCP97.1">11.1</a>, <a class="iref" href="#BCP97"><b>12</b></a></li><li class="indline1">blockquote Extension Element <a class="iref" href="#rfc.iref.b.5"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li><li class="indline1">boilerplate Extension Element <a class="iref" href="#rfc.iref.b.6"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.b.12">A</a></li><li class="indline1">bt Extension Element <a class="iref" href="#rfc.iref.b.7"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.b.13">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element <a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format <a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute <a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute <a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element <a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element <a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property <a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property <a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1"><em>DC-HTML</em> <a class="iref" href="#rfc.xref.DC-HTML.1">6.4</a>, <a class="iref" href="#DC-HTML"><b>12</b></a></li><li class="indline1">DCMI properties <ul class="ind"><li class="indline1">Creator <a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">Date.Issued <a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">Description.Abstract <a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Identifier <a class="iref" href="#rfc.iref.d.7">6.4</a></li><li class="indline1">isPartOf <a class="iref" href="#rfc.iref.d.8">6.4</a></li><li class="indline1">Relation.Replaces <a class="iref" href="#rfc.iref.d.9">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property <a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">dfn Extension Element <a class="iref" href="#rfc.iref.d.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.d.11">A</a></li><li class="indline1">duplex PI pseudo-attribute <a class="iref" href="#rfc.iref.d.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute <a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements <ul class="ind"><li class="indline1">abnf-char-sequence <a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">anchor-alias <a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">bb <a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">bc <a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">bcp14 <a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">blockquote <a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">boilerplate <a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">bt <a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">dfn <a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">h <a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">highlight <a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">include-author <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">length-of <a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">link <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.36">A</a></li><li class="indline1">lt <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.37">A</a></li><li class="indline1">note <a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.38">A</a></li><li class="indline1">parse-xml <a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.39">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.18"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.e.40">A</a></li><li class="indline1">rdf:Description <a class="iref" href="#rfc.iref.e.46">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.19"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.e.41">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.20"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.e.42">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.44">A</a></li><li class="indline1">sup <a class="iref" href="#rfc.iref.e.21"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.e.43">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.45">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox <ul class="ind"><li class="indline1">1.*/2.* <a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.* <a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute <a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element <a class="iref" href="#rfc.iref.g.2">6.3</a></li><li class="indline1">Google Chrome <a class="iref" href="#rfc.iref.g.1">5.2</a></li><li class="indline1">Grammar <a class="iref" href="#rfc.iref.g.3"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element <a class="iref" href="#rfc.iref.h.12"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.h.14">A</a></li><li class="indline1">header PI pseudo-attribute <a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1">highlight Extension Element <a class="iref" href="#rfc.iref.h.13"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.h.15">A</a></li><li class="indline1"><em>HTML</em> <a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.6</a>, <a class="iref" href="#rfc.xref.HTML.3">10.9</a>, <a class="iref" href="#rfc.xref.HTML.4">10.17</a>, <a class="iref" href="#rfc.xref.HTML.5">10.20</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance <a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements <ul class="ind"><li class="indline1">alternate <a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix <a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author <a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter <a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents <a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright <a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index <a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements <ul class="ind"><li class="indline1">generator <a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords <a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property <a class="iref" href="#rfc.iref.i.10">6.4</a></li><li class="indline1">include PI pseudo-attribute <a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-author Extension Element <a class="iref" href="#rfc.iref.i.12">A</a></li><li class="indline1">include-references-in-index PI pseudo-attribute <a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element <a class="iref" href="#rfc.iref.i.9">6.2</a></li><li class="indline1">inline PI pseudo-attribute <a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5 <a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6 <a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7 <a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">Internet Explorer 8 <a class="iref" href="#rfc.iref.i.8">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute <a class="iref" href="#rfc.iref.i.2">3.1</a></li><li class="indline1">isPartOf DCMI property <a class="iref" href="#rfc.iref.i.11">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute <a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element <a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element <a class="iref" href="#rfc.iref.l.2"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element <a class="iref" href="#rfc.iref.l.3"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute <a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element <a class="iref" href="#rfc.iref.l.4"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help <a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla <a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3 <a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4 <a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute <a class="iref" href="#rfc.iref.n.1">3.2</a></li><li class="indline1">NoScript <a class="iref" href="#rfc.iref.n.2">5.2</a></li><li class="indline1">note Extension Element <a class="iref" href="#rfc.iref.n.3"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.n.4">A</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera <a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters <ul class="ind"><li class="indline1">xml2rfc-background <a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments <a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact <a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing <a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section <a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-duplex <a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index <a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">xml2rfc-ext-justification <a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.55">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.59">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 <a class="iref" href="#rfc.iref.p.57">3.3</a></li><li class="indline1">xml2rfc-footer <a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header <a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline <a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified <a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto <a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private <a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-refparent <a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-rfcedstyle <a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-sortrefs <a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-symrefs <a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-toc <a class="iref" href="#rfc.iref.p.31">3.1</a></li><li class="indline1">xml2rfc-tocdepth <a class="iref" href="#rfc.iref.p.33">3.1</a></li><li class="indline1">xml2rfc-topblock <a class="iref" href="#rfc.iref.p.35">3.1</a></li></ul></li><li class="indline1">parse-xml Extension Element <a class="iref" href="#rfc.iref.p.60"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.p.61">A</a></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">private PI pseudo-attribute <a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes <ul class="ind"><li class="indline1">allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">authors-section <a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">background <a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments <a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact <a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">duplex <a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">editing <a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer <a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header <a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification <a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">include <a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">include-references-in-index <a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">inline <a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified <a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto <a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines <a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.54">3.3</a></li><li class="indline1">private <a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">refparent <a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">rfcedstyle <a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.58">3.3</a></li><li class="indline1">slides <a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">sortrefs <a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">strict <a class="iref" href="#rfc.iref.p.39">3.2</a></li><li class="indline1">subcompact <a class="iref" href="#rfc.iref.p.40">3.2</a></li><li class="indline1">support-rfc2731 <a class="iref" href="#rfc.iref.p.56">3.3</a></li><li class="indline1">symrefs <a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">toc <a class="iref" href="#rfc.iref.p.30">3.1</a></li><li class="indline1">tocdepth <a class="iref" href="#rfc.iref.p.32">3.1</a></li><li class="indline1">tocindent <a class="iref" href="#rfc.iref.p.41">3.2</a></li><li class="indline1">tocompact <a class="iref" href="#rfc.iref.p.42">3.2</a></li><li class="indline1">topblock <a class="iref" href="#rfc.iref.p.34">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element <a class="iref" href="#rfc.iref.q.1"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">rdf:Description Extension Element <a class="iref" href="#rfc.iref.r.26">A</a></li><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.23"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.r.25">A</a></li><li class="indline1">refparent PI pseudo-attribute <a class="iref" href="#rfc.iref.r.1">3.1</a></li><li class="indline1">Relation.Replaces DCMI property <a class="iref" href="#rfc.iref.r.22">6.4</a></li><li class="indline1">RELAX NG Compact Schema <a class="iref" href="#rfc.iref.r.24"><b>A</b></a></li><li class="indline1">rfc.abstract anchor <a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.authors anchor <a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.copyright anchor <a class="iref" href="#rfc.iref.r.5">4</a></li><li class="indline1">rfc.copyrightnotice anchor <a class="iref" href="#rfc.iref.r.6">4</a></li><li class="indline1">rfc.figure.n anchor <a class="iref" href="#rfc.iref.r.7">4</a>, <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.figure.u.n anchor <a class="iref" href="#rfc.iref.r.8">4</a>, <a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1">rfc.index anchor <a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.ipr anchor <a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.iref.n anchor <a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.note.n anchor <a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.references anchor <a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.references.n anchor <a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.section.n anchor <a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.section.n.p.m anchor <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.status anchor <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.toc anchor <a class="iref" href="#rfc.iref.r.20">4</a></li><li class="indline1">rfc.xref.name.n anchor <a class="iref" href="#rfc.iref.r.21">4</a></li><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">10.24</a>, <a class="iref" href="#RFC2026"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 4.1</em> <a class="iref" href="#rfc.xref.RFC2026.1">10.24</a></li></ul></li><li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">10.3</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.26</a>, <a class="iref" href="#RFC2119"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 5</em> <a class="iref" href="#rfc.xref.RFC2119.2">10.26</a></li></ul></li><li class="indline1"><em>RFC2616</em> <a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em> <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em> <a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em> <a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em> <a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em> <a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1">rfcedstyle PI pseudo-attribute <a class="iref" href="#rfc.iref.r.2">3.1</a></li><li class="indline1"><em>RNC</em> <a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari <a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.* <a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon <a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema <a class="iref" href="#rfc.iref.s.14"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute <a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute <a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element <a class="iref" href="#rfc.iref.s.12"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.s.15">A</a></li><li class="indline1">span Extension Element <a class="iref" href="#rfc.iref.s.17">A</a></li><li class="indline1">strict PI pseudo-attribute <a class="iref" href="#rfc.iref.s.4">3.2</a></li><li class="indline1">subcompact PI pseudo-attribute <a class="iref" href="#rfc.iref.s.5">3.2</a></li><li class="indline1">sup Extension Element <a class="iref" href="#rfc.iref.s.13"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.s.16">A</a></li><li class="indline1">support-rfc2731 PI pseudo-attribute <a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute <a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute <a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute <a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute <a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute <a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element <a class="iref" href="#rfc.iref.x.30">A</a></li><li class="indline1">Xalan <a class="iref" href="#rfc.iref.x.27">5.1</a></li><li class="indline1"><em>XHTML2</em> <a class="iref" href="#rfc.xref.XHTML2.1">10.10</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1"><em>XML</em> <a class="iref" href="#XML"><b>12</b></a>, <a class="iref" href="#rfc.xref.XML.1">C.1</a><ul class="ind"><li class="indline1"><em>Section 2.8</em> <a class="iref" href="#rfc.xref.XML.1">C.1</a></li></ul></li><li class="indline1">xml-stylesheet PI <a class="iref" href="#rfc.iref.x.29">6</a></li><li class="indline1">xml2rfc-background parameter <a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter <a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter <a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter <a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter <a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-duplex <a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter <a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter <a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter <a class="iref" href="#rfc.iref.x.24">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter <a class="iref" href="#rfc.iref.x.26">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter <a class="iref" href="#rfc.iref.x.25">3.3</a></li><li class="indline1">xml2rfc-footer parameter <a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter <a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter <a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter <a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter <a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter <a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-refparent parameter <a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-rfcedstyle parameter <a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter <a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter <a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-toc parameter <a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter <a class="iref" href="#rfc.iref.x.17">3.1</a></li><li class="indline1">xml2rfc-topblock parameter <a class="iref" href="#rfc.iref.x.18">3.1</a></li><li class="indline1"><em>XSL-FO</em> <a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc <a class="iref" href="#rfc.iref.x.28">5.1</a><ul class="ind"><li class="indline1">passing parameters <a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html>985 </pre><div class="note" id="rfc.section.C.2.p.3"> <p> <b>Note:</b> the name for the attribute sets may change in the future as more working is done with respect to customizability. In any case, overriding the settings in a separate file will be easier to maintain. Please contact the author if you find yourself trying to override style definitions that currently do not use attribute sets.</p> <p> <b>Note:</b> the CSS style information used in <samp>rfc2629.xslt</samp> can be overriden in a similar (but less granular) way: just overwrite the template called "insertCss". As for XSL-FO, the class names may change in future.</p> </div><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a> <a id="attribute-ipr" href="#attribute-ipr">The /rfc/@ipr Attribute</a></h1><p id="rfc.section.D.p.1">The <samp>ipr</samp> specifies what kind of text is generated for the "Status Of This Memo" and "Copyright Notice" sections on the front page. When submitting an Internet Draft, the "boilerplate" is checked by "Idnits" (<<a href="http://tools.ietf.org/tools/idnits/">http://tools.ietf.org/tools/idnits/</a>>) for compliance with the current Intellectual Property rules, and thus it's important to set the correct value.</p><p id="rfc.section.D.p.2">As of the time of this writing, the attribute value can take a long list of values. As frequently, this is not the result of a grand plan, but simply for historic reasons. Of these values, only a few are currently in use; all others are supported by the various tools for backwards compatibility with old source files.</p><div class="note" id="rfc.section.D.p.3"> <p> <b>Note:</b> some variations of the boilerplate are selected based on the document's date; therefore it is important to specify the "year", "month" and "date" attributes when archiving the XML source of an Internet Draft on the day of submission.</p> </div><p id="rfc.section.D.p.4"> <em>Disclaimer: THIS ONLY PROVIDES IMPLEMENTATION INFORMATION. IF YOU NEED LEGAL ADVICE, PLEASE CONTACT A LAWYER.</em> For further information, refer to <<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>>.</p><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a> <a id="attribute-ipr-current" href="#attribute-ipr-current">Current Values: '*trust200902'</a></h2><p id="rfc.section.D.1.p.1">The name for these values refers to the "TLP" ("IETF TRUST Legal Provisions Relating to IETF Documents"), on effect February 15, 2009 (see <<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090215.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090215.pdf</a>>). Updates to this document were published on September 12, 2009 (TLP 3.0, <<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090912.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090912.pdf</a>>) and on December 28, 2009 (TLP 4.0, <<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20091228.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20091228.pdf</a>>), modifying the license for code components. The actual text is located in Section 6 ("Text To Be Included in IETF Documents") of these documents.</p><p id="rfc.section.D.1.p.2">The tools will automatically produce the "right" text depending on the document's date information (see above):</p><div id="rfc.table.u.10"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th>TLP</th><th>URI</th><th>starting with publication date</th></tr></thead><tbody><tr><td class="left">3.0</td><td class="left"><<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090912.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20090912.pdf</a>></td><td class="left">2009-11-01</td></tr><tr><td class="left">4.0</td><td class="left"><<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20091228.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy-20091228.pdf</a>></td><td class="left">2010-04-01</td></tr></tbody></table></div><h3 id="rfc.section.D.1.1"><a href="#rfc.section.D.1.1">D.1.1</a> <a id="attribute-ipr-trust200902" href="#attribute-ipr-trust200902">trust200902</a></h3><p id="rfc.section.D.1.1.p.1">This should be the default, unless one of the more specific '*trust200902' values is a better fit. It produces the text in Sections 6.a and 6.b of the TLP.</p><h3 id="rfc.section.D.1.2"><a href="#rfc.section.D.1.2">D.1.2</a> <a id="attribute-ipr-noModificationTrust200902" href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></h3><p id="rfc.section.D.1.2.p.1">This produces the additional text from Section 6.c.i of the TLP:</p><blockquote id="rfc.section.D.1.2.p.2"> <p>This document may not be modified, and derivative works of it may not be created, except to format it for publication as an RFC or to translate it into languages other than English.</p> </blockquote><h3 id="rfc.section.D.1.3"><a href="#rfc.section.D.1.3">D.1.3</a> <a id="attribute-ipr-noDerivativesTrust200902" href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></h3><p id="rfc.section.D.1.3.p.1">This produces the additional text from Section 6.c.ii of the TLP:</p><blockquote id="rfc.section.D.1.3.p.2"> <p>This document may not be modified, and derivative works of it may not be created, and it may not be published except as an Internet-Draft.</p> </blockquote><h3 id="rfc.section.D.1.4"><a href="#rfc.section.D.1.4">D.1.4</a> <a id="attribute-ipr-pre5378Trust200902" href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></h3><p id="rfc.section.D.1.4.p.1">This produces the additional text from Section 6.c.iii of the TLP, frequently called the "pre-5378 escape clause":</p><blockquote id="rfc.section.D.1.4.p.2"> <p>This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate it into languages other than English.</p> </blockquote><p id="rfc.section.D.1.4.p.3">See Section 4 of <<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>> for further information about when to use this value.</p><div class="note" id="rfc.section.D.1.4.p.4"> <p> <b>Note:</b> this text appears under "Copyright Notice", unless the document was published before November 2009, in which case it appears under "Status Of This Memo".</p> </div><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a> <a id="attribute-ipr-historic" href="#attribute-ipr-historic">Historic Values</a></h2><h3 id="rfc.section.D.2.1"><a href="#rfc.section.D.2.1">D.2.1</a> <a id="attribute-ipr-200811" href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></h3><p id="rfc.section.D.2.1.p.1">The attribute values "<span id="attribute-ipr-trust200811">trust200811</span>", "<span id="attribute-ipr-noModificationTrust200811">noModificationTrust200811</span>" and "<span id="attribute-ipr-noDerivativesTrust200811">noDerivativesTrust200811</span>" are similar to their "trust200902" counterparts, except that they use text specified in <<a href="http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy_11-10-08.pdf">http://trustee.ietf.org/license-info/archive/IETF-Trust-License-Policy_11-10-08.pdf</a>>.</p><h3 id="rfc.section.D.2.2"><a href="#rfc.section.D.2.2">D.2.2</a> <a id="attribute-ipr-3978" href="#attribute-ipr-3978">Historic Values: '*3978'</a></h3><p id="rfc.section.D.2.2.p.1">The attribute values "<span id="attribute-ipr-full3978">full3978</span>", "<span id="attribute-ipr-noModification3978">noModification3978</span>" and "<span id="attribute-ipr-noDerivatives3978">noDerivatives3978</span>" are similar to their counterparts above, except that they use text specified in RFC 3978 (March 2005).</p><h3 id="rfc.section.D.2.3"><a href="#rfc.section.D.2.3">D.2.3</a> <a id="attribute-ipr-3667" href="#attribute-ipr-3667">Historic Values: '*3667'</a></h3><p id="rfc.section.D.2.3.p.1">The attribute values "<span id="attribute-ipr-full3667">full3667</span>", "<span id="attribute-ipr-noModification3667">noModification3667</span>" and "<span id="attribute-ipr-noDerivatives3667">noDerivatives3667</span>" are similar to their counterparts above, except that they use text specified in RFC 3667 (February 2004).</p><h3 id="rfc.section.D.2.4"><a href="#rfc.section.D.2.4">D.2.4</a> <a id="attribute-ipr-2026" href="#attribute-ipr-2026">Historic Values: '*2026'</a></h3><p id="rfc.section.D.2.4.p.1">The attribute values "<span id="attribute-ipr-full2026">full2026</span>" and "<span id="attribute-ipr-noDerivativeWorks2026">noDerivativeWorks2026</span>" are similar to their counterparts above, except that they use text specified in RFC 2026 (October 1996).</p><p id="rfc.section.D.2.4.p.2">The special value "<span id="attribute-ipr-none">none</span>" was also used back then, and denied the IETF any rights beyond publication as Internet Draft.</p><hr class="noprint"><h1 id="rfc.section.E" class="np"><a href="#rfc.section.E">E.</a> <a id="license" href="#license">License</a></h1><p id="rfc.section.E.p.1">Copyright (c) 2006-2010, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.E.p.2">All rights reserved.</p><p id="rfc.section.E.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>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.</li><li>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.</li></ul><p id="rfc.section.E.p.4">THIS 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.</p><hr class="noprint"><h1 id="rfc.section.F" class="np"><a href="#rfc.section.F">F.</a> Change Logs</h1><h2 id="rfc.section.F.1"><a href="#rfc.section.F.1">F.1</a> Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd><dt>2008-07-18</dt><dd>Experimental support for inlined rdf:Description elements (ignored by the formatter, extracted by rfc2629grddl).</dd><dt>2008-12-04</dt><dd>Update to xml2rfc v1.34pre2.</dd><dt>2009-02-24</dt><dd>Experimental support for February 2009 boilerplate changes, and for the x:boilerplate element.</dd><dt>2009-07-08</dt><dd>Support new boilerplate ordering in RFCs published since July 2009. Fix problems with one-column text tables.</dd><dt>2009-07-19</dt><dd>When possible, calculate the actual Expiry date for Internet Drafts (full date must be available).</dd><dt>2009-08-01</dt><dd>For '$xml2rfc-ext-authors-section='end'", move the index in front of the authors section.</dd><dt>2009-08-04</dt><dd>Consider /rfc/@ipr="pre5378Trust200902" when producing RFCs, not IDs.</dd><dt>2009-08-29</dt><dd>Support alignment for artwork containing images (as opposed to, well, artwork).</dd><dt>2009-09-01</dt><dd>Allow xref in cref (as extension).</dd><dt>2009-09-14</dt><dd>Refactor handling of processing instructions.</dd><dt>2009-09-24</dt><dd>Fix typo in Status Of This Memo, present since November 2008. Fix formatting of iprExtract attribute. Starting with Internet Draft publication dates after 2009-11-30: use new Trust Legal Provisions text; for Internet Drafts: move Abstract up, and move "pre5378" escape clause to the Copyright Notice. Add support for refparent PI. For RFCs: use new TLP text as of September 2009. Incorporate xml2rfc v1.34pre4.</dd><dt>2009-10-06</dt><dd>Starting with Internet Draft publication dates after 2009-10-31: use new Trust Legal Provisions text; for Internet Drafts: move Abstract up, and move "pre5378" escape clause to the Copyright Notice. Incorporate xml2rfc v1.34pre5.</dd><dt>2009-10-27</dt><dd>Upgrade to xml2rfc v1.34.</dd><dt>2010-01-08</dt><dd>For RFC generation (not IDs), experimentally support RFC 5741 headers and boilerplate and Trust Legal Provisions 4.0.</dd><dt>2010-03-31</dt><dd>Upgrade to xml2rfc v1.35.</dd><dt>2010-06-27</dt><dd>Be consistent with xml2rfc.tcl in formatting initials (truncate after the first); see <<a href="http://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/10">http://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/10</a>>.</dd><dt>2010-08-31</dt><dd>Experimental support for prose in references.</dd></dl><h2 id="rfc.section.F.2"><a href="#rfc.section.F.2">F.2</a> amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.F.3"><a href="#rfc.section.F.3">F.3</a> check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>>.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>> to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd><dt>2008-06-14</dt><dd>Enhance output when draft was updated, and then published as RFC.</dd><dt>2008-07-12</dt><dd>Add XSLT2-based link target checking.</dd><dt>2008-08-10</dt><dd>Change keywords for "intended-level" to proposed/draft/internet, optionally extract intended level from /rfc/@x:maturity-level attribute.</dd></dl><h2 id="rfc.section.F.4"><a href="#rfc.section.F.4">F.4</a> gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.F.5"><a href="#rfc.section.F.5">F.5</a> rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see <<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>>). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>>.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>>.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see <<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>>.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add <link> element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (<<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>>) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into <back>.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate <CITE> elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move <dt> style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty <dt> elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in <appendix> elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to <iref> handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for <x:lt>.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (<<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>>) to head element. Add warning for misplaced <t> elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow <eref> below <cref>.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd><dt>2008-03-01</dt><dd>Use line numbers in diagnostics in Saxon8/9 as well.</dd><dt>2008-03-02</dt><dd>Fix a bug in the logic choosing the boilerplate, resulting in obsolete text being inserted into IDs.</dd><dt>2008-04-01</dt><dd>Add support for superscript element.</dd><dt>2008-06-28</dt><dd>Add sanity checks for email addresses, allow multiple email elements.</dd><dt>2008-07-06</dt><dd>Add x:abnf-char-sequence.</dd><dt>2008-08-21</dt><dd>Add x:note.</dd><dt>2008-09-06</dt><dd>Add experimental support for SVG images.</dd><dt>2008-09-17</dt><dd>Add experimental support for x:author. Fix xref/@format=none.</dd><dt>2008-10-10</dt><dd>Fix a huge bug, causing text content after an XML comment to be ignored.</dd><dt>2009-02-24</dt><dd>Use table/caption when needed.</dd><dt>2009-03-07</dt><dd>Fix bug that caused text to disappear in the output in presence of processing instructions.</dd><dt>2009-03-12</dt><dd>Make inlined comments bookmarkable.</dd><dt>2009-04-09</dt><dd>Upgrade to DC-HTML from RFC 2731 (affects head/@profile).</dd><dt>2009-07-08</dt><dd>Remove table/@summary in output; the value getting inserted was just repeating stuff that appeared in the preamble.</dd><dt>2009-08-01</dt><dd>Implement table alignment (HTML output only for now).</dd><dt>2009-08-18</dt><dd>Replicate Dublin Core "abstract" metadata into meta/@name=description (search engines do use it).</dd><dt>2009-09-02</dt><dd>Fix default/left alignment of table columns, remove silly table summmary attributes.</dd><dt>2009-09-24</dt><dd>Support double-sided layout using CSS page:left/right selectors.</dd><dt>2009-11-27</dt><dd>Generate unordered lists instead of broken definition lists for list style empty.</dd></dl><h2 id="rfc.section.F.6"><a href="#rfc.section.F.6">F.6</a> rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd><dt>2009-04-08</dt><dd>Fix spacing in headers; add support for formatting for double-sided printing.</dd><dt>2009-08-01</dt><dd>Remove surplus empty pages when not generating double-sided output.</dd></dl><h2 id="rfc.section.F.7"><a href="#rfc.section.F.7">F.7</a> xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.F.8"><a href="#rfc.section.F.8">F.8</a> xsl11toFop.xslt</h2><dl><dt>2010-08-25</dt><dd>Switch to Apache FOP 1.0.</dd><dt>2009-09-12</dt><dd>Support for FOP 0.20.5 and FOP 0.93 removed. Please use FOP 0.95.</dd><dt>2008-03-15</dt><dd>Add a workaround to the fo:inline workaround (sigh).</dd></dl><h2 id="rfc.section.F.9"><a href="#rfc.section.F.9">F.9</a> xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">abnf-char-sequence Extension Element <a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">allow-markup-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element <a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element <a class="iref" href="#rfc.iref.a.28"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.a.30">A</a></li><li class="indline1">Anchors <ul class="ind"><li class="indline1">rfc.abstract <a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors <a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright <a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice <a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n <a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n <a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index <a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr <a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n <a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n <a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references <a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n <a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m <a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status <a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc <a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n <a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter <a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP <a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element <a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element <a class="iref" href="#rfc.iref.a.31">A</a></li><li class="indline1">author HTML LINK element <a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute <a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute <a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element <a class="iref" href="#rfc.iref.b.3"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bc Extension Element <a class="iref" href="#rfc.iref.b.4"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">bcp14 Extension Element <a class="iref" href="#rfc.iref.b.2"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1"><em>BCP97</em> <a class="iref" href="#rfc.xref.BCP97.1">11.1</a>, <a class="iref" href="#BCP97"><b>12</b></a></li><li class="indline1">blockquote Extension Element <a class="iref" href="#rfc.iref.b.5"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li><li class="indline1">boilerplate Extension Element <a class="iref" href="#rfc.iref.b.6"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.b.12">A</a></li><li class="indline1">bt Extension Element <a class="iref" href="#rfc.iref.b.7"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.b.13">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element <a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format <a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute <a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute <a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element <a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element <a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property <a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property <a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1"><em>DC-HTML</em> <a class="iref" href="#rfc.xref.DC-HTML.1">6.4</a>, <a class="iref" href="#DC-HTML"><b>12</b></a></li><li class="indline1">DCMI properties <ul class="ind"><li class="indline1">Creator <a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">Date.Issued <a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">Description.Abstract <a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Identifier <a class="iref" href="#rfc.iref.d.7">6.4</a></li><li class="indline1">isPartOf <a class="iref" href="#rfc.iref.d.8">6.4</a></li><li class="indline1">Relation.Replaces <a class="iref" href="#rfc.iref.d.9">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property <a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">dfn Extension Element <a class="iref" href="#rfc.iref.d.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.d.11">A</a></li><li class="indline1">duplex PI pseudo-attribute <a class="iref" href="#rfc.iref.d.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute <a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements <ul class="ind"><li class="indline1">abnf-char-sequence <a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">anchor-alias <a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">bb <a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">bc <a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">bcp14 <a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">blockquote <a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">boilerplate <a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">bt <a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">dfn <a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">h <a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">highlight <a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">include-author <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">length-of <a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.36">A</a></li><li class="indline1">link <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.37">A</a></li><li class="indline1">lt <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.38">A</a></li><li class="indline1">note <a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.39">A</a></li><li class="indline1">parse-xml <a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.40">A</a></li><li class="indline1">prose <a class="iref" href="#rfc.iref.e.18"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.e.41">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.19"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.e.42">A</a></li><li class="indline1">rdf:Description <a class="iref" href="#rfc.iref.e.48">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.20"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.e.43">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.21"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.e.44">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.46">A</a></li><li class="indline1">sup <a class="iref" href="#rfc.iref.e.22"><b>10.21</b></a>, <a class="iref" href="#rfc.iref.e.45">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.47">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox <ul class="ind"><li class="indline1">1.*/2.* <a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.* <a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute <a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element <a class="iref" href="#rfc.iref.g.2">6.3</a></li><li class="indline1">Google Chrome <a class="iref" href="#rfc.iref.g.1">5.2</a></li><li class="indline1">Grammar <a class="iref" href="#rfc.iref.g.3"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element <a class="iref" href="#rfc.iref.h.12"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.h.14">A</a></li><li class="indline1">header PI pseudo-attribute <a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1">highlight Extension Element <a class="iref" href="#rfc.iref.h.13"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.h.15">A</a></li><li class="indline1"><em>HTML</em> <a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.6</a>, <a class="iref" href="#rfc.xref.HTML.3">10.9</a>, <a class="iref" href="#rfc.xref.HTML.4">10.18</a>, <a class="iref" href="#rfc.xref.HTML.5">10.21</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance <a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements <ul class="ind"><li class="indline1">alternate <a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix <a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author <a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter <a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents <a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright <a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index <a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements <ul class="ind"><li class="indline1">generator <a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords <a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property <a class="iref" href="#rfc.iref.i.10">6.4</a></li><li class="indline1">include PI pseudo-attribute <a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-author Extension Element <a class="iref" href="#rfc.iref.i.12">A</a></li><li class="indline1">include-references-in-index PI pseudo-attribute <a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element <a class="iref" href="#rfc.iref.i.9">6.2</a></li><li class="indline1">inline PI pseudo-attribute <a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5 <a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6 <a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7 <a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">Internet Explorer 8 <a class="iref" href="#rfc.iref.i.8">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute <a class="iref" href="#rfc.iref.i.2">3.1</a></li><li class="indline1">isPartOf DCMI property <a class="iref" href="#rfc.iref.i.11">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute <a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element <a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element <a class="iref" href="#rfc.iref.l.2"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element <a class="iref" href="#rfc.iref.l.3"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute <a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element <a class="iref" href="#rfc.iref.l.4"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help <a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla <a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3 <a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4 <a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute <a class="iref" href="#rfc.iref.n.1">3.2</a></li><li class="indline1">NoScript <a class="iref" href="#rfc.iref.n.2">5.2</a></li><li class="indline1">note Extension Element <a class="iref" href="#rfc.iref.n.3"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.n.4">A</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera <a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters <ul class="ind"><li class="indline1">xml2rfc-background <a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments <a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact <a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing <a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section <a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-duplex <a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index <a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">xml2rfc-ext-justification <a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.55">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.59">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 <a class="iref" href="#rfc.iref.p.57">3.3</a></li><li class="indline1">xml2rfc-footer <a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header <a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline <a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified <a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto <a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private <a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-refparent <a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-rfcedstyle <a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-sortrefs <a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-symrefs <a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-toc <a class="iref" href="#rfc.iref.p.31">3.1</a></li><li class="indline1">xml2rfc-tocdepth <a class="iref" href="#rfc.iref.p.33">3.1</a></li><li class="indline1">xml2rfc-topblock <a class="iref" href="#rfc.iref.p.35">3.1</a></li></ul></li><li class="indline1">parse-xml Extension Element <a class="iref" href="#rfc.iref.p.60"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.p.62">A</a></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">private PI pseudo-attribute <a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes <ul class="ind"><li class="indline1">allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">authors-section <a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">background <a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments <a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact <a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">duplex <a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">editing <a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer <a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header <a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification <a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">include <a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">include-references-in-index <a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">inline <a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified <a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto <a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines <a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.54">3.3</a></li><li class="indline1">private <a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">refparent <a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">rfcedstyle <a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.58">3.3</a></li><li class="indline1">slides <a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">sortrefs <a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">strict <a class="iref" href="#rfc.iref.p.39">3.2</a></li><li class="indline1">subcompact <a class="iref" href="#rfc.iref.p.40">3.2</a></li><li class="indline1">support-rfc2731 <a class="iref" href="#rfc.iref.p.56">3.3</a></li><li class="indline1">symrefs <a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">toc <a class="iref" href="#rfc.iref.p.30">3.1</a></li><li class="indline1">tocdepth <a class="iref" href="#rfc.iref.p.32">3.1</a></li><li class="indline1">tocindent <a class="iref" href="#rfc.iref.p.41">3.2</a></li><li class="indline1">tocompact <a class="iref" href="#rfc.iref.p.42">3.2</a></li><li class="indline1">topblock <a class="iref" href="#rfc.iref.p.34">3.1</a></li></ul></li><li class="indline1">prose Extension Element <a class="iref" href="#rfc.iref.p.61"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.p.63">A</a></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element <a class="iref" href="#rfc.iref.q.1"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">rdf:Description Extension Element <a class="iref" href="#rfc.iref.r.26">A</a></li><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.23"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.r.25">A</a></li><li class="indline1">refparent PI pseudo-attribute <a class="iref" href="#rfc.iref.r.1">3.1</a></li><li class="indline1">Relation.Replaces DCMI property <a class="iref" href="#rfc.iref.r.22">6.4</a></li><li class="indline1">RELAX NG Compact Schema <a class="iref" href="#rfc.iref.r.24"><b>A</b></a></li><li class="indline1">rfc.abstract anchor <a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.authors anchor <a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.copyright anchor <a class="iref" href="#rfc.iref.r.5">4</a></li><li class="indline1">rfc.copyrightnotice anchor <a class="iref" href="#rfc.iref.r.6">4</a></li><li class="indline1">rfc.figure.n anchor <a class="iref" href="#rfc.iref.r.7">4</a>, <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.figure.u.n anchor <a class="iref" href="#rfc.iref.r.8">4</a>, <a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1">rfc.index anchor <a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.ipr anchor <a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.iref.n anchor <a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.note.n anchor <a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.references anchor <a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.references.n anchor <a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.section.n anchor <a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.section.n.p.m anchor <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.status anchor <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.toc anchor <a class="iref" href="#rfc.iref.r.20">4</a></li><li class="indline1">rfc.xref.name.n anchor <a class="iref" href="#rfc.iref.r.21">4</a></li><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">10.25</a>, <a class="iref" href="#RFC2026"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 4.1</em> <a class="iref" href="#rfc.xref.RFC2026.1">10.25</a></li></ul></li><li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">10.3</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.27</a>, <a class="iref" href="#RFC2119"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 5</em> <a class="iref" href="#rfc.xref.RFC2119.2">10.27</a></li></ul></li><li class="indline1"><em>RFC2616</em> <a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em> <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em> <a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em> <a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em> <a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em> <a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1">rfcedstyle PI pseudo-attribute <a class="iref" href="#rfc.iref.r.2">3.1</a></li><li class="indline1"><em>RNC</em> <a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari <a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.* <a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon <a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema <a class="iref" href="#rfc.iref.s.14"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute <a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute <a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element <a class="iref" href="#rfc.iref.s.12"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.s.15">A</a></li><li class="indline1">span Extension Element <a class="iref" href="#rfc.iref.s.17">A</a></li><li class="indline1">strict PI pseudo-attribute <a class="iref" href="#rfc.iref.s.4">3.2</a></li><li class="indline1">subcompact PI pseudo-attribute <a class="iref" href="#rfc.iref.s.5">3.2</a></li><li class="indline1">sup Extension Element <a class="iref" href="#rfc.iref.s.13"><b>10.21</b></a>, <a class="iref" href="#rfc.iref.s.16">A</a></li><li class="indline1">support-rfc2731 PI pseudo-attribute <a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute <a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute <a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute <a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute <a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute <a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element <a class="iref" href="#rfc.iref.x.30">A</a></li><li class="indline1">Xalan <a class="iref" href="#rfc.iref.x.27">5.1</a></li><li class="indline1"><em>XHTML2</em> <a class="iref" href="#rfc.xref.XHTML2.1">10.10</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1"><em>XML</em> <a class="iref" href="#XML"><b>12</b></a>, <a class="iref" href="#rfc.xref.XML.1">C.1</a><ul class="ind"><li class="indline1"><em>Section 2.8</em> <a class="iref" href="#rfc.xref.XML.1">C.1</a></li></ul></li><li class="indline1">xml-stylesheet PI <a class="iref" href="#rfc.iref.x.29">6</a></li><li class="indline1">xml2rfc-background parameter <a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter <a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter <a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter <a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter <a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-duplex <a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter <a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter <a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter <a class="iref" href="#rfc.iref.x.24">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter <a class="iref" href="#rfc.iref.x.26">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter <a class="iref" href="#rfc.iref.x.25">3.3</a></li><li class="indline1">xml2rfc-footer parameter <a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter <a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter <a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter <a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter <a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter <a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-refparent parameter <a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-rfcedstyle parameter <a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter <a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter <a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-toc parameter <a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter <a class="iref" href="#rfc.iref.x.17">3.1</a></li><li class="indline1">xml2rfc-topblock parameter <a class="iref" href="#rfc.iref.x.18">3.1</a></li><li class="indline1"><em>XSL-FO</em> <a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc <a class="iref" href="#rfc.iref.x.28">5.1</a><ul class="ind"><li class="indline1">passing parameters <a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html> -
rfc2629xslt/rfc2629xslt.txt
r832 r981 4 4 RFC2629 through XSLT J. Reschke 5 5 greenbytes 6 June20106 August 31, 2010 7 7 8 8 … … 56 56 57 57 58 Documentation RFC2629 through XSLT June201058 Documentation RFC2629 through XSLT August 2010 59 59 60 60 … … 63 63 10.15. <note> element . . . . . . . . . . . . . . . . . . . . . 26 64 64 10.16. <parse-xml> element . . . . . . . . . . . . . . . . . . . 26 65 10.17. <q> element . . . . . . . . . . . . . . . . . . . . . . . 26 66 10.18. <ref> element . . . . . . . . . . . . . . . . . . . . . . 26 67 10.19. <source> element . . . . . . . . . . . . . . . . . . . . 27 68 10.20. <sup> element . . . . . . . . . . . . . . . . . . . . . . 27 69 10.21. Extensions to Xml2rfc <artwork> element . . . . . . . . . 27 70 10.22. Extensions to Xml2rfc <iref> element . . . . . . . . . . 27 71 10.23. Extensions to Xml2rfc <list> element . . . . . . . . . . 28 72 10.24. Extensions to Xml2rfc <rfc> element . . . . . . . . . . . 28 73 10.25. Extensions to Xml2rfc <section> element . . . . . . . . . 28 74 10.26. Extensions to Xml2rfc <xref> element . . . . . . . . . . 28 65 10.17. <prose> element . . . . . . . . . . . . . . . . . . . . . 26 66 10.18. <q> element . . . . . . . . . . . . . . . . . . . . . . . 26 67 10.19. <ref> element . . . . . . . . . . . . . . . . . . . . . . 26 68 10.20. <source> element . . . . . . . . . . . . . . . . . . . . 27 69 10.21. <sup> element . . . . . . . . . . . . . . . . . . . . . . 27 70 10.22. Extensions to Xml2rfc <artwork> element . . . . . . . . . 27 71 10.23. Extensions to Xml2rfc <iref> element . . . . . . . . . . 28 72 10.24. Extensions to Xml2rfc <list> element . . . . . . . . . . 28 73 10.25. Extensions to Xml2rfc <rfc> element . . . . . . . . . . . 28 74 10.26. Extensions to Xml2rfc <section> element . . . . . . . . . 28 75 10.27. Extensions to Xml2rfc <xref> element . . . . . . . . . . 29 75 76 11. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 30 76 77 11.1. Checking References . . . . . . . . . . . . . . . . . . . 30 … … 78 79 11.3. Producing reference entries for books . . . . . . . . . . 32 79 80 11.4. Down-converting to RFC2629bis DTD . . . . . . . . . . . . 33 80 11.5. Extracting artwork . . . . . . . . . . . . . . . . . . . 3 381 11.5. Extracting artwork . . . . . . . . . . . . . . . . . . . 34 81 82 11.6. GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 34 82 83 12. Informative References . . . . . . . . . . . . . . . . . . . . 35 … … 106 107 F.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 56 107 108 F.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 67 108 F.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 68109 109 110 110 … … 113 113 114 114 115 Documentation RFC2629 through XSLT June 2010 116 117 115 Documentation RFC2629 through XSLT August 2010 116 117 118 F.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 69 118 119 F.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 69 119 F.9. xsl11toFop-0.95.xslt . . . . . . . . . . . . . . . . . . 69 120 F.10. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 69 120 F.9. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 69 121 121 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 122 122 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 78 … … 170 170 171 171 172 Documentation RFC2629 through XSLT June2010172 Documentation RFC2629 through XSLT August 2010 173 173 174 174 … … 227 227 228 228 229 Documentation RFC2629 through XSLT June2010229 Documentation RFC2629 through XSLT August 2010 230 230 231 231 … … 284 284 285 285 286 Documentation RFC2629 through XSLT June2010286 Documentation RFC2629 through XSLT August 2010 287 287 288 288 … … 341 341 342 342 343 Documentation RFC2629 through XSLT June2010343 Documentation RFC2629 through XSLT August 2010 344 344 345 345 … … 398 398 399 399 400 Documentation RFC2629 through XSLT June2010400 Documentation RFC2629 through XSLT August 2010 401 401 402 402 … … 455 455 456 456 457 Documentation RFC2629 through XSLT June2010457 Documentation RFC2629 through XSLT August 2010 458 458 459 459 … … 512 512 513 513 514 Documentation RFC2629 through XSLT June2010514 Documentation RFC2629 through XSLT August 2010 515 515 516 516 … … 569 569 570 570 571 Documentation RFC2629 through XSLT June2010571 Documentation RFC2629 through XSLT August 2010 572 572 573 573 … … 626 626 627 627 628 Documentation RFC2629 through XSLT June2010628 Documentation RFC2629 through XSLT August 2010 629 629 630 630 … … 683 683 684 684 685 Documentation RFC2629 through XSLT June2010685 Documentation RFC2629 through XSLT August 2010 686 686 687 687 … … 740 740 741 741 742 Documentation RFC2629 through XSLT June2010742 Documentation RFC2629 through XSLT August 2010 743 743 744 744 … … 797 797 798 798 799 Documentation RFC2629 through XSLT June2010799 Documentation RFC2629 through XSLT August 2010 800 800 801 801 … … 842 842 o Safari 3 (starting with version 3.0.4) 843 843 844 o Google Chrome (beta available)845 846 o Opera 10 (beta version available)844 o Google Chrome 845 846 o Opera (starting with version 10) 847 847 848 848 The following browsers are known not to work properly: … … 854 854 855 855 856 Documentation RFC2629 through XSLT June2010856 Documentation RFC2629 through XSLT August 2010 857 857 858 858 … … 911 911 912 912 913 Documentation RFC2629 through XSLT June2010913 Documentation RFC2629 through XSLT August 2010 914 914 915 915 … … 968 968 969 969 970 Documentation RFC2629 through XSLT June2010970 Documentation RFC2629 through XSLT August 2010 971 971 972 972 … … 1025 1025 1026 1026 1027 Documentation RFC2629 through XSLT June20101027 Documentation RFC2629 through XSLT August 2010 1028 1028 1029 1029 … … 1082 1082 1083 1083 1084 Documentation RFC2629 through XSLT June20101084 Documentation RFC2629 through XSLT August 2010 1085 1085 1086 1086 … … 1139 1139 1140 1140 1141 Documentation RFC2629 through XSLT June20101141 Documentation RFC2629 through XSLT August 2010 1142 1142 1143 1143 … … 1155 1155 time. 1156 1156 1157 As Apache FOP needs special workarounds (page breaking, table 1158 layout), and some popular extensions aren't standardized yet, the 1159 translation produces a generic output (hopefully) conforming to 1160 [XSL-FO]. Specific backends ("xsl11toFop-0.95xslt", 1161 "xsl11toXep.xslt", "xsl11toAn.xslt") then provide post-processing for 1162 the individual processors. 1163 1164 Note: the output is currently targeted at Apache FOP 0.95. 1157 As Apache FOP needs special workarounds (index generation), and some 1158 popular extensions aren't standardized yet, the translation produces 1159 a generic output (hopefully) conforming to [XSL-FO]. Specific 1160 backends ("xsl11toFop.xslt", "xsl11toXep.xslt", "xsl11toAn.xslt") 1161 then provide post-processing for the individual processors. 1162 1163 Note: the output is currently targeted at Apache FOP 1.0. 1165 1164 1166 1165 9.1.1. Extension feature matrix … … 1193 1192 1194 1193 1194 1195 1195 Reschke [Page 21] 1196 1196 1197 1197 1198 Documentation RFC2629 through XSLT June20101198 Documentation RFC2629 through XSLT August 2010 1199 1199 1200 1200 … … 1210 1210 1211 1211 saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo 1212 saxon tmp.fo xsl11toFop -0.95.xslt > rfc2629.fo1212 saxon tmp.fo xsl11toFop.xslt > rfc2629.fo 1213 1213 1214 1214 9.2. Via X(HTML) … … 1253 1253 1254 1254 1255 Documentation RFC2629 through XSLT June20101255 Documentation RFC2629 through XSLT August 2010 1256 1256 1257 1257 … … 1310 1310 1311 1311 1312 Documentation RFC2629 through XSLT June20101312 Documentation RFC2629 through XSLT August 2010 1313 1313 1314 1314 … … 1367 1367 1368 1368 1369 Documentation RFC2629 through XSLT June20101369 Documentation RFC2629 through XSLT August 2010 1370 1370 1371 1371 … … 1424 1424 1425 1425 1426 Documentation RFC2629 through XSLT June20101426 Documentation RFC2629 through XSLT August 2010 1427 1427 1428 1428 … … 1451 1451 newer). 1452 1452 1453 10.17. <q> element 1453 10.17. <prose> element 1454 1455 This element can be used inside <reference> to add plain text (before 1456 the date, when present). 1457 1458 10.18. <q> element 1454 1459 1455 1460 This element is like the "q" element in [HTML]. 1456 1461 1457 10.1 8. <ref> element1462 10.19. <ref> element 1458 1463 1459 1464 This element is a simplified variant of the <xref> element, in that … … 1471 1476 </section> 1472 1477 1478 1479 1480 Reschke [Page 26] 1481 1482 1483 Documentation RFC2629 through XSLT August 2010 1484 1485 1473 1486 the following simple references 1474 1487 1475 1488 <x:ref>test</x:ref> 1476 1489 <x:ref>alias1</x:ref> 1477 1478 1479 1480 Reschke [Page 26]1481 1482 1483 Documentation RFC2629 through XSLT June 20101484 1485 1486 1490 <x:ref>alias 2</x:ref> 1487 1491 … … 1492 1496 <xref target="test">alias 2</xref> 1493 1497 1494 10. 19. <source> element1498 10.20. <source> element 1495 1499 1496 1500 Can be used to enhance a <reference> with information about the … … 1509 1513 ... 1510 1514 1511 10.2 0. <sup> element1515 10.21. <sup> element 1512 1516 1513 1517 This element is like the "sup" element in [HTML]. … … 1515 1519 Note: the down conversion to RFC2629 format replaces "x^y" by "x^y". 1516 1520 1517 10.2 1. Extensions to Xml2rfc <artwork> element1521 10.22. Extensions to Xml2rfc <artwork> element 1518 1522 1519 1523 Sometimes, artwork occurs inside lists. To get it indent properly in … … 1526 1530 "clean-for-DTD.xslt" is run (see Section 11.4). 1527 1531 1528 10.22. Extensions to Xml2rfc <iref> element 1532 1533 1534 1535 1536 1537 Reschke [Page 27] 1538 1539 1540 Documentation RFC2629 through XSLT August 2010 1541 1542 1543 10.23. Extensions to Xml2rfc <iref> element 1529 1544 1530 1545 The extension attribute below is allowed on the standard <iref> 1531 1546 element: 1532 1533 1534 1535 1536 1537 Reschke [Page 27]1538 1539 1540 Documentation RFC2629 through XSLT June 20101541 1542 1547 1543 1548 o x:for-anchor specifies that the <iref> will also be automatically … … 1547 1552 closest ancestor. 1548 1553 1549 10.2 3. Extensions to Xml2rfc <list> element1554 10.24. Extensions to Xml2rfc <list> element 1550 1555 1551 1556 The extension attribute below is allowed on the standard <list> … … 1561 1566 <t>, allowing to insert multiple paragraphs into a single list item. 1562 1567 1563 10.2 4. Extensions to Xml2rfc <rfc> element1568 10.25. Extensions to Xml2rfc <rfc> element 1564 1569 1565 1570 The extension attributes below are allowed on the standard <rfc> … … 1572 1577 4.1 of [RFC2026]). 1573 1578 1574 10.2 5. Extensions to Xml2rfc <section> element1579 10.26. Extensions to Xml2rfc <section> element 1575 1580 1576 1581 The extension attribute below is allowed on the standard <list> … … 1581 1586 that used a different numbering style. 1582 1587 1583 10.26. Extensions to Xml2rfc <xref> element 1588 1589 1590 1591 1592 1593 1594 Reschke [Page 28] 1595 1596 1597 Documentation RFC2629 through XSLT August 2010 1598 1599 1600 10.27. Extensions to Xml2rfc <xref> element 1584 1601 1585 1602 Three extension attributes are allowed on the standard <xref> … … 1588 1605 1. x:sec can be specified to point to a specific section of the 1589 1606 referenced document, 1590 1591 1592 1593 1594 Reschke [Page 28]1595 1596 1597 Documentation RFC2629 through XSLT June 20101598 1599 1607 1600 1608 2. x:rel may specify a relative reference to use when linking into … … 1641 1649 1642 1650 1643 1644 1645 1646 1647 1648 1649 1650 1651 1651 Reschke [Page 29] 1652 1652 1653 1653 1654 Documentation RFC2629 through XSLT June20101654 Documentation RFC2629 through XSLT August 2010 1655 1655 1656 1656 … … 1709 1709 1710 1710 1711 Documentation RFC2629 through XSLT June20101711 Documentation RFC2629 through XSLT August 2010 1712 1712 1713 1713 … … 1766 1766 1767 1767 1768 Documentation RFC2629 through XSLT June20101768 Documentation RFC2629 through XSLT August 2010 1769 1769 1770 1770 … … 1823 1823 1824 1824 1825 Documentation RFC2629 through XSLT June20101825 Documentation RFC2629 through XSLT August 2010 1826 1826 1827 1827 … … 1865 1865 text. 1866 1866 1867 o <x:prose> elements are transformed into <seriesInfo> elements 1868 (which is an abuse of the element and only a workaround until 1869 xml2rfc gets a matching extension). 1870 1867 1871 o <x:ref> elements get replaced by <xref> elements, targetting 1868 1872 either the anchor or another anchor with matching <x:anchor-alias> 1869 1873 child element. 1870 1874 1875 1876 1877 1878 1879 Reschke [Page 33] 1880 1881 1882 Documentation RFC2629 through XSLT August 2010 1883 1884 1871 1885 11.5. Extracting artwork 1872 1886 … … 1874 1888 "name" attribute can be extracted. This can be used to automatically 1875 1889 check their syntax (for instance, when ABNFs appear within a figure 1876 1877 1878 1879 Reschke [Page 33]1880 1881 1882 Documentation RFC2629 through XSLT June 20101883 1884 1885 1890 element). 1886 1891 … … 1929 1934 1930 1935 1931 1932 1933 1934 1935 1936 1936 Reschke [Page 34] 1937 1937 1938 1938 1939 Documentation RFC2629 through XSLT June20101939 Documentation RFC2629 through XSLT August 2010 1940 1940 1941 1941 … … 1994 1994 1995 1995 1996 Documentation RFC2629 through XSLT June20101996 Documentation RFC2629 through XSLT August 2010 1997 1997 1998 1998 … … 2051 2051 2052 2052 2053 Documentation RFC2629 through XSLT June20102053 Documentation RFC2629 through XSLT August 2010 2054 2054 2055 2055 … … 2088 2088 | x_bb 2089 2089 | x_bc 2090 | x_bcp14 2090 2091 | x_bt 2091 2092 | x_highlight … … 2101 2102 element back { 2102 2103 attlist.back, 2104 2105 2106 2107 Reschke [Page 37] 2108 2109 2110 Documentation RFC2629 through XSLT August 2010 2111 2112 2103 2113 references*, 2104 2105 2106 2107 Reschke [Page 37]2108 2109 2110 Documentation RFC2629 through XSLT June 20102111 2112 2113 2114 section*, 2114 2115 x_boilerplate? … … 2161 2162 2162 2163 2163 2164 2164 Reschke [Page 38] 2165 2165 2166 2166 2167 Documentation RFC2629 through XSLT June20102167 Documentation RFC2629 through XSLT August 2010 2168 2168 2169 2169 … … 2200 2200 front, 2201 2201 seriesInfo*, 2202 x_prose? 2202 2203 format*, 2203 2204 annotation*, … … 2218 2219 2219 2220 2220 2221 2221 Reschke [Page 39] 2222 2222 2223 2223 2224 Documentation RFC2629 through XSLT June20102224 Documentation RFC2629 through XSLT August 2010 2225 2225 2226 2226 … … 2279 2279 2280 2280 2281 Documentation RFC2629 through XSLT June20102281 Documentation RFC2629 through XSLT August 2010 2282 2282 2283 2283 … … 2293 2293 attribute x:annotation { ATEXT }? 2294 2294 2295 # Extend attribute set for <iref> (see Section 10.2 2)2295 # Extend attribute set for <iref> (see Section 10.23) 2296 2296 attlist.iref &= 2297 2297 attribute x:for-anchor { ATEXT }? 2298 2298 2299 # Extend attribute set for <list> (see Section 10.2 3)2299 # Extend attribute set for <list> (see Section 10.24) 2300 2300 attlist.list &= 2301 2301 attribute x:indent { ATEXT }? … … 2310 2310 attribute x:maturity-level { "proposed" | "draft" | "internet" }? 2311 2311 2312 # Extend attribute set for <section> (see Section 10.2 5)2312 # Extend attribute set for <section> (see Section 10.26) 2313 2313 attlist.section &= 2314 2314 attribute x:fixed-section-number { ATEXT }? … … 2318 2318 attribute anchor { xsd:ID }? 2319 2319 2320 # Allow x:quotes attribute on <title> 2321 attlist.title &= 2322 attribute x:quotes { "true" | "false" }? 2323 2320 2324 # Allow annotation attribute on <uri> 2321 2325 attlist.uri &= 2322 2326 attribute x:annotation { ATEXT }? 2323 2327 2324 # Extend attribute set for <xref> (see Section 10.2 6)2328 # Extend attribute set for <xref> (see Section 10.27) 2325 2329 attlist.xref &= 2326 2330 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | 2327 2331 "none" }?, 2332 2333 2334 2335 Reschke [Page 41] 2336 2337 2338 Documentation RFC2629 through XSLT August 2010 2339 2340 2328 2341 attribute x:rel { ATEXT }?, 2329 2342 attribute x:sec { ATEXT }? 2330 2343 2331 2344 # Conversion to ABNF char sequence (see Section 10.1) 2332 2333 2334 2335 Reschke [Page 41]2336 2337 2338 Documentation RFC2629 through XSLT June 20102339 2340 2341 2345 x_abnf-char-sequence = 2342 2346 element x:abnf-char-sequence { … … 2383 2387 element x:bc { 2384 2388 (TEXT 2389 2390 2391 2392 Reschke [Page 42] 2393 2394 2395 Documentation RFC2629 through XSLT August 2010 2396 2397 2385 2398 | iref 2399 | spanx 2386 2400 | xref 2387 2401 | x_bb 2388 2402 | x_bc 2389 2390 2391 2392 Reschke [Page 42]2393 2394 2395 Documentation RFC2629 through XSLT June 20102396 2397 2398 2403 | x_bt 2399 2404 | x_ref)* … … 2439 2444 | x_bt 2440 2445 | x_ref)* 2446 2447 2448 2449 Reschke [Page 43] 2450 2451 2452 Documentation RFC2629 through XSLT August 2010 2453 2454 2441 2455 } 2442 2456 … … 2444 2458 x_dfn = 2445 2459 element x:dfn { 2446 2447 2448 2449 Reschke [Page 43]2450 2451 2452 Documentation RFC2629 through XSLT June 20102453 2454 2455 2460 attribute anchor { xsd:ID }?, 2456 2461 (TEXT … … 2496 2501 2497 2502 # Note (see Section 10.15) 2503 2504 2505 2506 Reschke [Page 44] 2507 2508 2509 Documentation RFC2629 through XSLT August 2010 2510 2511 2498 2512 x_note = 2499 2513 element x:note { … … 2501 2515 } 2502 2516 2503 2504 2505 2506 Reschke [Page 44]2507 2508 2509 Documentation RFC2629 through XSLT June 20102510 2511 2512 2517 # Signal XML content (see Section 10.16) 2513 2518 x_parse-xml = 2514 2519 element x:parse-xml { 2520 (TEXT 2521 | xref)* 2522 } 2523 2524 # Inline prose in a reference (see Section 10.17) 2525 x_prose = 2526 element x:prose { 2515 2527 TEXT 2516 2528 } 2517 2529 2518 # Inline quote (see Section 10.1 7)2530 # Inline quote (see Section 10.18) 2519 2531 x_q = 2520 2532 element x:q { … … 2522 2534 } 2523 2535 2524 # Anchor reference (see Section 10.1 8)2536 # Anchor reference (see Section 10.19) 2525 2537 x_ref = 2526 2538 element x:ref { … … 2529 2541 } 2530 2542 2531 # source information (see Section 10. 19)2543 # source information (see Section 10.20) 2532 2544 x_source = 2533 2545 element x:source { … … 2537 2549 } 2538 2550 2539 # superscript (see Section 10.2 0)2551 # superscript (see Section 10.21) 2540 2552 x_sup = 2541 2553 element x:sup { … … 2546 2558 x_span = 2547 2559 element x:span { 2560 2561 2562 2563 Reschke [Page 45] 2564 2565 2566 Documentation RFC2629 through XSLT August 2010 2567 2568 2548 2569 attribute anchor { xsd:ID }?, 2549 2570 (TEXT … … 2558 2579 2559 2580 # Embed RDF statements 2560 2561 2562 2563 Reschke [Page 45]2564 2565 2566 Documentation RFC2629 through XSLT June 20102567 2568 2569 2581 rdf_Description = 2570 2582 element rdf:Description { … … 2606 2618 2607 2619 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2620 Reschke [Page 46] 2621 2621 2622 2622 2623 Documentation RFC2629 through XSLT June20102623 Documentation RFC2629 through XSLT August 2010 2624 2624 2625 2625 … … 2678 2678 2679 2679 2680 Documentation RFC2629 through XSLT June20102680 Documentation RFC2629 through XSLT August 2010 2681 2681 2682 2682 … … 2735 2735 2736 2736 2737 Documentation RFC2629 through XSLT June20102737 Documentation RFC2629 through XSLT August 2010 2738 2738 2739 2739 … … 2792 2792 2793 2793 2794 Documentation RFC2629 through XSLT June20102794 Documentation RFC2629 through XSLT August 2010 2795 2795 2796 2796 … … 2849 2849 2850 2850 2851 Documentation RFC2629 through XSLT June20102851 Documentation RFC2629 through XSLT August 2010 2852 2852 2853 2853 … … 2906 2906 2907 2907 2908 Documentation RFC2629 through XSLT June20102908 Documentation RFC2629 through XSLT August 2010 2909 2909 2910 2910 … … 2963 2963 2964 2964 2965 Documentation RFC2629 through XSLT June20102965 Documentation RFC2629 through XSLT August 2010 2966 2966 2967 2967 … … 3020 3020 3021 3021 3022 Documentation RFC2629 through XSLT June20103022 Documentation RFC2629 through XSLT August 2010 3023 3023 3024 3024 … … 3077 3077 3078 3078 3079 Documentation RFC2629 through XSLT June20103079 Documentation RFC2629 through XSLT August 2010 3080 3080 3081 3081 … … 3096 3096 <http://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/10>. 3097 3097 3098 2010-08-31 Experimental support for prose in references. 3099 3098 3100 F.2. amazon-asin.xslt 3099 3101 … … 3123 3125 retrieve Internet-Draft status information. 3124 3126 3127 3128 3129 3130 3131 3132 3133 Reschke [Page 55] 3134 3135 3136 Documentation RFC2629 through XSLT August 2010 3137 3138 3125 3139 2007-06-16 Fix bug looking up ref type when inside change markup. 3126 3127 3128 3129 3130 3131 3132 3133 Reschke [Page 55]3134 3135 3136 Documentation RFC2629 through XSLT June 20103137 3138 3140 3139 3141 2008-06-14 Enhance output when draft was updated, and then published … … 3180 3182 2001-12-17 Support title attribute on references element 3181 3183 3184 3185 3186 3187 3188 3189 3190 Reschke [Page 56] 3191 3192 3193 Documentation RFC2629 through XSLT August 2010 3194 3195 3182 3196 2002-01-05 Support for list/@style="@format" 3183 3184 3185 3186 3187 3188 3189 3190 Reschke [Page 56]3191 3192 3193 Documentation RFC2629 through XSLT June 20103194 3195 3197 3196 3198 2002-01-09 Display "closed" RFC issues as deleted … … 3237 3239 numbering. 3238 3240 3241 3242 3243 3244 3245 3246 3247 Reschke [Page 57] 3248 3249 3250 Documentation RFC2629 through XSLT August 2010 3251 3252 3239 3253 2002-05-05 Updated issue/editing support. 3240 3241 3242 3243 3244 3245 3246 3247 Reschke [Page 57]3248 3249 3250 Documentation RFC2629 through XSLT June 20103251 3252 3254 3253 3255 2002-05-15 Bugfix for section numbering after introduction of ed: … … 3297 3299 number paragraphs in unnumbered sections. update boilerplate 3298 3300 texts. support for "iprnotified" PI. bugfix list numbering. strip 3301 3302 3303 3304 Reschke [Page 58] 3305 3306 3307 Documentation RFC2629 through XSLT August 2010 3308 3309 3299 3310 whitespace when building tel: URIs. 3300 3301 3302 3303 3304 Reschke [Page 58]3305 3306 3307 Documentation RFC2629 through XSLT June 20103308 3309 3311 3310 3312 2003-05-12 more conformance fixes (layout moved into CSS, move lists … … 3351 3353 (borders, thead continuation). 3352 3354 3355 3356 3357 3358 3359 3360 3361 Reschke [Page 59] 3362 3363 3364 Documentation RFC2629 through XSLT August 2010 3365 3366 3353 3367 2003-08-18 Add workaround for MSXML4 node-set and Mozilla node-set 3354 3368 issues (fallback just displays are warning). 3355 3356 3357 3358 3359 3360 3361 Reschke [Page 59]3362 3363 3364 Documentation RFC2629 through XSLT June 20103365 3366 3369 3367 3370 2003-10-06 Add workaround for broken pre/ins handling in Mozilla … … 3408 3411 references. 3409 3412 3413 3414 3415 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT August 2010 3422 3423 3410 3424 2004-04-24 Fix RFC3667 output, see 3411 3425 <http://xml.resource.org/pipermail/xml2rfc/2004-April/ 3412 3426 001246.html>. 3413 3414 3415 3416 3417 3418 Reschke [Page 60]3419 3420 3421 Documentation RFC2629 through XSLT June 20103422 3423 3427 3424 3428 2004-05-09 Add custom support for generating compound index … … 3463 3467 2004-11-03 Enhanced placement of iref anchors. 3464 3468 3469 3470 3471 3472 3473 3474 3475 Reschke [Page 61] 3476 3477 3478 Documentation RFC2629 through XSLT August 2010 3479 3480 3465 3481 2004-11-06 Index: display irefs that appeared (with primary=true) 3466 3482 inside artwork elements in a monospaced font. … … 3468 3484 2004-11-14 Add special code so that changes in section titles can be 3469 3485 change-tracked. 3470 3471 3472 3473 3474 3475 Reschke [Page 61]3476 3477 3478 Documentation RFC2629 through XSLT June 20103479 3480 3486 3481 3487 2005-01-14 Bugfixes for HtmlToXhtml converter. … … 3518 3524 (fenner@research.att.com) 3519 3525 3526 3527 3528 3529 3530 3531 3532 Reschke [Page 62] 3533 3534 3535 Documentation RFC2629 through XSLT August 2010 3536 3537 3520 3538 2005-04-11 Cleanup author display. hCard related fixes. 3521 3539 … … 3524 3542 3525 3543 2005-06-18 Implement missing support for references to texttables. 3526 3527 3528 3529 3530 3531 3532 Reschke [Page 62]3533 3534 3535 Documentation RFC2629 through XSLT June 20103536 3537 3544 3538 3545 2005-09-25 Use (-moz-)column-count when printing the index. … … 3575 3582 namespace "http://purl.org/net/xml2rfc/ext". 3576 3583 3584 3585 3586 3587 3588 3589 Reschke [Page 63] 3590 3591 3592 Documentation RFC2629 through XSLT August 2010 3593 3594 3577 3595 2006-03-27 Moved "simple reference" extension into namespace 3578 3596 "http://purl.org/net/xml2rfc/ext" and add documentation. HTML … … 3580 3598 3581 3599 2006-04-02 Cleanup special code for automated XHTML XSLT generation. 3582 3583 3584 3585 3586 3587 3588 3589 Reschke [Page 63]3590 3591 3592 Documentation RFC2629 through XSLT June 20103593 3594 3600 3595 3601 2006-04-21 Generate <CITE> elements where appropiate. Introduce … … 3635 3641 references for deleted references. Allow inclusion of references 3636 3642 into the index (through include-references-in-index extension). 3643 3644 3645 3646 Reschke [Page 64] 3647 3648 3649 Documentation RFC2629 through XSLT August 2010 3650 3651 3637 3652 Fix a bug that caused the newer version of the IETF boilerplate to 3638 3653 be produced rather than the pre-RFC3667 one. Update to RFC4287 3639 3654 boilerplate. 3640 3641 3642 3643 3644 3645 3646 Reschke [Page 64]3647 3648 3649 Documentation RFC2629 through XSLT June 20103650 3651 3655 3652 3656 2006-11-11 Add extension attribute x:for-anchor to <iref> handling. … … 3693 3697 contain a file extension. 3694 3698 3699 3700 3701 3702 3703 Reschke [Page 65] 3704 3705 3706 Documentation RFC2629 through XSLT August 2010 3707 3708 3695 3709 2007-06-26 Workaround author/@initials values without trailing dot, 3696 3710 as in xml2rfc.tcl. 3697 3698 3699 3700 3701 3702 3703 Reschke [Page 65]3704 3705 3706 Documentation RFC2629 through XSLT June 20103707 3708 3711 3709 3712 2007-07-14 Enhance index generation for references that use @x:sec … … 3749 3752 2008-07-06 Add x:abnf-char-sequence. 3750 3753 3754 3755 3756 3757 3758 3759 3760 Reschke [Page 66] 3761 3762 3763 Documentation RFC2629 through XSLT August 2010 3764 3765 3751 3766 2008-08-21 Add x:note. 3752 3767 3753 3768 2008-09-06 Add experimental support for SVG images. 3754 3755 3756 3757 3758 3759 3760 Reschke [Page 66]3761 3762 3763 Documentation RFC2629 through XSLT June 20103764 3765 3769 3766 3770 2008-09-17 Add experimental support for x:author. Fix xref/@ … … 3808 3812 generation by using XEP (postprocessors) will convert. 3809 3813 3814 3815 3816 3817 Reschke [Page 67] 3818 3819 3820 Documentation RFC2629 through XSLT August 2010 3821 3822 3810 3823 2004-04-20 Add experimental cref support. 3811 3812 3813 3814 3815 3816 3817 Reschke [Page 67]3818 3819 3820 Documentation RFC2629 through XSLT June 20103821 3822 3824 3823 3825 2004-06-14 Set correct index-item defaults. … … 3864 3866 sided output. 3865 3867 3868 3869 3870 3871 3872 3873 3874 Reschke [Page 68] 3875 3876 3877 Documentation RFC2629 through XSLT August 2010 3878 3879 3866 3880 F.7. xsl11toAn.xslt 3867 3881 3868 3869 3870 3871 3872 3873 3874 Reschke [Page 68]3875 3876 3877 Documentation RFC2629 through XSLT June 20103878 3879 3880 3882 2004-05-17 Initial release. 3881 3883 … … 3884 3886 F.8. xsl11toFop.xslt 3885 3887 3886 2004-05-17 Initial release. 3887 3888 2006-06-02 Use XSL 1.1 WD Feb 2006. 3889 3890 F.9. xsl11toFop-0.95.xslt 3888 2010-08-25 Switch to Apache FOP 1.0. 3891 3889 3892 3890 2009-09-12 Support for FOP 0.20.5 and FOP 0.93 removed. Please use … … 3895 3893 2008-03-15 Add a workaround to the fo:inline workaround (sigh). 3896 3894 3897 F. 10. xsl11toXep.xslt3895 F.9. xsl11toXep.xslt 3898 3896 3899 3897 2004-05-17 Initial release. … … 3929 3927 3930 3928 3929 3930 3931 3931 Reschke [Page 69] 3932 3932 3933 3933 3934 Documentation RFC2629 through XSLT June20103934 Documentation RFC2629 through XSLT August 2010 3935 3935 3936 3936 … … 3989 3989 3990 3990 3991 Documentation RFC2629 through XSLT June20103991 Documentation RFC2629 through XSLT August 2010 3992 3992 3993 3993 … … 4026 4026 note 26, 37 4027 4027 parse-xml 26, 37 4028 prose 26, 37 4028 4029 q 26, 37 4029 4030 rdf:Description 37 … … 4042 4043 4043 4044 4044 4045 4045 Reschke [Page 71] 4046 4046 4047 4047 4048 Documentation RFC2629 through XSLT June20104048 Documentation RFC2629 through XSLT August 2010 4049 4049 4050 4050 … … 4103 4103 4104 4104 4105 Documentation RFC2629 through XSLT June20104105 Documentation RFC2629 through XSLT August 2010 4106 4106 4107 4107 … … 4160 4160 4161 4161 4162 Documentation RFC2629 through XSLT June20104162 Documentation RFC2629 through XSLT August 2010 4163 4163 4164 4164 … … 4192 4192 tocompact 8 4193 4193 topblock 7 4194 prose Extension Element 26, 37 4194 4195 4195 4196 Q … … 4210 4211 rfc.index anchor 14 4211 4212 rfc.ipr anchor 14 4213 4214 4215 4216 Reschke [Page 74] 4217 4218 4219 Documentation RFC2629 through XSLT August 2010 4220 4221 4212 4222 rfc.iref.n anchor 14 4213 4214 4215 4216 Reschke [Page 74]4217 4218 4219 Documentation RFC2629 through XSLT June 20104220 4221 4222 4223 rfc.note.n anchor 14 4223 4224 rfc.references anchor 14 … … 4267 4268 xml2rfc-ext-parse-xml-in-artwork parameter 9 4268 4269 xml2rfc-ext-sec-no-trailing-dots parameter 9 4270 4271 4272 4273 Reschke [Page 75] 4274 4275 4276 Documentation RFC2629 through XSLT August 2010 4277 4278 4269 4279 xml2rfc-ext-support-rfc2731 parameter 9 4270 4271 4272 4273 Reschke [Page 75]4274 4275 4276 Documentation RFC2629 through XSLT June 20104277 4278 4279 4280 xml2rfc-footer parameter 7 4280 4281 xml2rfc-header parameter 7 … … 4327 4328 4328 4329 4329 4330 4330 Reschke [Page 76] 4331 4331 4332 4332 4333 Documentation RFC2629 through XSLT June20104333 Documentation RFC2629 through XSLT August 2010 4334 4334 4335 4335 -
rfc2629xslt/rfc2629xslt.xml
r832 r981 30 30 </author> 31 31 32 <date month=" June" year="2010"/>32 <date month="August" year="2010"/> 33 33 34 34 <keyword>RFC2629</keyword> … … 413 413 </x:lt> 414 414 <x:lt> 415 <t><iref item="Google Chrome"/>Google Chrome (beta available)</t>415 <t><iref item="Google Chrome"/>Google Chrome</t> 416 416 </x:lt> 417 417 <x:lt> 418 <t><iref item="Opera"/>Opera 10 (beta version available)</t>418 <t><iref item="Opera"/>Opera (starting with version 10)</t> 419 419 </x:lt> 420 420 </list> … … 609 609 </t> 610 610 <t> 611 As Apache FOP needs special workarounds ( page breaking, table layout), and611 As Apache FOP needs special workarounds (index generation), and 612 612 some popular extensions aren't standardized yet, the translation produces 613 613 a generic output (hopefully) conforming to <xref target="XSL-FO"/>. 614 Specific backends (<spanx style="verb">xsl11toFop -0.95xslt</spanx>,614 Specific backends (<spanx style="verb">xsl11toFop.xslt</spanx>, 615 615 <spanx style="verb">xsl11toXep.xslt</spanx>, <spanx style="verb">xsl11toAn.xslt</spanx>) 616 616 then provide post-processing for the individual processors. … … 619 619 <t> 620 620 <x:h>Note:</x:h> 621 the output is currently targeted at Apache FOP 0.95.621 the output is currently targeted at Apache FOP 1.0. 622 622 </t> 623 623 </x:note> … … 663 663 <artwork type="example"> 664 664 saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo 665 saxon tmp.fo xsl11toFop -0.95.xslt > rfc2629.fo665 saxon tmp.fo xsl11toFop.xslt > rfc2629.fo 666 666 </artwork> 667 667 </figure> … … 943 943 This element instructs the processor to parse the contents as XML and 944 944 to warn when there's a problem (requires either MSXML or Saxon8 or newer). 945 </t> 946 </section> 947 948 <section title="<prose> element" anchor="ext.element.prose"> 949 <iref item="Extension Elements" subitem="prose" primary="true"/> 950 <iref item="prose Extension Element" primary="true"/> 951 <x:anchor-alias value="prose"/> 952 <t> 953 This element can be used inside <reference> to add plain text (before 954 the date, when present). 945 955 </t> 946 956 </section> … … 1338 1348 <x:<x:ref>q</x:ref>> elements get stripped, with apostrophes 1339 1349 added around the text. 1350 </t> 1351 <t> 1352 <x:<x:ref>prose</x:ref>> elements are transformed into 1353 <seriesInfo> elements (which is an abuse of the element and only 1354 a workaround until xml2rfc gets a matching extension). 1340 1355 </t> 1341 1356 <t> … … 1805 1820 <spanx style="strong">| <x:ref>x_bb</x:ref></spanx> 1806 1821 <spanx style="strong">| <x:ref>x_bc</x:ref></spanx> 1822 <spanx style="strong">| <x:ref>x_bcp14</x:ref></spanx> 1807 1823 <spanx style="strong">| <x:ref>x_bt</x:ref></spanx> 1808 1824 <spanx style="strong">| <x:ref>x_highlight</x:ref></spanx> … … 1899 1915 front, 1900 1916 seriesInfo*, 1917 <spanx style="strong"><x:ref>x_prose</x:ref>?</spanx> 1901 1918 format*, 1902 1919 annotation*, … … 1999 2016 attribute anchor { xsd:ID }? 2000 2017 2018 <spanx># Allow x:quotes attribute on <title></spanx> 2019 attlist.title &= 2020 attribute x:quotes { "true" | "false" }? 2021 2001 2022 <spanx># Allow annotation attribute on <uri></spanx> 2002 2023 attlist.uri &= … … 2062 2083 (TEXT 2063 2084 | iref 2085 | spanx 2064 2086 | xref 2065 2087 | <x:ref>x_bb</x:ref> … … 2176 2198 <x:ref>x_parse-xml</x:ref> = 2177 2199 element x:parse-xml { 2200 (TEXT 2201 | xref)* 2202 } 2203 2204 <spanx anchor="x_prose"><iref item="prose Extension Element"/><iref item="Extension Elements" subitem="prose" 2205 /># Inline prose in a reference (see <xref target="ext.element.prose"/>)</spanx> 2206 <x:ref>x_prose</x:ref> = 2207 element x:prose { 2178 2208 TEXT 2179 2209 } … … 2623 2653 the first); see <eref target="http://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/10"/>. 2624 2654 </t> 2655 <t hangText="2010-08-31"> 2656 Experimental support for prose in references. 2657 </t> 2625 2658 </list></t> 2626 2659 </section> … … 3418 3451 <section title="xsl11toFop.xslt"> 3419 3452 <t><list style="hanging"> 3420 <t hangText="2004-05-17"> 3421 Initial release. 3422 </t> 3423 <t hangText="2006-06-02"> 3424 Use XSL 1.1 WD Feb 2006. 3425 </t> 3426 </list></t> 3427 </section> 3428 3429 <section title="xsl11toFop-0.95.xslt"> 3430 <t><list style="hanging"> 3453 <t hangText="2010-08-25"> 3454 Switch to Apache FOP 1.0. 3455 </t> 3431 3456 <t hangText="2009-09-12"> 3432 3457 Support for FOP 0.20.5 and FOP 0.93 removed. Please use FOP 0.95. -
rfc2629xslt/samples/rfc2629.xslt
r971 r981 1620 1620 </xsl:for-each> 1621 1621 1622 <xsl:if test="not(front/title/@x:quotes='false')">“</xsl:if> 1622 1623 <xsl:choose> 1623 1624 <xsl:when test="string-length($target) > 0"> 1624 <xsl:text>“</xsl:text>1625 1625 <a href="{$target}"><xsl:value-of select="normalize-space(front/title)" /></a> 1626 <xsl:text>”</xsl:text>1627 1626 </xsl:when> 1628 1627 <xsl:otherwise> 1629 <xsl:text>“</xsl:text>1630 1628 <xsl:value-of select="normalize-space(front/title)" /> 1631 <xsl:text>”</xsl:text>1632 1629 </xsl:otherwise> 1633 1630 </xsl:choose> 1631 <xsl:if test="not(front/title/@x:quotes='false')">”</xsl:if> 1634 1632 1635 1633 <xsl:for-each select="seriesInfo"> … … 1645 1643 </xsl:for-each> 1646 1644 1645 <!-- avoid hacks using seriesInfo when it's not really series information --> 1646 <xsl:for-each select="x:prose"> 1647 <xsl:text>, </xsl:text> 1648 <xsl:value-of select="."/> 1649 </xsl:for-each> 1650 1647 1651 <xsl:if test="front/date/@year != ''"> 1648 1652 <xsl:if test="string(number(front/date/@year)) = 'NaN'"> … … 6191 6195 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6192 6196 <!-- when RCS keyword substitution in place, add version info --> 6193 <xsl:if test="contains('$Revision: 1.52 0$',':')">6194 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.52 0$', 'Revision: '),'$','')),', ')" />6197 <xsl:if test="contains('$Revision: 1.522 $',':')"> 6198 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.522 $', 'Revision: '),'$','')),', ')" /> 6195 6199 </xsl:if> 6196 <xsl:if test="contains('$Date: 2010-0 7-14 12:36:35$',':')">6197 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-0 7-14 12:36:35$', 'Date: '),'$','')),', ')" />6200 <xsl:if test="contains('$Date: 2010-08-31 15:02:33 $',':')"> 6201 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-08-31 15:02:33 $', 'Date: '),'$','')),', ')" /> 6198 6202 </xsl:if> 6199 6203 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> -
rfc2629xslt/testcase.html
r971 r981 390 390 } 391 391 } 392 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" title="12 Other" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.52 0, 2010-07-14 12:36:35, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 test cases</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">September 2009</td></tr></tbody></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1 <a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2 <a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3 <a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4 <a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5 <a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6 <a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7 <a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8 <a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2. <a href="#rfc.section.2">spanx</a></li><li class="tocline0">3. <a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">example from xml2rc README</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">no column titles</a></li><li class="tocline1">3.5 <a href="#rfc.section.3.5">referencing tables</a></li><li class="tocline1">3.6 <a href="#rfc.section.3.6">table captions</a></li><li class="tocline1">3.7 <a href="#rfc.section.3.7">single column</a></li><li class="tocline1">3.8 <a href="#rfc.section.3.8">table alignment</a></li></ul></li><li class="tocline0">4. <a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1 <a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2 <a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3 <a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4 <a href="#rfc.section.4.4">Whitespace around figures</a></li><li class="tocline1">4.5 <a href="#rfc.section.4.5">SVG</a></li><li class="tocline1">4.6 <a href="#code.components">Code Components</a></li></ul></li><li class="tocline0">5. <a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1 <a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.2 <a href="#rfc.section.5.2">xref to named <t> element</a></li><li class="tocline1">5.3 <a href="#rfc.section.5.3">xref to named <spanx> element</a></li><li class="tocline1">5.4 <a href="#rfc.section.5.4">xref to named <t> element inside list</a></li><li class="tocline1">5.5 <a href="#rfc.section.5.5">xref to named <cref> element</a></li><li class="tocline1">5.6 <a href="#rfc.section.5.6">xref to named <t> element inside list</a></li><li class="tocline1">5.7 <a href="#rfc.section.5.7">xref with no auto-formatting</a></li><li class="tocline1">5.8 <a href="#rfc.section.5.8">xref with content and auto-formatting</a></li><li class="tocline1">5.9 <a href="#rfc.section.5.9">xref with content and no formatting</a></li><li class="tocline1">5.10 <a href="#formatting.none">xref with content and 'none' formatting</a></li><li class="tocline1">5.11 <a href="#rfc.section.5.11">xref with no content and anchor formatting</a></li><li class="tocline1">5.12 <a href="#rfc.section.5.12">eref with no content</a></li><li class="tocline1">5.13 <a href="#rfc.section.5.13">eref with content</a></li><li class="tocline1">5.14 <a href="#rfc.section.5.14">iref inside paragraph</a></li></ul></li><li class="tocline0">6. <a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7. <a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1 <a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1 <a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8. <a href="#rfc.section.8">Comments</a></li><li class="tocline0">9. <a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10. <a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2 <a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3 <a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4 <a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5 <a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6 <a href="#computed.reference.targets">Computed Reference Targets</a></li><li class="tocline1">10.7 <a href="#abnf.support">ABNF Support</a></li></ul></li><li class="tocline0">11. <a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12. <a href="#rfc.section.12">Other</a><ul class="toc"><li class="tocline1">12.1 <a href="#rfc.section.12.1">Comments in Text</a></li></ul></li><li class="tocline0">13. <a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a> numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a> <a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a> no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a> with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a> Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a> list without style</h2><ul class="empty"><li>One</li><li>Two</li><li>Three</li></ul><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a> list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td class="left">try to enforce the ID-nits conventions and DTD validity</td><td class="left">a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td class="left">include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td class="left">bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td class="left">when producing a txt/nroff file, try to conserve vertical whitespace</td><td class="left">ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td class="left">if compact is "yes", then setting this to "no" will make things a little less compact</td><td class="left">dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td class="left">an integer hint indicating how many contiguous lines are needed at this point in the output</td><td class="left">eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td class="left"></td><td class="left"></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table class="tt none center" cellpadding="3" cellspacing="0"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table class="tt headers center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a> referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.5"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">"title"</td></tr></tbody></table></div><h2 id="rfc.section.3.7"><a href="#rfc.section.3.7">3.7</a> single column</h2><div id="rfc.table.u.4"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">title</th></tr></thead><tbody><tr><td class="left">1</td></tr><tr><td class="left">2</td></tr></tbody></table></div><h2 id="rfc.section.3.8"><a href="#rfc.section.3.8">3.8</a> table alignment</h2><div id="rfc.table.u.5"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th class="left">left</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.6"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">center</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.7"><table class="tt full right" cellpadding="3" cellspacing="0"><thead><tr><th class="left">right</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">default</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p> <pre> +--+392 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" title="12 Other" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.522, 2010-08-31 15:02:33, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 test cases</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">September 2009</td></tr></tbody></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1 <a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2 <a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3 <a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4 <a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5 <a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6 <a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7 <a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8 <a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2. <a href="#rfc.section.2">spanx</a></li><li class="tocline0">3. <a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">example from xml2rc README</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">no column titles</a></li><li class="tocline1">3.5 <a href="#rfc.section.3.5">referencing tables</a></li><li class="tocline1">3.6 <a href="#rfc.section.3.6">table captions</a></li><li class="tocline1">3.7 <a href="#rfc.section.3.7">single column</a></li><li class="tocline1">3.8 <a href="#rfc.section.3.8">table alignment</a></li></ul></li><li class="tocline0">4. <a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1 <a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2 <a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3 <a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4 <a href="#rfc.section.4.4">Whitespace around figures</a></li><li class="tocline1">4.5 <a href="#rfc.section.4.5">SVG</a></li><li class="tocline1">4.6 <a href="#code.components">Code Components</a></li></ul></li><li class="tocline0">5. <a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1 <a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.2 <a href="#rfc.section.5.2">xref to named <t> element</a></li><li class="tocline1">5.3 <a href="#rfc.section.5.3">xref to named <spanx> element</a></li><li class="tocline1">5.4 <a href="#rfc.section.5.4">xref to named <t> element inside list</a></li><li class="tocline1">5.5 <a href="#rfc.section.5.5">xref to named <cref> element</a></li><li class="tocline1">5.6 <a href="#rfc.section.5.6">xref to named <t> element inside list</a></li><li class="tocline1">5.7 <a href="#rfc.section.5.7">xref with no auto-formatting</a></li><li class="tocline1">5.8 <a href="#rfc.section.5.8">xref with content and auto-formatting</a></li><li class="tocline1">5.9 <a href="#rfc.section.5.9">xref with content and no formatting</a></li><li class="tocline1">5.10 <a href="#formatting.none">xref with content and 'none' formatting</a></li><li class="tocline1">5.11 <a href="#rfc.section.5.11">xref with no content and anchor formatting</a></li><li class="tocline1">5.12 <a href="#rfc.section.5.12">eref with no content</a></li><li class="tocline1">5.13 <a href="#rfc.section.5.13">eref with content</a></li><li class="tocline1">5.14 <a href="#rfc.section.5.14">iref inside paragraph</a></li></ul></li><li class="tocline0">6. <a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7. <a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1 <a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1 <a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8. <a href="#rfc.section.8">Comments</a></li><li class="tocline0">9. <a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10. <a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2 <a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3 <a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4 <a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5 <a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6 <a href="#computed.reference.targets">Computed Reference Targets</a></li><li class="tocline1">10.7 <a href="#abnf.support">ABNF Support</a></li></ul></li><li class="tocline0">11. <a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12. <a href="#rfc.section.12">Other</a><ul class="toc"><li class="tocline1">12.1 <a href="#rfc.section.12.1">Comments in Text</a></li></ul></li><li class="tocline0">13. <a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a> numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a> <a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a> no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a> with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a> Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a> list without style</h2><ul class="empty"><li>One</li><li>Two</li><li>Three</li></ul><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a> list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td class="left">try to enforce the ID-nits conventions and DTD validity</td><td class="left">a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td class="left">include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td class="left">bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td class="left">when producing a txt/nroff file, try to conserve vertical whitespace</td><td class="left">ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td class="left">if compact is "yes", then setting this to "no" will make things a little less compact</td><td class="left">dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td class="left">an integer hint indicating how many contiguous lines are needed at this point in the output</td><td class="left">eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td class="left"></td><td class="left"></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table class="tt none center" cellpadding="3" cellspacing="0"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table class="tt headers center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td class="left">11</td><td class="left">12</td></tr><tr><td class="left">21</td><td class="left">22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a> referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.5"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">-</td><td class="left">"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td class="left">yes</td><td class="left">"title"</td></tr></tbody></table></div><h2 id="rfc.section.3.7"><a href="#rfc.section.3.7">3.7</a> single column</h2><div id="rfc.table.u.4"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">title</th></tr></thead><tbody><tr><td class="left">1</td></tr><tr><td class="left">2</td></tr></tbody></table></div><h2 id="rfc.section.3.8"><a href="#rfc.section.3.8">3.8</a> table alignment</h2><div id="rfc.table.u.5"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th class="left">left</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.6"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">center</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.7"><table class="tt full right" cellpadding="3" cellspacing="0"><thead><tr><th class="left">right</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">default</th></tr></thead><tbody><tr><td class="left">1</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p> <pre> +--+ 393 393 | | 394 394 +--+ -
rfc2629xslt/xsl11toFop.xslt
r6 r981 1 1 <!-- 2 Transform XSL 1.1 extensions to FOP extensions2 Transform XSL 1.1 extensions to Apache FOP 3 3 4 Copyright (c) 200 6-2007, Julian Reschke (julian.reschke@greenbytes.de)4 Copyright (c) 2007-2010, Julian Reschke (julian.reschke@greenbytes.de) 5 5 All rights reserved. 6 6 … … 32 32 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 33 33 xmlns:fo="http://www.w3.org/1999/XSL/Format" 34 xmlns:fox="http://xml .apache.org/fop/extensions"34 xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" 35 35 version="1.0" 36 36 > 37 37 38 <!-- transform bookmark elements --> 39 40 <xsl:template match="fo:bookmark-tree" > 41 <xsl:apply-templates/> 42 </xsl:template> 43 44 <xsl:template match="fo:bookmark" > 45 <fox:outline internal-destination="{@internal-destination}"> 46 <xsl:apply-templates/> 47 </fox:outline> 48 </xsl:template> 49 50 <xsl:template match="fo:bookmark-title" > 51 <fox:label> 52 <xsl:apply-templates/> 53 </fox:label> 54 </xsl:template> 55 56 57 <!-- work around for missing page break stuff --> 58 59 <xsl:template match="fo:block[@page-break-before='always']"> 38 <xsl:template match="node()|@*"> 60 39 <xsl:copy> 61 <xsl:attribute name="break-before">page</xsl:attribute> 62 <xsl:attribute name="keep-with-previous">auto</xsl:attribute> 63 <xsl:apply-templates select="@*[not(name()='page-break-before') and not(name()='id')]" /> 64 <xsl:apply-templates select="@id" /> 40 <xsl:apply-templates select="@*" /> 65 41 <xsl:apply-templates select="node()" /> 66 42 </xsl:copy> 67 43 </xsl:template> 68 44 69 <!-- work around weird list item behaviour --> 45 <xsl:template match="/"> 46 <xsl:copy><xsl:apply-templates select="node()" /></xsl:copy> 47 </xsl:template> 70 48 71 <xsl:template match=" fo:list-item-body/fo:block[not(node())]">49 <xsl:template match="/fo:root"> 72 50 <xsl:copy> 73 <xsl:apply-templates select="@*"/> 74 <!-- add NBSP so the block is not empty --> 75 <xsl:text> </xsl:text> 51 <xsl:apply-templates select="@*|node()" /> 52 <xsl:for-each select="//@id"> 53 <fox:destination internal-destination="{.}"/> 54 </xsl:for-each> 76 55 </xsl:copy> 77 56 </xsl:template> 78 57 79 <!-- add destination elements where IDs are defined --> 80 <xsl:template match="@id"> 81 <xsl:copy-of select="."/> 82 <fox:destination internal-destination="{.}"/> 83 </xsl:template> 58 <!-- remove third-party extensions --> 84 59 85 <xsl:template match="fo:list-item/@id"> 86 <!-- dunno how to in list items, so move into list-item-body --> 87 </xsl:template> 88 89 <xsl:template match="fo:list-item[@id]/fo:list-item-body"> 90 <xsl:copy> 91 <xsl:attribute name="id"><xsl:value-of select="../@id"/></xsl:attribute> 92 <xsl:apply-templates select="@*|node()"/> 93 </xsl:copy> 94 </xsl:template> 60 <xsl:template match="*[not(ancestor::fo:declarations) and namespace-uri()!='http://www.w3.org/1999/XSL/Format' and namespace-uri()!='http://xml.apache.org/fop/extensions']" /> 61 <xsl:template match="@*[not(ancestor::fo:declarations) and namespace-uri()!='' and namespace-uri()!='http://www.w3.org/1999/XSL/Format' and namespace-uri()!='http://xml.apache.org/fop/extensions']" /> 95 62 96 63 <!-- index-page-citation-list --> … … 109 76 </xsl:if> 110 77 <fo:page-number-citation ref-id="{ancestor-or-self::*/@id}"/> 111 <xsl:if test="not(ancestor-or-self::*/@id)">112 <xsl:message>WARNING: No ID found for <xsl:value-of select="@index-key"/>.</xsl:message>113 </xsl:if>114 78 </fo:basic-link> 115 79 <xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> … … 117 81 </xsl:template> 118 82 119 <!-- suppress and map-->120 83 <xsl:template match="@index-key" /> 121 84 <xsl:template match="fo:index-range-end" /> 122 85 <xsl:template match="fo:index-range-begin"> 123 <fo: wrapperid="{@id}"/>86 <fo:block id="{@id}"/> 124 87 </xsl:template> 125 126 <!-- remove stuff not understood --> 127 <xsl:template match="@page-break-inside"/> 128 129 <!-- remove third-party extensions --> 130 131 <xsl:template match="*[namespace-uri()!='http://www.w3.org/1999/XSL/Format' and namespace-uri()!='http://xml.apache.org/fop/extensions']" /> 132 <xsl:template match="@*[namespace-uri()!='' and namespace-uri()!='http://www.w3.org/1999/XSL/Format' and namespace-uri()!='http://xml.apache.org/fop/extensions']" /> 133 134 135 136 <xsl:template match="node()|@*"> 137 <xsl:copy> 138 <xsl:apply-templates select="@*[not(name()='id')]" /> 139 <xsl:apply-templates select="@id" /> 140 <xsl:apply-templates select="node()" /> 141 </xsl:copy> 142 </xsl:template> 143 144 <xsl:template match="/"> 145 <xsl:copy><xsl:apply-templates select="node()" /></xsl:copy> 88 <xsl:template match="fo:inline[@id and @index-key and not(node())]"> 89 <xsl:choose> 90 <xsl:when test="ancestor::fo:block"> 91 <fo:wrapper id="{@id}"/> 92 </xsl:when> 93 <xsl:otherwise> 94 <fo:block id="{@id}"/> 95 </xsl:otherwise> 96 </xsl:choose> 146 97 </xsl:template> 147 98
Note: See TracChangeset
for help on using the changeset viewer.