Changeset 2740


Ignore:
Timestamp:
Sep 30, 2015, 11:10:16 PM (4 years ago)
Author:
julian.reschke@…
Message:

update XSLTs, update XML and HTML of published specs

Files:
67 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r2739 r2740  
    236236  </xsl:choose>
    237237</xsl:variable>
     238
     239<!-- CSS class name remapping -->
     240
     241<xsl:param name="xml2rfc-ext-css-map"/>
     242
     243<xsl:template name="generate-css-class">
     244  <xsl:param name="name"/>
     245  <xsl:variable name="cssmap" select="document($xml2rfc-ext-css-map)"/>
     246  <xsl:variable name="entry" select="$cssmap/*/map[@from=$name]"/>
     247  <xsl:choose>
     248    <xsl:when test="$entry">
     249      <xsl:value-of select="$entry/@css"/>
     250    </xsl:when>
     251    <xsl:otherwise>
     252      <xsl:value-of select="$name"/>
     253    </xsl:otherwise>
     254  </xsl:choose>
     255</xsl:template>
     256
     257<!-- WORK IN PROGRESS; ONLY A FEW CLASSES SUPPORTED FOR NOW -->
     258<xsl:variable name="css-error"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'error'"/></xsl:call-template></xsl:variable>
     259<xsl:variable name="css-noprint"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'noprint'"/></xsl:call-template></xsl:variable>
     260<xsl:variable name="css-tcenter"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tcenter'"/></xsl:call-template></xsl:variable>
     261<xsl:variable name="css-tleft"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tleft'"/></xsl:call-template></xsl:variable>
     262<xsl:variable name="css-tright"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tright'"/></xsl:call-template></xsl:variable>
     263<xsl:variable name="css-tt"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tt'"/></xsl:call-template></xsl:variable>
    238264
    239265<!-- RFC-Editor site linking -->
     
    702728<!-- does the document contain edits? -->
    703729<xsl:variable name="has-edits" select="//ed:ins | //ed:del | //ed:replace" />
     730
     731<!-- does the document have a published-as-rfc link? -->
     732<xsl:variable name="published-as-rfc" select="/*/x:link[@rel='Alternate' and starts-with(@title,'RFC')]"/>
     733
    704734
    705735<xsl:template match="text()[not(ancestor::artwork)]">
     
    723753<xsl:template match="abstract">
    724754  <xsl:call-template name="check-no-text-content"/>
    725   <h1 id="{$anchor-prefix}.abstract"><a href="#{$anchor-prefix}.abstract">Abstract</a></h1>
     755  <h2 id="{$anchor-prefix}.abstract"><a href="#{$anchor-prefix}.abstract">Abstract</a></h2>
    726756  <xsl:apply-templates />
    727757</xsl:template>
     
    12541284  </xsl:if>
    12551285
    1256   <p class="title" id="{$anchor-prefix}.title">
     1286  <div id="{$anchor-prefix}.title">
    12571287    <!-- main title -->
    12581288
    1259     <xsl:apply-templates select="title"/>
     1289    <h1><xsl:apply-templates select="title"/></h1>
    12601290    <xsl:if test="/rfc/@docName">
    12611291   
     
    12691299        </xsl:when>
    12701300        <xsl:otherwise>
    1271           <br/>
    1272           <span class="filename"><xsl:value-of select="$docname"/></span>
     1301          <div class="filename"><xsl:value-of select="$docname"/></div>
    12731302        </xsl:otherwise>
    12741303      </xsl:choose>
     
    12961325      </xsl:if>
    12971326
    1298 
    12991327      <xsl:if test="contains($docname,'--')">
    13001328        <xsl:call-template name="warning">
     
    13311359
    13321360    </xsl:if>
    1333   </p>
     1361  </div>
    13341362
    13351363  <!-- insert notice about update -->
    1336   <xsl:variable name="published-as" select="/*/x:link[@rel='Alternate' and starts-with(@title,'RFC')]"/>
    1337   <xsl:if test="$published-as">
    1338     <p style="color: green; text-align: center; font-size: 14pt; background-color: yellow;">
    1339       <b>Note:</b> a later version of this document has been published as <a href="{$published-as/@href}"><xsl:value-of select="$published-as/@title"/></a>.
     1364  <xsl:if test="$published-as-rfc">
     1365    <p class="publishedasrfc">
     1366      <b>Note:</b> a later version of this document has been published as <a href="{$published-as-rfc/@href}"><xsl:value-of select="$published-as-rfc/@title"/></a>.
    13401367    </p>
    13411368  </xsl:if>
     
    18671894  <xsl:call-template name="check-no-text-content"/>
    18681895  <xsl:variable name="num"><xsl:number/></xsl:variable>
    1869     <h1 id="{$anchor-prefix}.note.{$num}">
     1896    <h2 id="{$anchor-prefix}.note.{$num}">
    18701897      <xsl:call-template name="insertInsDelClass"/>
    18711898      <a href="#{$anchor-prefix}.note.{$num}">
    18721899        <xsl:value-of select="@title" />
    18731900      </a>
    1874     </h1>
     1901    </h2>
    18751902  <xsl:apply-templates />
    18761903</xsl:template>
     
    21232150              <!-- surname/initials is reversed for last author except when it's the only one -->
    21242151              <xsl:choose>
     2152                <xsl:when test="$truncated-initials='' and @surname">
     2153                  <xsl:value-of select="@surname"/>
     2154                </xsl:when>
    21252155                <xsl:when test="position()=last() and position()!=1">
    21262156                  <xsl:value-of select="concat($truncated-initials,' ',@surname)" />
     
    23162346  <xsl:if test="not(preceding::references) and $refseccount!=1">
    23172347    <xsl:call-template name="insert-conditional-hrule"/>
    2318     <h1 id="{$anchor-prefix}.references">
     2348    <h2 id="{$anchor-prefix}.references">
    23192349      <xsl:call-template name="insert-conditional-pagebreak"/>
    23202350      <xsl:variable name="sectionNumber">
     
    23282358      <xsl:text> </xsl:text>
    23292359      <xsl:value-of select="$xml2rfc-refparent"/>
    2330     </h1>
     2360    </h2>
    23312361  </xsl:if>
    23322362
    23332363  <xsl:variable name="elemtype">
    23342364    <xsl:choose>
    2335       <xsl:when test="$refseccount!=1">h2</xsl:when>
    2336       <xsl:otherwise>h1</xsl:otherwise>
     2365      <xsl:when test="$refseccount!=1">h3</xsl:when>
     2366      <xsl:otherwise>h2</xsl:otherwise>
    23372367    </xsl:choose>
    23382368  </xsl:variable>
     
    25312561        <meta name="description" content="{normalize-space(front/abstract)}" />
    25322562      </xsl:if>
    2533 
    25342563    </head>
    2535     <body>
    2536       <xsl:variable name="onload">
    2537         <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and /rfc/@number">getMeta(<xsl:value-of select="/rfc/@number"/>,"rfc.meta");</xsl:if>
    2538         <xsl:if test="/rfc/x:feedback">initFeedback();</xsl:if>
    2539         <xsl:if test="$xml2rfc-ext-refresh-from!=''">RfcRefresh.initRefresh()</xsl:if>
    2540       </xsl:variable>
    2541       <xsl:if test="$onload!=''">
    2542         <xsl:attribute name="onload">
    2543           <xsl:value-of select="$onload"/>
    2544         </xsl:attribute>
    2545       </xsl:if>
    2546 
    2547       <!-- insert diagnostics -->
    2548       <xsl:call-template name="insert-diagnostics"/>
    2549 
    2550       <xsl:apply-templates select="front" />
    2551       <xsl:apply-templates select="middle" />
    2552       <xsl:call-template name="back" />
    2553     </body>
     2564
     2565    <xsl:call-template name="body" />
    25542566  </html>
    25552567</xsl:template>
    25562568
     2569<xsl:template name="body">
     2570  <body>
     2571    <!-- insert onload scripts, when required -->
     2572    <xsl:variable name="onload">
     2573      <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and /rfc/@number">getMeta(<xsl:value-of select="/rfc/@number"/>,"rfc.meta");</xsl:if>
     2574      <xsl:if test="/rfc/x:feedback">initFeedback();</xsl:if>
     2575      <xsl:if test="$xml2rfc-ext-refresh-from!=''">RfcRefresh.initRefresh()</xsl:if>
     2576    </xsl:variable>
     2577    <xsl:if test="$onload!=''">
     2578      <xsl:attribute name="onload">
     2579        <xsl:value-of select="$onload"/>
     2580      </xsl:attribute>
     2581    </xsl:if>
     2582
     2583    <xsl:call-template name="add-start-material" />
     2584
     2585    <!-- insert diagnostics -->
     2586    <xsl:call-template name="insert-diagnostics"/>
     2587
     2588    <xsl:apply-templates select="front" />
     2589    <xsl:apply-templates select="middle" />
     2590    <xsl:call-template name="back" />
     2591
     2592    <xsl:call-template name="add-end-material" />
     2593  </body>
     2594</xsl:template>
    25572595
    25582596<xsl:template match="t">
     
    27702808  <xsl:variable name="elemtype">
    27712809    <xsl:choose>
    2772       <xsl:when test="count(ancestor::section) &lt;= 4">h<xsl:value-of select="1 + count(ancestor::section)"/></xsl:when>
     2810      <xsl:when test="count(ancestor::section) &lt;= 3">h<xsl:value-of select="2 + count(ancestor::section)"/></xsl:when>
    27732811      <xsl:otherwise>h6</xsl:otherwise>
    27742812    </xsl:choose>
     
    27762814
    27772815  <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and $rfcno!='' and @anchor='rfc.status'">
    2778     <div id="{$anchor-prefix}.meta" style="float: right; border: 1px solid black; margin: 2em; padding: 1em; display: none;"></div>
     2816    <div id="{$anchor-prefix}.meta" class="docstatus"></div>
    27792817  </xsl:if>
    27802818  <div>
     
    35453583    <xsl:with-param name="msg">no XSLT template for element '<xsl:value-of select="name()"/>'</xsl:with-param>
    35463584  </xsl:call-template>
    3547   <tt class="error">&lt;<xsl:value-of select="name()" />&gt;</tt>
     3585  <tt class="{$css-error}">&lt;<xsl:value-of select="name()" />&gt;</tt>
    35483586  <xsl:copy><xsl:apply-templates select="node()|@*" /></xsl:copy>
    3549   <tt class="error">&lt;/<xsl:value-of select="name()" />&gt;</tt>
     3587  <tt class="{$css-error}">&lt;/<xsl:value-of select="name()" />&gt;</tt>
    35503588</xsl:template>
    35513589
     
    36263664      <xsl:variable name="area" select="normalize-space(.)"/>
    36273665      <xsl:variable name="rallowed">
    3628         <ed:v>Applications</ed:v>
    3629         <ed:v>app</ed:v>
     3666        <xsl:if test="$pub-yearmonth &lt; 201509">
     3667          <ed:v>Applications</ed:v>
     3668          <ed:v>app</ed:v>
     3669        </xsl:if>
     3670        <xsl:if test="$pub-yearmonth &gt; 201505">
     3671          <ed:v>Applications and Real-Time</ed:v>
     3672          <ed:v>art</ed:v>
     3673        </xsl:if>
    36303674        <ed:v>General</ed:v>
    36313675        <ed:v>gen</ed:v>
     
    36343678        <ed:v>Operations and Management</ed:v>
    36353679        <ed:v>ops</ed:v>
    3636         <ed:v>Real-time Applications and Infrastructure</ed:v>
    3637         <ed:v>rai</ed:v>
     3680        <xsl:if test="$pub-yearmonth &lt; 201509">
     3681          <ed:v>Real-time Applications and Infrastructure</ed:v>
     3682          <ed:v>rai</ed:v>
     3683        </xsl:if>
    36383684        <ed:v>Routing</ed:v>
    36393685        <ed:v>rtg</ed:v>
     
    36593705              </xsl:if>
    36603706            </xsl:for-each>
     3707            <xsl:text> (as of the publication date of </xsl:text>
     3708            <xsl:value-of select="$pub-yearmonth"/>
     3709            <xsl:text>)</xsl:text>
    36613710            </xsl:with-param>
    36623711          </xsl:call-template>
     
    39824031
    39834032    <div class="avoidbreakinside">
    3984       <h1 id="{$anchor-prefix}.authors">
     4033      <h2 id="{$anchor-prefix}.authors">
    39854034        <xsl:call-template name="insert-conditional-pagebreak"/>
    39864035        <xsl:if test="$number != ''">
     
    39894038        </xsl:if>
    39904039        <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a>
    3991       </h1>
     4040      </h2>
    39924041
    39934042      <xsl:apply-templates select="/rfc/front/author" />
     
    41874236  if (! window.XSLTProcessor) {
    41884237    var err = document.createElement("pre");
    4189     err.className = "refreshbrowsererror noprint";
     4238    err.className = "refreshbrowsererror <xsl:value-of select="$css-noprint"/>";
    41904239    var msg = "This browser does not support the window.XSLTProcessor functionality.";
    41914240    err.appendChild(document.createTextNode(msg));
     
    42094258    catch (e) {
    42104259      var err = document.createElement("pre");
    4211       err.className = "refreshbrowsererror noprint";
     4260      err.className = "refreshbrowsererror <xsl:value-of select="$css-noprint"/>";
    42124261      var msg = "Failed to load XSLT code from &lt;" + RfcRefresh.xsltsource + "&gt;.\n";
    42134262      msg += "Your browser might not support loading from a file: URI.\n";
     
    43304379    if (errmsg != null) {
    43314380      var err = document.createElement("pre");
    4332       err.className = "refreshxmlerror noprint";
     4381      err.className = "refreshxmlerror <xsl:value-of select="$css-noprint"/>";
    43334382      err.appendChild(document.createTextNode(errmsg.msg));
    43344383      if (errmsg.src != null) {
     
    44014450function initFeedback() {
    44024451  var fb = document.createElement("div");
    4403   fb.className = "feedback noprint";
     4452  fb.className = "feedback <xsl:value-of select="$css-noprint"/>";
    44044453  fb.setAttribute("onclick", "feedback();");
    44054454  fb.appendChild(document.createTextNode("feedback"));
     
    44674516
    44684517    var button = document.createElement("a");
    4469     button.className = "fbbutton noprint";
     4518    button.className = "fbbutton <xsl:value-of select="$css-noprint"/>";
    44704519    button.setAttribute("href", uri);
    44714520    button.appendChild(document.createTextNode("send feedback"));
     
    44764525    for (var i = 0; i &lt; buttons.length; i++) {
    44774526      var b = buttons.item(i);
    4478       if (b.className == "fbbutton noprint") {
     4527      if (b.className == "fbbutton <xsl:value-of select="$css-noprint"/>") {
    44794528        node.removeChild(b);
    44804529      }
     
    46694718}
    46704719h1 {
     4720  color: green;
     4721  font-size: 150%;
     4722  line-height: 18pt;
     4723  font-weight: bold;
     4724  text-align: center;
     4725  margin-top: 36pt;
     4726  margin-bottom: 0pt;
     4727}
     4728h2 {
    46714729  font-size: 130%;
    46724730  line-height: 21pt;
    46734731  page-break-after: avoid;
    46744732}
    4675 h1.np {
     4733h2.np {
    46764734  page-break-before: always;
    46774735}
    4678 h2 {
     4736h3 {
    46794737  font-size: 120%;
    46804738  line-height: 15pt;
    46814739  page-break-after: avoid;
    46824740}
    4683 h3 {
     4741h4 {
    46844742  font-size: 110%;
    46854743  page-break-after: avoid;
    46864744}
    4687 h4, h5, h6 {
     4745h5, h6 {
    46884746  page-break-after: avoid;
    46894747}
     
    47694827  margin-left: 2em;
    47704828}<xsl:if test="//texttable">
    4771 table.tt {
     4829table.<xsl:value-of select="$css-tt"/> {
    47724830  vertical-align: top;
    47734831  border-color: gray;
    47744832}
    4775 table.tt th {
     4833table.<xsl:value-of select="$css-tt"/> th {
    47764834  border-color: gray;
    47774835}
    4778 table.tt td {
     4836table.<xsl:value-of select="$css-tt"/> td {
    47794837  border-color: gray;
    47804838}
     
    47874845  border-width: 2px;
    47884846}
    4789 table.tt td {
     4847table.<xsl:value-of select="$css-tt"/> td {
    47904848  vertical-align: top;
    47914849}
     
    47984856  border-width: 1px;
    47994857}
    4800 table.tt th {
     4858table.<xsl:value-of select="$css-tt"/> th {
    48014859  vertical-align: top;
    48024860}
     
    48134871  border-width: 2px;
    48144872}
    4815 table.left {
     4873table.<xsl:value-of select="$css-tleft"/> {
    48164874  margin-right: auto;
    48174875}
    4818 table.right {
     4876table.<xsl:value-of select="$css-tright"/> {
    48194877  margin-left: auto;
    48204878}
    4821 table.center {
     4879table.<xsl:value-of select="$css-tcenter"/> {
    48224880  margin-left: auto;
    48234881  margin-right: auto;
     
    48804938  margin-left: 0em;
    48814939}
    4882 .title, .filename, h1, h2, h3, h4 {
     4940.filename, h1, h2, h3, h4 {
    48834941  font-family: candara, calibri, segoe, optima, arial, sans-serif;
    48844942}
     
    49224980  text-align: center;
    49234981}
    4924 .error {
     4982.<xsl:value-of select="$css-error"/> {
    49254983  color: red;
    49264984  font-style: italic;
     
    49344992.filename {
    49354993  color: #333333;
    4936   font-size: 75%;
     4994  font-size: 112%;
    49374995  font-weight: bold;
    49384996  line-height: 21pt;
    49394997  text-align: center;
     4998  margin-top: 0pt;
    49404999}
    49415000.fn {
     
    49475006.right {
    49485007  text-align: right;
    4949 }
    4950 .title {
    4951   color: green;
    4952   font-size: 150%;
    4953   line-height: 18pt;
    4954   font-weight: bold;
    4955   text-align: center;
    4956   margin-top: 36pt;
    49575008}
    49585009.warning {
     
    50745125dd, li, p {
    50755126  text-align: justify;
     5127}</xsl:if><xsl:if test="$xml2rfc-ext-insert-metadata='yes' and $rfcno!=''">
     5128.docstatus {
     5129  border: 1px solid black;
     5130  display: none;
     5131  float: right;
     5132  margin: 2em;
     5133  padding: 1em;
     5134}</xsl:if><xsl:if test="$published-as-rfc">
     5135.publishedasrfc {
     5136  background-color: yellow;
     5137  color: green;
     5138  font-size: 14pt;
     5139  text-align: center;
    50765140}</xsl:if>
    50775141
     
    50835147
    50845148@media print {
    5085   .noprint {
     5149  .<xsl:value-of select="$css-noprint"/> {
    50865150    display: none;
    50875151  }
     
    53115375  <xsl:call-template name="insert-conditional-hrule"/>
    53125376
    5313   <h1 id="{$anchor-prefix}.index">
     5377  <h2 id="{$anchor-prefix}.index">
    53145378    <xsl:call-template name="insert-conditional-pagebreak"/>
    53155379    <a href="#{$anchor-prefix}.index">Index</a>
    5316   </h1>
     5380  </h2>
    53175381
    53185382  <!-- generate navigation links to index subsections -->
    5319   <p class="noprint">
     5383  <p class="{$css-noprint}">
    53205384    <xsl:variable name="irefs" select="//iref[generate-id(.) = generate-id(key('index-first-letter',translate(substring(@item,1,1),$lcase,$ucase))[1])]"/>
    53215385    <xsl:variable name="xrefs" select="//reference[not(starts-with(@anchor,'deleted-'))][generate-id(.) = generate-id(key('index-first-letter',translate(substring(concat(/rfc/back/displayreference[@target=current()/@anchor]/@to,@anchor),1,1),$lcase,$ucase))[1])]"/>
     
    61206184
    61216185<xsl:template match="/" mode="toc">
    6122   <hr class="noprint"/>
     6186  <hr class="{$css-noprint}"/>
    61236187
    61246188  <div id="{$anchor-prefix}.toc">
    6125     <h1 class="np"> <!-- this pagebreak occurs always -->
     6189    <h2 class="np"> <!-- this pagebreak occurs always -->
    61266190      <a href="#{$anchor-prefix}.toc">Table of Contents</a>
    6127     </h1>
     6191    </h2>
    61286192 
    61296193    <ul class="toc">
     
    74107474      <!-- block level? -->
    74117475      <xsl:when test="not(ancestor::t) and not(ancestor::title) and not(ancestor::figure) and not($change/@ed:old-title)">
    7412         <div class="issuepointer noprint">
     7476        <div class="issuepointer {$css-noprint}">
    74137477          <xsl:if test="not($deleted-anchor)">
    74147478            <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
     
    74477511          <xsl:choose>
    74487512            <xsl:when test="//ed:issue[@name=$resolves and @status='closed']">
    7449               <xsl:attribute name="class">closed-issue noprint</xsl:attribute>
     7513              <xsl:attribute name="class">closed-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    74507514            </xsl:when>
    74517515            <xsl:when test="//ed:issue[@name=$resolves and @status='editor']">
    7452               <xsl:attribute name="class">editor-issue noprint</xsl:attribute>
     7516              <xsl:attribute name="class">editor-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    74537517            </xsl:when>
    74547518            <xsl:otherwise>
    7455               <xsl:attribute name="class">open-issue noprint</xsl:attribute>
     7519              <xsl:attribute name="class">open-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    74567520            </xsl:otherwise>
    74577521          </xsl:choose>
     
    76487712      <xsl:choose>
    76497713        <xsl:when test="ancestor::t">
    7650           <span class="error"><xsl:value-of select="$message"/></span>
     7714          <span class="{$css-error}"><xsl:value-of select="$message"/></span>
    76517715        </xsl:when>
    76527716        <xsl:otherwise>
    7653           <div class="error"><xsl:value-of select="$message"/></div>
     7717          <div class="{$css-error}"><xsl:value-of select="$message"/></div>
    76547718        </xsl:otherwise>
    76557719      </xsl:choose>
     
    76787742    </xsl:if>
    76797743    <xsl:apply-templates select="preamble" />
     7744
    76807745    <xsl:variable name="style">
    7681       <xsl:text>tt </xsl:text>
     7746      <xsl:value-of select="$css-tt"/>
     7747      <xsl:text> </xsl:text>
    76827748      <xsl:choose>
    76837749        <xsl:when test="@style!=''">
     
    76877753      </xsl:choose>
    76887754      <xsl:choose>
    7689         <xsl:when test="@align='left'"> left</xsl:when>
    7690         <xsl:when test="@align='right'"> right</xsl:when>
    7691         <xsl:when test="@align='center' or not(@align) or @align=''"> center</xsl:when>
     7755        <xsl:when test="@align='left'"><xsl:text> </xsl:text><xsl:value-of select="$css-tleft"/></xsl:when>
     7756        <xsl:when test="@align='right'"><xsl:text> </xsl:text><xsl:value-of select="$css-tright"/></xsl:when>
     7757        <xsl:when test="@align='center' or not(@align) or @align=''"><xsl:text> </xsl:text><xsl:value-of select="$css-tcenter"/></xsl:when>
    76927758        <xsl:otherwise/>
    76937759      </xsl:choose>
    7694 
    76957760    </xsl:variable>
    76967761
     
    78417906  <xsl:call-template name="insert-conditional-hrule"/>
    78427907
    7843   <h1>
     7908  <h2>
    78447909    <xsl:call-template name="insert-conditional-pagebreak"/>
    78457910    <a id="{$anchor-prefix}.comments" href="#{$anchor-prefix}.comments">Editorial Comments</a>
    7846   </h1>
     7911  </h2>
    78477912
    78487913  <dl>
     
    80108075    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    80118076    <!-- when RCS keyword substitution in place, add version info -->
    8012     <xsl:if test="contains('$Revision: 1.733 $',':')">
    8013       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.733 $', 'Revision: '),'$','')),', ')" />
     8077    <xsl:if test="contains('$Revision: 1.743 $',':')">
     8078      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.743 $', 'Revision: '),'$','')),', ')" />
    80148079    </xsl:if>
    8015     <xsl:if test="contains('$Date: 2015/05/28 13:08:20 $',':')">
    8016       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2015/05/28 13:08:20 $', 'Date: '),'$','')),', ')" />
     8080    <xsl:if test="contains('$Date: 2015/09/25 12:36:08 $',':')">
     8081      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2015/09/25 12:36:08 $', 'Date: '),'$','')),', ')" />
    80178082    </xsl:if>
    80188083    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
     
    81518216<!-- reformat contents of author/@initials -->
    81528217<xsl:template name="format-initials">
    8153   <xsl:variable name="r">
    8154     <xsl:call-template name="t-format-initials">
    8155       <xsl:with-param name="remainder" select="normalize-space(@initials)"/>
    8156     </xsl:call-template>
    8157   </xsl:variable>
    8158 
    8159   <xsl:if test="$r!=@initials">
    8160     <xsl:call-template name="warning">
    8161       <xsl:with-param name="msg">@initials '<xsl:value-of select="@initials"/>': did you mean '<xsl:value-of select="$r"/>'?</xsl:with-param>
    8162     </xsl:call-template>
    8163   </xsl:if>
    8164 
    8165   <xsl:value-of select="$r"/>
     8218  <xsl:variable name="normalized" select="normalize-space(@initials)"/>
     8219
     8220  <xsl:choose>
     8221    <xsl:when test="$normalized=''">
     8222      <!-- nothing to do -->
     8223    </xsl:when>
     8224    <xsl:otherwise>
     8225      <xsl:variable name="r">
     8226        <xsl:call-template name="t-format-initials">
     8227          <xsl:with-param name="remainder" select="$normalized"/>
     8228        </xsl:call-template>
     8229      </xsl:variable>
     8230   
     8231      <xsl:if test="$r!=@initials">
     8232        <xsl:call-template name="warning">
     8233          <xsl:with-param name="msg">@initials '<xsl:value-of select="@initials"/>': did you mean '<xsl:value-of select="$r"/>'?</xsl:with-param>
     8234        </xsl:call-template>
     8235      </xsl:if>
     8236   
     8237      <xsl:value-of select="$r"/>
     8238    </xsl:otherwise>
     8239  </xsl:choose>
    81668240</xsl:template>
    81678241
     
    82218295  <xsl:param name="initials"/>
    82228296  <xsl:choose>
     8297    <xsl:when test="normalize-space($initials)=''"/>
    82238298    <xsl:when test="$xml2rfc-multiple-initials='yes'">
    82248299      <xsl:value-of select="$initials"/>
     
    82988373<xsl:template name="insert-conditional-hrule">
    82998374  <xsl:if test="$xml2rfc-compact!='yes'">
    8300     <hr class="noprint" />
     8375    <hr class="{$css-noprint}" />
    83018376  </xsl:if>
    83028377</xsl:template>
     
    87778852
    87788853<xsl:template name="warninvalid">
     8854  <xsl:param name="additionalDiagnostics"/>
    87798855  <xsl:variable name="pname">
    87808856    <xsl:if test="namespace-uri(..)!=''">
     
    87908866  </xsl:variable>
    87918867  <xsl:call-template name="warning">
    8792     <xsl:with-param name="msg" select="concat($cname,' not allowed inside ',$pname)"/>
     8868    <xsl:with-param name="msg" select="concat($cname,' not allowed inside ',$pname,$additionalDiagnostics)"/>
    87938869  </xsl:call-template>
    87948870</xsl:template>
     
    88388914</xsl:template>
    88398915
     8916<!-- xref element -->
     8917<xsl:template match="abstract//xref" mode="validate">
     8918  <xsl:call-template name="warninvalid">
     8919    <xsl:with-param name="additionalDiagnostics"> (inside &lt;artwork>)</xsl:with-param>
     8920  </xsl:call-template>
     8921  <xsl:apply-templates select="@*|*" mode="validate"/>
     8922</xsl:template>
     8923
    88408924<xsl:template name="check-no-text-content">
    8841   <xsl:if test="normalize-space(text())!=''">
    8842     <xsl:call-template name="warning">
    8843       <xsl:with-param name="msg">No text content allowed inside &lt;<xsl:value-of select="name(.)"/>&gt;, but found: <xsl:value-of select="text()"/></xsl:with-param>
    8844     </xsl:call-template>
    8845   </xsl:if>
     8925  <xsl:for-each select="text()">
     8926    <xsl:if test="normalize-space(.)!=''">
     8927      <xsl:call-template name="warning">
     8928        <xsl:with-param name="msg">No text content allowed inside &lt;<xsl:value-of select="local-name(..)"/>&gt;, but found: <xsl:value-of select="."/></xsl:with-param>
     8929      </xsl:call-template>
     8930    </xsl:if>
     8931  </xsl:for-each>
    88468932</xsl:template>
    88478933
     
    88628948</xsl:template>
    88638949
     8950<!-- customization: these templates can be overridden in an XSLT that imports from this one -->
     8951<xsl:template name="add-start-material"/>
     8952<xsl:template name="add-end-material"/>
     8953
    88648954</xsl:transform>
  • rfc2629xslt/rfc2629toFO.xslt

    r2739 r2740  
    828828          <xsl:when test="@surname and @surname!=''">
    829829            <xsl:choose>
     830              <xsl:when test="$truncated-initials='' and @surname">
     831                <xsl:value-of select="@surname"/>
     832              </xsl:when>
    830833              <xsl:when test="@surname and position()=last() and position()!=1">
    831834                <xsl:value-of select="concat($truncated-initials,' ',@surname)" />
  • rfc2629xslt/rfc2629toXHTML.xslt

    r2739 r2740  
    192192  </xsl:choose>
    193193</xsl:variable>
     194
     195<!-- CSS class name remapping -->
     196
     197<xsl:param name="xml2rfc-ext-css-map"/>
     198
     199<xsl:template name="generate-css-class">
     200  <xsl:param name="name"/>
     201  <xsl:variable name="cssmap" select="document($xml2rfc-ext-css-map)"/>
     202  <xsl:variable name="entry" select="$cssmap/*/map[@from=$name]"/>
     203  <xsl:choose>
     204    <xsl:when test="$entry">
     205      <xsl:value-of select="$entry/@css"/>
     206    </xsl:when>
     207    <xsl:otherwise>
     208      <xsl:value-of select="$name"/>
     209    </xsl:otherwise>
     210  </xsl:choose>
     211</xsl:template>
     212
     213<!-- WORK IN PROGRESS; ONLY A FEW CLASSES SUPPORTED FOR NOW -->
     214<xsl:variable name="css-error"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'error'"/></xsl:call-template></xsl:variable>
     215<xsl:variable name="css-noprint"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'noprint'"/></xsl:call-template></xsl:variable>
     216<xsl:variable name="css-tcenter"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tcenter'"/></xsl:call-template></xsl:variable>
     217<xsl:variable name="css-tleft"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tleft'"/></xsl:call-template></xsl:variable>
     218<xsl:variable name="css-tright"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tright'"/></xsl:call-template></xsl:variable>
     219<xsl:variable name="css-tt"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tt'"/></xsl:call-template></xsl:variable>
    194220
    195221<!-- RFC-Editor site linking -->
     
    570596<!-- does the document contain edits? -->
    571597<xsl:variable name="has-edits" select="//ed:ins | //ed:del | //ed:replace"/>
     598
     599<!-- does the document have a published-as-rfc link? -->
     600<xsl:variable name="published-as-rfc" select="/*/x:link[@rel='Alternate' and starts-with(@title,'RFC')]"/>
     601
    572602
    573603<xsl:template match="text()[not(ancestor::artwork)]">
     
    591621<xsl:template match="abstract">
    592622  <xsl:call-template name="check-no-text-content"/>
    593   <h1 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.abstract"><a href="#{$anchor-prefix}.abstract">Abstract</a></h1>
     623  <h2 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.abstract"><a href="#{$anchor-prefix}.abstract">Abstract</a></h2>
    594624  <xsl:apply-templates/>
    595625</xsl:template>
     
    11221152  </xsl:if>
    11231153
    1124   <p xmlns="http://www.w3.org/1999/xhtml" class="title" id="{$anchor-prefix}.title">
     1154  <div xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.title">
    11251155    <!-- main title -->
    11261156
    1127     <xsl:apply-templates select="title"/>
     1157    <h1><xsl:apply-templates select="title"/></h1>
    11281158    <xsl:if test="/rfc/@docName">
    11291159   
     
    11371167        </xsl:when>
    11381168        <xsl:otherwise>
    1139           <br/>
    1140           <span class="filename"><xsl:value-of select="$docname"/></span>
     1169          <div class="filename"><xsl:value-of select="$docname"/></div>
    11411170        </xsl:otherwise>
    11421171      </xsl:choose>
     
    11641193      </xsl:if>
    11651194
    1166 
    11671195      <xsl:if test="contains($docname,'--')">
    11681196        <xsl:call-template name="warning">
     
    11991227
    12001228    </xsl:if>
    1201   </p>
     1229  </div>
    12021230
    12031231  <!-- insert notice about update -->
    1204   <xsl:variable name="published-as" select="/*/x:link[@rel='Alternate' and starts-with(@title,'RFC')]"/>
    1205   <xsl:if test="$published-as">
    1206     <p xmlns="http://www.w3.org/1999/xhtml" style="color: green; text-align: center; font-size: 14pt; background-color: yellow;">
    1207       <b>Note:</b> a later version of this document has been published as <a href="{$published-as/@href}"><xsl:value-of select="$published-as/@title"/></a>.
     1232  <xsl:if test="$published-as-rfc">
     1233    <p xmlns="http://www.w3.org/1999/xhtml" class="publishedasrfc">
     1234      <b>Note:</b> a later version of this document has been published as <a href="{$published-as-rfc/@href}"><xsl:value-of select="$published-as-rfc/@title"/></a>.
    12081235    </p>
    12091236  </xsl:if>
     
    17351762  <xsl:call-template name="check-no-text-content"/>
    17361763  <xsl:variable name="num"><xsl:number/></xsl:variable>
    1737     <h1 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.note.{$num}">
     1764    <h2 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.note.{$num}">
    17381765      <xsl:call-template name="insertInsDelClass"/>
    17391766      <a href="#{$anchor-prefix}.note.{$num}">
    17401767        <xsl:value-of select="@title"/>
    17411768      </a>
    1742     </h1>
     1769    </h2>
    17431770  <xsl:apply-templates/>
    17441771</xsl:template>
     
    19912018              <!-- surname/initials is reversed for last author except when it's the only one -->
    19922019              <xsl:choose>
     2020                <xsl:when test="$truncated-initials='' and @surname">
     2021                  <xsl:value-of select="@surname"/>
     2022                </xsl:when>
    19932023                <xsl:when test="position()=last() and position()!=1">
    19942024                  <xsl:value-of select="concat($truncated-initials,' ',@surname)"/>
     
    21842214  <xsl:if test="not(preceding::references) and $refseccount!=1">
    21852215    <xsl:call-template name="insert-conditional-hrule"/>
    2186     <h1 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.references">
     2216    <h2 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.references">
    21872217      <xsl:call-template name="insert-conditional-pagebreak"/>
    21882218      <xsl:variable name="sectionNumber">
     
    21962226      <xsl:text> </xsl:text>
    21972227      <xsl:value-of select="$xml2rfc-refparent"/>
    2198     </h1>
     2228    </h2>
    21992229  </xsl:if>
    22002230
    22012231  <xsl:variable name="elemtype">
    22022232    <xsl:choose>
    2203       <xsl:when test="$refseccount!=1">h2</xsl:when>
    2204       <xsl:otherwise>h1</xsl:otherwise>
     2233      <xsl:when test="$refseccount!=1">h3</xsl:when>
     2234      <xsl:otherwise>h2</xsl:otherwise>
    22052235    </xsl:choose>
    22062236  </xsl:variable>
     
    23992429        <meta name="description" content="{normalize-space(front/abstract)}"/>
    24002430      </xsl:if>
    2401 
    24022431    </head>
    2403     <body>
    2404       <xsl:variable name="onload">
    2405         <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and /rfc/@number">getMeta(<xsl:value-of select="/rfc/@number"/>,"rfc.meta");</xsl:if>
    2406         <xsl:if test="/rfc/x:feedback">initFeedback();</xsl:if>
    2407         <xsl:if test="$xml2rfc-ext-refresh-from!=''">RfcRefresh.initRefresh()</xsl:if>
    2408       </xsl:variable>
    2409       <xsl:if test="$onload!=''">
    2410         <xsl:attribute name="onload">
    2411           <xsl:value-of select="$onload"/>
    2412         </xsl:attribute>
    2413       </xsl:if>
    2414 
    2415       <!-- insert diagnostics -->
    2416       <xsl:call-template name="insert-diagnostics"/>
    2417 
    2418       <xsl:apply-templates select="front"/>
    2419       <xsl:apply-templates select="middle"/>
    2420       <xsl:call-template name="back"/>
    2421     </body>
     2432
     2433    <xsl:call-template name="body"/>
    24222434  </html>
    24232435</xsl:template>
    24242436
     2437<xsl:template name="body">
     2438  <body xmlns="http://www.w3.org/1999/xhtml">
     2439    <!-- insert onload scripts, when required -->
     2440    <xsl:variable name="onload">
     2441      <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and /rfc/@number">getMeta(<xsl:value-of select="/rfc/@number"/>,"rfc.meta");</xsl:if>
     2442      <xsl:if test="/rfc/x:feedback">initFeedback();</xsl:if>
     2443      <xsl:if test="$xml2rfc-ext-refresh-from!=''">RfcRefresh.initRefresh()</xsl:if>
     2444    </xsl:variable>
     2445    <xsl:if test="$onload!=''">
     2446      <xsl:attribute name="onload">
     2447        <xsl:value-of select="$onload"/>
     2448      </xsl:attribute>
     2449    </xsl:if>
     2450
     2451    <xsl:call-template name="add-start-material"/>
     2452
     2453    <!-- insert diagnostics -->
     2454    <xsl:call-template name="insert-diagnostics"/>
     2455
     2456    <xsl:apply-templates select="front"/>
     2457    <xsl:apply-templates select="middle"/>
     2458    <xsl:call-template name="back"/>
     2459
     2460    <xsl:call-template name="add-end-material"/>
     2461  </body>
     2462</xsl:template>
    24252463
    24262464<xsl:template match="t">
     
    26382676  <xsl:variable name="elemtype">
    26392677    <xsl:choose>
    2640       <xsl:when test="count(ancestor::section) &lt;= 4">h<xsl:value-of select="1 + count(ancestor::section)"/></xsl:when>
     2678      <xsl:when test="count(ancestor::section) &lt;= 3">h<xsl:value-of select="2 + count(ancestor::section)"/></xsl:when>
    26412679      <xsl:otherwise>h6</xsl:otherwise>
    26422680    </xsl:choose>
     
    26442682
    26452683  <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and $rfcno!='' and @anchor='rfc.status'">
    2646     <div xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.meta" style="float: right; border: 1px solid black; margin: 2em; padding: 1em; display: none;"/>
     2684    <div xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.meta" class="docstatus"/>
    26472685  </xsl:if>
    26482686  <div xmlns="http://www.w3.org/1999/xhtml">
     
    34133451    <xsl:with-param name="msg">no XSLT template for element '<xsl:value-of select="name()"/>'</xsl:with-param>
    34143452  </xsl:call-template>
    3415   <tt xmlns="http://www.w3.org/1999/xhtml" class="error">&lt;<xsl:value-of select="name()"/>&gt;</tt>
     3453  <tt xmlns="http://www.w3.org/1999/xhtml" class="{$css-error}">&lt;<xsl:value-of select="name()"/>&gt;</tt>
    34163454  <xsl:copy><xsl:apply-templates select="node()|@*"/></xsl:copy>
    3417   <tt xmlns="http://www.w3.org/1999/xhtml" class="error">&lt;/<xsl:value-of select="name()"/>&gt;</tt>
     3455  <tt xmlns="http://www.w3.org/1999/xhtml" class="{$css-error}">&lt;/<xsl:value-of select="name()"/>&gt;</tt>
    34183456</xsl:template>
    34193457
     
    34943532      <xsl:variable name="area" select="normalize-space(.)"/>
    34953533      <xsl:variable name="rallowed">
    3496         <ed:v>Applications</ed:v>
    3497         <ed:v>app</ed:v>
     3534        <xsl:if test="$pub-yearmonth &lt; 201509">
     3535          <ed:v>Applications</ed:v>
     3536          <ed:v>app</ed:v>
     3537        </xsl:if>
     3538        <xsl:if test="$pub-yearmonth &gt; 201505">
     3539          <ed:v>Applications and Real-Time</ed:v>
     3540          <ed:v>art</ed:v>
     3541        </xsl:if>
    34983542        <ed:v>General</ed:v>
    34993543        <ed:v>gen</ed:v>
     
    35023546        <ed:v>Operations and Management</ed:v>
    35033547        <ed:v>ops</ed:v>
    3504         <ed:v>Real-time Applications and Infrastructure</ed:v>
    3505         <ed:v>rai</ed:v>
     3548        <xsl:if test="$pub-yearmonth &lt; 201509">
     3549          <ed:v>Real-time Applications and Infrastructure</ed:v>
     3550          <ed:v>rai</ed:v>
     3551        </xsl:if>
    35063552        <ed:v>Routing</ed:v>
    35073553        <ed:v>rtg</ed:v>
     
    35273573              </xsl:if>
    35283574            </xsl:for-each>
     3575            <xsl:text> (as of the publication date of </xsl:text>
     3576            <xsl:value-of select="$pub-yearmonth"/>
     3577            <xsl:text>)</xsl:text>
    35293578            </xsl:with-param>
    35303579          </xsl:call-template>
     
    38503899
    38513900    <div xmlns="http://www.w3.org/1999/xhtml" class="avoidbreakinside">
    3852       <h1 id="{$anchor-prefix}.authors">
     3901      <h2 id="{$anchor-prefix}.authors">
    38533902        <xsl:call-template name="insert-conditional-pagebreak"/>
    38543903        <xsl:if test="$number != ''">
     
    38573906        </xsl:if>
    38583907        <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a>
    3859       </h1>
     3908      </h2>
    38603909
    38613910      <xsl:apply-templates select="/rfc/front/author"/>
     
    40554104  if (! window.XSLTProcessor) {
    40564105    var err = document.createElement("pre");
    4057     err.className = "refreshbrowsererror noprint";
     4106    err.className = "refreshbrowsererror <xsl:value-of select="$css-noprint"/>";
    40584107    var msg = "This browser does not support the window.XSLTProcessor functionality.";
    40594108    err.appendChild(document.createTextNode(msg));
     
    40774126    catch (e) {
    40784127      var err = document.createElement("pre");
    4079       err.className = "refreshbrowsererror noprint";
     4128      err.className = "refreshbrowsererror <xsl:value-of select="$css-noprint"/>";
    40804129      var msg = "Failed to load XSLT code from &lt;" + RfcRefresh.xsltsource + "&gt;.\n";
    40814130      msg += "Your browser might not support loading from a file: URI.\n";
     
    41984247    if (errmsg != null) {
    41994248      var err = document.createElement("pre");
    4200       err.className = "refreshxmlerror noprint";
     4249      err.className = "refreshxmlerror <xsl:value-of select="$css-noprint"/>";
    42014250      err.appendChild(document.createTextNode(errmsg.msg));
    42024251      if (errmsg.src != null) {
     
    42694318function initFeedback() {
    42704319  var fb = document.createElement("div");
    4271   fb.className = "feedback noprint";
     4320  fb.className = "feedback <xsl:value-of select="$css-noprint"/>";
    42724321  fb.setAttribute("onclick", "feedback();");
    42734322  fb.appendChild(document.createTextNode("feedback"));
     
    43354384
    43364385    var button = document.createElement("a");
    4337     button.className = "fbbutton noprint";
     4386    button.className = "fbbutton <xsl:value-of select="$css-noprint"/>";
    43384387    button.setAttribute("href", uri);
    43394388    button.appendChild(document.createTextNode("send feedback"));
     
    43444393    for (var i = 0; i &lt; buttons.length; i++) {
    43454394      var b = buttons.item(i);
    4346       if (b.className == "fbbutton noprint") {
     4395      if (b.className == "fbbutton <xsl:value-of select="$css-noprint"/>") {
    43474396        node.removeChild(b);
    43484397      }
     
    45374586}
    45384587h1 {
     4588  color: green;
     4589  font-size: 150%;
     4590  line-height: 18pt;
     4591  font-weight: bold;
     4592  text-align: center;
     4593  margin-top: 36pt;
     4594  margin-bottom: 0pt;
     4595}
     4596h2 {
    45394597  font-size: 130%;
    45404598  line-height: 21pt;
    45414599  page-break-after: avoid;
    45424600}
    4543 h1.np {
     4601h2.np {
    45444602  page-break-before: always;
    45454603}
    4546 h2 {
     4604h3 {
    45474605  font-size: 120%;
    45484606  line-height: 15pt;
    45494607  page-break-after: avoid;
    45504608}
    4551 h3 {
     4609h4 {
    45524610  font-size: 110%;
    45534611  page-break-after: avoid;
    45544612}
    4555 h4, h5, h6 {
     4613h5, h6 {
    45564614  page-break-after: avoid;
    45574615}
     
    46374695  margin-left: 2em;
    46384696}<xsl:if test="//texttable">
    4639 table.tt {
     4697table.<xsl:value-of select="$css-tt"/> {
    46404698  vertical-align: top;
    46414699  border-color: gray;
    46424700}
    4643 table.tt th {
     4701table.<xsl:value-of select="$css-tt"/> th {
    46444702  border-color: gray;
    46454703}
    4646 table.tt td {
     4704table.<xsl:value-of select="$css-tt"/> td {
    46474705  border-color: gray;
    46484706}
     
    46554713  border-width: 2px;
    46564714}
    4657 table.tt td {
     4715table.<xsl:value-of select="$css-tt"/> td {
    46584716  vertical-align: top;
    46594717}
     
    46664724  border-width: 1px;
    46674725}
    4668 table.tt th {
     4726table.<xsl:value-of select="$css-tt"/> th {
    46694727  vertical-align: top;
    46704728}
     
    46814739  border-width: 2px;
    46824740}
    4683 table.left {
     4741table.<xsl:value-of select="$css-tleft"/> {
    46844742  margin-right: auto;
    46854743}
    4686 table.right {
     4744table.<xsl:value-of select="$css-tright"/> {
    46874745  margin-left: auto;
    46884746}
    4689 table.center {
     4747table.<xsl:value-of select="$css-tcenter"/> {
    46904748  margin-left: auto;
    46914749  margin-right: auto;
     
    47484806  margin-left: 0em;
    47494807}
    4750 .title, .filename, h1, h2, h3, h4 {
     4808.filename, h1, h2, h3, h4 {
    47514809  font-family: candara, calibri, segoe, optima, arial, sans-serif;
    47524810}
     
    47904848  text-align: center;
    47914849}
    4792 .error {
     4850.<xsl:value-of select="$css-error"/> {
    47934851  color: red;
    47944852  font-style: italic;
     
    48024860.filename {
    48034861  color: #333333;
    4804   font-size: 75%;
     4862  font-size: 112%;
    48054863  font-weight: bold;
    48064864  line-height: 21pt;
    48074865  text-align: center;
     4866  margin-top: 0pt;
    48084867}
    48094868.fn {
     
    48154874.right {
    48164875  text-align: right;
    4817 }
    4818 .title {
    4819   color: green;
    4820   font-size: 150%;
    4821   line-height: 18pt;
    4822   font-weight: bold;
    4823   text-align: center;
    4824   margin-top: 36pt;
    48254876}
    48264877.warning {
     
    49424993dd, li, p {
    49434994  text-align: justify;
     4995}</xsl:if><xsl:if test="$xml2rfc-ext-insert-metadata='yes' and $rfcno!=''">
     4996.docstatus {
     4997  border: 1px solid black;
     4998  display: none;
     4999  float: right;
     5000  margin: 2em;
     5001  padding: 1em;
     5002}</xsl:if><xsl:if test="$published-as-rfc">
     5003.publishedasrfc {
     5004  background-color: yellow;
     5005  color: green;
     5006  font-size: 14pt;
     5007  text-align: center;
    49445008}</xsl:if>
    49455009
     
    49515015
    49525016@media print {
    4953   .noprint {
     5017  .<xsl:value-of select="$css-noprint"/> {
    49545018    display: none;
    49555019  }
     
    51795243  <xsl:call-template name="insert-conditional-hrule"/>
    51805244
    5181   <h1 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.index">
     5245  <h2 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.index">
    51825246    <xsl:call-template name="insert-conditional-pagebreak"/>
    51835247    <a href="#{$anchor-prefix}.index">Index</a>
    5184   </h1>
     5248  </h2>
    51855249
    51865250  <!-- generate navigation links to index subsections -->
    5187   <p xmlns="http://www.w3.org/1999/xhtml" class="noprint">
     5251  <p xmlns="http://www.w3.org/1999/xhtml" class="{$css-noprint}">
    51885252    <xsl:variable name="irefs" select="//iref[generate-id(.) = generate-id(key('index-first-letter',translate(substring(@item,1,1),$lcase,$ucase))[1])]"/>
    51895253    <xsl:variable name="xrefs" select="//reference[not(starts-with(@anchor,'deleted-'))][generate-id(.) = generate-id(key('index-first-letter',translate(substring(concat(/rfc/back/displayreference[@target=current()/@anchor]/@to,@anchor),1,1),$lcase,$ucase))[1])]"/>
     
    59766040
    59776041<xsl:template match="/" mode="toc">
    5978   <hr xmlns="http://www.w3.org/1999/xhtml" class="noprint"/>
     6042  <hr xmlns="http://www.w3.org/1999/xhtml" class="{$css-noprint}"/>
    59796043
    59806044  <div xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.toc">
    5981     <h1 class="np"> <!-- this pagebreak occurs always -->
     6045    <h2 class="np"> <!-- this pagebreak occurs always -->
    59826046      <a href="#{$anchor-prefix}.toc">Table of Contents</a>
    5983     </h1>
     6047    </h2>
    59846048 
    59856049    <ul class="toc">
     
    72677331      <!-- block level? -->
    72687332      <xsl:when test="not(ancestor::t) and not(ancestor::title) and not(ancestor::figure) and not($change/@ed:old-title)">
    7269         <div xmlns="http://www.w3.org/1999/xhtml" class="issuepointer noprint">
     7333        <div xmlns="http://www.w3.org/1999/xhtml" class="issuepointer {$css-noprint}">
    72707334          <xsl:if test="not($deleted-anchor)">
    72717335            <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
     
    73047368          <xsl:choose>
    73057369            <xsl:when test="//ed:issue[@name=$resolves and @status='closed']">
    7306               <xsl:attribute name="class">closed-issue noprint</xsl:attribute>
     7370              <xsl:attribute name="class">closed-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    73077371            </xsl:when>
    73087372            <xsl:when test="//ed:issue[@name=$resolves and @status='editor']">
    7309               <xsl:attribute name="class">editor-issue noprint</xsl:attribute>
     7373              <xsl:attribute name="class">editor-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    73107374            </xsl:when>
    73117375            <xsl:otherwise>
    7312               <xsl:attribute name="class">open-issue noprint</xsl:attribute>
     7376              <xsl:attribute name="class">open-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    73137377            </xsl:otherwise>
    73147378          </xsl:choose>
     
    75057569      <xsl:choose>
    75067570        <xsl:when test="ancestor::t">
    7507           <span xmlns="http://www.w3.org/1999/xhtml" class="error"><xsl:value-of select="$message"/></span>
     7571          <span xmlns="http://www.w3.org/1999/xhtml" class="{$css-error}"><xsl:value-of select="$message"/></span>
    75087572        </xsl:when>
    75097573        <xsl:otherwise>
    7510           <div xmlns="http://www.w3.org/1999/xhtml" class="error"><xsl:value-of select="$message"/></div>
     7574          <div xmlns="http://www.w3.org/1999/xhtml" class="{$css-error}"><xsl:value-of select="$message"/></div>
    75117575        </xsl:otherwise>
    75127576      </xsl:choose>
     
    75357599    </xsl:if>
    75367600    <xsl:apply-templates select="preamble"/>
     7601
    75377602    <xsl:variable name="style">
    7538       <xsl:text>tt </xsl:text>
     7603      <xsl:value-of select="$css-tt"/>
     7604      <xsl:text> </xsl:text>
    75397605      <xsl:choose>
    75407606        <xsl:when test="@style!=''">
     
    75447610      </xsl:choose>
    75457611      <xsl:choose>
    7546         <xsl:when test="@align='left'"> left</xsl:when>
    7547         <xsl:when test="@align='right'"> right</xsl:when>
    7548         <xsl:when test="@align='center' or not(@align) or @align=''"> center</xsl:when>
     7612        <xsl:when test="@align='left'"><xsl:text> </xsl:text><xsl:value-of select="$css-tleft"/></xsl:when>
     7613        <xsl:when test="@align='right'"><xsl:text> </xsl:text><xsl:value-of select="$css-tright"/></xsl:when>
     7614        <xsl:when test="@align='center' or not(@align) or @align=''"><xsl:text> </xsl:text><xsl:value-of select="$css-tcenter"/></xsl:when>
    75497615        <xsl:otherwise/>
    75507616      </xsl:choose>
    7551 
    75527617    </xsl:variable>
    75537618
     
    76987763  <xsl:call-template name="insert-conditional-hrule"/>
    76997764
    7700   <h1 xmlns="http://www.w3.org/1999/xhtml">
     7765  <h2 xmlns="http://www.w3.org/1999/xhtml">
    77017766    <xsl:call-template name="insert-conditional-pagebreak"/>
    77027767    <a id="{$anchor-prefix}.comments" href="#{$anchor-prefix}.comments">Editorial Comments</a>
    7703   </h1>
     7768  </h2>
    77047769
    77057770  <dl xmlns="http://www.w3.org/1999/xhtml">
     
    78677932    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    78687933    <!-- when RCS keyword substitution in place, add version info -->
    7869     <xsl:if test="contains('$Revision: 1.733 $',':')">
    7870       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.733 $', 'Revision: '),'$','')),', ')"/>
     7934    <xsl:if test="contains('$Revision: 1.743 $',':')">
     7935      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.743 $', 'Revision: '),'$','')),', ')"/>
    78717936    </xsl:if>
    7872     <xsl:if test="contains('$Date: 2015/05/28 13:08:20 $',':')">
    7873       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2015/05/28 13:08:20 $', 'Date: '),'$','')),', ')"/>
     7937    <xsl:if test="contains('$Date: 2015/09/25 12:36:08 $',':')">
     7938      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2015/09/25 12:36:08 $', 'Date: '),'$','')),', ')"/>
    78747939    </xsl:if>
    78757940    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
     
    80088073<!-- reformat contents of author/@initials -->
    80098074<xsl:template name="format-initials">
    8010   <xsl:variable name="r">
    8011     <xsl:call-template name="t-format-initials">
    8012       <xsl:with-param name="remainder" select="normalize-space(@initials)"/>
    8013     </xsl:call-template>
    8014   </xsl:variable>
    8015 
    8016   <xsl:if test="$r!=@initials">
    8017     <xsl:call-template name="warning">
    8018       <xsl:with-param name="msg">@initials '<xsl:value-of select="@initials"/>': did you mean '<xsl:value-of select="$r"/>'?</xsl:with-param>
    8019     </xsl:call-template>
    8020   </xsl:if>
    8021 
    8022   <xsl:value-of select="$r"/>
     8075  <xsl:variable name="normalized" select="normalize-space(@initials)"/>
     8076
     8077  <xsl:choose>
     8078    <xsl:when test="$normalized=''">
     8079      <!-- nothing to do -->
     8080    </xsl:when>
     8081    <xsl:otherwise>
     8082      <xsl:variable name="r">
     8083        <xsl:call-template name="t-format-initials">
     8084          <xsl:with-param name="remainder" select="$normalized"/>
     8085        </xsl:call-template>
     8086      </xsl:variable>
     8087   
     8088      <xsl:if test="$r!=@initials">
     8089        <xsl:call-template name="warning">
     8090          <xsl:with-param name="msg">@initials '<xsl:value-of select="@initials"/>': did you mean '<xsl:value-of select="$r"/>'?</xsl:with-param>
     8091        </xsl:call-template>
     8092      </xsl:if>
     8093   
     8094      <xsl:value-of select="$r"/>
     8095    </xsl:otherwise>
     8096  </xsl:choose>
    80238097</xsl:template>
    80248098
     
    80788152  <xsl:param name="initials"/>
    80798153  <xsl:choose>
     8154    <xsl:when test="normalize-space($initials)=''"/>
    80808155    <xsl:when test="$xml2rfc-multiple-initials='yes'">
    80818156      <xsl:value-of select="$initials"/>
     
    81558230<xsl:template name="insert-conditional-hrule">
    81568231  <xsl:if test="$xml2rfc-compact!='yes'">
    8157     <hr xmlns="http://www.w3.org/1999/xhtml" class="noprint"/>
     8232    <hr xmlns="http://www.w3.org/1999/xhtml" class="{$css-noprint}"/>
    81588233  </xsl:if>
    81598234</xsl:template>
     
    86348709
    86358710<xsl:template name="warninvalid">
     8711  <xsl:param name="additionalDiagnostics"/>
    86368712  <xsl:variable name="pname">
    86378713    <xsl:if test="namespace-uri(..)!=''">
     
    86478723  </xsl:variable>
    86488724  <xsl:call-template name="warning">
    8649     <xsl:with-param name="msg" select="concat($cname,' not allowed inside ',$pname)"/>
     8725    <xsl:with-param name="msg" select="concat($cname,' not allowed inside ',$pname,$additionalDiagnostics)"/>
    86508726  </xsl:call-template>
    86518727</xsl:template>
     
    86878763</xsl:template>
    86888764
     8765<!-- xref element -->
     8766<xsl:template match="abstract//xref" mode="validate">
     8767  <xsl:call-template name="warninvalid">
     8768    <xsl:with-param name="additionalDiagnostics"> (inside &lt;artwork&gt;)</xsl:with-param>
     8769  </xsl:call-template>
     8770  <xsl:apply-templates select="@*|*" mode="validate"/>
     8771</xsl:template>
     8772
    86898773<xsl:template name="check-no-text-content">
    8690   <xsl:if test="normalize-space(text())!=''">
    8691     <xsl:call-template name="warning">
    8692       <xsl:with-param name="msg">No text content allowed inside &lt;<xsl:value-of select="name(.)"/>&gt;, but found: <xsl:value-of select="text()"/></xsl:with-param>
    8693     </xsl:call-template>
    8694   </xsl:if>
     8774  <xsl:for-each select="text()">
     8775    <xsl:if test="normalize-space(.)!=''">
     8776      <xsl:call-template name="warning">
     8777        <xsl:with-param name="msg">No text content allowed inside &lt;<xsl:value-of select="local-name(..)"/>&gt;, but found: <xsl:value-of select="."/></xsl:with-param>
     8778      </xsl:call-template>
     8779    </xsl:if>
     8780  </xsl:for-each>
    86958781</xsl:template>
    86968782
     
    87128798</xsl:template>
    87138799
     8800<!-- customization: these templates can be overridden in an XSLT that imports from this one -->
     8801<xsl:template name="add-start-material"/>
     8802<xsl:template name="add-end-material"/>
     8803
    87148804</xsl:transform>
  • rfc2629xslt/rfc2629xslt.html

    r2738 r2740  
    7474}
    7575h1 {
     76  color: green;
     77  font-size: 150%;
     78  line-height: 18pt;
     79  font-weight: bold;
     80  text-align: center;
     81  margin-top: 36pt;
     82  margin-bottom: 0pt;
     83}
     84h2 {
    7685  font-size: 130%;
    7786  line-height: 21pt;
    7887  page-break-after: avoid;
    7988}
    80 h1.np {
     89h2.np {
    8190  page-break-before: always;
    8291}
    83 h2 {
     92h3 {
    8493  font-size: 120%;
    8594  line-height: 15pt;
    8695  page-break-after: avoid;
    8796}
    88 h3 {
     97h4 {
    8998  font-size: 110%;
    9099  page-break-after: avoid;
    91100}
    92 h4, h5, h6 {
     101h5, h6 {
    93102  page-break-after: avoid;
    94103}
     
    195204  border-width: 2px;
    196205}
    197 table.left {
     206table.tleft {
    198207  margin-right: auto;
    199208}
    200 table.right {
     209table.tright {
    201210  margin-left: auto;
    202211}
    203 table.center {
     212table.tcenter {
    204213  margin-left: auto;
    205214  margin-right: auto;
     
    259268  margin-left: 0em;
    260269}
    261 .title, .filename, h1, h2, h3, h4 {
     270.filename, h1, h2, h3, h4 {
    262271  font-family: candara, calibri, segoe, optima, arial, sans-serif;
    263272}
     
    306315.filename {
    307316  color: #333333;
    308   font-size: 75%;
     317  font-size: 112%;
    309318  font-weight: bold;
    310319  line-height: 21pt;
    311320  text-align: center;
     321  margin-top: 0pt;
    312322}
    313323.fn {
     
    319329.right {
    320330  text-align: right;
    321 }
    322 .title {
    323   color: green;
    324   font-size: 150%;
    325   line-height: 18pt;
    326   font-weight: bold;
    327   text-align: center;
    328   margin-top: 36pt;
    329331}
    330332.warning {
     
    400402  }
    401403  @top-right {
    402        content: "May 2015";
     404       content: "September 2015";
    403405  }
    404406  @top-center {
     
    427429    }
    428430}
    429 </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 Transforming to ePub" href="#rfc.section.10"><link rel="Chapter" title="11 Generic Extensions" href="#rfc.section.11"><link rel="Chapter" title="12 Experimental Support for XML2RFCv3 Vocabulary" href="#rfc.section.12"><link rel="Chapter" title="13 Utilities" href="#rfc.section.13"><link rel="Chapter" href="#rfc.section.14" title="14 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 Producing the IETF 'Boilerplate'" href="#rfc.section.D"><link rel="Appendix" title="E License" href="#rfc.section.E"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.730, 2015/05/19 09:21:05, 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, epub, 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" id="rfc.headerblock"><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">May 2015</td></tr></tbody></table><p class="title" id="rfc.title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><div id="rfc.toc"><h1 class="np"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li><li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul><li><a href="#rfc.section.2.1">2.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul><li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul><li><a href="#rfc.section.5.1">5.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li><a href="#rfc.section.5.2">5.2</a>&nbsp;&nbsp;&nbsp;<a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul><li><a href="#rfc.section.6.1">6.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li><a href="#rfc.section.6.2">6.2</a>&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li><a href="#rfc.section.6.3">6.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li><a href="#rfc.section.6.4">6.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li></ul></li><li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF</a><ul><li><a href="#rfc.section.9.1">9.1</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul><li><a href="#rfc.section.9.1.1">9.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Example: producing output for Apache FOP</a></li></ul></li><li><a href="#rfc.section.9.2">9.2</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#output.epub">Transforming to ePub</a></li><li><a href="#rfc.section.11">11.</a>&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul><li><a href="#rfc.section.11.1">11.1</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></li><li><a href="#rfc.section.11.2">11.2</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li><a href="#rfc.section.11.3">11.3</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li><a href="#rfc.section.11.4">11.4</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li><a href="#rfc.section.11.5">11.5</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li><a href="#rfc.section.11.6">11.6</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li><a href="#rfc.section.11.7">11.7</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.boilerplate">&lt;boilerplate&gt; element</a></li><li><a href="#rfc.section.11.8">11.8</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li><a href="#rfc.section.11.9">11.9</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li><a href="#rfc.section.11.10">11.10</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.feedback">&lt;feedback&gt; element</a></li><li><a href="#rfc.section.11.11">11.11</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li><a href="#rfc.section.11.12">11.12</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></li><li><a href="#rfc.section.11.13">11.13</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li><a href="#rfc.section.11.14">11.14</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li><a href="#rfc.section.11.15">11.15</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li><a href="#rfc.section.11.16">11.16</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></li><li><a href="#rfc.section.11.17">11.17</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></li><li><a href="#rfc.section.11.18">11.18</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.prose">&lt;prose&gt; element</a></li><li><a href="#rfc.section.11.19">11.19</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li><a href="#rfc.section.11.20">11.20</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li><a href="#rfc.section.11.21">11.21</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li><a href="#rfc.section.11.22">11.22</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li><a href="#rfc.section.11.23">11.23</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></li><li><a href="#rfc.section.11.24">11.24</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li><a href="#rfc.section.11.25">11.25</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li><a href="#rfc.section.11.26">11.26</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></li><li><a href="#rfc.section.11.27">11.27</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li><a href="#rfc.section.11.28">11.28</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></li></ul></li><li><a href="#rfc.section.12">12.</a>&nbsp;&nbsp;&nbsp;<a href="#v3">Experimental Support for XML2RFCv3 Vocabulary</a><ul><li><a href="#rfc.section.12.1">12.1</a>&nbsp;&nbsp;&nbsp;<a href="#v3.aside">aside Element</a></li><li><a href="#rfc.section.12.2">12.2</a>&nbsp;&nbsp;&nbsp;<a href="#v3.bcp14">bcp14 Element</a></li><li><a href="#rfc.section.12.3">12.3</a>&nbsp;&nbsp;&nbsp;<a href="#v3.blockquote">blockquote Element</a></li><li><a href="#rfc.section.12.4">12.4</a>&nbsp;&nbsp;&nbsp;<a href="#v3.displayreference">displayreference Element</a></li><li><a href="#rfc.section.12.5">12.5</a>&nbsp;&nbsp;&nbsp;<a href="#v3.dd">dd Element</a></li><li><a href="#rfc.section.12.6">12.6</a>&nbsp;&nbsp;&nbsp;<a href="#v3.dl">dl Element</a></li><li><a href="#rfc.section.12.7">12.7</a>&nbsp;&nbsp;&nbsp;<a href="#v3.dt">dt Element</a></li><li><a href="#rfc.section.12.8">12.8</a>&nbsp;&nbsp;&nbsp;<a href="#v3.em">em Element</a></li><li><a href="#rfc.section.12.9">12.9</a>&nbsp;&nbsp;&nbsp;<a href="#v3.li">li Element</a></li><li><a href="#rfc.section.12.10">12.10</a>&nbsp;&nbsp;&nbsp;<a href="#v3.name">name Element</a></li><li><a href="#rfc.section.12.11">12.11</a>&nbsp;&nbsp;&nbsp;<a href="#v3.ol">ol Element</a></li><li><a href="#rfc.section.12.12">12.12</a>&nbsp;&nbsp;&nbsp;<a href="#v3.postalLine">postalLine Element</a></li><li><a href="#rfc.section.12.13">12.13</a>&nbsp;&nbsp;&nbsp;<a href="#v3.refcontent">refcontent Element</a></li><li><a href="#rfc.section.12.14">12.14</a>&nbsp;&nbsp;&nbsp;<a href="#v3.reference">Extensions to reference Element</a><ul><li><a href="#rfc.section.12.14.1">12.14.1</a>&nbsp;&nbsp;&nbsp;<a href="#v3.reference.quoteTitle">quoteTitle attribute</a></li></ul></li><li><a href="#rfc.section.12.15">12.15</a>&nbsp;&nbsp;&nbsp;<a href="#v3.section">Extensions to section Element</a><ul><li><a href="#rfc.section.12.15.1">12.15.1</a>&nbsp;&nbsp;&nbsp;<a href="#v3.section.numbered">numbered attribute</a></li><li><a href="#rfc.section.12.15.2">12.15.2</a>&nbsp;&nbsp;&nbsp;<a href="#v3.section.removeInRFC">removeInRFC attribute</a></li></ul></li><li><a href="#rfc.section.12.16">12.16</a>&nbsp;&nbsp;&nbsp;<a href="#v3.strong">strong Element</a></li><li><a href="#rfc.section.12.17">12.17</a>&nbsp;&nbsp;&nbsp;<a href="#v3.sub">sub Element</a></li><li><a href="#rfc.section.12.18">12.18</a>&nbsp;&nbsp;&nbsp;<a href="#v3.sup">sup Element</a></li><li><a href="#rfc.section.12.19">12.19</a>&nbsp;&nbsp;&nbsp;<a href="#v3.tt">tt Element</a></li><li><a href="#rfc.section.12.20">12.20</a>&nbsp;&nbsp;&nbsp;<a href="#v3.ul">ul Element</a></li><li><a href="#rfc.section.12.21">12.21</a>&nbsp;&nbsp;&nbsp;<a href="#v3.xref">Extensions to xref Element</a><ul><li><a href="#rfc.section.12.21.1">12.21.1</a>&nbsp;&nbsp;&nbsp;<a href="#v3.xref.relative">relative attribute</a></li><li><a href="#rfc.section.12.21.2">12.21.2</a>&nbsp;&nbsp;&nbsp;<a href="#v3.xref.section">section attribute</a></li><li><a href="#rfc.section.12.21.3">12.21.3</a>&nbsp;&nbsp;&nbsp;<a href="#v3.xref.sectionFormat">sectionFormat attribute</a></li></ul></li></ul></li><li><a href="#rfc.section.13">13.</a>&nbsp;&nbsp;&nbsp;<a href="#utilities">Utilities</a><ul><li><a href="#rfc.section.13.1">13.1</a>&nbsp;&nbsp;&nbsp;<a href="#checking-references">Checking References</a></li><li><a href="#rfc.section.13.2">13.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.13.2">Generating Graphs from References</a></li><li><a href="#rfc.section.13.3">13.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.13.3">Producing reference entries for books</a></li><li><a href="#rfc.section.13.4">13.4</a>&nbsp;&nbsp;&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li><a href="#rfc.section.13.5">13.5</a>&nbsp;&nbsp;&nbsp;<a href="#extract-artwork">Extracting artwork</a></li><li><a href="#rfc.section.13.6">13.6</a>&nbsp;&nbsp;&nbsp;<a href="#grddl">GRRDL</a></li><li><a href="#rfc.section.13.7">13.7</a>&nbsp;&nbsp;&nbsp;<a href="#html.live.refresh">HTML Live Refresh</a></li></ul></li><li><a href="#rfc.section.14">14.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">Informative References</a></li><li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></li><li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B">Implementation Notes</a><ul><li><a href="#rfc.section.B.1">B.1</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.types">Recognized type attributes for &lt;artwork&gt; element</a></li></ul></li><li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a><ul><li><a href="#rfc.section.C.1">C.1</a>&nbsp;&nbsp;&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li><a href="#rfc.section.C.2">C.2</a>&nbsp;&nbsp;&nbsp;<a href="#examples.customizing">Customization</a></li></ul></li><li><a href="#rfc.section.D">D.</a>&nbsp;&nbsp;&nbsp;<a href="#boilerplate">Producing the IETF 'Boilerplate'</a><ul><li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul><li><a href="#rfc.section.D.1.1">D.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-current">Current Values: '*trust200902'</a></li><li><a href="#rfc.section.D.1.2">D.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-historic">Historic Values</a></li></ul></li><li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-category">The /rfc/@category Attribute</a></li><li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></li><li><a href="#rfc.section.D.4">D.4</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-consensus">The /rfc/@consensus Attribute</a></li><li><a href="#rfc.section.D.5">D.5</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-number">The /rfc/@number Attribute</a></li><li><a href="#rfc.section.D.6">D.6</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-docname">The /rfc/@docName Attribute</a></li><li><a href="#rfc.section.D.7">D.7</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></li><li><a href="#rfc.section.D.8">D.8</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-updates">The /rfc/@updates Attribute</a></li></ul></li><li><a href="#rfc.section.E">E.</a>&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li><a href="#rfc.index">Index</a></li><li><a href="#rfc.authors">Author's Address</a></li></ul></div><hr class="noprint"><div id="introduction"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#introduction">Introduction</a></h1><div id="rfc.section.1.p.1"><p>This document describes a set of XSLT transformations that can be used to transform "XML2RFC" XML (<a href="#XML2RFCV2" id="rfc.xref.XML2RFCV2.1"><cite title="The 'XML2RFC' version 2 Vocabulary">[XML2RFCV2]</cite></a>, updating <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 <a class="self" href="#rfc.section.1.p.1">&para;</a></p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section&nbsp;2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section&nbsp;3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section&nbsp;4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section&nbsp;5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section&nbsp;6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section&nbsp;7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section&nbsp;8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section&nbsp;9</a>),</li><li>outputting ePub (<a href="#output.epub" title="Transforming to ePub">Section&nbsp;10</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section&nbsp;11</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;13</a>).</li></ul></div><div id="rfc.section.1.p.2"><p>The full distribution is available at &lt;<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>&gt;.<a class="self" href="#rfc.section.1.p.2">&para;</a></p></div></div><hr class="noprint"><div id="supported.elements"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a></h1><div id="rfc.section.2.p.1"><p><tt>rfc2629.xslt</tt> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.36.<a class="self" href="#rfc.section.2.p.1">&para;</a></p></div><div><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;Extension elements</h2><div id="rfc.section.2.1.p.1"><p><tt>rfc2629.xslt</tt> supports two kind of extension elements, using different XML namespaces.<a class="self" href="#rfc.section.2.1.p.1">&para;</a></p></div><div id="rfc.section.2.1.p.2"><p>The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section&nbsp;11</a>.<a class="self" href="#rfc.section.2.1.p.2">&para;</a></p></div><div id="rfc.section.2.1.p.3"><p>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.<a class="self" href="#rfc.section.2.1.p.3">&para;</a></p></div></div></div><hr class="noprint"><div id="processing.instructions"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a href="#processing.instructions">Processing Instructions</a></h1><div id="rfc.section.3.p.1"><p>All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.<a class="self" href="#rfc.section.3.p.1">&para;</a></p></div><div id="rfc.figure.u.1"><p>Using processing instructions:</p><pre class="text">&lt;?rfc toc="yes"?&gt;
     431</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 Transforming to ePub" href="#rfc.section.10"><link rel="Chapter" title="11 Generic Extensions" href="#rfc.section.11"><link rel="Chapter" title="12 Experimental Support for XML2RFCv3 Vocabulary" href="#rfc.section.12"><link rel="Chapter" title="13 Utilities" href="#rfc.section.13"><link rel="Chapter" href="#rfc.section.14" title="14 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 Producing the IETF 'Boilerplate'" href="#rfc.section.D"><link rel="Appendix" title="E License" href="#rfc.section.E"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.742, 2015/09/24 15:44:12, 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, epub, 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" id="rfc.headerblock"><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">September 2015</td></tr></tbody></table><div id="rfc.title"><h1>Transforming RFC2629-formatted XML through XSLT</h1></div><hr class="noprint"><div id="rfc.toc"><h2 class="np"><a href="#rfc.toc">Table of Contents</a></h2><ul class="toc"><li><a href="#rfc.section.1">1.</a>&nbsp;&nbsp;&nbsp;<a href="#introduction">Introduction</a></li><li><a href="#rfc.section.2">2.</a>&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul><li><a href="#rfc.section.2.1">2.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li><a href="#rfc.section.3">3.</a>&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul><li><a href="#rfc.section.3.1">3.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li><a href="#rfc.section.3.2">3.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li><a href="#rfc.section.3.3">3.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li><a href="#rfc.section.4">4.</a>&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li><a href="#rfc.section.5">5.</a>&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul><li><a href="#rfc.section.5.1">5.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li><a href="#rfc.section.5.2">5.2</a>&nbsp;&nbsp;&nbsp;<a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li><a href="#rfc.section.6">6.</a>&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul><li><a href="#rfc.section.6.1">6.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li><a href="#rfc.section.6.2">6.2</a>&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li><a href="#rfc.section.6.3">6.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li><a href="#rfc.section.6.4">6.4</a>&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li></ul></li><li><a href="#rfc.section.7">7.</a>&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li><a href="#rfc.section.8">8.</a>&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li><a href="#rfc.section.9">9.</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF</a><ul><li><a href="#rfc.section.9.1">9.1</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul><li><a href="#rfc.section.9.1.1">9.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Example: producing output for Apache FOP</a></li></ul></li><li><a href="#rfc.section.9.2">9.2</a>&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li><a href="#rfc.section.10">10.</a>&nbsp;&nbsp;&nbsp;<a href="#output.epub">Transforming to ePub</a></li><li><a href="#rfc.section.11">11.</a>&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul><li><a href="#rfc.section.11.1">11.1</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></li><li><a href="#rfc.section.11.2">11.2</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li><a href="#rfc.section.11.3">11.3</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li><a href="#rfc.section.11.4">11.4</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li><a href="#rfc.section.11.5">11.5</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li><a href="#rfc.section.11.6">11.6</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li><a href="#rfc.section.11.7">11.7</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.boilerplate">&lt;boilerplate&gt; element</a></li><li><a href="#rfc.section.11.8">11.8</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li><a href="#rfc.section.11.9">11.9</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li><a href="#rfc.section.11.10">11.10</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.feedback">&lt;feedback&gt; element</a></li><li><a href="#rfc.section.11.11">11.11</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li><a href="#rfc.section.11.12">11.12</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></li><li><a href="#rfc.section.11.13">11.13</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li><a href="#rfc.section.11.14">11.14</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li><a href="#rfc.section.11.15">11.15</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li><a href="#rfc.section.11.16">11.16</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></li><li><a href="#rfc.section.11.17">11.17</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></li><li><a href="#rfc.section.11.18">11.18</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.prose">&lt;prose&gt; element</a></li><li><a href="#rfc.section.11.19">11.19</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li><a href="#rfc.section.11.20">11.20</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li><a href="#rfc.section.11.21">11.21</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li><a href="#rfc.section.11.22">11.22</a>&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li><a href="#rfc.section.11.23">11.23</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></li><li><a href="#rfc.section.11.24">11.24</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li><a href="#rfc.section.11.25">11.25</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li><a href="#rfc.section.11.26">11.26</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></li><li><a href="#rfc.section.11.27">11.27</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li><a href="#rfc.section.11.28">11.28</a>&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></li></ul></li><li><a href="#rfc.section.12">12.</a>&nbsp;&nbsp;&nbsp;<a href="#v3">Experimental Support for XML2RFCv3 Vocabulary</a><ul><li><a href="#rfc.section.12.1">12.1</a>&nbsp;&nbsp;&nbsp;<a href="#v3.aside">aside Element</a></li><li><a href="#rfc.section.12.2">12.2</a>&nbsp;&nbsp;&nbsp;<a href="#v3.bcp14">bcp14 Element</a></li><li><a href="#rfc.section.12.3">12.3</a>&nbsp;&nbsp;&nbsp;<a href="#v3.blockquote">blockquote Element</a></li><li><a href="#rfc.section.12.4">12.4</a>&nbsp;&nbsp;&nbsp;<a href="#v3.displayreference">displayreference Element</a></li><li><a href="#rfc.section.12.5">12.5</a>&nbsp;&nbsp;&nbsp;<a href="#v3.dd">dd Element</a></li><li><a href="#rfc.section.12.6">12.6</a>&nbsp;&nbsp;&nbsp;<a href="#v3.dl">dl Element</a></li><li><a href="#rfc.section.12.7">12.7</a>&nbsp;&nbsp;&nbsp;<a href="#v3.dt">dt Element</a></li><li><a href="#rfc.section.12.8">12.8</a>&nbsp;&nbsp;&nbsp;<a href="#v3.em">em Element</a></li><li><a href="#rfc.section.12.9">12.9</a>&nbsp;&nbsp;&nbsp;<a href="#v3.li">li Element</a></li><li><a href="#rfc.section.12.10">12.10</a>&nbsp;&nbsp;&nbsp;<a href="#v3.name">name Element</a></li><li><a href="#rfc.section.12.11">12.11</a>&nbsp;&nbsp;&nbsp;<a href="#v3.ol">ol Element</a></li><li><a href="#rfc.section.12.12">12.12</a>&nbsp;&nbsp;&nbsp;<a href="#v3.postalLine">postalLine Element</a></li><li><a href="#rfc.section.12.13">12.13</a>&nbsp;&nbsp;&nbsp;<a href="#v3.refcontent">refcontent Element</a></li><li><a href="#rfc.section.12.14">12.14</a>&nbsp;&nbsp;&nbsp;<a href="#v3.reference">Extensions to reference Element</a><ul><li><a href="#rfc.section.12.14.1">12.14.1</a>&nbsp;&nbsp;&nbsp;<a href="#v3.reference.quoteTitle">quoteTitle attribute</a></li></ul></li><li><a href="#rfc.section.12.15">12.15</a>&nbsp;&nbsp;&nbsp;<a href="#v3.section">Extensions to section Element</a><ul><li><a href="#rfc.section.12.15.1">12.15.1</a>&nbsp;&nbsp;&nbsp;<a href="#v3.section.numbered">numbered attribute</a></li><li><a href="#rfc.section.12.15.2">12.15.2</a>&nbsp;&nbsp;&nbsp;<a href="#v3.section.removeInRFC">removeInRFC attribute</a></li></ul></li><li><a href="#rfc.section.12.16">12.16</a>&nbsp;&nbsp;&nbsp;<a href="#v3.strong">strong Element</a></li><li><a href="#rfc.section.12.17">12.17</a>&nbsp;&nbsp;&nbsp;<a href="#v3.sub">sub Element</a></li><li><a href="#rfc.section.12.18">12.18</a>&nbsp;&nbsp;&nbsp;<a href="#v3.sup">sup Element</a></li><li><a href="#rfc.section.12.19">12.19</a>&nbsp;&nbsp;&nbsp;<a href="#v3.tt">tt Element</a></li><li><a href="#rfc.section.12.20">12.20</a>&nbsp;&nbsp;&nbsp;<a href="#v3.ul">ul Element</a></li><li><a href="#rfc.section.12.21">12.21</a>&nbsp;&nbsp;&nbsp;<a href="#v3.xref">Extensions to xref Element</a><ul><li><a href="#rfc.section.12.21.1">12.21.1</a>&nbsp;&nbsp;&nbsp;<a href="#v3.xref.relative">relative attribute</a></li><li><a href="#rfc.section.12.21.2">12.21.2</a>&nbsp;&nbsp;&nbsp;<a href="#v3.xref.section">section attribute</a></li><li><a href="#rfc.section.12.21.3">12.21.3</a>&nbsp;&nbsp;&nbsp;<a href="#v3.xref.sectionFormat">sectionFormat attribute</a></li></ul></li></ul></li><li><a href="#rfc.section.13">13.</a>&nbsp;&nbsp;&nbsp;<a href="#utilities">Utilities</a><ul><li><a href="#rfc.section.13.1">13.1</a>&nbsp;&nbsp;&nbsp;<a href="#checking-references">Checking References</a></li><li><a href="#rfc.section.13.2">13.2</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.13.2">Generating Graphs from References</a></li><li><a href="#rfc.section.13.3">13.3</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.13.3">Producing reference entries for books</a></li><li><a href="#rfc.section.13.4">13.4</a>&nbsp;&nbsp;&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li><a href="#rfc.section.13.5">13.5</a>&nbsp;&nbsp;&nbsp;<a href="#extract-artwork">Extracting artwork</a></li><li><a href="#rfc.section.13.6">13.6</a>&nbsp;&nbsp;&nbsp;<a href="#grddl">GRRDL</a></li><li><a href="#rfc.section.13.7">13.7</a>&nbsp;&nbsp;&nbsp;<a href="#html.live.refresh">HTML Live Refresh</a></li></ul></li><li><a href="#rfc.section.14">14.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.references">Informative References</a></li><li><a href="#rfc.section.A">A.</a>&nbsp;&nbsp;&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></li><li><a href="#rfc.section.B">B.</a>&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B">Implementation Notes</a><ul><li><a href="#rfc.section.B.1">B.1</a>&nbsp;&nbsp;&nbsp;<a href="#artwork.types">Recognized type attributes for &lt;artwork&gt; element</a></li></ul></li><li><a href="#rfc.section.C">C.</a>&nbsp;&nbsp;&nbsp;<a href="#examples">Examples</a><ul><li><a href="#rfc.section.C.1">C.1</a>&nbsp;&nbsp;&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li><a href="#rfc.section.C.2">C.2</a>&nbsp;&nbsp;&nbsp;<a href="#examples.customizing">Customization</a></li></ul></li><li><a href="#rfc.section.D">D.</a>&nbsp;&nbsp;&nbsp;<a href="#boilerplate">Producing the IETF 'Boilerplate'</a><ul><li><a href="#rfc.section.D.1">D.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul><li><a href="#rfc.section.D.1.1">D.1.1</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-current">Current Values: '*trust200902'</a></li><li><a href="#rfc.section.D.1.2">D.1.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-ipr-historic">Historic Values</a></li></ul></li><li><a href="#rfc.section.D.2">D.2</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-category">The /rfc/@category Attribute</a></li><li><a href="#rfc.section.D.3">D.3</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></li><li><a href="#rfc.section.D.4">D.4</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-consensus">The /rfc/@consensus Attribute</a></li><li><a href="#rfc.section.D.5">D.5</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-number">The /rfc/@number Attribute</a></li><li><a href="#rfc.section.D.6">D.6</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-docname">The /rfc/@docName Attribute</a></li><li><a href="#rfc.section.D.7">D.7</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></li><li><a href="#rfc.section.D.8">D.8</a>&nbsp;&nbsp;&nbsp;<a href="#attribute-updates">The /rfc/@updates Attribute</a></li></ul></li><li><a href="#rfc.section.E">E.</a>&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li><a href="#rfc.index">Index</a></li><li><a href="#rfc.authors">Author's Address</a></li></ul></div><hr class="noprint"><div id="introduction"><h2 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a href="#introduction">Introduction</a></h2><div id="rfc.section.1.p.1"><p>This document describes a set of XSLT transformations that can be used to transform "XML2RFC" XML (<a href="#XML2RFCV2" id="rfc.xref.XML2RFCV2.1"><cite title="The 'XML2RFC' version 2 Vocabulary">[XML2RFCV2]</cite></a>, updating <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 <a class="self" href="#rfc.section.1.p.1">&para;</a></p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section&nbsp;2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section&nbsp;3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section&nbsp;4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section&nbsp;5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section&nbsp;6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section&nbsp;7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section&nbsp;8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section&nbsp;9</a>),</li><li>outputting ePub (<a href="#output.epub" title="Transforming to ePub">Section&nbsp;10</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section&nbsp;11</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;13</a>).</li></ul></div><div id="rfc.section.1.p.2"><p>The full distribution is available at &lt;<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>&gt;.<a class="self" href="#rfc.section.1.p.2">&para;</a></p></div></div><hr class="noprint"><div id="supported.elements"><h2 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a></h2><div id="rfc.section.2.p.1"><p><tt>rfc2629.xslt</tt> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.36.<a class="self" href="#rfc.section.2.p.1">&para;</a></p></div><div><h3 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;Extension elements</h3><div id="rfc.section.2.1.p.1"><p><tt>rfc2629.xslt</tt> supports two kind of extension elements, using different XML namespaces.<a class="self" href="#rfc.section.2.1.p.1">&para;</a></p></div><div id="rfc.section.2.1.p.2"><p>The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section&nbsp;11</a>.<a class="self" href="#rfc.section.2.1.p.2">&para;</a></p></div><div id="rfc.section.2.1.p.3"><p>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.<a class="self" href="#rfc.section.2.1.p.3">&para;</a></p></div></div></div><hr class="noprint"><div id="processing.instructions"><h2 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a href="#processing.instructions">Processing Instructions</a></h2><div id="rfc.section.3.p.1"><p>All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.<a class="self" href="#rfc.section.3.p.1">&para;</a></p></div><div id="rfc.figure.u.1"><p>Using processing instructions:</p><pre class="text">&lt;?rfc toc="yes"?&gt;
    430432&lt;?rfc-ext support-rfc2731="no"?&gt;
    431433</pre></div><div id="rfc.figure.u.2"><p>Using XSLT parameters (Saxon):</p><pre class="text">java -cp saxon.jar com.icl.saxon.StyleSheet source.xml rfc2629.xslt \
     
    434436   --param xml2rfc-ext-support-rfc2731 '"no"' \
    435437   rfc2629.xslt source.xml &gt; result.html
    436 </pre><p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p></div><div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;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></div><div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;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 (see <a href="#examples.internalsubset" title="Using the 'Internal Subset'">Appendix&nbsp;C.1</a>)</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></div><div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;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&nbsp;13.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">"end"</td><td class="left">When "before-appendices", place the authors section between references and appendices (this ordering was used a long time ago).</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-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.49"></div></td><td class="left">xml2rfc-ext-include-index<div id="rfc.iref.x.22"></div> <div id="rfc.iref.p.50"></div></td><td class="left">"yes"</td><td class="left">When set to "no", no index will be generated.</td></tr><tr><td class="left">rfc-ext</td><td class="left">include-references-in-index<div id="rfc.iref.i.5"></div><div id="rfc.iref.p.51"></div></td><td class="left">xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.23"></div> <div id="rfc.iref.p.52"></div></td><td class="left">"no"</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">insert-metadata<div id="rfc.iref.i.6"></div><div id="rfc.iref.p.53"></div></td><td class="left">xml2rfc-ext-insert-metadata<div id="rfc.iref.x.24"></div> <div id="rfc.iref.p.54"></div></td><td class="left">"yes"</td><td class="left">When set to "yes", include JS code that fetches current RFC metadata and inserts it into the front page (standards track, obsoletion, updates, errata).</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.55"></div></td><td class="left">xml2rfc-ext-justification<div id="rfc.iref.x.25"></div> <div id="rfc.iref.p.56"></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.57"></div><div id="rfc.iref.p.58"></div></td><td class="left">xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.26"></div> <div id="rfc.iref.p.59"></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">sec-no-trailing-dots<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.60"></div></td><td class="left">xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.27"></div> <div id="rfc.iref.p.61"></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><tr><td class="left">rfc-ext</td><td class="left">support-rfc2731<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.62"></div></td><td class="left">xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.28"></div> <div id="rfc.iref.p.63"></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&nbsp;6.4</a>.</td></tr></tbody></table></div></div></div><hr class="noprint"><div id="anchors"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;<a href="#anchors">Anchors</a></h1><div id="rfc.section.4.p.1"><p>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).<a class="self" href="#rfc.section.4.p.1">&para;</a></p></div><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></div><hr class="noprint"><div id="xslt.engines"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#xslt.engines">Supported XSLT engines</a></h1><div id="rfc.section.5.p.1"><p>The transformation requires a non-standard extension function (see <a href="http://www.exslt.org/exsl/functions/node-set/index.html">exsl:node-set</a>) which is however widely available. XSLT processors that do not support this extension (or a functional equivalent, such as msxsl:node-set) currently are not supported.<a class="self" href="#rfc.section.5.p.1">&para;</a></p></div><div id="exsl-date-time"><div id="rfc.section.5.p.2"><p>Input documents do not always specify the date completely. In this case, the transformation attempts to let the XSLT engine to compute the system date, using either scripting in Microsoft's XSLT engine, or the <a href="http://www.exslt.org/date/functions/date-time/">exsl:date-time</a> extension function.<a class="self" href="#rfc.section.5.p.2">&para;</a></p></div></div><div><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;Standalone Engines</h2><div id="rfc.section.5.1.p.1"><p>The following XSLT engines are believed to work well: <a class="self" href="#rfc.section.5.1.p.1">&para;</a></p><ul><li>Windows: <span id="rfc.iref.m.1"></span><span id="rfc.iref.m.2"></span>MSXML3 and MSXML4 (&lt;<a href="http://msdn.microsoft.com/xml">http://msdn.microsoft.com/xml</a>&gt;; 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 (&lt;<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>&gt;)</li><li>Java: <span id="rfc.iref.x.29"></span>Xalan (&lt;<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>&gt;)</li><li>C/C++: <span id="rfc.iref.x.30"></span>xsltproc (libxslt) (&lt;<a href="http://xmlsoft.org/XSLT/">http://xmlsoft.org/XSLT/</a>&gt;, make sure that you have a current version)</li></ul></div></div><div id="xslt.engines.browser"><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;<a href="#xslt.engines.browser">In-Browser Engines</a></h2><div id="rfc.section.5.2.p.1"><p>The following browsers seem to work fine: <a class="self" href="#rfc.section.5.2.p.1">&para;</a></p><ul><li><p><span id="rfc.iref.i.7"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</p></li><li><p><span id="rfc.iref.i.8"></span><span id="rfc.iref.i.9"></span><span id="rfc.iref.i.10"></span><span id="rfc.iref.i.11"></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><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 &amp;nbsp; need to be declared in the internal subset (<a href="#examples.internalsubset" title="Using the 'Internal Subset'">Appendix&nbsp;C.1</a>)</li><li>There seems to be a new problem in Firefox 4 where it occasionally does the initial rendering with the wrong width (people who can reproduce this problem please comment on &lt;<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=640390">https://bugzilla.mozilla.org/show_bug.cgi?id=640390</a>&gt;.</li><li>Date computation is available in Firefox starting with Firefox 6 (see &lt;<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=603159">https://bugzilla.mozilla.org/show_bug.cgi?id=603159</a>&gt;)</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><ul><li>Date computation not available (see &lt;<a href="https://bugs.webkit.org/show_bug.cgi?id=4079">https://bugs.webkit.org/show_bug.cgi?id=4079</a>&gt;)</li></ul></li><li><p><span id="rfc.iref.g.1"></span>Google Chrome</p><ul><li>Date computation not available (see &lt;<a href="https://bugs.webkit.org/show_bug.cgi?id=4079">https://bugs.webkit.org/show_bug.cgi?id=4079</a>&gt;)</li></ul></li><li><p><span id="rfc.iref.o.1"></span>Opera (starting with version 10)</p><ul><li>Date computation not available</li></ul></li></ul></div><div id="rfc.section.5.2.p.2"><p>The following browsers are known not to work properly: <a class="self" href="#rfc.section.5.2.p.2">&para;</a></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 &lt;<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>&gt; and &lt;<a href="http://bugs.webkit.org/show_bug.cgi?id=4079">http://bugs.webkit.org/show_bug.cgi?id=4079</a>&gt;.</p></div></li></ul></div></div></div><hr class="noprint"><div id="output.html"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a>&nbsp;<a href="#output.html">Transforming to HTML</a></h1><div id="rfc.section.6.p.1" class="avoidbreakafter"><p>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:<a class="self" href="#rfc.section.6.p.1">&para;</a></p></div><div id="rfc.iref.x.31"></div><div id="rfc.figure.u.4"><pre class="text">  &lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?&gt;
    437 </pre></div><div id="rfc.section.6.p.2"><p>(and ensure that <tt>rfc2629.xslt</tt> is present).<a class="self" href="#rfc.section.6.p.2">&para;</a></p></div><div><h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;HTML compliance</h2><div id="rfc.section.6.1.p.1"><p>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 &lt;<a href="http://validator.w3.org">http://validator.w3.org</a>&gt;<span id="rfc.iref.h.2"></span>.<a class="self" href="#rfc.section.6.1.p.1">&para;</a></p></div></div><div id="html.link"><h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a>&nbsp;<a href="#html.link">Standard HTML LINK elements</a></h2><div id="rfc.section.6.2.p.1"><p>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.<a class="self" href="#rfc.section.6.2.p.1">&para;</a></p></div><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.12"></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"><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="&#xA;(LINK elements displayed in Mozilla Firefox for RFC2396.xml)&#xA;" width="509" height="235"></p></div></div><div><h2 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a>&nbsp;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></div><div id="rfc2731.properties"><h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a>&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></h2><div id="rfc.section.6.4.p.1"><p>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>.<a class="self" href="#rfc.section.6.4.p.1">&para;</a></p></div><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.13"></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.14"></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></div></div><hr class="noprint"><div id="output.xhtml"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a>&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></h1><div id="rfc.section.7.p.1"><p>Transforming to XHTML requires slightly different XSLT output options and is implemented by the derived transformation script <tt>rfc2629toXHTML.xslt</tt>.<a class="self" href="#rfc.section.7.p.1">&para;</a></p></div><div id="rfc.section.7.p.2"><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></div></div><hr class="noprint"><div id="output.chm"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a>&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></h1><div id="rfc.section.8.p.1"><p><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. <a class="self" href="#rfc.section.8.p.1">&para;</a></p><ol><li>hhc - table of contents file (HTML)</li><li>hhk - index file (HTML)</li><li>hhp - project file (plain text)</li></ol></div><div id="rfc.section.8.p.2"><p>The three files are generated with three specific transformations, each requiring the additional XSLT parameter "basename" to specify the filename prefix.<a class="self" href="#rfc.section.8.p.2">&para;</a></p></div><div id="rfc.figure.u.6"><p>Example:</p><pre class="text">saxon rfc2616.xml rfc2629toHhp.xslt basename=rfc2616  &gt; rfc2616.hhp
     438</pre><p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p></div><div><h3 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Supported xml2rfc-compatible PIs</h3><div id="rfc.table.u.1"><table class="tt full tcenter" 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></div><div><h3 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;Unsupported xml2rfc-compatible PIs</h3><div id="rfc.table.u.2"><table class="tt full tcenter" 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 (see <a href="#examples.internalsubset" title="Using the 'Internal Subset'">Appendix&nbsp;C.1</a>)</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></div><div><h3 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;Extension PIs</h3><div id="rfc.table.u.3"><table class="tt full tcenter" 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&nbsp;13.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">"end"</td><td class="left">When "before-appendices", place the authors section between references and appendices (this ordering was used a long time ago).</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-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.49"></div></td><td class="left">xml2rfc-ext-include-index<div id="rfc.iref.x.22"></div> <div id="rfc.iref.p.50"></div></td><td class="left">"yes"</td><td class="left">When set to "no", no index will be generated.</td></tr><tr><td class="left">rfc-ext</td><td class="left">include-references-in-index<div id="rfc.iref.i.5"></div><div id="rfc.iref.p.51"></div></td><td class="left">xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.23"></div> <div id="rfc.iref.p.52"></div></td><td class="left">"no"</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">insert-metadata<div id="rfc.iref.i.6"></div><div id="rfc.iref.p.53"></div></td><td class="left">xml2rfc-ext-insert-metadata<div id="rfc.iref.x.24"></div> <div id="rfc.iref.p.54"></div></td><td class="left">"yes"</td><td class="left">When set to "yes", include JS code that fetches current RFC metadata and inserts it into the front page (standards track, obsoletion, updates, errata).</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.55"></div></td><td class="left">xml2rfc-ext-justification<div id="rfc.iref.x.25"></div> <div id="rfc.iref.p.56"></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.57"></div><div id="rfc.iref.p.58"></div></td><td class="left">xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.26"></div> <div id="rfc.iref.p.59"></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">sec-no-trailing-dots<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.60"></div></td><td class="left">xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.27"></div> <div id="rfc.iref.p.61"></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><tr><td class="left">rfc-ext</td><td class="left">support-rfc2731<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.62"></div></td><td class="left">xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.28"></div> <div id="rfc.iref.p.63"></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&nbsp;6.4</a>.</td></tr></tbody></table></div></div></div><hr class="noprint"><div id="anchors"><h2 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;<a href="#anchors">Anchors</a></h2><div id="rfc.section.4.p.1"><p>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).<a class="self" href="#rfc.section.4.p.1">&para;</a></p></div><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table class="tt full tcenter" 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></div><hr class="noprint"><div id="xslt.engines"><h2 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a href="#xslt.engines">Supported XSLT engines</a></h2><div id="rfc.section.5.p.1"><p>The transformation requires a non-standard extension function (see <a href="http://www.exslt.org/exsl/functions/node-set/index.html">exsl:node-set</a>) which is however widely available. XSLT processors that do not support this extension (or a functional equivalent, such as msxsl:node-set) currently are not supported.<a class="self" href="#rfc.section.5.p.1">&para;</a></p></div><div id="exsl-date-time"><div id="rfc.section.5.p.2"><p>Input documents do not always specify the date completely. In this case, the transformation attempts to let the XSLT engine to compute the system date, using either scripting in Microsoft's XSLT engine, or the <a href="http://www.exslt.org/date/functions/date-time/">exsl:date-time</a> extension function.<a class="self" href="#rfc.section.5.p.2">&para;</a></p></div></div><div><h3 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;Standalone Engines</h3><div id="rfc.section.5.1.p.1"><p>The following XSLT engines are believed to work well: <a class="self" href="#rfc.section.5.1.p.1">&para;</a></p><ul><li>Windows: <span id="rfc.iref.m.1"></span><span id="rfc.iref.m.2"></span>MSXML3 and MSXML4 (&lt;<a href="http://msdn.microsoft.com/xml">http://msdn.microsoft.com/xml</a>&gt;; 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 (&lt;<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>&gt;)</li><li>Java: <span id="rfc.iref.x.29"></span>Xalan (&lt;<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>&gt;)</li><li>C/C++: <span id="rfc.iref.x.30"></span>xsltproc (libxslt) (&lt;<a href="http://xmlsoft.org/XSLT/">http://xmlsoft.org/XSLT/</a>&gt;, make sure that you have a current version)</li></ul></div></div><div id="xslt.engines.browser"><h3 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;<a href="#xslt.engines.browser">In-Browser Engines</a></h3><div id="rfc.section.5.2.p.1"><p>The following browsers seem to work fine: <a class="self" href="#rfc.section.5.2.p.1">&para;</a></p><ul><li><p><span id="rfc.iref.i.7"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</p></li><li><p><span id="rfc.iref.i.8"></span><span id="rfc.iref.i.9"></span><span id="rfc.iref.i.10"></span><span id="rfc.iref.i.11"></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><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 &amp;nbsp; need to be declared in the internal subset (<a href="#examples.internalsubset" title="Using the 'Internal Subset'">Appendix&nbsp;C.1</a>)</li><li>There seems to be a new problem in Firefox 4 where it occasionally does the initial rendering with the wrong width (people who can reproduce this problem please comment on &lt;<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=640390">https://bugzilla.mozilla.org/show_bug.cgi?id=640390</a>&gt;.</li><li>Date computation is available in Firefox starting with Firefox 6 (see &lt;<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=603159">https://bugzilla.mozilla.org/show_bug.cgi?id=603159</a>&gt;)</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><ul><li>Date computation not available (see &lt;<a href="https://bugs.webkit.org/show_bug.cgi?id=4079">https://bugs.webkit.org/show_bug.cgi?id=4079</a>&gt;)</li></ul></li><li><p><span id="rfc.iref.g.1"></span>Google Chrome</p><ul><li>Date computation not available (see &lt;<a href="https://bugs.webkit.org/show_bug.cgi?id=4079">https://bugs.webkit.org/show_bug.cgi?id=4079</a>&gt;)</li></ul></li><li><p><span id="rfc.iref.o.1"></span>Opera (starting with version 10)</p><ul><li>Date computation not available</li></ul></li></ul></div><div id="rfc.section.5.2.p.2"><p>The following browsers are known not to work properly: <a class="self" href="#rfc.section.5.2.p.2">&para;</a></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 &lt;<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>&gt; and &lt;<a href="http://bugs.webkit.org/show_bug.cgi?id=4079">http://bugs.webkit.org/show_bug.cgi?id=4079</a>&gt;.</p></div></li></ul></div></div></div><hr class="noprint"><div id="output.html"><h2 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a>&nbsp;<a href="#output.html">Transforming to HTML</a></h2><div id="rfc.section.6.p.1" class="avoidbreakafter"><p>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:<a class="self" href="#rfc.section.6.p.1">&para;</a></p></div><div id="rfc.iref.x.31"></div><div id="rfc.figure.u.4"><pre class="text">  &lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?&gt;
     439</pre></div><div id="rfc.section.6.p.2"><p>(and ensure that <tt>rfc2629.xslt</tt> is present).<a class="self" href="#rfc.section.6.p.2">&para;</a></p></div><div><h3 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;HTML compliance</h3><div id="rfc.section.6.1.p.1"><p>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 &lt;<a href="http://validator.w3.org">http://validator.w3.org</a>&gt;<span id="rfc.iref.h.2"></span>.<a class="self" href="#rfc.section.6.1.p.1">&para;</a></p></div></div><div id="html.link"><h3 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a>&nbsp;<a href="#html.link">Standard HTML LINK elements</a></h3><div id="rfc.section.6.2.p.1"><p>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.<a class="self" href="#rfc.section.6.2.p.1">&para;</a></p></div><div id="rfc.table.u.5"><p>The following LINK elements are produced:</p><table class="tt full tcenter" 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.12"></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"><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="&#xA;(LINK elements displayed in Mozilla Firefox for RFC2396.xml)&#xA;" width="509" height="235"></p></div></div><div><h3 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a>&nbsp;Standard HTML metadata</h3><div id="rfc.table.u.6"><p>The following standard HTML META elements are produced:</p><table class="tt full tcenter" 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></div><div id="rfc2731.properties"><h3 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a>&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></h3><div id="rfc.section.6.4.p.1"><p>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>.<a class="self" href="#rfc.section.6.4.p.1">&para;</a></p></div><div id="rfc.table.u.7"><p>The following DCMI properties are produced:</p><table class="tt full tcenter" 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.13"></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.14"></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></div></div><hr class="noprint"><div id="output.xhtml"><h2 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a>&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></h2><div id="rfc.section.7.p.1"><p>Transforming to XHTML requires slightly different XSLT output options and is implemented by the derived transformation script <tt>rfc2629toXHTML.xslt</tt>.<a class="self" href="#rfc.section.7.p.1">&para;</a></p></div><div id="rfc.section.7.p.2"><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></div></div><hr class="noprint"><div id="output.chm"><h2 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a>&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></h2><div id="rfc.section.8.p.1"><p><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. <a class="self" href="#rfc.section.8.p.1">&para;</a></p><ol><li>hhc - table of contents file (HTML)</li><li>hhk - index file (HTML)</li><li>hhp - project file (plain text)</li></ol></div><div id="rfc.section.8.p.2"><p>The three files are generated with three specific transformations, each requiring the additional XSLT parameter "basename" to specify the filename prefix.<a class="self" href="#rfc.section.8.p.2">&para;</a></p></div><div id="rfc.figure.u.6"><p>Example:</p><pre class="text">saxon rfc2616.xml rfc2629toHhp.xslt basename=rfc2616  &gt; rfc2616.hhp
    438440saxon rfc2616.xml rfc2629toHhc.xslt basename=rfc2616  &gt; rfc2616.hhc
    439441saxon rfc2616.xml rfc2629toHhk.xslt basename=rfc2616  &gt; rfc2616.hhk
    440442hhc rfc2616.hhp
    441 </pre></div></div><hr class="noprint"><div id="output.pdf"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;<a href="#output.pdf">Transforming to PDF</a></h1><div id="output.pdf.fop"><h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a>&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a></h2><div id="rfc.section.9.1.p.1"><p>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 <tt>rfc2629toFO.xslt</tt> (which includes <tt>rfc2629.xslt</tt>, so keep both in the same folder).<a class="self" href="#rfc.section.9.1.p.1">&para;</a></p></div><div id="rfc.section.9.1.p.2"><p>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.<a class="self" href="#rfc.section.9.1.p.2">&para;</a></p></div><div id="rfc.section.9.1.p.3"><p>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 (<tt>xsl11toFop.xslt</tt>, <tt>xsl11toXep.xslt</tt>, <tt>xsl11toAn.xslt</tt>) then provide post-processing for the individual processors.<a class="self" href="#rfc.section.9.1.p.3">&para;</a></p></div><div class="note"><div id="rfc.section.9.1.p.4"><p><b>Note:</b> the output is currently targeted at Apache FOP 1.1.<a class="self" href="#rfc.section.9.1.p.4">&para;</a></p></div></div><div><h3 id="rfc.section.9.1.1"><a href="#rfc.section.9.1.1">9.1.1</a>&nbsp;Example: producing output for Apache FOP</h3><div id="rfc.figure.u.7"><p>Example:</p><pre class="text">saxon rfc2616.xml rfc2629toFo.xslt &gt; tmp.fo
     443</pre></div></div><hr class="noprint"><div id="output.pdf"><h2 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;<a href="#output.pdf">Transforming to PDF</a></h2><div id="output.pdf.fop"><h3 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a>&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a></h3><div id="rfc.section.9.1.p.1"><p>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 <tt>rfc2629toFO.xslt</tt> (which includes <tt>rfc2629.xslt</tt>, so keep both in the same folder).<a class="self" href="#rfc.section.9.1.p.1">&para;</a></p></div><div id="rfc.section.9.1.p.2"><p>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.<a class="self" href="#rfc.section.9.1.p.2">&para;</a></p></div><div id="rfc.section.9.1.p.3"><p>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 (<tt>xsl11toFop.xslt</tt>, <tt>xsl11toXep.xslt</tt>, <tt>xsl11toAn.xslt</tt>) then provide post-processing for the individual processors.<a class="self" href="#rfc.section.9.1.p.3">&para;</a></p></div><div class="note"><div id="rfc.section.9.1.p.4"><p><b>Note:</b> the output is currently targeted at Apache FOP 1.1.<a class="self" href="#rfc.section.9.1.p.4">&para;</a></p></div></div><div><h4 id="rfc.section.9.1.1"><a href="#rfc.section.9.1.1">9.1.1</a>&nbsp;Example: producing output for Apache FOP</h4><div id="rfc.figure.u.7"><p>Example:</p><pre class="text">saxon rfc2616.xml rfc2629toFo.xslt &gt; tmp.fo
    442444saxon tmp.fo xsl11toFop.xslt &gt; rfc2629.fo
    443 </pre></div></div></div><div id="output.pdf.html"><h2 id="rfc.section.9.2"><a href="#rfc.section.9.2">9.2</a>&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></h2><div id="rfc.section.9.2.p.1"><p>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.<a class="self" href="#rfc.section.9.2.p.1">&para;</a></p></div><div id="rfc.section.9.2.p.2"><p>An alternative is PrinceXML (see &lt;<a href="http://www.princexml.com/">http://www.princexml.com/</a>&gt;), which can produce PDF directly from (X)HTML input, based on the CSS printing information.<a class="self" href="#rfc.section.9.2.p.2">&para;</a></p></div><div id="rfc.figure.u.8"><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 \
     445</pre></div></div></div><div id="output.pdf.html"><h3 id="rfc.section.9.2"><a href="#rfc.section.9.2">9.2</a>&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></h3><div id="rfc.section.9.2.p.1"><p>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.<a class="self" href="#rfc.section.9.2.p.1">&para;</a></p></div><div id="rfc.section.9.2.p.2"><p>An alternative is PrinceXML (see &lt;<a href="http://www.princexml.com/">http://www.princexml.com/</a>&gt;), which can produce PDF directly from (X)HTML input, based on the CSS printing information.<a class="self" href="#rfc.section.9.2.p.2">&para;</a></p></div><div id="rfc.figure.u.8"><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 \
    444446  &gt; output.xhtml
    445 prince output.xhtml output.pdf</pre></div></div></div><hr class="noprint"><div id="output.epub"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a>&nbsp;<a href="#output.epub">Transforming to ePub</a></h1><div id="rfc.section.10.p.1"><p>Experimental transformation to ePub format is available through a set of stylesheets, and the Unix Shell script <tt>mkepub.sh</tt> (which requires that "zip" and either "saxon" or "xsltproc" are installed).<a class="self" href="#rfc.section.10.p.1">&para;</a></p></div><div id="rfc.figure.u.9"><p>For instance, an epub version of rfc2616.xml can be generated like this:</p><pre class="text">mkepub.sh rfc2616.xml
    446 </pre></div></div><hr class="noprint"><div id="extensions"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a>&nbsp;<a href="#extensions">Generic Extensions</a></h1><div id="rfc.section.11.p.1"><p>This section documents extensions implemented in <tt>rfc2629.xslt</tt>, using the extension namespace "http://purl.org/net/xml2rfc/ext".<a class="self" href="#rfc.section.11.p.1">&para;</a></p></div><div id="ext.element.abnf-char-sequence"><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a>&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></h2><div id="rfc.section.11.1.p.1"><p>Converts the contained quoted string into a hex-encoded character sequence, for use in case-sensitive ABNF productions.<a class="self" href="#rfc.section.11.1.p.1">&para;</a></p></div><div id="rfc.section.11.1.p.2"><p>For instance, "&lt;x:abnf-char-sequence&gt;"HTTP"&lt;/x:abnf-char-sequence&gt;" gets converted to "%x48.54.54.50".<a class="self" href="#rfc.section.11.1.p.2">&para;</a></p></div></div><div id="ext.element.anchor-alias"><h2 id="rfc.section.11.2"><a href="#rfc.section.11.2">11.2</a>&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></h2><div id="rfc.section.11.2.p.1"><p>Using its "value" attribute, this element allows the definition of an internal link target alias for the enclosing element. This alias can then be used with the &lt;<a href="#ext.element.ref" class="smpl">ref</a>&gt; element for intra-document references.<a class="self" href="#rfc.section.11.2.p.1">&para;</a></p></div><div id="rfc.section.11.2.p.2"><p>Note that the anchor alias is not subject to the naming constraints that apply to anchor elements (which are <a href="http://www.w3.org/TR/REC-xml/#NT-Name">XML names</a>).<a class="self" href="#rfc.section.11.2.p.2">&para;</a></p></div></div><div id="ext.element.bcp14"><h2 id="rfc.section.11.3"><a href="#rfc.section.11.3">11.3</a>&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></h2><div id="rfc.section.11.3.p.1"><p>This element marks the content as being one of the normative keywords defined in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>.<a class="self" href="#rfc.section.11.3.p.1">&para;</a></p></div><div id="rfc.figure.u.10"><p>The DOCTYPE definition below allows using these keywords using XML entity expansion: such as in "...server &amp;MUST; accept...".</p><pre class="text">&lt;!DOCTYPE rfc [
     447prince output.xhtml output.pdf</pre></div></div></div><hr class="noprint"><div id="output.epub"><h2 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a>&nbsp;<a href="#output.epub">Transforming to ePub</a></h2><div id="rfc.section.10.p.1"><p>Experimental transformation to ePub format is available through a set of stylesheets, and the Unix Shell script <tt>mkepub.sh</tt> (which requires that "zip" and either "saxon" or "xsltproc" are installed).<a class="self" href="#rfc.section.10.p.1">&para;</a></p></div><div id="rfc.figure.u.9"><p>For instance, an epub version of rfc2616.xml can be generated like this:</p><pre class="text">mkepub.sh rfc2616.xml
     448</pre></div></div><hr class="noprint"><div id="extensions"><h2 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a>&nbsp;<a href="#extensions">Generic Extensions</a></h2><div id="rfc.section.11.p.1"><p>This section documents extensions implemented in <tt>rfc2629.xslt</tt>, using the extension namespace "http://purl.org/net/xml2rfc/ext".<a class="self" href="#rfc.section.11.p.1">&para;</a></p></div><div id="ext.element.abnf-char-sequence"><h3 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a>&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></h3><div id="rfc.section.11.1.p.1"><p>Converts the contained quoted string into a hex-encoded character sequence, for use in case-sensitive ABNF productions.<a class="self" href="#rfc.section.11.1.p.1">&para;</a></p></div><div id="rfc.section.11.1.p.2"><p>For instance, "&lt;x:abnf-char-sequence&gt;"HTTP"&lt;/x:abnf-char-sequence&gt;" gets converted to "%x48.54.54.50".<a class="self" href="#rfc.section.11.1.p.2">&para;</a></p></div></div><div id="ext.element.anchor-alias"><h3 id="rfc.section.11.2"><a href="#rfc.section.11.2">11.2</a>&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></h3><div id="rfc.section.11.2.p.1"><p>Using its "value" attribute, this element allows the definition of an internal link target alias for the enclosing element. This alias can then be used with the &lt;<a href="#ext.element.ref" class="smpl">ref</a>&gt; element for intra-document references.<a class="self" href="#rfc.section.11.2.p.1">&para;</a></p></div><div id="rfc.section.11.2.p.2"><p>Note that the anchor alias is not subject to the naming constraints that apply to anchor elements (which are <a href="http://www.w3.org/TR/REC-xml/#NT-Name">XML names</a>).<a class="self" href="#rfc.section.11.2.p.2">&para;</a></p></div></div><div id="ext.element.bcp14"><h3 id="rfc.section.11.3"><a href="#rfc.section.11.3">11.3</a>&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></h3><div id="rfc.section.11.3.p.1"><p>This element marks the content as being one of the normative keywords defined in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>.<a class="self" href="#rfc.section.11.3.p.1">&para;</a></p></div><div id="rfc.figure.u.10"><p>The DOCTYPE definition below allows using these keywords using XML entity expansion: such as in "...server &amp;MUST; accept...".</p><pre class="text">&lt;!DOCTYPE rfc [
    447449 &lt;!ENTITY MAY "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
    448450   &gt;MAY&lt;/bcp14&gt;"&gt;
     
    464466   &gt;SHOULD&lt;/bcp14&gt;"&gt;
    465467 &lt;!ENTITY SHOULD-NOT "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
    466    &gt;SHOULD NOT&lt;/bcp14&gt;"&gt;]&gt;</pre></div></div><div id="ext.element.bb"><h2 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a>&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></h2><div id="rfc.section.11.4.p.1"><p>Marking up a string as &lt;bb&gt; indicates that it represents the bottom line of a box drawing, replacing the "+" and "-" characters accordingly.<a class="self" href="#rfc.section.11.4.p.1">&para;</a></p></div></div><div id="ext.element.bc"><h2 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a>&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></h2><div id="rfc.section.11.5.p.1"><p>Marking up a string as &lt;bc&gt; indicates that it represents a center line of a box drawing, replacing the "|" character accordingly.<a class="self" href="#rfc.section.11.5.p.1">&para;</a></p></div></div><div id="ext.element.blockquote"><h2 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a>&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></h2><div id="rfc.section.11.6.p.1"><p>This element is like the &lt;blockquote&gt; element defined in <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.2">Section 9.2.2</a> of <a href="#HTML" id="rfc.xref.HTML.2"><cite title="HTML 4.01 Specification">[HTML]</cite></a> (note this is a block-level element!). It should contain one or more &lt;t&gt; child elements.<a class="self" href="#rfc.section.11.6.p.1">&para;</a></p></div></div><div id="ext.element.boilerplate"><h2 id="rfc.section.11.7"><a href="#rfc.section.11.7">11.7</a>&nbsp;<a href="#ext.element.boilerplate">&lt;boilerplate&gt; element</a></h2><div id="rfc.section.11.7.p.1"><p>Can be used to include boilerplate (status, copyright, ...) into the front or back section. &lt;section&gt; elements within &lt;x:boilerplate&gt; appear as unnumbered sections in the output.<a class="self" href="#rfc.section.11.7.p.1">&para;</a></p></div><div id="rfc.section.11.7.p.2"><p><em>This element currently can not be "down-translated" for use in xml2rfc!</em> <a class="self" href="#rfc.section.11.7.p.2">&para;</a></p></div></div><div id="ext.element.bt"><h2 id="rfc.section.11.8"><a href="#rfc.section.11.8">11.8</a>&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></h2><div id="rfc.section.11.8.p.1"><p>Marking up a string as &lt;bt&gt; indicates that it represents the top line of a box drawing, replacing the "+" and "-" characters accordingly.<a class="self" href="#rfc.section.11.8.p.1">&para;</a></p></div></div><div id="ext.element.dfn"><h2 id="rfc.section.11.9"><a href="#rfc.section.11.9">11.9</a>&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></h2><div id="rfc.section.11.9.p.1"><p>This element is like the &lt;dfn&gt; element defined in <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1">Section 9.2.1</a> of <a href="#HTML" id="rfc.xref.HTML.3"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.<a class="self" href="#rfc.section.11.9.p.1">&para;</a></p></div></div><div id="ext.element.feedback"><h2 id="rfc.section.11.10"><a href="#rfc.section.11.10">11.10</a>&nbsp;<a href="#ext.element.feedback">&lt;feedback&gt; element</a></h2><div id="rfc.section.11.10.p.1" class="avoidbreakafter"><p>This elements allows declaring a feedback link for document reviewers. The template string takes the form of a URI template, such as:<a class="self" href="#rfc.section.11.10.p.1">&para;</a></p></div><div id="rfc.figure.u.11"><pre class="text">&lt;x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;amp;body=&amp;lt;{ref}&amp;gt;:"/&gt;
    467 </pre></div><div id="rfc.section.11.10.p.2"><p>where "docname" is substituted by the document name, "section" is substituted by section title (number and name), and "ref" is substituted by a URI pointing to the section being referenced.<a class="self" href="#rfc.section.11.10.p.2">&para;</a></p></div></div><div id="ext.element.h"><h2 id="rfc.section.11.11"><a href="#rfc.section.11.11">11.11</a>&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></h2><div id="rfc.section.11.11.p.1"><p>This element is like the "<a href="http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-structural.html#edef_structural_h">h</a>" element in <a href="#XHTML2" id="rfc.xref.XHTML2.1"><cite title="XHTML(tm) 2.0">[XHTML2]</cite></a>.<a class="self" href="#rfc.section.11.11.p.1">&para;</a></p></div></div><div id="ext.element.highlight"><h2 id="rfc.section.11.12"><a href="#rfc.section.11.12">11.12</a>&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></h2><div id="rfc.section.11.12.p.1"><p>Used to highlight text passages, currently only allowed in &lt;artwork&gt;.<a class="self" href="#rfc.section.11.12.p.1">&para;</a></p></div><div id="rfc.section.11.12.p.2"><p><b>Note:</b> this is stripped when generating input for xml2rfc, so please use with care.<a class="self" href="#rfc.section.11.12.p.2">&para;</a></p></div></div><div id="ext.element.length-of"><h2 id="rfc.section.11.13"><a href="#rfc.section.11.13">11.13</a>&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></h2><div id="rfc.section.11.13.p.1"><p>This element can be used to insert the length of another formatted section (in decimal).<a class="self" href="#rfc.section.11.13.p.1">&para;</a></p></div><div id="rfc.figure.u.12"><p>Example: computing the Content-Length header value</p><pre class="text">&lt;artwork&gt;
     468   &gt;SHOULD NOT&lt;/bcp14&gt;"&gt;]&gt;</pre></div></div><div id="ext.element.bb"><h3 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a>&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></h3><div id="rfc.section.11.4.p.1"><p>Marking up a string as &lt;bb&gt; indicates that it represents the bottom line of a box drawing, replacing the "+" and "-" characters accordingly.<a class="self" href="#rfc.section.11.4.p.1">&para;</a></p></div></div><div id="ext.element.bc"><h3 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a>&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></h3><div id="rfc.section.11.5.p.1"><p>Marking up a string as &lt;bc&gt; indicates that it represents a center line of a box drawing, replacing the "|" character accordingly.<a class="self" href="#rfc.section.11.5.p.1">&para;</a></p></div></div><div id="ext.element.blockquote"><h3 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a>&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></h3><div id="rfc.section.11.6.p.1"><p>This element is like the &lt;blockquote&gt; element defined in <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.2">Section 9.2.2</a> of <a href="#HTML" id="rfc.xref.HTML.2"><cite title="HTML 4.01 Specification">[HTML]</cite></a> (note this is a block-level element!). It should contain one or more &lt;t&gt; child elements.<a class="self" href="#rfc.section.11.6.p.1">&para;</a></p></div></div><div id="ext.element.boilerplate"><h3 id="rfc.section.11.7"><a href="#rfc.section.11.7">11.7</a>&nbsp;<a href="#ext.element.boilerplate">&lt;boilerplate&gt; element</a></h3><div id="rfc.section.11.7.p.1"><p>Can be used to include boilerplate (status, copyright, ...) into the front or back section. &lt;section&gt; elements within &lt;x:boilerplate&gt; appear as unnumbered sections in the output.<a class="self" href="#rfc.section.11.7.p.1">&para;</a></p></div><div id="rfc.section.11.7.p.2"><p><em>This element currently can not be "down-translated" for use in xml2rfc!</em> <a class="self" href="#rfc.section.11.7.p.2">&para;</a></p></div></div><div id="ext.element.bt"><h3 id="rfc.section.11.8"><a href="#rfc.section.11.8">11.8</a>&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></h3><div id="rfc.section.11.8.p.1"><p>Marking up a string as &lt;bt&gt; indicates that it represents the top line of a box drawing, replacing the "+" and "-" characters accordingly.<a class="self" href="#rfc.section.11.8.p.1">&para;</a></p></div></div><div id="ext.element.dfn"><h3 id="rfc.section.11.9"><a href="#rfc.section.11.9">11.9</a>&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></h3><div id="rfc.section.11.9.p.1"><p>This element is like the &lt;dfn&gt; element defined in <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.1">Section 9.2.1</a> of <a href="#HTML" id="rfc.xref.HTML.3"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.<a class="self" href="#rfc.section.11.9.p.1">&para;</a></p></div></div><div id="ext.element.feedback"><h3 id="rfc.section.11.10"><a href="#rfc.section.11.10">11.10</a>&nbsp;<a href="#ext.element.feedback">&lt;feedback&gt; element</a></h3><div id="rfc.section.11.10.p.1" class="avoidbreakafter"><p>This elements allows declaring a feedback link for document reviewers. The template string takes the form of a URI template, such as:<a class="self" href="#rfc.section.11.10.p.1">&para;</a></p></div><div id="rfc.figure.u.11"><pre class="text">&lt;x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&amp;amp;body=&amp;lt;{ref}&amp;gt;:"/&gt;
     469</pre></div><div id="rfc.section.11.10.p.2"><p>where "docname" is substituted by the document name, "section" is substituted by section title (number and name), and "ref" is substituted by a URI pointing to the section being referenced.<a class="self" href="#rfc.section.11.10.p.2">&para;</a></p></div></div><div id="ext.element.h"><h3 id="rfc.section.11.11"><a href="#rfc.section.11.11">11.11</a>&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></h3><div id="rfc.section.11.11.p.1"><p>This element is like the "<a href="http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-structural.html#edef_structural_h">h</a>" element in <a href="#XHTML2" id="rfc.xref.XHTML2.1"><cite title="XHTML(tm) 2.0">[XHTML2]</cite></a>.<a class="self" href="#rfc.section.11.11.p.1">&para;</a></p></div></div><div id="ext.element.highlight"><h3 id="rfc.section.11.12"><a href="#rfc.section.11.12">11.12</a>&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></h3><div id="rfc.section.11.12.p.1"><p>Used to highlight text passages, currently only allowed in &lt;artwork&gt;.<a class="self" href="#rfc.section.11.12.p.1">&para;</a></p></div><div id="rfc.section.11.12.p.2"><p><b>Note:</b> this is stripped when generating input for xml2rfc, so please use with care.<a class="self" href="#rfc.section.11.12.p.2">&para;</a></p></div></div><div id="ext.element.length-of"><h3 id="rfc.section.11.13"><a href="#rfc.section.11.13">11.13</a>&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></h3><div id="rfc.section.11.13.p.1"><p>This element can be used to insert the length of another formatted section (in decimal).<a class="self" href="#rfc.section.11.13.p.1">&para;</a></p></div><div id="rfc.figure.u.12"><p>Example: computing the Content-Length header value</p><pre class="text">&lt;artwork&gt;
    468470...
    469471Content-Length: &lt;x:length-of target="req"/&gt;
     
    471473&lt;x:span anchor="req"&gt;123456789
    472474&lt;x:span&gt;&lt;artwork/&gt;
    473 </pre></div><div id="rfc.section.11.13.p.2"><p>The lenght computation counts line ends as two characters (CRLF).<a class="self" href="#rfc.section.11.13.p.2">&para;</a></p></div><div id="rfc.section.11.13.p.3"><p>Note that indentation characters in artwork <em>will</em> be counted. The "indented" attribute allows to specify the amount of indentation to be substracted from the computed length.<a class="self" href="#rfc.section.11.13.p.3">&para;</a></p></div></div><div id="ext.element.link"><h2 id="rfc.section.11.14"><a href="#rfc.section.11.14">11.14</a>&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></h2><div id="rfc.section.11.14.p.1"><p>This element can be added as a top-level child element below &lt;rfc&gt; to indicate additional link information. It's currently used only when generating HTML output, in which case an HTML <a href="http://www.w3.org/TR/html4/struct/links.html#edef-LINK">&lt;link&gt;</a> element with identical attributes gets generated.<a class="self" href="#rfc.section.11.14.p.1">&para;</a></p></div><div id="rfc.figure.u.13"><p>Example: generating HTML link element</p><pre class="text">        &lt;x:link xmlns:x="http://purl.org/net/xml2rfc/ext"
     475</pre></div><div id="rfc.section.11.13.p.2"><p>The lenght computation counts line ends as two characters (CRLF).<a class="self" href="#rfc.section.11.13.p.2">&para;</a></p></div><div id="rfc.section.11.13.p.3"><p>Note that indentation characters in artwork <em>will</em> be counted. The "indented" attribute allows to specify the amount of indentation to be substracted from the computed length.<a class="self" href="#rfc.section.11.13.p.3">&para;</a></p></div></div><div id="ext.element.link"><h3 id="rfc.section.11.14"><a href="#rfc.section.11.14">11.14</a>&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></h3><div id="rfc.section.11.14.p.1"><p>This element can be added as a top-level child element below &lt;rfc&gt; to indicate additional link information. It's currently used only when generating HTML output, in which case an HTML <a href="http://www.w3.org/TR/html4/struct/links.html#edef-LINK">&lt;link&gt;</a> element with identical attributes gets generated.<a class="self" href="#rfc.section.11.14.p.1">&para;</a></p></div><div id="rfc.figure.u.13"><p>Example: generating HTML link element</p><pre class="text">        &lt;x:link xmlns:x="http://purl.org/net/xml2rfc/ext"
    474476            rel="Bookmark"
    475477            title="IETF WEBDAV Working Group"
     
    477479            rel="next"
    478480            title="Part2"
    479             basename="draft-foobar-protocol-p2-latest"/&gt;</pre></div></div><div id="ext.element.lt"><h2 id="rfc.section.11.15"><a href="#rfc.section.11.15">11.15</a>&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></h2><div id="rfc.section.11.15.p.1"><p>Used for grouping multiple &lt;t&gt; elements into a single list item.<a class="self" href="#rfc.section.11.15.p.1">&para;</a></p></div></div><div id="ext.element.note"><h2 id="rfc.section.11.16"><a href="#rfc.section.11.16">11.16</a>&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></h2><div id="rfc.section.11.16.p.1"><p>Can be used to add a note, usually indented by a few characters. It should contain one or more &lt;t&gt; child elements.<a class="self" href="#rfc.section.11.16.p.1">&para;</a></p></div></div><div id="ext.element.parse-xml"><h2 id="rfc.section.11.17"><a href="#rfc.section.11.17">11.17</a>&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></h2><div id="rfc.section.11.17.p.1"><p>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).<a class="self" href="#rfc.section.11.17.p.1">&para;</a></p></div></div><div id="ext.element.prose"><h2 id="rfc.section.11.18"><a href="#rfc.section.11.18">11.18</a>&nbsp;<a href="#ext.element.prose">&lt;prose&gt; element</a></h2><div id="rfc.section.11.18.p.1"><p>This element can be used inside &lt;reference&gt; to add plain text (before the date, when present).<a class="self" href="#rfc.section.11.18.p.1">&para;</a></p></div><div id="rfc.section.11.18.p.2"><p><em>See also &lt;refcontent&gt; (<a href="#v3.refcontent" title="refcontent Element">Section&nbsp;12.13</a>).</em> <a class="self" href="#rfc.section.11.18.p.2">&para;</a></p></div></div><div id="ext.element.q"><h2 id="rfc.section.11.19"><a href="#rfc.section.11.19">11.19</a>&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></h2><div id="rfc.section.11.19.p.1"><p>This element is like the &lt;q&gt; element defined in <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.2">Section 9.2.2</a> of <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.<a class="self" href="#rfc.section.11.19.p.1">&para;</a></p></div></div><div id="ext.element.ref"><h2 id="rfc.section.11.20"><a href="#rfc.section.11.20">11.20</a>&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></h2><div id="rfc.section.11.20.p.1"><p>This element is a simplified variant of the &lt;xref&gt; 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 &lt;<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>&gt;, it allows referring to other parts of the document with minimal additional markup.<a class="self" href="#rfc.section.11.20.p.1">&para;</a></p></div><div id="rfc.section.11.20.p.2"><p>For instance, given an alias definition such as<a class="self" href="#rfc.section.11.20.p.2">&para;</a></p></div><div id="rfc.figure.u.15"><pre class="text">      &lt;section title="Test" anchor="test"&gt;
     481            basename="draft-foobar-protocol-p2-latest"/&gt;</pre></div></div><div id="ext.element.lt"><h3 id="rfc.section.11.15"><a href="#rfc.section.11.15">11.15</a>&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></h3><div id="rfc.section.11.15.p.1"><p>Used for grouping multiple &lt;t&gt; elements into a single list item.<a class="self" href="#rfc.section.11.15.p.1">&para;</a></p></div></div><div id="ext.element.note"><h3 id="rfc.section.11.16"><a href="#rfc.section.11.16">11.16</a>&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></h3><div id="rfc.section.11.16.p.1"><p>Can be used to add a note, usually indented by a few characters. It should contain one or more &lt;t&gt; child elements.<a class="self" href="#rfc.section.11.16.p.1">&para;</a></p></div></div><div id="ext.element.parse-xml"><h3 id="rfc.section.11.17"><a href="#rfc.section.11.17">11.17</a>&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></h3><div id="rfc.section.11.17.p.1"><p>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).<a class="self" href="#rfc.section.11.17.p.1">&para;</a></p></div></div><div id="ext.element.prose"><h3 id="rfc.section.11.18"><a href="#rfc.section.11.18">11.18</a>&nbsp;<a href="#ext.element.prose">&lt;prose&gt; element</a></h3><div id="rfc.section.11.18.p.1"><p>This element can be used inside &lt;reference&gt; to add plain text (before the date, when present).<a class="self" href="#rfc.section.11.18.p.1">&para;</a></p></div><div id="rfc.section.11.18.p.2"><p><em>See also &lt;refcontent&gt; (<a href="#v3.refcontent" title="refcontent Element">Section&nbsp;12.13</a>).</em> <a class="self" href="#rfc.section.11.18.p.2">&para;</a></p></div></div><div id="ext.element.q"><h3 id="rfc.section.11.19"><a href="#rfc.section.11.19">11.19</a>&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></h3><div id="rfc.section.11.19.p.1"><p>This element is like the &lt;q&gt; element defined in <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.2">Section 9.2.2</a> of <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.<a class="self" href="#rfc.section.11.19.p.1">&para;</a></p></div></div><div id="ext.element.ref"><h3 id="rfc.section.11.20"><a href="#rfc.section.11.20">11.20</a>&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></h3><div id="rfc.section.11.20.p.1"><p>This element is a simplified variant of the &lt;xref&gt; 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 &lt;<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>&gt;, it allows referring to other parts of the document with minimal additional markup.<a class="self" href="#rfc.section.11.20.p.1">&para;</a></p></div><div id="rfc.section.11.20.p.2"><p>For instance, given an alias definition such as<a class="self" href="#rfc.section.11.20.p.2">&para;</a></p></div><div id="rfc.figure.u.15"><pre class="text">      &lt;section title="Test" anchor="test"&gt;
    480482        &lt;x:anchor-alias value="alias1"/&gt;
    481483        &lt;x:anchor-alias value="alias 2"/&gt;
     
    485487      &lt;x:ref&gt;alias 2&lt;/x:ref&gt;</pre></div><div id="rfc.section.11.20.p.4" class="avoidbreakafter"><p>are equivalent to...:<a class="self" href="#rfc.section.11.20.p.4">&para;</a></p></div><div id="rfc.figure.u.17"><pre class="text">      &lt;xref target="test"&gt;test&lt;/xref&gt;
    486488      &lt;xref target="test"&gt;alias1&lt;/xref&gt;
    487       &lt;xref target="test"&gt;alias 2&lt;/xref&gt;</pre></div></div><div id="ext.element.source"><h2 id="rfc.section.11.21"><a href="#rfc.section.11.21">11.21</a>&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></h2><div id="rfc.section.11.21.p.1"><p>Can be used to enhance a &lt;reference&gt; with information about the location for the XML source. This can be used by the &lt;xref&gt; processing code to automatically extract the target section number.<a class="self" href="#rfc.section.11.21.p.1">&para;</a></p></div><div id="rfc.figure.u.18"><p>For example:</p><pre class="text">      ...
     489      &lt;xref target="test"&gt;alias 2&lt;/xref&gt;</pre></div></div><div id="ext.element.source"><h3 id="rfc.section.11.21"><a href="#rfc.section.11.21">11.21</a>&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></h3><div id="rfc.section.11.21.p.1"><p>Can be used to enhance a &lt;reference&gt; with information about the location for the XML source. This can be used by the &lt;xref&gt; processing code to automatically extract the target section number.<a class="self" href="#rfc.section.11.21.p.1">&para;</a></p></div><div id="rfc.figure.u.18"><p>For example:</p><pre class="text">      ...
    488490      &lt;xref target="RFC2616" x:fmt="of" x:rel="#PUT" /&gt;
    489491      ...
     
    493495        &lt;x:source href="rfc2616.xml"/&gt;
    494496        ...
    495     </pre></div></div><div id="ext.element.sup"><h2 id="rfc.section.11.22"><a href="#rfc.section.11.22">11.22</a>&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></h2><div id="rfc.section.11.22.p.1"><p>This element is like the &lt;sup&gt; element in <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.3">Section 9.2.3</a> of <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.<a class="self" href="#rfc.section.11.22.p.1">&para;</a></p></div><div id="rfc.section.11.22.p.2"><p>Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".<a class="self" href="#rfc.section.11.22.p.2">&para;</a></p></div><div id="rfc.section.11.22.p.3"><p><em>See also &lt;refcontent&gt; (<a href="#v3.sup" title="sup Element">Section&nbsp;12.18</a>).</em> <a class="self" href="#rfc.section.11.22.p.3">&para;</a></p></div></div><div id="ext-rfc2629.artwork"><h2 id="rfc.section.11.23"><a href="#rfc.section.11.23">11.23</a>&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></h2><div id="rfc.section.11.23.p.1"><p>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. As a workaround, a "x:indent-with" attribute can be specified, containing a string that will be prepended to each line when <tt>clean-for-DTD.xslt</tt> is run (see <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section&nbsp;13.4</a>).<a class="self" href="#rfc.section.11.23.p.1">&para;</a></p></div><div id="rfc.section.11.23.p.2"><p>Furthermore, documents can contain code that might need to be marked as "code component" (&lt;<a href="http://www.ietf.org/iesg/statement/copyright.html">http://www.ietf.org/iesg/statement/copyright.html</a>&gt;). This can be done using "x:is-code-component".<a class="self" href="#rfc.section.11.23.p.2">&para;</a></p></div></div><div id="ext-rfc2629.iref"><h2 id="rfc.section.11.24"><a href="#rfc.section.11.24">11.24</a>&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></h2><div id="rfc.section.11.24.p.1"><p>The extension attribute below is allowed on the standard &lt;iref&gt; element: <a class="self" href="#rfc.section.11.24.p.1">&para;</a></p><ul><li>x:for-anchor specifies that the &lt;iref&gt; will also be automatically inserted whenever the specified anchor is cross-referenced -- this may save entering lots of &lt;iref&gt; instances. As a special case, a value of "" (empty string) refers to the anchor attribute of the closest ancestor.</li></ul></div></div><div id="ext-rfc2629.list"><h2 id="rfc.section.11.25"><a href="#rfc.section.11.25">11.25</a>&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></h2><div id="rfc.section.11.25.p.1"><p>The extension attribute below is allowed on the standard &lt;list&gt; element: <a class="self" href="#rfc.section.11.25.p.1">&para;</a></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></div><div id="rfc.section.11.25.p.2"><p>Also, the &lt;list&gt; element can take &lt;x:<a href="#ext.element.lt" class="smpl">lt</a>&gt; child elements instead of &lt;t&gt;, allowing to insert multiple paragraphs into a single list item.<a class="self" href="#rfc.section.11.25.p.2">&para;</a></p></div></div><div id="ext-rfc2629.rfc"><h2 id="rfc.section.11.26"><a href="#rfc.section.11.26">11.26</a>&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></h2><div id="rfc.section.11.26.p.1"><p>The extension attributes below are allowed on the standard &lt;rfc&gt; element: <a class="self" href="#rfc.section.11.26.p.1">&para;</a></p><ul><li>grddl:transformation can be used to reference a GRDDL transform.</li><li>x:maturity-level can be used to specify the IETF Standards Track Maturity Level of "proposed", "draft" or "internet" (see <a href="https://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></div></div><div id="ext-rfc2629.section"><h2 id="rfc.section.11.27"><a href="#rfc.section.11.27">11.27</a>&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></h2><div id="rfc.section.11.27.p.1"><p>The extension attribute below is allowed on the standard &lt;list&gt; element: <a class="self" href="#rfc.section.11.27.p.1">&para;</a></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></div></div><div id="ext-rfc2629.xref"><h2 id="rfc.section.11.28"><a href="#rfc.section.11.28">11.28</a>&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></h2><div id="rfc.section.11.28.p.1"><p>Three extension attributes are allowed on the standard &lt;xref&gt; element: <a class="self" href="#rfc.section.11.28.p.1">&para;</a></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></div><div id="rfc.section.11.28.p.2"><p>The following formats are defined for the x:fmt attribute: <a class="self" href="#rfc.section.11.28.p.2">&para;</a></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>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></div><div id="rfc.section.11.28.p.3"><p>These extensions are currently only supported for &lt;xref&gt; elements without child nodes.<a class="self" href="#rfc.section.11.28.p.3">&para;</a></p></div><div id="rfc.section.11.28.p.4"><p>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="https://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.<a class="self" href="#rfc.section.11.28.p.4">&para;</a></p></div></div></div><hr class="noprint"><div id="v3"><h1 id="rfc.section.12" class="np"><a href="#rfc.section.12">12.</a>&nbsp;<a href="#v3">Experimental Support for XML2RFCv3 Vocabulary</a></h1><div id="rfc.section.12.p.1"><p><tt>rfc2629.xslt</tt> experimentally supports some elements from the "V3" vocabulary, defined in <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.1"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>. <em>This support is experimental, as the "v3" vocabulary is still being developed.</em> <a class="self" href="#rfc.section.12.p.1">&para;</a></p></div><div id="v3.aside"><h2 id="rfc.section.12.1"><a href="#rfc.section.12.1">12.1</a>&nbsp;<a href="#v3.aside">aside Element</a></h2><div id="rfc.section.12.1.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.6">Section 2.6</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.2"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.1.p.1">&para;</a></p></div></div><div id="v3.bcp14"><h2 id="rfc.section.12.2"><a href="#rfc.section.12.2">12.2</a>&nbsp;<a href="#v3.bcp14">bcp14 Element</a></h2><div id="rfc.section.12.2.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.9">Section 2.9</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.3"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.2.p.1">&para;</a></p></div></div><div id="v3.blockquote"><h2 id="rfc.section.12.3"><a href="#rfc.section.12.3">12.3</a>&nbsp;<a href="#v3.blockquote">blockquote Element</a></h2><div id="rfc.section.12.3.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.10">Section 2.10</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.4"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.3.p.1">&para;</a></p></div></div><div id="v3.displayreference"><h2 id="rfc.section.12.4"><a href="#rfc.section.12.4">12.4</a>&nbsp;<a href="#v3.displayreference">displayreference Element</a></h2><div id="rfc.section.12.4.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.19">Section 2.19</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.5"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.4.p.1">&para;</a></p></div></div><div id="v3.dd"><h2 id="rfc.section.12.5"><a href="#rfc.section.12.5">12.5</a>&nbsp;<a href="#v3.dd">dd Element</a></h2><div id="rfc.section.12.5.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.18">Section 2.18</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.6"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.5.p.1">&para;</a></p></div></div><div id="v3.dl"><h2 id="rfc.section.12.6"><a href="#rfc.section.12.6">12.6</a>&nbsp;<a href="#v3.dl">dl Element</a></h2><div id="rfc.section.12.6.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.20">Section 2.20</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.7"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.6.p.1">&para;</a></p></div></div><div id="v3.dt"><h2 id="rfc.section.12.7"><a href="#rfc.section.12.7">12.7</a>&nbsp;<a href="#v3.dt">dt Element</a></h2><div id="rfc.section.12.7.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.21">Section 2.21</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.8"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.7.p.1">&para;</a></p></div></div><div id="v3.em"><h2 id="rfc.section.12.8"><a href="#rfc.section.12.8">12.8</a>&nbsp;<a href="#v3.em">em Element</a></h2><div id="rfc.section.12.8.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.22">Section 2.22</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.9"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.8.p.1">&para;</a></p></div></div><div id="v3.li"><h2 id="rfc.section.12.9"><a href="#rfc.section.12.9">12.9</a>&nbsp;<a href="#v3.li">li Element</a></h2><div id="rfc.section.12.9.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.29">Section 2.29</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.10"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.9.p.1">&para;</a></p></div></div><div id="v3.name"><h2 id="rfc.section.12.10"><a href="#rfc.section.12.10">12.10</a>&nbsp;<a href="#v3.name">name Element</a></h2><div id="rfc.section.12.10.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.32">Section 2.32</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.11"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>. <em>Currently only supported inside &lt;references&gt; and &lt;section&gt;</em>.<a class="self" href="#rfc.section.12.10.p.1">&para;</a></p></div></div><div id="v3.ol"><h2 id="rfc.section.12.11"><a href="#rfc.section.12.11">12.11</a>&nbsp;<a href="#v3.ol">ol Element</a></h2><div id="rfc.section.12.11.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.34">Section 2.34</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.12"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.11.p.1">&para;</a></p></div></div><div id="v3.postalLine"><h2 id="rfc.section.12.12"><a href="#rfc.section.12.12">12.12</a>&nbsp;<a href="#v3.postalLine">postalLine Element</a></h2><div id="rfc.section.12.12.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.38">Section 2.38</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.13"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.12.p.1">&para;</a></p></div></div><div id="v3.refcontent"><h2 id="rfc.section.12.13"><a href="#rfc.section.12.13">12.13</a>&nbsp;<a href="#v3.refcontent">refcontent Element</a></h2><div id="rfc.section.12.13.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.39">Section 2.39</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.14"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.13.p.1">&para;</a></p></div></div><div id="v3.reference"><h2 id="rfc.section.12.14"><a href="#rfc.section.12.14">12.14</a>&nbsp;<a href="#v3.reference">Extensions to reference Element</a></h2><div id="rfc.section.12.14.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.40">Section 2.40</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.15"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.14.p.1">&para;</a></p></div><div id="v3.reference.quoteTitle"><h3 id="rfc.section.12.14.1"><a href="#rfc.section.12.14.1">12.14.1</a>&nbsp;<a href="#v3.reference.quoteTitle">quoteTitle attribute</a></h3><div id="rfc.section.12.14.1.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.40.2">Section 2.40.2</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.16"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.14.1.p.1">&para;</a></p></div></div></div><div id="v3.section"><h2 id="rfc.section.12.15"><a href="#rfc.section.12.15">12.15</a>&nbsp;<a href="#v3.section">Extensions to section Element</a></h2><div id="rfc.section.12.15.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.45">Section 2.45</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.17"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.15.p.1">&para;</a></p></div><div id="v3.section.numbered"><h3 id="rfc.section.12.15.1"><a href="#rfc.section.12.15.1">12.15.1</a>&nbsp;<a href="#v3.section.numbered">numbered attribute</a></h3><div id="rfc.section.12.15.1.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.45.2">Section 2.45.2</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.18"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.15.1.p.1">&para;</a></p></div></div><div id="v3.section.removeInRFC"><h3 id="rfc.section.12.15.2"><a href="#rfc.section.12.15.2">12.15.2</a>&nbsp;<a href="#v3.section.removeInRFC">removeInRFC attribute</a></h3><div id="rfc.section.12.15.2.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.45.4">Section 2.45.4</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.19"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.15.2.p.1">&para;</a></p></div></div></div><div id="v3.strong"><h2 id="rfc.section.12.16"><a href="#rfc.section.12.16">12.16</a>&nbsp;<a href="#v3.strong">strong Element</a></h2><div id="rfc.section.12.16.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.49">Section 2.49</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.20"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.16.p.1">&para;</a></p></div></div><div id="v3.sub"><h2 id="rfc.section.12.17"><a href="#rfc.section.12.17">12.17</a>&nbsp;<a href="#v3.sub">sub Element</a></h2><div id="rfc.section.12.17.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.50">Section 2.50</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.21"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.17.p.1">&para;</a></p></div></div><div id="v3.sup"><h2 id="rfc.section.12.18"><a href="#rfc.section.12.18">12.18</a>&nbsp;<a href="#v3.sup">sup Element</a></h2><div id="rfc.section.12.18.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.51">Section 2.51</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.22"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.18.p.1">&para;</a></p></div></div><div id="v3.tt"><h2 id="rfc.section.12.19"><a href="#rfc.section.12.19">12.19</a>&nbsp;<a href="#v3.tt">tt Element</a></h2><div id="rfc.section.12.19.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.61">Section 2.61</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.23"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.19.p.1">&para;</a></p></div></div><div id="v3.ul"><h2 id="rfc.section.12.20"><a href="#rfc.section.12.20">12.20</a>&nbsp;<a href="#v3.ul">ul Element</a></h2><div id="rfc.section.12.20.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.62">Section 2.62</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.24"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.20.p.1">&para;</a></p></div></div><div id="v3.xref"><h2 id="rfc.section.12.21"><a href="#rfc.section.12.21">12.21</a>&nbsp;<a href="#v3.xref">Extensions to xref Element</a></h2><div id="v3.xref.relative"><h3 id="rfc.section.12.21.1"><a href="#rfc.section.12.21.1">12.21.1</a>&nbsp;<a href="#v3.xref.relative">relative attribute</a></h3><div id="rfc.section.12.21.1.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.65.3">Section 2.65.3</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.25"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.21.1.p.1">&para;</a></p></div></div><div id="v3.xref.section"><h3 id="rfc.section.12.21.2"><a href="#rfc.section.12.21.2">12.21.2</a>&nbsp;<a href="#v3.xref.section">section attribute</a></h3><div id="rfc.section.12.21.2.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.65.4">Section 2.65.4</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.26"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.21.2.p.1">&para;</a></p></div></div><div id="v3.xref.sectionFormat"><h3 id="rfc.section.12.21.3"><a href="#rfc.section.12.21.3">12.21.3</a>&nbsp;<a href="#v3.xref.sectionFormat">sectionFormat attribute</a></h3><div id="rfc.section.12.21.3.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.65.5">Section 2.65.5</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.27"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.21.3.p.1">&para;</a></p></div></div></div></div><hr class="noprint"><div id="utilities"><h1 id="rfc.section.13" class="np"><a href="#rfc.section.13">13.</a>&nbsp;<a href="#utilities">Utilities</a></h1><div id="checking-references"><h2 id="rfc.section.13.1"><a href="#rfc.section.13.1">13.1</a>&nbsp;<a href="#checking-references">Checking References</a></h2><div id="rfc.section.13.1.p.1"><p><tt>check-references.xslt</tt> 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 &lt;<a href="ftp://ftp.isi.edu/in-notes/rfc-index.xml">ftp://ftp.isi.edu/in-notes/rfc-index.xml</a>&gt; and &lt;<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>&gt; and will use the XML status information provided at &lt;<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>&gt;).<a class="self" href="#rfc.section.13.1.p.1">&para;</a></p></div><div id="rfc.section.13.1.p.2"><p>If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <tt>intended-level</tt> as 'proposed', 'draft' or 'internet'. Alternatively, it can be specified inside the document using the attribute x:maturity-level on the &lt;rfc&gt; element (see <a href="#ext-rfc2629.rfc" title="Extensions to Xml2rfc <rfc&gt; element">Section&nbsp;11.26</a>).<a class="self" href="#rfc.section.13.1.p.2">&para;</a></p></div><div id="rfc.section.13.1.p.3"><p><b>Note:</b> Downward references should be annotated using the &lt;annotate&gt; element, containing an &lt;xref&gt; to <a href="#BCP97" id="rfc.xref.BCP97.1"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>.<a class="self" href="#rfc.section.13.1.p.3">&para;</a></p></div><div id="rfc.section.13.1.p.4"><p>When an XSLT 2.0 processor is used, links in the document can be checked as well using the <tt>link-check</tt> parameter ('yes' or 'no'). Note that this only works for http links to documents of type text/*.<a class="self" href="#rfc.section.13.1.p.4">&para;</a></p></div><div id="rfc.figure.u.19"><p>For instance, as of 2008-07-12, the script produces for &lt;<a href="http://greenbytes.de/tech/webdav/rfc2518.xml">http://greenbytes.de/tech/webdav/rfc2518.xml</a>&gt;:</p><pre class="text">&gt; saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \
     497    </pre></div></div><div id="ext.element.sup"><h3 id="rfc.section.11.22"><a href="#rfc.section.11.22">11.22</a>&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></h3><div id="rfc.section.11.22.p.1"><p>This element is like the &lt;sup&gt; element in <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.2.3">Section 9.2.3</a> of <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.<a class="self" href="#rfc.section.11.22.p.1">&para;</a></p></div><div id="rfc.section.11.22.p.2"><p>Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".<a class="self" href="#rfc.section.11.22.p.2">&para;</a></p></div><div id="rfc.section.11.22.p.3"><p><em>See also &lt;refcontent&gt; (<a href="#v3.sup" title="sup Element">Section&nbsp;12.18</a>).</em> <a class="self" href="#rfc.section.11.22.p.3">&para;</a></p></div></div><div id="ext-rfc2629.artwork"><h3 id="rfc.section.11.23"><a href="#rfc.section.11.23">11.23</a>&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></h3><div id="rfc.section.11.23.p.1"><p>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. As a workaround, a "x:indent-with" attribute can be specified, containing a string that will be prepended to each line when <tt>clean-for-DTD.xslt</tt> is run (see <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section&nbsp;13.4</a>).<a class="self" href="#rfc.section.11.23.p.1">&para;</a></p></div><div id="rfc.section.11.23.p.2"><p>Furthermore, documents can contain code that might need to be marked as "code component" (&lt;<a href="http://www.ietf.org/iesg/statement/copyright.html">http://www.ietf.org/iesg/statement/copyright.html</a>&gt;). This can be done using "x:is-code-component".<a class="self" href="#rfc.section.11.23.p.2">&para;</a></p></div></div><div id="ext-rfc2629.iref"><h3 id="rfc.section.11.24"><a href="#rfc.section.11.24">11.24</a>&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></h3><div id="rfc.section.11.24.p.1"><p>The extension attribute below is allowed on the standard &lt;iref&gt; element: <a class="self" href="#rfc.section.11.24.p.1">&para;</a></p><ul><li>x:for-anchor specifies that the &lt;iref&gt; will also be automatically inserted whenever the specified anchor is cross-referenced -- this may save entering lots of &lt;iref&gt; instances. As a special case, a value of "" (empty string) refers to the anchor attribute of the closest ancestor.</li></ul></div></div><div id="ext-rfc2629.list"><h3 id="rfc.section.11.25"><a href="#rfc.section.11.25">11.25</a>&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></h3><div id="rfc.section.11.25.p.1"><p>The extension attribute below is allowed on the standard &lt;list&gt; element: <a class="self" href="#rfc.section.11.25.p.1">&para;</a></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></div><div id="rfc.section.11.25.p.2"><p>Also, the &lt;list&gt; element can take &lt;x:<a href="#ext.element.lt" class="smpl">lt</a>&gt; child elements instead of &lt;t&gt;, allowing to insert multiple paragraphs into a single list item.<a class="self" href="#rfc.section.11.25.p.2">&para;</a></p></div></div><div id="ext-rfc2629.rfc"><h3 id="rfc.section.11.26"><a href="#rfc.section.11.26">11.26</a>&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></h3><div id="rfc.section.11.26.p.1"><p>The extension attributes below are allowed on the standard &lt;rfc&gt; element: <a class="self" href="#rfc.section.11.26.p.1">&para;</a></p><ul><li>grddl:transformation can be used to reference a GRDDL transform.</li><li>x:maturity-level can be used to specify the IETF Standards Track Maturity Level of "proposed", "draft" or "internet" (see <a href="https://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></div></div><div id="ext-rfc2629.section"><h3 id="rfc.section.11.27"><a href="#rfc.section.11.27">11.27</a>&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></h3><div id="rfc.section.11.27.p.1"><p>The extension attribute below is allowed on the standard &lt;list&gt; element: <a class="self" href="#rfc.section.11.27.p.1">&para;</a></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></div></div><div id="ext-rfc2629.xref"><h3 id="rfc.section.11.28"><a href="#rfc.section.11.28">11.28</a>&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></h3><div id="rfc.section.11.28.p.1"><p>Three extension attributes are allowed on the standard &lt;xref&gt; element: <a class="self" href="#rfc.section.11.28.p.1">&para;</a></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></div><div id="rfc.section.11.28.p.2"><p>The following formats are defined for the x:fmt attribute: <a class="self" href="#rfc.section.11.28.p.2">&para;</a></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>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></div><div id="rfc.section.11.28.p.3"><p>These extensions are currently only supported for &lt;xref&gt; elements without child nodes.<a class="self" href="#rfc.section.11.28.p.3">&para;</a></p></div><div id="rfc.section.11.28.p.4"><p>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="https://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.<a class="self" href="#rfc.section.11.28.p.4">&para;</a></p></div></div></div><hr class="noprint"><div id="v3"><h2 id="rfc.section.12" class="np"><a href="#rfc.section.12">12.</a>&nbsp;<a href="#v3">Experimental Support for XML2RFCv3 Vocabulary</a></h2><div id="rfc.section.12.p.1"><p><tt>rfc2629.xslt</tt> experimentally supports some elements from the "V3" vocabulary, defined in <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.1"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>. <em>This support is experimental, as the "v3" vocabulary is still being developed.</em> <a class="self" href="#rfc.section.12.p.1">&para;</a></p></div><div id="v3.aside"><h3 id="rfc.section.12.1"><a href="#rfc.section.12.1">12.1</a>&nbsp;<a href="#v3.aside">aside Element</a></h3><div id="rfc.section.12.1.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.6">Section 2.6</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.2"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.1.p.1">&para;</a></p></div></div><div id="v3.bcp14"><h3 id="rfc.section.12.2"><a href="#rfc.section.12.2">12.2</a>&nbsp;<a href="#v3.bcp14">bcp14 Element</a></h3><div id="rfc.section.12.2.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.9">Section 2.9</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.3"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.2.p.1">&para;</a></p></div></div><div id="v3.blockquote"><h3 id="rfc.section.12.3"><a href="#rfc.section.12.3">12.3</a>&nbsp;<a href="#v3.blockquote">blockquote Element</a></h3><div id="rfc.section.12.3.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.10">Section 2.10</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.4"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.3.p.1">&para;</a></p></div></div><div id="v3.displayreference"><h3 id="rfc.section.12.4"><a href="#rfc.section.12.4">12.4</a>&nbsp;<a href="#v3.displayreference">displayreference Element</a></h3><div id="rfc.section.12.4.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.19">Section 2.19</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.5"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.4.p.1">&para;</a></p></div></div><div id="v3.dd"><h3 id="rfc.section.12.5"><a href="#rfc.section.12.5">12.5</a>&nbsp;<a href="#v3.dd">dd Element</a></h3><div id="rfc.section.12.5.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.18">Section 2.18</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.6"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.5.p.1">&para;</a></p></div></div><div id="v3.dl"><h3 id="rfc.section.12.6"><a href="#rfc.section.12.6">12.6</a>&nbsp;<a href="#v3.dl">dl Element</a></h3><div id="rfc.section.12.6.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.20">Section 2.20</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.7"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.6.p.1">&para;</a></p></div></div><div id="v3.dt"><h3 id="rfc.section.12.7"><a href="#rfc.section.12.7">12.7</a>&nbsp;<a href="#v3.dt">dt Element</a></h3><div id="rfc.section.12.7.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.21">Section 2.21</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.8"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.7.p.1">&para;</a></p></div></div><div id="v3.em"><h3 id="rfc.section.12.8"><a href="#rfc.section.12.8">12.8</a>&nbsp;<a href="#v3.em">em Element</a></h3><div id="rfc.section.12.8.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.22">Section 2.22</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.9"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.8.p.1">&para;</a></p></div></div><div id="v3.li"><h3 id="rfc.section.12.9"><a href="#rfc.section.12.9">12.9</a>&nbsp;<a href="#v3.li">li Element</a></h3><div id="rfc.section.12.9.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.29">Section 2.29</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.10"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.9.p.1">&para;</a></p></div></div><div id="v3.name"><h3 id="rfc.section.12.10"><a href="#rfc.section.12.10">12.10</a>&nbsp;<a href="#v3.name">name Element</a></h3><div id="rfc.section.12.10.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.32">Section 2.32</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.11"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>. <em>Currently only supported inside &lt;references&gt; and &lt;section&gt;</em>.<a class="self" href="#rfc.section.12.10.p.1">&para;</a></p></div></div><div id="v3.ol"><h3 id="rfc.section.12.11"><a href="#rfc.section.12.11">12.11</a>&nbsp;<a href="#v3.ol">ol Element</a></h3><div id="rfc.section.12.11.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.34">Section 2.34</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.12"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.11.p.1">&para;</a></p></div></div><div id="v3.postalLine"><h3 id="rfc.section.12.12"><a href="#rfc.section.12.12">12.12</a>&nbsp;<a href="#v3.postalLine">postalLine Element</a></h3><div id="rfc.section.12.12.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.38">Section 2.38</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.13"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.12.p.1">&para;</a></p></div></div><div id="v3.refcontent"><h3 id="rfc.section.12.13"><a href="#rfc.section.12.13">12.13</a>&nbsp;<a href="#v3.refcontent">refcontent Element</a></h3><div id="rfc.section.12.13.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.39">Section 2.39</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.14"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.13.p.1">&para;</a></p></div></div><div id="v3.reference"><h3 id="rfc.section.12.14"><a href="#rfc.section.12.14">12.14</a>&nbsp;<a href="#v3.reference">Extensions to reference Element</a></h3><div id="rfc.section.12.14.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.40">Section 2.40</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.15"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.14.p.1">&para;</a></p></div><div id="v3.reference.quoteTitle"><h4 id="rfc.section.12.14.1"><a href="#rfc.section.12.14.1">12.14.1</a>&nbsp;<a href="#v3.reference.quoteTitle">quoteTitle attribute</a></h4><div id="rfc.section.12.14.1.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.40.2">Section 2.40.2</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.16"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.14.1.p.1">&para;</a></p></div></div></div><div id="v3.section"><h3 id="rfc.section.12.15"><a href="#rfc.section.12.15">12.15</a>&nbsp;<a href="#v3.section">Extensions to section Element</a></h3><div id="rfc.section.12.15.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.45">Section 2.45</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.17"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.15.p.1">&para;</a></p></div><div id="v3.section.numbered"><h4 id="rfc.section.12.15.1"><a href="#rfc.section.12.15.1">12.15.1</a>&nbsp;<a href="#v3.section.numbered">numbered attribute</a></h4><div id="rfc.section.12.15.1.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.45.2">Section 2.45.2</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.18"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.15.1.p.1">&para;</a></p></div></div><div id="v3.section.removeInRFC"><h4 id="rfc.section.12.15.2"><a href="#rfc.section.12.15.2">12.15.2</a>&nbsp;<a href="#v3.section.removeInRFC">removeInRFC attribute</a></h4><div id="rfc.section.12.15.2.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.45.4">Section 2.45.4</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.19"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.15.2.p.1">&para;</a></p></div></div></div><div id="v3.strong"><h3 id="rfc.section.12.16"><a href="#rfc.section.12.16">12.16</a>&nbsp;<a href="#v3.strong">strong Element</a></h3><div id="rfc.section.12.16.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.49">Section 2.49</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.20"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.16.p.1">&para;</a></p></div></div><div id="v3.sub"><h3 id="rfc.section.12.17"><a href="#rfc.section.12.17">12.17</a>&nbsp;<a href="#v3.sub">sub Element</a></h3><div id="rfc.section.12.17.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.50">Section 2.50</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.21"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.17.p.1">&para;</a></p></div></div><div id="v3.sup"><h3 id="rfc.section.12.18"><a href="#rfc.section.12.18">12.18</a>&nbsp;<a href="#v3.sup">sup Element</a></h3><div id="rfc.section.12.18.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.51">Section 2.51</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.22"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.18.p.1">&para;</a></p></div></div><div id="v3.tt"><h3 id="rfc.section.12.19"><a href="#rfc.section.12.19">12.19</a>&nbsp;<a href="#v3.tt">tt Element</a></h3><div id="rfc.section.12.19.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.61">Section 2.61</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.23"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.19.p.1">&para;</a></p></div></div><div id="v3.ul"><h3 id="rfc.section.12.20"><a href="#rfc.section.12.20">12.20</a>&nbsp;<a href="#v3.ul">ul Element</a></h3><div id="rfc.section.12.20.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.62">Section 2.62</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.24"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.20.p.1">&para;</a></p></div></div><div id="v3.xref"><h3 id="rfc.section.12.21"><a href="#rfc.section.12.21">12.21</a>&nbsp;<a href="#v3.xref">Extensions to xref Element</a></h3><div id="v3.xref.relative"><h4 id="rfc.section.12.21.1"><a href="#rfc.section.12.21.1">12.21.1</a>&nbsp;<a href="#v3.xref.relative">relative attribute</a></h4><div id="rfc.section.12.21.1.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.65.3">Section 2.65.3</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.25"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.21.1.p.1">&para;</a></p></div></div><div id="v3.xref.section"><h4 id="rfc.section.12.21.2"><a href="#rfc.section.12.21.2">12.21.2</a>&nbsp;<a href="#v3.xref.section">section attribute</a></h4><div id="rfc.section.12.21.2.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.65.4">Section 2.65.4</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.26"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.21.2.p.1">&para;</a></p></div></div><div id="v3.xref.sectionFormat"><h4 id="rfc.section.12.21.3"><a href="#rfc.section.12.21.3">12.21.3</a>&nbsp;<a href="#v3.xref.sectionFormat">sectionFormat attribute</a></h4><div id="rfc.section.12.21.3.p.1"><p>See <a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17#section-2.65.5">Section 2.65.5</a> of <a href="#XML2RFCV3" id="rfc.xref.XML2RFCV3.27"><cite title="The 'XML2RFC' version 3 Vocabulary">[XML2RFCV3]</cite></a>.<a class="self" href="#rfc.section.12.21.3.p.1">&para;</a></p></div></div></div></div><hr class="noprint"><div id="utilities"><h2 id="rfc.section.13" class="np"><a href="#rfc.section.13">13.</a>&nbsp;<a href="#utilities">Utilities</a></h2><div id="checking-references"><h3 id="rfc.section.13.1"><a href="#rfc.section.13.1">13.1</a>&nbsp;<a href="#checking-references">Checking References</a></h3><div id="rfc.section.13.1.p.1"><p><tt>check-references.xslt</tt> 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 &lt;<a href="ftp://ftp.isi.edu/in-notes/rfc-index.xml">ftp://ftp.isi.edu/in-notes/rfc-index.xml</a>&gt; and &lt;<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>&gt; and will use the XML status information provided at &lt;<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>&gt;).<a class="self" href="#rfc.section.13.1.p.1">&para;</a></p></div><div id="rfc.section.13.1.p.2"><p>If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <tt>intended-level</tt> as 'proposed', 'draft' or 'internet'. Alternatively, it can be specified inside the document using the attribute x:maturity-level on the &lt;rfc&gt; element (see <a href="#ext-rfc2629.rfc" title="Extensions to Xml2rfc <rfc&gt; element">Section&nbsp;11.26</a>).<a class="self" href="#rfc.section.13.1.p.2">&para;</a></p></div><div id="rfc.section.13.1.p.3"><p><b>Note:</b> Downward references should be annotated using the &lt;annotate&gt; element, containing an &lt;xref&gt; to <a href="#BCP97" id="rfc.xref.BCP97.1"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>.<a class="self" href="#rfc.section.13.1.p.3">&para;</a></p></div><div id="rfc.section.13.1.p.4"><p>When an XSLT 2.0 processor is used, links in the document can be checked as well using the <tt>link-check</tt> parameter ('yes' or 'no'). Note that this only works for http links to documents of type text/*.<a class="self" href="#rfc.section.13.1.p.4">&para;</a></p></div><div id="rfc.figure.u.19"><p>For instance, as of 2008-07-12, the script produces for &lt;<a href="http://greenbytes.de/tech/webdav/rfc2518.xml">http://greenbytes.de/tech/webdav/rfc2518.xml</a>&gt;:</p><pre class="text">&gt; saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \
    496498  link-check=yes
    497499
     
    527529&lt;http://www.dlib.org/dlib/july96/lagoze/07lagoze.html&gt;: ok
    528530&lt;http://www.w3.org/pub/WWW/TR/REC-PICS-labels-961031.html&gt;: ok
    529 </pre></div><div id="rfc.section.13.1.p.5"><p>Recognized formats in the &lt;seriesInfo&gt; element are: <a class="self" href="#rfc.section.13.1.p.5">&para;</a></p><ul><li>for RFCs, the name attribute must be "RFC", and the value attribute must be the number of the RFC,</li><li>for Internet Drafs, the name attribute must be "ID" or "Internet-Draft", and the value attribute must be the file name of the draft (including the two-digit running number, but excluding a file extension),</li><li>for W3C documents, the name attribute must be "W3C", must start with "W3C&nbsp;", or must start with "World Wide Web Consortium&nbsp;", and the value attribute must be the "shorthand" name of the specification, such as "REC-xml-19980210".</li></ul></div><div class="note"><div id="rfc.section.13.1.p.6"><p><b>Note:</b> this stylesheet will need network access to check links and status of Internet Drafts. When running a Java-based XSLT engine, you may have to supply Java system properties specifying the HTTP proxy to be used, such as "-Dhttp.proxyHost=hostname -Dhttp.proxyPort=80".<a class="self" href="#rfc.section.13.1.p.6">&para;</a></p></div></div></div><div><h2 id="rfc.section.13.2"><a href="#rfc.section.13.2">13.2</a>&nbsp;Generating Graphs from References</h2><div id="rfc.section.13.2.p.1"><p><tt>gen-reference-graph.xslt</tt> generates a graph of RFC dependencies, using the same base data as in <tt>check-references.xslt</tt> (see <a href="#checking-references" title="Checking References">Section&nbsp;13.1</a>). Its output is a "dot" file, to be processed by GraphViz (see &lt;<a href="http://www.graphviz.org/">http://www.graphviz.org/</a>&gt;).<a class="self" href="#rfc.section.13.2.p.1">&para;</a></p></div><div id="rfc.figure.u.20"><p>The picture below shows the RFC dependencies in RFC2629.</p><p><img src="rfc2629xslt-fig2.png" alt="&#xA;(PNG output obtained from GraphViz)&#xA;"></p></div></div><div><h2 id="rfc.section.13.3"><a href="#rfc.section.13.3">13.3</a>&nbsp;Producing reference entries for books</h2><div id="rfc.section.13.3.p.1"><p><tt>amazon-asin.xslt</tt> uses the Amazon web services to generate a &lt;reference&gt; element for a given ASIN (ISBN).<a class="self" href="#rfc.section.13.3.p.1">&para;</a></p></div><div id="rfc.figure.u.21"><p>For instance:</p><pre class="text">&lt;?xml version="1.0" encoding="utf-8"?&gt;
     531</pre></div><div id="rfc.section.13.1.p.5"><p>Recognized formats in the &lt;seriesInfo&gt; element are: <a class="self" href="#rfc.section.13.1.p.5">&para;</a></p><ul><li>for RFCs, the name attribute must be "RFC", and the value attribute must be the number of the RFC,</li><li>for Internet Drafs, the name attribute must be "ID" or "Internet-Draft", and the value attribute must be the file name of the draft (including the two-digit running number, but excluding a file extension),</li><li>for W3C documents, the name attribute must be "W3C", must start with "W3C&nbsp;", or must start with "World Wide Web Consortium&nbsp;", and the value attribute must be the "shorthand" name of the specification, such as "REC-xml-19980210".</li></ul></div><div class="note"><div id="rfc.section.13.1.p.6"><p><b>Note:</b> this stylesheet will need network access to check links and status of Internet Drafts. When running a Java-based XSLT engine, you may have to supply Java system properties specifying the HTTP proxy to be used, such as "-Dhttp.proxyHost=hostname -Dhttp.proxyPort=80".<a class="self" href="#rfc.section.13.1.p.6">&para;</a></p></div></div></div><div><h3 id="rfc.section.13.2"><a href="#rfc.section.13.2">13.2</a>&nbsp;Generating Graphs from References</h3><div id="rfc.section.13.2.p.1"><p><tt>gen-reference-graph.xslt</tt> generates a graph of RFC dependencies, using the same base data as in <tt>check-references.xslt</tt> (see <a href="#checking-references" title="Checking References">Section&nbsp;13.1</a>). Its output is a "dot" file, to be processed by GraphViz (see &lt;<a href="http://www.graphviz.org/">http://www.graphviz.org/</a>&gt;).<a class="self" href="#rfc.section.13.2.p.1">&para;</a></p></div><div id="rfc.figure.u.20"><p>The picture below shows the RFC dependencies in RFC2629.</p><p><img src="rfc2629xslt-fig2.png" alt="&#xA;(PNG output obtained from GraphViz)&#xA;"></p></div></div><div><h3 id="rfc.section.13.3"><a href="#rfc.section.13.3">13.3</a>&nbsp;Producing reference entries for books</h3><div id="rfc.section.13.3.p.1"><p><tt>amazon-asin.xslt</tt> uses the Amazon web services to generate a &lt;reference&gt; element for a given ASIN (ISBN).<a class="self" href="#rfc.section.13.3.p.1">&para;</a></p></div><div id="rfc.figure.u.21"><p>For instance:</p><pre class="text">&lt;?xml version="1.0" encoding="utf-8"?&gt;
    530532&lt;references&gt;
    531533 &lt;reference target="urn:isbn:0134516591"&gt;
     
    546548 &lt;/reference&gt;
    547549&lt;/references&gt;
    548 </pre></div><div id="rfc.section.13.3.p.2"><p>Note that the resulting XML usually requires checking, in this case Amazon's database is playing tricks with Marshall's name...<a class="self" href="#rfc.section.13.3.p.2">&para;</a></p></div></div><div id="clean-for-dtd"><h2 id="rfc.section.13.4"><a href="#rfc.section.13.4">13.4</a>&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></h2><div id="rfc.section.13.4.p.1"><p><tt>clean-for-DTD.xslt</tt> 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).<a class="self" href="#rfc.section.13.4.p.1">&para;</a></p></div><div id="rfc.section.13.4.p.2"><p>The following mappings are done: <a class="self" href="#rfc.section.13.4.p.2">&para;</a></p><ul><li>&lt;iref&gt; elements inside &lt;artwork&gt; elements are moved in front of the enclosing &lt;figure&gt; element.</li><li>&lt;xref&gt; elements inside &lt;artwork&gt; 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>&lt;x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.bcp14" class="smpl">bcp14</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.bb" class="smpl">bb</a>&gt;, &lt;x:<a href="#ext.element.bc" class="smpl">bc</a>&gt; and &lt;x:<a href="#ext.element.bt" class="smpl">bt</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.blockquote" class="smpl">blockquote</a>&gt; elements get converted to indented text (through a &lt;list&gt; element).</li><li>&lt;x:<a href="#ext.element.dfn" class="smpl">dfn</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.h" class="smpl">h</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.link" class="smpl">link</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.lt" class="smpl">lt</a>&gt; elements get collapsed into a single &lt;lt&gt; element with added &lt;vspace&gt; added to simulate paragraph breaks.</li><li>&lt;x:<a href="#ext.element.note" class="smpl">note</a>&gt; elements get converted to indented text (through a &lt;list&gt; element).</li><li>&lt;x:<a href="#ext.element.q" class="smpl">q</a>&gt; elements get stripped, with apostrophes added around the text.</li><li>&lt;x:<a href="#ext.element.prose" class="smpl">prose</a>&gt; elements are transformed into &lt;seriesInfo&gt; elements (which is an abuse of the element and only a workaround until xml2rfc gets a matching extension).</li><li>&lt;x:<a href="#ext.element.ref" class="smpl">ref</a>&gt; elements get replaced by &lt;xref&gt; elements, targetting either the anchor or another anchor with matching &lt;x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>&gt; child element.</li></ul></div></div><div id="extract-artwork"><h2 id="rfc.section.13.5"><a href="#rfc.section.13.5">13.5</a>&nbsp;<a href="#extract-artwork">Extracting artwork</a></h2><div id="rfc.section.13.5.p.1"><p>With <tt>extract-artwork.xslt</tt>, 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).<a class="self" href="#rfc.section.13.5.p.1">&para;</a></p></div><div id="rfc.figure.u.22"><p>For instance:</p><pre class="text">saxon rfc3986.xml extract-artwork.xslt name=uri.abnf
     550</pre></div><div id="rfc.section.13.3.p.2"><p>Note that the resulting XML usually requires checking, in this case Amazon's database is playing tricks with Marshall's name...<a class="self" href="#rfc.section.13.3.p.2">&para;</a></p></div></div><div id="clean-for-dtd"><h3 id="rfc.section.13.4"><a href="#rfc.section.13.4">13.4</a>&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></h3><div id="rfc.section.13.4.p.1"><p><tt>clean-for-DTD.xslt</tt> 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).<a class="self" href="#rfc.section.13.4.p.1">&para;</a></p></div><div id="rfc.section.13.4.p.2"><p>The following mappings are done: <a class="self" href="#rfc.section.13.4.p.2">&para;</a></p><ul><li>&lt;iref&gt; elements inside &lt;artwork&gt; elements are moved in front of the enclosing &lt;figure&gt; element.</li><li>&lt;xref&gt; elements inside &lt;artwork&gt; 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>&lt;x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.bcp14" class="smpl">bcp14</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.bb" class="smpl">bb</a>&gt;, &lt;x:<a href="#ext.element.bc" class="smpl">bc</a>&gt; and &lt;x:<a href="#ext.element.bt" class="smpl">bt</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.blockquote" class="smpl">blockquote</a>&gt; elements get converted to indented text (through a &lt;list&gt; element).</li><li>&lt;x:<a href="#ext.element.dfn" class="smpl">dfn</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.h" class="smpl">h</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.link" class="smpl">link</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.lt" class="smpl">lt</a>&gt; elements get collapsed into a single &lt;lt&gt; element with added &lt;vspace&gt; added to simulate paragraph breaks.</li><li>&lt;x:<a href="#ext.element.note" class="smpl">note</a>&gt; elements get converted to indented text (through a &lt;list&gt; element).</li><li>&lt;x:<a href="#ext.element.q" class="smpl">q</a>&gt; elements get stripped, with apostrophes added around the text.</li><li>&lt;x:<a href="#ext.element.prose" class="smpl">prose</a>&gt; elements are transformed into &lt;seriesInfo&gt; elements (which is an abuse of the element and only a workaround until xml2rfc gets a matching extension).</li><li>&lt;x:<a href="#ext.element.ref" class="smpl">ref</a>&gt; elements get replaced by &lt;xref&gt; elements, targetting either the anchor or another anchor with matching &lt;x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>&gt; child element.</li></ul></div></div><div id="extract-artwork"><h3 id="rfc.section.13.5"><a href="#rfc.section.13.5">13.5</a>&nbsp;<a href="#extract-artwork">Extracting artwork</a></h3><div id="rfc.section.13.5.p.1"><p>With <tt>extract-artwork.xslt</tt>, 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).<a class="self" href="#rfc.section.13.5.p.1">&para;</a></p></div><div id="rfc.figure.u.22"><p>For instance:</p><pre class="text">saxon rfc3986.xml extract-artwork.xslt name=uri.abnf
    549551</pre></div><div id="rfc.section.13.5.p.2" class="avoidbreakafter"><p>In addition, artwork of a specific type can be extracted, such as with:<a class="self" href="#rfc.section.13.5.p.2">&para;</a></p></div><div id="rfc.figure.u.23"><pre class="text">saxon rfc3986.xml extract-artwork.xslt type=abnf
    550552</pre></div><div id="rfc.section.13.5.p.3" class="avoidbreakafter"><p>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:<a class="self" href="#rfc.section.13.5.p.3">&para;</a></p></div><div id="rfc.figure.u.24"><pre class="text">saxon rfc3986.xml extract-artwork.xslt type=abnf except-name=clschm
    551 </pre></div></div><div id="grddl"><h2 id="rfc.section.13.6"><a href="#rfc.section.13.6">13.6</a>&nbsp;<a href="#grddl">GRRDL</a></h2><div id="rfc.section.13.6.p.1"><p><tt>rfc2629grddl.xslt</tt> extracts RDF information. This is experimental work-in-progress. See &lt;<a href="http://www.w3.org/TR/grddl/">http://www.w3.org/TR/grddl/</a>&gt; for more information.<a class="self" href="#rfc.section.13.6.p.1">&para;</a></p></div></div><div id="html.live.refresh"><h2 id="rfc.section.13.7"><a href="#rfc.section.13.7">13.7</a>&nbsp;<a href="#html.live.refresh">HTML Live Refresh</a></h2><div id="rfc.section.13.7.p.1"><p><em>Experimental</em> <a class="self" href="#rfc.section.13.7.p.1">&para;</a></p></div><div id="rfc.section.13.7.p.2"><p>The "HTML Live Refresh" mode allows to run a text editor and a browser side-by-side, with the browser auto-updating every few seconds, displaying the updated HTML, and automatically navigating to the part of the page that changed last.<a class="self" href="#rfc.section.13.7.p.2">&para;</a></p></div><div id="html.live.refresh.requirements"><div id="rfc.section.13.7.p.3"><p>The requirements for this mode are: <a class="self" href="#rfc.section.13.7.p.3">&para;</a></p><ol><li>A browser that supports the <tt>DOMParser</tt> and <tt>XSLTProcessor</tt> APIs.</li><li>The ability to reload the source code and the XSLT code from within Javascript; in some browsers this is forbidden for "file:" URIs due to perceived security problems.</li></ol></div></div><div id="rfc.section.13.7.p.4"><p>This feature is currently tested with: <a class="self" href="#rfc.section.13.7.p.4">&para;</a></p><ol><li>Mozilla Firefox, and</li><li>Google Chome (where, to be able to reload from the local filesystem, Chrome needs to be started with the command line option <tt>--allow-file-access-from-files</tt>).</li></ol></div><div id="rfc.section.13.7.p.5" class="avoidbreakafter"><p>Use of this feature requires the inclusion of a processing instruction that holds the name of the XML source, such as:<a class="self" href="#rfc.section.13.7.p.5">&para;</a></p></div><div id="rfc.figure.u.25"><pre class="text">&lt;?rfc-ext refresh-from="draft-foo-bar-00.xml"?&gt;
     553</pre></div></div><div id="grddl"><h3 id="rfc.section.13.6"><a href="#rfc.section.13.6">13.6</a>&nbsp;<a href="#grddl">GRRDL</a></h3><div id="rfc.section.13.6.p.1"><p><tt>rfc2629grddl.xslt</tt> extracts RDF information. This is experimental work-in-progress. See &lt;<a href="http://www.w3.org/TR/grddl/">http://www.w3.org/TR/grddl/</a>&gt; for more information.<a class="self" href="#rfc.section.13.6.p.1">&para;</a></p></div></div><div id="html.live.refresh"><h3 id="rfc.section.13.7"><a href="#rfc.section.13.7">13.7</a>&nbsp;<a href="#html.live.refresh">HTML Live Refresh</a></h3><div id="rfc.section.13.7.p.1"><p><em>Experimental</em> <a class="self" href="#rfc.section.13.7.p.1">&para;</a></p></div><div id="rfc.section.13.7.p.2"><p>The "HTML Live Refresh" mode allows to run a text editor and a browser side-by-side, with the browser auto-updating every few seconds, displaying the updated HTML, and automatically navigating to the part of the page that changed last.<a class="self" href="#rfc.section.13.7.p.2">&para;</a></p></div><div id="html.live.refresh.requirements"><div id="rfc.section.13.7.p.3"><p>The requirements for this mode are: <a class="self" href="#rfc.section.13.7.p.3">&para;</a></p><ol><li>A browser that supports the <tt>DOMParser</tt> and <tt>XSLTProcessor</tt> APIs.</li><li>The ability to reload the source code and the XSLT code from within Javascript; in some browsers this is forbidden for "file:" URIs due to perceived security problems.</li></ol></div></div><div id="rfc.section.13.7.p.4"><p>This feature is currently tested with: <a class="self" href="#rfc.section.13.7.p.4">&para;</a></p><ol><li>Mozilla Firefox, and</li><li>Google Chome (where, to be able to reload from the local filesystem, Chrome needs to be started with the command line option <tt>--allow-file-access-from-files</tt>).</li></ol></div><div id="rfc.section.13.7.p.5" class="avoidbreakafter"><p>Use of this feature requires the inclusion of a processing instruction that holds the name of the XML source, such as:<a class="self" href="#rfc.section.13.7.p.5">&para;</a></p></div><div id="rfc.figure.u.25"><pre class="text">&lt;?rfc-ext refresh-from="draft-foo-bar-00.xml"?&gt;
    552554</pre></div><div id="rfc.section.13.7.p.6"><p>The optional parameters <tt>refresh-interval</tt> and <tt>refresh-xslt</tt> support changing the refresh interval (in seconds, defaulting to 10), and the name of the XSLT file to use (defaulting to "rfc2629.xslt").<a class="self" href="#rfc.section.13.7.p.6">&para;</a></p></div><div id="rfc.figure.u.26"><p>To test this feature, start with a minimal source file like this:</p><pre class="text">&lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt'?&gt;
    553555&lt;?rfc-ext refresh-from="draft-foo-bar-00.xml"?&gt;
     
    559561    &lt;/abstract&gt;
    560562  &lt;/front&gt;
    561 &lt;/rfc&gt;</pre><p>...open it in both text editor and browser, start editing and of course ocasionally save.</p></div></div></div><h1 class="np" id="rfc.references"><a href="#rfc.section.14" id="rfc.section.14">14.</a> Informative References</h1><table><tr><td class="reference"><b id="BCP97">[BCP97]</b></td><td class="top"><a href="mailto:klensin+ietf@jck.com">Klensin, J.</a> and <a href="mailto:hartmans-ietf@mit.edu">S. Hartman</a>, &#8220;<a href="https://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>&#8221;, BCP&nbsp;97, RFC&nbsp;4897, <a href="http://dx.doi.org/10.17487/RFC4897">DOI&nbsp;10.17487/RFC4897</a>, June&nbsp;2007, &lt;<a href="http://www.rfc-editor.org/info/rfc4897">http://www.rfc-editor.org/info/rfc4897</a>&gt;.</td></tr><tr><td class="reference"><b id="DC-HTML">[DC-HTML]</b></td><td class="top"><a href="mailto:pete.johnston@eduserv.org.uk">Johnston, P.</a> and <a href="mailto:andy.powell@eduserv.org.uk">A. Powell</a>, &#8220;<a href="http://dublincore.org/documents/2008/08/04/dc-html/">Expressing Dublin Core metadata using HTML/XHTML meta and link elements</a>&#8221;, Dublin Core Metadata Initiative, August&nbsp;2008, &lt;<a href="http://dublincore.org/documents/2008/08/04/dc-html/">http://dublincore.org/documents/2008/08/04/dc-html/</a>&gt;.</td></tr><tr><td class="reference"><b id="HTML">[HTML]</b></td><td class="top">Raggett, D., Le Hors, A., and I. Jacobs, &#8220;<a href="http://www.w3.org/TR/1999/REC-html401-19991224">HTML 4.01 Specification</a>&#8221;, W3C Recommendation&nbsp;REC-html401-19991224, December&nbsp;1999, &lt;<a href="http://www.w3.org/TR/1999/REC-html401-19991224">http://www.w3.org/TR/1999/REC-html401-19991224</a>&gt;.<br>Latest version available at &lt;<a href="http://www.w3.org/TR/html401">http://www.w3.org/TR/html401</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu">Bradner, S.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>&#8221;, BCP&nbsp;9, RFC&nbsp;2026, <a href="http://dx.doi.org/10.17487/RFC2026">DOI&nbsp;10.17487/RFC2026</a>, October&nbsp;1996, &lt;<a href="http://www.rfc-editor.org/info/rfc2026">http://www.rfc-editor.org/info/rfc2026</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2045">[RFC2045]</b></td><td class="top">Freed, N. and N. Borenstein, &#8220;<a href="https://tools.ietf.org/html/rfc2045">Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies</a>&#8221;, RFC&nbsp;2045, <a href="http://dx.doi.org/10.17487/RFC2045">DOI&nbsp;10.17487/RFC2045</a>, November&nbsp;1996, &lt;<a href="http://www.rfc-editor.org/info/rfc2045">http://www.rfc-editor.org/info/rfc2045</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2119">[RFC2119]</b></td><td class="top"><a href="mailto:sob@harvard.edu">Bradner, S.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>&#8221;, BCP&nbsp;14, RFC&nbsp;2119, <a href="http://dx.doi.org/10.17487/RFC2119">DOI&nbsp;10.17487/RFC2119</a>, March&nbsp;1997, &lt;<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2616">[RFC2616]</b></td><td class="top"><a href="mailto:fielding@ics.uci.edu">Fielding, R.</a>, <a href="mailto:jg@w3.org">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com">Mogul, J.</a>, <a href="mailto:frystyk@w3.org">Nielsen, H.</a>, <a href="mailto:masinter@parc.xerox.com">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com">Leach, P.</a>, and <a href="mailto:timbl@w3.org">T. Berners-Lee</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>&#8221;, RFC&nbsp;2616, <a href="http://dx.doi.org/10.17487/RFC2616">DOI&nbsp;10.17487/RFC2616</a>, June&nbsp;1999, &lt;<a href="http://www.rfc-editor.org/info/rfc2616">http://www.rfc-editor.org/info/rfc2616</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2629">[RFC2629]</b></td><td class="top"><a href="mailto:mrose@not.invisible.net">Rose, M.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>&#8221;, RFC&nbsp;2629, <a href="http://dx.doi.org/10.17487/RFC2629">DOI&nbsp;10.17487/RFC2629</a>, June&nbsp;1999, &lt;<a href="http://www.rfc-editor.org/info/rfc2629">http://www.rfc-editor.org/info/rfc2629</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2648">[RFC2648]</b></td><td class="top"><a href="mailto:jayhawk@att.com">Moats, R.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2648">A URN Namespace for IETF Documents</a>&#8221;, RFC&nbsp;2648, <a href="http://dx.doi.org/10.17487/RFC2648">DOI&nbsp;10.17487/RFC2648</a>, August&nbsp;1999, &lt;<a href="http://www.rfc-editor.org/info/rfc2648">http://www.rfc-editor.org/info/rfc2648</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2731">[RFC2731]</b></td><td class="top"><a href="mailto:jak@ckm.ucsf.edu">Kunze, J.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2731">Encoding Dublin Core Metadata in HTML</a>&#8221;, RFC&nbsp;2731, <a href="http://dx.doi.org/10.17487/RFC2731">DOI&nbsp;10.17487/RFC2731</a>, December&nbsp;1999, &lt;<a href="http://www.rfc-editor.org/info/rfc2731">http://www.rfc-editor.org/info/rfc2731</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC5234">[RFC5234]</b></td><td class="top"><a href="mailto:dcrocker@bbiw.net">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net">P. Overell</a>, &#8220;<a href="https://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>&#8221;, STD&nbsp;68, RFC&nbsp;5234, <a href="http://dx.doi.org/10.17487/RFC5234">DOI&nbsp;10.17487/RFC5234</a>, January&nbsp;2008, &lt;<a href="http://www.rfc-editor.org/info/rfc5234">http://www.rfc-editor.org/info/rfc5234</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC5741">[RFC5741]</b></td><td class="top">Daigle, L. and O. Kolkman, &#8220;<a href="https://tools.ietf.org/html/rfc5741">RFC Streams, Headers, and Boilerplates</a>&#8221;, RFC&nbsp;5741, <a href="http://dx.doi.org/10.17487/RFC5741">DOI&nbsp;10.17487/RFC5741</a>, December&nbsp;2009, &lt;<a href="http://www.rfc-editor.org/info/rfc5741">http://www.rfc-editor.org/info/rfc5741</a>&gt;.</td></tr><tr><td class="reference"><b id="RNC">[RNC]</b></td><td class="top"><a href="mailto:jjc@jclark.com">Clark, J.</a>, &#8220;<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">RELAX NG Compact Syntax</a>&#8221;, OASIS, Nov&nbsp;2002, &lt;<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/relax-ng/compact-20021121.html</a>&gt;.</td></tr><tr><td class="reference"><b id="XHTML2">[XHTML2]</b></td><td class="top">Birbeck, M., Gylling, M., McCarron, S., Pemberton, S., Axelsson, J., Dubinko, M., Epperson, B., Ishikawa, M., and A. Navarro, &#8220;<a href="http://www.w3.org/TR/2010/NOTE-xhtml2-20101216">XHTML(tm) 2.0</a>&#8221;, W3C Group Note&nbsp;NOTE-xhtml2-20101216, December&nbsp;2010, &lt;<a href="http://www.w3.org/TR/2010/NOTE-xhtml2-20101216">http://www.w3.org/TR/2010/NOTE-xhtml2-20101216</a>&gt;.<br>Latest version available at &lt;<a href="http://www.w3.org/TR/xhtml2">http://www.w3.org/TR/xhtml2</a>&gt;.</td></tr><tr><td class="reference"><b id="XML">[XML]</b></td><td class="top">Bray, T., Paoli, J., Sperberg-McQueen, M., Maler, E., and F. Yergeau, &#8220;<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">Extensible Markup Language (XML) 1.0 (Fifth Edition)</a>&#8221;, W3C Recommendation&nbsp;REC-xml-20081126, November&nbsp;2008, &lt;<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">http://www.w3.org/TR/2008/REC-xml-20081126/</a>&gt;.<br>Latest version available at &lt;<a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>&gt;.</td></tr><tr><td class="reference"><b id="XML2RFCV2">[XML2RFCV2]</b></td><td class="top">Reschke, J., &#8220;<a href="https://tools.ietf.org/html/draft-reschke-xml2rfc-13">The 'XML2RFC' version 2 Vocabulary</a>&#8221;, Internet-Draft&nbsp;draft-reschke-xml2rfc-13 (work in progress), October&nbsp;2014.</td></tr><tr><td class="reference"><b id="XML2RFCV3">[XML2RFCV3]</b></td><td class="top">Hoffman, P., &#8220;<a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17">The 'XML2RFC' version 3 Vocabulary</a>&#8221;, Internet-Draft&nbsp;draft-hoffman-xml2rfc-17 (work in progress), April&nbsp;2015.</td></tr><tr><td class="reference"><b id="XSL-FO">[XSL-FO]</b></td><td class="top">Berglund, A., &#8220;<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">Extensible Stylesheet Language (XSL) Version 1.1</a>&#8221;, W3C Recommendation&nbsp;REC-xsl11-20061205, December&nbsp;2006, &lt;<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">http://www.w3.org/TR/2006/REC-xsl11-20061205/</a>&gt;.<br>Latest version available at &lt;<a href="http://www.w3.org/TR/xsl11/">http://www.w3.org/TR/xsl11/</a>&gt;.</td></tr></table><hr class="noprint"><div id="grammar"><h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></h1><div id="rfc.section.A.p.1"><p>The RelaxNG schema (<a href="#RNC" id="rfc.xref.RNC.1"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a>) below can be used to validate input documents (for instance, with <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a>).<a class="self" href="#rfc.section.A.p.1">&para;</a></p></div><div id="rfc.section.A.p.2"><p><em>Note that this is work in progress, and doesn't yet cover all extensions completely.</em> <a class="self" href="#rfc.section.A.p.2">&para;</a></p></div><div id="rfc.figure.u.27"><pre class="inline"><em># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</em>
     563&lt;/rfc&gt;</pre><p>...open it in both text editor and browser, start editing and of course ocasionally save.</p></div></div></div><h2 class="np" id="rfc.references.1"><a href="#rfc.section.14" id="rfc.section.14">14.</a> Informative References</h2><table><tr><td class="reference"><b id="BCP97">[BCP97]</b></td><td class="top"><a href="mailto:klensin+ietf@jck.com">Klensin, J.</a> and <a href="mailto:hartmans-ietf@mit.edu">S. Hartman</a>, &#8220;<a href="https://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>&#8221;, BCP&nbsp;97, RFC&nbsp;4897, June&nbsp;2007, &lt;<a href="http://www.rfc-editor.org/info/bcp97">http://www.rfc-editor.org/info/bcp97</a>&gt;.</td></tr><tr><td class="reference"><b id="DC-HTML">[DC-HTML]</b></td><td class="top"><a href="mailto:pete.johnston@eduserv.org.uk">Johnston, P.</a> and <a href="mailto:andy.powell@eduserv.org.uk">A. Powell</a>, &#8220;<a href="http://dublincore.org/documents/2008/08/04/dc-html/">Expressing Dublin Core metadata using HTML/XHTML meta and link elements</a>&#8221;, Dublin Core Metadata Initiative, August&nbsp;2008, &lt;<a href="http://dublincore.org/documents/2008/08/04/dc-html/">http://dublincore.org/documents/2008/08/04/dc-html/</a>&gt;.</td></tr><tr><td class="reference"><b id="HTML">[HTML]</b></td><td class="top">Raggett, D., Le Hors, A., and I. Jacobs, &#8220;<a href="http://www.w3.org/TR/1999/REC-html401-19991224">HTML 4.01 Specification</a>&#8221;, W3C Recommendation&nbsp;REC-html401-19991224, December&nbsp;1999, &lt;<a href="http://www.w3.org/TR/1999/REC-html401-19991224">http://www.w3.org/TR/1999/REC-html401-19991224</a>&gt;.<br>Latest version available at &lt;<a href="http://www.w3.org/TR/html401">http://www.w3.org/TR/html401</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu">Bradner, S.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>&#8221;, BCP&nbsp;9, RFC&nbsp;2026, <a href="http://dx.doi.org/10.17487/RFC2026">DOI&nbsp;10.17487/RFC2026</a>, October&nbsp;1996, &lt;<a href="http://www.rfc-editor.org/info/rfc2026">http://www.rfc-editor.org/info/rfc2026</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2045">[RFC2045]</b></td><td class="top">Freed, N. and N. Borenstein, &#8220;<a href="https://tools.ietf.org/html/rfc2045">Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies</a>&#8221;, RFC&nbsp;2045, <a href="http://dx.doi.org/10.17487/RFC2045">DOI&nbsp;10.17487/RFC2045</a>, November&nbsp;1996, &lt;<a href="http://www.rfc-editor.org/info/rfc2045">http://www.rfc-editor.org/info/rfc2045</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2119">[RFC2119]</b></td><td class="top"><a href="mailto:sob@harvard.edu">Bradner, S.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>&#8221;, BCP&nbsp;14, RFC&nbsp;2119, <a href="http://dx.doi.org/10.17487/RFC2119">DOI&nbsp;10.17487/RFC2119</a>, March&nbsp;1997, &lt;<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2616">[RFC2616]</b></td><td class="top"><a href="mailto:fielding@ics.uci.edu">Fielding, R.</a>, <a href="mailto:jg@w3.org">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com">Mogul, J.</a>, <a href="mailto:frystyk@w3.org">Nielsen, H.</a>, <a href="mailto:masinter@parc.xerox.com">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com">Leach, P.</a>, and <a href="mailto:timbl@w3.org">T. Berners-Lee</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>&#8221;, RFC&nbsp;2616, <a href="http://dx.doi.org/10.17487/RFC2616">DOI&nbsp;10.17487/RFC2616</a>, June&nbsp;1999, &lt;<a href="http://www.rfc-editor.org/info/rfc2616">http://www.rfc-editor.org/info/rfc2616</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2629">[RFC2629]</b></td><td class="top"><a href="mailto:mrose@not.invisible.net">Rose, M.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>&#8221;, RFC&nbsp;2629, <a href="http://dx.doi.org/10.17487/RFC2629">DOI&nbsp;10.17487/RFC2629</a>, June&nbsp;1999, &lt;<a href="http://www.rfc-editor.org/info/rfc2629">http://www.rfc-editor.org/info/rfc2629</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2648">[RFC2648]</b></td><td class="top"><a href="mailto:jayhawk@att.com">Moats, R.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2648">A URN Namespace for IETF Documents</a>&#8221;, RFC&nbsp;2648, <a href="http://dx.doi.org/10.17487/RFC2648">DOI&nbsp;10.17487/RFC2648</a>, August&nbsp;1999, &lt;<a href="http://www.rfc-editor.org/info/rfc2648">http://www.rfc-editor.org/info/rfc2648</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2731">[RFC2731]</b></td><td class="top"><a href="mailto:jak@ckm.ucsf.edu">Kunze, J.</a>, &#8220;<a href="https://tools.ietf.org/html/rfc2731">Encoding Dublin Core Metadata in HTML</a>&#8221;, RFC&nbsp;2731, <a href="http://dx.doi.org/10.17487/RFC2731">DOI&nbsp;10.17487/RFC2731</a>, December&nbsp;1999, &lt;<a href="http://www.rfc-editor.org/info/rfc2731">http://www.rfc-editor.org/info/rfc2731</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC5234">[RFC5234]</b></td><td class="top"><a href="mailto:dcrocker@bbiw.net">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net">P. Overell</a>, &#8220;<a href="https://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>&#8221;, STD&nbsp;68, RFC&nbsp;5234, <a href="http://dx.doi.org/10.17487/RFC5234">DOI&nbsp;10.17487/RFC5234</a>, January&nbsp;2008, &lt;<a href="http://www.rfc-editor.org/info/rfc5234">http://www.rfc-editor.org/info/rfc5234</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC5741">[RFC5741]</b></td><td class="top">Daigle, L. and O. Kolkman, &#8220;<a href="https://tools.ietf.org/html/rfc5741">RFC Streams, Headers, and Boilerplates</a>&#8221;, RFC&nbsp;5741, <a href="http://dx.doi.org/10.17487/RFC5741">DOI&nbsp;10.17487/RFC5741</a>, December&nbsp;2009, &lt;<a href="http://www.rfc-editor.org/info/rfc5741">http://www.rfc-editor.org/info/rfc5741</a>&gt;.</td></tr><tr><td class="reference"><b id="RNC">[RNC]</b></td><td class="top"><a href="mailto:jjc@jclark.com">Clark, J.</a>, &#8220;<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">RELAX NG Compact Syntax</a>&#8221;, OASIS, Nov&nbsp;2002, &lt;<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/relax-ng/compact-20021121.html</a>&gt;.</td></tr><tr><td class="reference"><b id="XHTML2">[XHTML2]</b></td><td class="top">Birbeck, M., Gylling, M., McCarron, S., Pemberton, S., Axelsson, J., Dubinko, M., Epperson, B., Ishikawa, M., and A. Navarro, &#8220;<a href="http://www.w3.org/TR/2010/NOTE-xhtml2-20101216">XHTML(tm) 2.0</a>&#8221;, W3C Group Note&nbsp;NOTE-xhtml2-20101216, December&nbsp;2010, &lt;<a href="http://www.w3.org/TR/2010/NOTE-xhtml2-20101216">http://www.w3.org/TR/2010/NOTE-xhtml2-20101216</a>&gt;.<br>Latest version available at &lt;<a href="http://www.w3.org/TR/xhtml2">http://www.w3.org/TR/xhtml2</a>&gt;.</td></tr><tr><td class="reference"><b id="XML">[XML]</b></td><td class="top">Bray, T., Paoli, J., Sperberg-McQueen, M., Maler, E., and F. Yergeau, &#8220;<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">Extensible Markup Language (XML) 1.0 (Fifth Edition)</a>&#8221;, W3C Recommendation&nbsp;REC-xml-20081126, November&nbsp;2008, &lt;<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">http://www.w3.org/TR/2008/REC-xml-20081126/</a>&gt;.<br>Latest version available at &lt;<a href="http://www.w3.org/TR/xml">http://www.w3.org/TR/xml</a>&gt;.</td></tr><tr><td class="reference"><b id="XML2RFCV2">[XML2RFCV2]</b></td><td class="top">Reschke, J., &#8220;<a href="https://tools.ietf.org/html/draft-reschke-xml2rfc-13">The 'XML2RFC' version 2 Vocabulary</a>&#8221;, Internet-Draft&nbsp;draft-reschke-xml2rfc-13 (work in progress), October&nbsp;2014.</td></tr><tr><td class="reference"><b id="XML2RFCV3">[XML2RFCV3]</b></td><td class="top">Hoffman, P., &#8220;<a href="https://tools.ietf.org/html/draft-hoffman-xml2rfc-17">The 'XML2RFC' version 3 Vocabulary</a>&#8221;, Internet-Draft&nbsp;draft-hoffman-xml2rfc-17 (work in progress), April&nbsp;2015.</td></tr><tr><td class="reference"><b id="XSL-FO">[XSL-FO]</b></td><td class="top">Berglund, A., &#8220;<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">Extensible Stylesheet Language (XSL) Version 1.1</a>&#8221;, W3C Recommendation&nbsp;REC-xsl11-20061205, December&nbsp;2006, &lt;<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">http://www.w3.org/TR/2006/REC-xsl11-20061205/</a>&gt;.<br>Latest version available at &lt;<a href="http://www.w3.org/TR/xsl11/">http://www.w3.org/TR/xsl11/</a>&gt;.</td></tr></table><hr class="noprint"><div id="grammar"><h2 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></h2><div id="rfc.section.A.p.1"><p>The RelaxNG schema (<a href="#RNC" id="rfc.xref.RNC.1"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a>) below can be used to validate input documents (for instance, with <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a>).<a class="self" href="#rfc.section.A.p.1">&para;</a></p></div><div id="rfc.section.A.p.2"><p><em>Note that this is work in progress, and doesn't yet cover all extensions completely.</em> <a class="self" href="#rfc.section.A.p.2">&para;</a></p></div><div id="rfc.figure.u.27"><pre class="inline"><em># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</em>
    562564
    563565<em># Define our extension namespace</em>
     
    12641266rdf_content =
    12651267  ( TEXT | element * { rdf_content })*
    1266 </pre></div></div><hr class="noprint"><div><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a>&nbsp;Implementation Notes</h1><div id="artwork.types"><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;<a href="#artwork.types">Recognized type attributes for &lt;artwork&gt; element</a></h2><div id="rfc.section.B.1.p.1" class="avoidbreakafter"><p>Specific values in the &lt;artwork&gt; element's "type" attribute are recognized and cause a different visual style to be used:<a class="self" href="#rfc.section.B.1.p.1">&para;</a></p></div><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>Type</th><th>Comment</th></tr></thead><tbody><tr><td class="left">abnf</td><td class="left">ABNF as per <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a></td></tr><tr><td class="left">abnf2045</td><td class="left">ABNF as per <a href="#RFC2045" id="rfc.xref.RFC2045.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies">[RFC2045]</cite></a></td></tr><tr><td class="left">abnf2616</td><td class="left">ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td class="left">application/relax-ng-compact-syntax</td><td class="left">Relax NG Compact Syntax as per <a href="#RNC" id="rfc.xref.RNC.2"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a></td></tr><tr><td class="left">application/xml-dtd</td><td class="left">XML DTD</td></tr><tr><td class="left">code</td><td class="left">monospaced text (with outline)</td></tr><tr><td class="left">drawing</td><td class="left">drawing (with outline)</td></tr><tr><td class="left">example</td><td class="left">monospaced text (with outline)</td></tr><tr><td class="left">inline</td><td class="left">monospaced text (no outline)</td></tr><tr><td class="left">message/http; msgtype="request"</td><td class="left">HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td class="left">message/http; msgtype="response"</td><td class="left">HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div></div></div><hr class="noprint"><div id="examples"><h1 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a>&nbsp;<a href="#examples">Examples</a></h1><div id="examples.internalsubset"><h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></h2><div id="rfc.section.C.1.p.1" class="avoidbreakafter"><p>The prolog of the XML document can both be used to refer to an external DTD, and also to define internal entities (<a href="http://www.w3.org/TR/2008/REC-xml-20081126/#sec-prolog-dtd">Section 2.8</a> of <a href="#XML" id="rfc.xref.XML.1"><cite title="Extensible Markup Language (XML) 1.0 (Fifth Edition)">[XML]</cite></a>):<a class="self" href="#rfc.section.C.1.p.1">&para;</a></p></div><div id="rfc.figure.u.28"><pre class="text">&lt;?xml version="1.0"?&gt;
     1268</pre></div></div><hr class="noprint"><div><h2 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a>&nbsp;Implementation Notes</h2><div id="artwork.types"><h3 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;<a href="#artwork.types">Recognized type attributes for &lt;artwork&gt; element</a></h3><div id="rfc.section.B.1.p.1" class="avoidbreakafter"><p>Specific values in the &lt;artwork&gt; element's "type" attribute are recognized and cause a different visual style to be used:<a class="self" href="#rfc.section.B.1.p.1">&para;</a></p></div><div id="rfc.table.u.8"><table class="tt full tcenter" cellpadding="3" cellspacing="0"><thead><tr><th>Type</th><th>Comment</th></tr></thead><tbody><tr><td class="left">abnf</td><td class="left">ABNF as per <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a></td></tr><tr><td class="left">abnf2045</td><td class="left">ABNF as per <a href="#RFC2045" id="rfc.xref.RFC2045.1"><cite title="Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies">[RFC2045]</cite></a></td></tr><tr><td class="left">abnf2616</td><td class="left">ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td class="left">application/relax-ng-compact-syntax</td><td class="left">Relax NG Compact Syntax as per <a href="#RNC" id="rfc.xref.RNC.2"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a></td></tr><tr><td class="left">application/xml-dtd</td><td class="left">XML DTD</td></tr><tr><td class="left">code</td><td class="left">monospaced text (with outline)</td></tr><tr><td class="left">drawing</td><td class="left">drawing (with outline)</td></tr><tr><td class="left">example</td><td class="left">monospaced text (with outline)</td></tr><tr><td class="left">inline</td><td class="left">monospaced text (no outline)</td></tr><tr><td class="left">message/http; msgtype="request"</td><td class="left">HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td class="left">message/http; msgtype="response"</td><td class="left">HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="https://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div></div></div><hr class="noprint"><div id="examples"><h2 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a>&nbsp;<a href="#examples">Examples</a></h2><div id="examples.internalsubset"><h3 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></h3><div id="rfc.section.C.1.p.1" class="avoidbreakafter"><p>The prolog of the XML document can both be used to refer to an external DTD, and also to define internal entities (<a href="http://www.w3.org/TR/2008/REC-xml-20081126/#sec-prolog-dtd">Section 2.8</a> of <a href="#XML" id="rfc.xref.XML.1"><cite title="Extensible Markup Language (XML) 1.0 (Fifth Edition)">[XML]</cite></a>):<a class="self" href="#rfc.section.C.1.p.1">&para;</a></p></div><div id="rfc.figure.u.28"><pre class="text">&lt;?xml version="1.0"?&gt;
    12671269&lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?&gt;
    12681270
     
    12881290  &lt;!ENTITY mydraft PUBLIC "reference.mydraft.xml"&gt;
    12891291]&gt;
    1290 </pre><p>Note: including entities from a remote site will not work in Firefox, see &lt;<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=22942">https://bugzilla.mozilla.org/show_bug.cgi?id=22942</a>&gt;.</p></div></div><div id="examples.customizing"><h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a href="#examples.customizing">Customization</a></h2><div id="rfc.section.C.2.p.1"><p>The XSLT code can be customized by creating a custom XSLT file that uses &lt;xsl:import&gt; to include the original code, and just overrides particular rules.<a class="self" href="#rfc.section.C.2.p.1">&para;</a></p></div><div id="rfc.figure.u.29"><p>For instance, the code below overrides several attributes in <tt>rfc2629toFO.xslt</tt>, changing the color, spacing and font family for headers.</p><pre class="text">&lt;xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     1292</pre><p>Note: including entities from a remote site will not work in Firefox, see &lt;<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=22942">https://bugzilla.mozilla.org/show_bug.cgi?id=22942</a>&gt;.</p></div></div><div id="examples.customizing"><h3 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a href="#examples.customizing">Customization</a></h3><div id="rfc.section.C.2.p.1"><p>The XSLT code can be customized by creating a custom XSLT file that uses &lt;xsl:import&gt; to include the original code, and just overrides particular rules.<a class="self" href="#rfc.section.C.2.p.1">&para;</a></p></div><div id="rfc.figure.u.29"><p>For instance, the code below overrides several attributes in <tt>rfc2629toFO.xslt</tt>, changing the color, spacing and font family for headers.</p><pre class="text">&lt;xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    12911293               version="1.0"&gt;
    12921294
     
    13141316
    13151317&lt;/xsl:transform&gt;
    1316 </pre></div><div class="note"><div id="rfc.section.C.2.p.2"><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 <tt>rfc2629.xslt</tt> 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.<a class="self" href="#rfc.section.C.2.p.2">&para;</a></p></div></div></div></div><hr class="noprint"><div id="boilerplate"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a>&nbsp;<a href="#boilerplate">Producing the IETF 'Boilerplate'</a></h1><div id="rfc.section.D.p.1"><p>Various attributes of the <tt>&lt;rfc&gt;</tt> element plus some child elements of <tt>&lt;front&gt;</tt> affect the automatically generated parts of the front page, such as the tabular information at the beginning, the "Status Of This Memo", and the "Copyright Notice".<a class="self" href="#rfc.section.D.p.1">&para;</a></p></div><div id="rfc.section.D.p.2"><p>When submitting an Internet Draft, this "boilerplate" is checked by "Idnits" (&lt;<a href="http://tools.ietf.org/tools/idnits/">http://tools.ietf.org/tools/idnits/</a>&gt;) for compliance with the current Intellectual Property rules, and thus it is important to set the correct values.<a class="self" href="#rfc.section.D.p.2">&para;</a></p></div><div id="rfc.section.D.p.3"><p>Furthermore, the RFC Production Center uses RFC2629-based tools to generate the final RFC text, so the more accurate the supplied information is, the less additional work is left, and the risk for errors in producing the final (and immutable!) document is reduced.<a class="self" href="#rfc.section.D.p.3">&para;</a></p></div><div class="note"><div id="rfc.section.D.p.4"><p><b>Note:</b> this only applies to the case when IETF documents are produced. The "private" processing instruction <span id="rfc.iref.p.67"></span><span id="rfc.iref.p.68"></span> allows to switch off most of the autogeneration logic.<a class="self" href="#rfc.section.D.p.4">&para;</a></p></div></div><div id="attribute-ipr"><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;<a href="#attribute-ipr">The /rfc/@ipr Attribute</a></h2><div id="rfc.section.D.1.p.1"><p>As of the time of this writing, this 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.<a class="self" href="#rfc.section.D.1.p.1">&para;</a></p></div><div class="note"><div id="rfc.section.D.1.p.2"><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 "day" attributes of the <tt>&lt;date&gt;</tt> element when archiving the XML source of an Internet Draft on the day of submission.<a class="self" href="#rfc.section.D.1.p.2">&para;</a></p></div></div><div id="rfc.section.D.1.p.3"><p><em>Disclaimer: THIS ONLY PROVIDES IMPLEMENTATION INFORMATION. IF YOU NEED LEGAL ADVICE, PLEASE CONTACT A LAWYER.</em> For further information, refer to &lt;<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>&gt;.<a class="self" href="#rfc.section.D.1.p.3">&para;</a></p></div><div id="rfc.section.D.1.p.4"><p>Finally, for the current "Status Of This Memo" text, the <tt>submissionType</tt> attribute determines whether a statement about "Code Components" is inserted (this is the case for the value "IETF", which also happens to be the default). Other values, such as "independent", suppress this part of the text.<a class="self" href="#rfc.section.D.1.p.4">&para;</a></p></div><div id="attribute-ipr-current"><h3 id="rfc.section.D.1.1"><a href="#rfc.section.D.1.1">D.1.1</a>&nbsp;<a href="#attribute-ipr-current">Current Values: '*trust200902'</a></h3><div id="rfc.section.D.1.1.p.1"><p>The name for these values refers to the "TLP" ("IETF TRUST Legal Provisions Relating to IETF Documents"), on effect February 15, 2009 (see &lt;<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>&gt;). Updates to this document were published on September 12, 2009 (TLP 3.0, &lt;<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>&gt;) and on December 28, 2009 (TLP 4.0, &lt;<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>&gt;), modifying the license for code components. The actual text is located in Section 6 ("Text To Be Included in IETF Documents") of these documents.<a class="self" href="#rfc.section.D.1.1.p.1">&para;</a></p></div><div id="rfc.section.D.1.1.p.2" class="avoidbreakafter"><p>The tools will automatically produce the "right" text depending on the document's date information (see above):<a class="self" href="#rfc.section.D.1.1.p.2">&para;</a></p></div><div id="rfc.table.u.9"><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">&lt;<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>&gt;</td><td class="left">2009-11-01</td></tr><tr><td class="left">4.0</td><td class="left">&lt;<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>&gt;</td><td class="left">2010-04-01</td></tr></tbody></table></div><div id="attribute-ipr-trust200902"><h4 id="rfc.section.D.1.1.1"><a href="#rfc.section.D.1.1.1">D.1.1.1</a>&nbsp;<a href="#attribute-ipr-trust200902">trust200902</a></h4><div id="rfc.section.D.1.1.1.p.1"><p>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.<a class="self" href="#rfc.section.D.1.1.1.p.1">&para;</a></p></div></div><div id="attribute-ipr-noModificationTrust200902"><h4 id="rfc.section.D.1.1.2"><a href="#rfc.section.D.1.1.2">D.1.1.2</a>&nbsp;<a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></h4><div id="rfc.section.D.1.1.2.p.1" class="avoidbreakafter"><p>This produces the additional text from Section 6.c.i of the TLP:<a class="self" href="#rfc.section.D.1.1.2.p.1">&para;</a></p></div><blockquote id="rfc.section.D.1.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><div class="note"><div id="rfc.section.D.1.1.2.p.3"><p><b>Note:</b> this clause is incompatible with RFCs to be published on the Standards Track.<a class="self" href="#rfc.section.D.1.1.2.p.3">&para;</a></p></div></div></div><div id="attribute-ipr-noDerivativesTrust200902"><h4 id="rfc.section.D.1.1.3"><a href="#rfc.section.D.1.1.3">D.1.1.3</a>&nbsp;<a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></h4><div id="rfc.section.D.1.1.3.p.1" class="avoidbreakafter"><p>This produces the additional text from Section 6.c.ii of the TLP:<a class="self" href="#rfc.section.D.1.1.3.p.1">&para;</a></p></div><blockquote id="rfc.section.D.1.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><div class="note"><div id="rfc.section.D.1.1.3.p.3"><p><b>Note:</b> this clause is incompatible with RFCs.<a class="self" href="#rfc.section.D.1.1.3.p.3">&para;</a></p></div></div></div><div id="attribute-ipr-pre5378Trust200902"><h4 id="rfc.section.D.1.1.4"><a href="#rfc.section.D.1.1.4">D.1.1.4</a>&nbsp;<a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></h4><div id="rfc.section.D.1.1.4.p.1" class="avoidbreakafter"><p>This produces the additional text from Section 6.c.iii of the TLP, frequently called the "pre-5378 escape clause":<a class="self" href="#rfc.section.D.1.1.4.p.1">&para;</a></p></div><blockquote id="rfc.section.D.1.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><div id="rfc.section.D.1.1.4.p.3"><p>See Section 4 of &lt;<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>&gt; for further information about when to use this value.<a class="self" href="#rfc.section.D.1.1.4.p.3">&para;</a></p></div><div class="note"><div id="rfc.section.D.1.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".<a class="self" href="#rfc.section.D.1.1.4.p.4">&para;</a></p></div></div></div></div><div id="attribute-ipr-historic"><h3 id="rfc.section.D.1.2"><a href="#rfc.section.D.1.2">D.1.2</a>&nbsp;<a href="#attribute-ipr-historic">Historic Values</a></h3><div id="attribute-ipr-200811"><h4 id="rfc.section.D.1.2.1"><a href="#rfc.section.D.1.2.1">D.1.2.1</a>&nbsp;<a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></h4><div id="rfc.section.D.1.2.1.p.1"><p>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 &lt;<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>&gt;.<a class="self" href="#rfc.section.D.1.2.1.p.1">&para;</a></p></div></div><div id="attribute-ipr-3978"><h4 id="rfc.section.D.1.2.2"><a href="#rfc.section.D.1.2.2">D.1.2.2</a>&nbsp;<a href="#attribute-ipr-3978">Historic Values: '*3978'</a></h4><div id="rfc.section.D.1.2.2.p.1"><p>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).<a class="self" href="#rfc.section.D.1.2.2.p.1">&para;</a></p></div></div><div id="attribute-ipr-3667"><h4 id="rfc.section.D.1.2.3"><a href="#rfc.section.D.1.2.3">D.1.2.3</a>&nbsp;<a href="#attribute-ipr-3667">Historic Values: '*3667'</a></h4><div id="rfc.section.D.1.2.3.p.1"><p>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).<a class="self" href="#rfc.section.D.1.2.3.p.1">&para;</a></p></div></div><div id="attribute-ipr-2026"><h4 id="rfc.section.D.1.2.4"><a href="#rfc.section.D.1.2.4">D.1.2.4</a>&nbsp;<a href="#attribute-ipr-2026">Historic Values: '*2026'</a></h4><div id="rfc.section.D.1.2.4.p.1"><p>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).<a class="self" href="#rfc.section.D.1.2.4.p.1">&para;</a></p></div><div id="rfc.section.D.1.2.4.p.2"><p>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.<a class="self" href="#rfc.section.D.1.2.4.p.2">&para;</a></p></div></div></div></div><div id="attribute-category"><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;<a href="#attribute-category">The /rfc/@category Attribute</a></h2><div id="rfc.section.D.2.p.1"><p>For RFCs, the <tt>category</tt> determines the "maturity level" (see <a href="https://tools.ietf.org/html/rfc2026#section-4">Section 4</a> of <a href="#RFC2026" id="rfc.xref.RFC2026.2"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a>). The allowed values are "std" for "Standards Track", "bcp" for "BCP", "info" for "Informational", "exp" for "Experimental", and "historic" for - surprise - "Historic".<a class="self" href="#rfc.section.D.2.p.1">&para;</a></p></div><div id="rfc.section.D.2.p.2"><p>For Internet Drafts, the category attribute is not needed, but <em>will</em> appear on the front page ("Intended Status"). Supplying this information can be useful, because reviewers may want to know.<a class="self" href="#rfc.section.D.2.p.2">&para;</a></p></div><div class="note"><div id="rfc.section.D.2.p.3"><p><b>Note:</b> the Standards Track consists of "Proposed Standard", "Draft Standards", and "Internet Standard". These do not appear in the boilerplate, thus the category attribute doesn't handle them. However, this information can be useful for validity checkers, and thus <tt>rfc2629.xslt</tt> supports an extension attribute for that purpose (see <a href="#ext-rfc2629.rfc" title="Extensions to Xml2rfc <rfc&gt; element">Section&nbsp;11.26</a> for details).<a class="self" href="#rfc.section.D.2.p.3">&para;</a></p></div></div></div><div id="attribute-submissiontype"><h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;<a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></h2><div id="rfc.section.D.3.p.1"><p>The RFC Editor publishes documents from different "document streams", of which the "IETF stream" of course is the most prominent one. Other streams are the "independent stream" (used for things like administrative information or April 1st RFCs), the "IAB stream" (Internet Architecture Board) and the "IRTF stream" (Internet Research Task Force).<a class="self" href="#rfc.section.D.3.p.1">&para;</a></p></div><div id="rfc.section.D.3.p.2"><p>Not surprisingly, the values for the attribute are "IETF" (the default value), "independent", "IAB", and "IRTF".<a class="self" href="#rfc.section.D.3.p.2">&para;</a></p></div><div id="rfc.section.D.3.p.3"><p>Historically, this did not affect the final appearance of RFCs, except for subtle differences in Copyright notices. Nowadays (as of <a href="#RFC5741" id="rfc.xref.RFC5741.1"><cite title="RFC Streams, Headers, and Boilerplates">[RFC5741]</cite></a>), the stream name appears in the first line of the front page, and it also affects the text in the "Status Of This Memo" section.<a class="self" href="#rfc.section.D.3.p.3">&para;</a></p></div><div id="rfc.section.D.3.p.4"><p>For current documents, setting <tt>submissionType</tt> attribute will have the following effect: <a class="self" href="#rfc.section.D.3.p.4">&para;</a></p><ul><li>For RFCs, the stream name appears in the upper left corner of the first page (in Internet Drafts, this is either "Network Working Group", or the value of the <tt>&lt;workgroup&gt;</tt> element).</li><li>For RFCs, if affects the whole "Status Of This Memo" section (see <a href="https://tools.ietf.org/html/rfc5741#section-3.2.2">Section 3.2.2</a> of <a href="#RFC5741" id="rfc.xref.RFC5741.2"><cite title="RFC Streams, Headers, and Boilerplates">[RFC5741]</cite></a>).</li><li>For all RFCs and Internet Drafts, it determines whether the "Copyright Notice" mentions the Copyright on Code Components (see TLP, Section "Text To Be Included in IETF Documents").</li></ul></div></div><div id="attribute-consensus"><h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;<a href="#attribute-consensus">The /rfc/@consensus Attribute</a></h2><div id="rfc.section.D.4.p.1"><p>For some of the publication streams (see <a href="#attribute-submissiontype" title="The /rfc/@submissionType Attribute">Appendix&nbsp;D.3</a>), the "Status Of This Memo" section depends on whether there was a consensus to publish (again, see <a href="https://tools.ietf.org/html/rfc5741#section-3.2.2">Section 3.2.2</a> of <a href="#RFC5741" id="rfc.xref.RFC5741.3"><cite title="RFC Streams, Headers, and Boilerplates">[RFC5741]</cite></a>).<a class="self" href="#rfc.section.D.4.p.1">&para;</a></p></div><div id="rfc.section.D.4.p.2"><p>The <tt>consensus</tt> attribute ("yes"/"no", defaulting to "yes") can be used to supply this information. The effect for the various streams is: <a class="self" href="#rfc.section.D.4.p.2">&para;</a></p><ul><li>"independent" and "IAB": none.</li><li>"IETF": mention that there was an IETF consensus.</li><li>"IRTF": mention that there was a research group consensus (where the name of the research group is extracted from the <tt>&lt;workgroup&gt;</tt> element).</li></ul></div></div><div id="attribute-number"><h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;<a href="#attribute-number">The /rfc/@number Attribute</a></h2><div id="rfc.section.D.5.p.1"><p>For RFCs, this attribute supplies the RFC number.<a class="self" href="#rfc.section.D.5.p.1">&para;</a></p></div></div><div id="attribute-docname"><h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;<a href="#attribute-docname">The /rfc/@docName Attribute</a></h2><div id="rfc.section.D.6.p.1"><p>For Internet Drafts, this specifies the draft name (which appears below the title). The file extension is <em>not</em> part of the draft, so in general it should end with the current draft number ("-", plus two digits).<a class="self" href="#rfc.section.D.6.p.1">&para;</a></p></div><div class="note"><div id="rfc.section.D.6.p.2"><p><b>Note:</b> "Idnits" (&lt;<a href="http://tools.ietf.org/tools/idnits/">http://tools.ietf.org/tools/idnits/</a>&gt;) checks the in-document draft name for consistency with the filename of the submitted document.<a class="self" href="#rfc.section.D.6.p.2">&para;</a></p></div></div></div><div id="attribute-obsoletes"><h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a>&nbsp;<a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></h2><div id="rfc.section.D.7.p.1"><p>The RFC Editor maintains a database (&lt;<a href="http://www.rfc-editor.org/rfc.html">http://www.rfc-editor.org/rfc.html</a>&gt;) of all RFCs, including information about which one obsoletes which. Upon publication of an RFC, this database is updated from the data on the front page.<a class="self" href="#rfc.section.D.7.p.1">&para;</a></p></div><div id="rfc.section.D.7.p.2"><p>This attribute takes a list of comma-separated RFC <em>numbers</em>. Do <em>not</em> put the string "RFC" here.<a class="self" href="#rfc.section.D.7.p.2">&para;</a></p></div></div><div id="attribute-updates"><h2 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a>&nbsp;<a href="#attribute-updates">The /rfc/@updates Attribute</a></h2><div id="rfc.section.D.8.p.1"><p>This is like <tt>obsoletes</tt>, but for the "updates" relation.<a class="self" href="#rfc.section.D.8.p.1">&para;</a></p></div></div></div><hr class="noprint"><div id="license"><h1 id="rfc.section.E" class="np"><a href="#rfc.section.E">E.</a>&nbsp;<a href="#license">License</a></h1><div id="rfc.section.E.p.1"><p>Copyright (c) 2006-2014, Julian Reschke (julian.reschke@greenbytes.de)<a class="self" href="#rfc.section.E.p.1">&para;</a></p></div><div id="rfc.section.E.p.2"><p>All rights reserved.<a class="self" href="#rfc.section.E.p.2">&para;</a></p></div><div id="rfc.section.E.p.3"><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: <a class="self" href="#rfc.section.E.p.3">&para;</a></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></div><div id="rfc.section.E.p.4"><p>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.<a class="self" href="#rfc.section.E.p.4">&para;</a></p></div></div><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.U">U</a> <a href="#rfc.index.V">V</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul><li>abnf-char-sequence Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.1"><b>11.1</b></a>, <a href="#rfc.iref.a.28">A</a></li><li>allow-markup-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.a.1">3.3</a></li><li>alternate HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.a.22">6.2</a></li><li>anchor-alias Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.2"><b>11.2</b></a>, <a href="#rfc.iref.a.29">A</a></li><li>Anchors&nbsp;&nbsp;<ul><li>rfc.abstract&nbsp;&nbsp;<a href="#rfc.iref.a.3">4</a></li><li>rfc.authors&nbsp;&nbsp;<a href="#rfc.iref.a.4">4</a></li><li>rfc.copyright&nbsp;&nbsp;<a href="#rfc.iref.a.5">4</a></li><li>rfc.copyrightnotice&nbsp;&nbsp;<a href="#rfc.iref.a.6">4</a></li><li>rfc.figure.n&nbsp;&nbsp;<a href="#rfc.iref.a.7">4</a>, <a href="#rfc.iref.a.18">4</a></li><li>rfc.figure.u.n&nbsp;&nbsp;<a href="#rfc.iref.a.8">4</a>, <a href="#rfc.iref.a.19">4</a></li><li>rfc.index&nbsp;&nbsp;<a href="#rfc.iref.a.9">4</a></li><li>rfc.ipr&nbsp;&nbsp;<a href="#rfc.iref.a.10">4</a></li><li>rfc.iref.n&nbsp;&nbsp;<a href="#rfc.iref.a.11">4</a></li><li>rfc.note.n&nbsp;&nbsp;<a href="#rfc.iref.a.12">4</a></li><li>rfc.references&nbsp;&nbsp;<a href="#rfc.iref.a.13">4</a>, <a href="#rfc.iref.a.14">4</a></li><li>rfc.section.n&nbsp;&nbsp;<a href="#rfc.iref.a.15">4</a></li><li>rfc.section.n.p.m&nbsp;&nbsp;<a href="#rfc.iref.a.16">4</a></li><li>rfc.status&nbsp;&nbsp;<a href="#rfc.iref.a.17">4</a></li><li>rfc.toc&nbsp;&nbsp;<a href="#rfc.iref.a.20">4</a></li><li>rfc.xref.name.n&nbsp;&nbsp;<a href="#rfc.iref.a.21">4</a></li></ul></li><li>AntennaHouse XSL Formatter&nbsp;&nbsp;<a href="#rfc.iref.a.26">9.1</a></li><li>Apache FOP&nbsp;&nbsp;<a href="#rfc.iref.a.25">9.1</a></li><li>appendix HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.a.23">6.2</a></li><li>aside V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.1"><b>12.1</b></a>, <a href="#rfc.iref.a.27">A</a></li><li>assign-section-number Extension Element&nbsp;&nbsp;<a href="#rfc.iref.a.30">A</a></li><li>author HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.a.24">6.2</a></li><li>authors-section PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.a.2">3.3</a></li></ul></li><li><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul><li>background PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.b.1">3.1</a></li><li>bb Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.4"><b>11.4</b></a>, <a href="#rfc.iref.b.4">A</a></li><li>bc Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.5"><b>11.5</b></a>, <a href="#rfc.iref.b.5">A</a></li><li>bcp14 Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.3"><b>11.3</b></a>, <a href="#rfc.iref.b.6">A</a></li><li>bcp14 V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.2"><b>12.2</b></a>, <a href="#rfc.iref.b.2">A</a></li><li><em>BCP97</em>&nbsp;&nbsp;<a href="#rfc.xref.BCP97.1">13.1</a>, <a href="#BCP97"><b>14</b></a></li><li>blockquote Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.6"><b>11.6</b></a>, <a href="#rfc.iref.b.7">A</a></li><li>blockquote V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.3"><b>12.3</b></a>, <a href="#rfc.iref.b.3">A</a></li><li>boilerplate Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.7"><b>11.7</b></a>, <a href="#rfc.iref.b.8">A</a></li><li>bt Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.8"><b>11.8</b></a>, <a href="#rfc.iref.b.9">A</a></li></ul></li><li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul><li>chapter HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.c.3">6.2</a></li><li>CHM format&nbsp;&nbsp;<a href="#rfc.iref.c.7">8</a></li><li>comments PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.c.2">3.1</a></li><li>compact PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.c.1">3.1</a></li><li>contents HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.c.4">6.2</a></li><li>copyright HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.c.5">6.2</a></li><li>Creator DCMI property&nbsp;&nbsp;<a href="#rfc.iref.c.6">6.4</a></li></ul></li><li><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul><li>Date.Issued DCMI property&nbsp;&nbsp;<a href="#rfc.iref.d.3">6.4</a></li><li><em>DC-HTML</em>&nbsp;&nbsp;<a href="#rfc.xref.DC-HTML.1">6.4</a>, <a href="#DC-HTML"><b>14</b></a></li><li>DCMI properties&nbsp;&nbsp;<ul><li>Creator&nbsp;&nbsp;<a href="#rfc.iref.d.2">6.4</a></li><li>Date.Issued&nbsp;&nbsp;<a href="#rfc.iref.d.4">6.4</a></li><li>Description.Abstract&nbsp;&nbsp;<a href="#rfc.iref.d.6">6.4</a></li><li>Identifier&nbsp;&nbsp;<a href="#rfc.iref.d.7">6.4</a></li><li>isPartOf&nbsp;&nbsp;<a href="#rfc.iref.d.8">6.4</a></li><li>Relation.Replaces&nbsp;&nbsp;<a href="#rfc.iref.d.9">6.4</a></li></ul></li><li>dd V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.5"><b>12.5</b></a>, <a href="#rfc.iref.d.11">A</a></li><li>Description.Abstract DCMI property&nbsp;&nbsp;<a href="#rfc.iref.d.5">6.4</a></li><li>dfn Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.9"><b>11.9</b></a>, <a href="#rfc.iref.d.14">A</a></li><li>displayreference V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.4"><b>12.4</b></a>, <a href="#rfc.iref.d.10">A</a></li><li>dl V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.6"><b>12.6</b></a>, <a href="#rfc.iref.d.12">A</a></li><li>dt V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.7"><b>12.7</b></a>, <a href="#rfc.iref.d.13">A</a></li><li>duplex PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.d.1">3.3</a></li></ul></li><li><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul><li>editing PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.e.1">3.1</a></li><li>em V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.8"><b>12.8</b></a>, <a href="#rfc.iref.e.2">A</a></li><li>Extension Elements&nbsp;&nbsp;<ul><li>abnf-char-sequence&nbsp;&nbsp;<a href="#rfc.section.11.1"><b>11.1</b></a>, <a href="#rfc.iref.e.3">A</a></li><li>anchor-alias&nbsp;&nbsp;<a href="#rfc.section.11.2"><b>11.2</b></a>, <a href="#rfc.iref.e.4">A</a></li><li>assign-section-number&nbsp;&nbsp;<a href="#rfc.iref.e.7">A</a></li><li>bb&nbsp;&nbsp;<a href="#rfc.section.11.4"><b>11.4</b></a>, <a href="#rfc.iref.e.8">A</a></li><li>bc&nbsp;&nbsp;<a href="#rfc.section.11.5"><b>11.5</b></a>, <a href="#rfc.iref.e.9">A</a></li><li>bcp14&nbsp;&nbsp;<a href="#rfc.section.11.3"><b>11.3</b></a>, <a href="#rfc.iref.e.10">A</a></li><li>blockquote&nbsp;&nbsp;<a href="#rfc.section.11.6"><b>11.6</b></a>, <a href="#rfc.iref.e.11">A</a></li><li>boilerplate&nbsp;&nbsp;<a href="#rfc.section.11.7"><b>11.7</b></a>, <a href="#rfc.iref.e.12">A</a></li><li>bt&nbsp;&nbsp;<a href="#rfc.section.11.8"><b>11.8</b></a>, <a href="#rfc.iref.e.13">A</a></li><li>dfn&nbsp;&nbsp;<a href="#rfc.section.11.9"><b>11.9</b></a>, <a href="#rfc.iref.e.14">A</a></li><li>feedback&nbsp;&nbsp;<a href="#rfc.section.11.10"><b>11.10</b></a>, <a href="#rfc.iref.e.5">A</a></li><li>h&nbsp;&nbsp;<a href="#rfc.section.11.11"><b>11.11</b></a>, <a href="#rfc.iref.e.15">A</a></li><li>highlight&nbsp;&nbsp;<a href="#rfc.section.11.12"><b>11.12</b></a>, <a href="#rfc.iref.e.16">A</a></li><li>include-author&nbsp;&nbsp;<a href="#rfc.iref.e.6">A</a></li><li>length-of&nbsp;&nbsp;<a href="#rfc.section.11.13"><b>11.13</b></a>, <a href="#rfc.iref.e.17">A</a></li><li>link&nbsp;&nbsp;<a href="#rfc.section.11.14"><b>11.14</b></a>, <a href="#rfc.iref.e.18">A</a></li><li>lt&nbsp;&nbsp;<a href="#rfc.section.11.15"><b>11.15</b></a>, <a href="#rfc.iref.e.19">A</a></li><li>note&nbsp;&nbsp;<a href="#rfc.section.11.16"><b>11.16</b></a>, <a href="#rfc.iref.e.20">A</a></li><li>parse-xml&nbsp;&nbsp;<a href="#rfc.section.11.17"><b>11.17</b></a>, <a href="#rfc.iref.e.21">A</a></li><li>prose&nbsp;&nbsp;<a href="#rfc.section.11.18"><b>11.18</b></a>, <a href="#rfc.iref.e.22">A</a></li><li>q&nbsp;&nbsp;<a href="#rfc.section.11.19"><b>11.19</b></a>, <a href="#rfc.iref.e.23">A</a></li><li>rdf:Description&nbsp;&nbsp;<a href="#rfc.iref.e.29">A</a></li><li>ref&nbsp;&nbsp;<a href="#rfc.section.11.20"><b>11.20</b></a>, <a href="#rfc.iref.e.24">A</a></li><li>source&nbsp;&nbsp;<a href="#rfc.section.11.21"><b>11.21</b></a>, <a href="#rfc.iref.e.25">A</a></li><li>span&nbsp;&nbsp;<a href="#rfc.iref.e.27">A</a></li><li>sup&nbsp;&nbsp;<a href="#rfc.section.11.22"><b>11.22</b></a>, <a href="#rfc.iref.e.26">A</a></li><li>x&nbsp;&nbsp;<a href="#rfc.iref.e.28">A</a></li></ul></li></ul></li><li><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul><li>feedback Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.10"><b>11.10</b></a>, <a href="#rfc.iref.f.4">A</a></li><li>Firefox&nbsp;&nbsp;<ul><li>1.*/2.*&nbsp;&nbsp;<a href="#rfc.iref.f.3">5.2</a></li><li>3.*&nbsp;&nbsp;<a href="#rfc.iref.f.2">5.2</a></li></ul></li><li>footer PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.f.1">3.1</a></li></ul></li><li><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul><li>generator HTML META element&nbsp;&nbsp;<a href="#rfc.iref.g.2">6.3</a></li><li>Google Chrome&nbsp;&nbsp;<a href="#rfc.iref.g.1">5.2</a></li><li>Grammar&nbsp;&nbsp;<a href="#rfc.section.A"><b>A</b></a></li></ul></li><li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul><li>h Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.11"><b>11.11</b></a>, <a href="#rfc.iref.h.12">A</a></li><li>header PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.h.1">3.1</a></li><li>highlight Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.12"><b>11.12</b></a>, <a href="#rfc.iref.h.13">A</a></li><li><em>HTML</em>&nbsp;&nbsp;<a href="#rfc.xref.HTML.1">6.1</a>, <a href="#rfc.xref.HTML.2">11.6</a>, <a href="#rfc.xref.HTML.3">11.9</a>, <a href="#rfc.xref.HTML.4">11.19</a>, <a href="#rfc.xref.HTML.5">11.22</a>, <a href="#HTML"><b>14</b></a><ul><li><em>Section 9.2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.HTML.3">11.9</a></li><li><em>Section 9.2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.HTML.2">11.6</a>, <a href="#rfc.xref.HTML.4">11.19</a></li><li><em>Section 9.2.3</em>&nbsp;&nbsp;<a href="#rfc.xref.HTML.5">11.22</a></li></ul></li><li>HTML compliance&nbsp;&nbsp;<a href="#rfc.iref.h.2">6.1</a></li><li>HTML LINK elements&nbsp;&nbsp;<ul><li>alternate&nbsp;&nbsp;<a href="#rfc.iref.h.3">6.2</a></li><li>appendix&nbsp;&nbsp;<a href="#rfc.iref.h.4">6.2</a></li><li>author&nbsp;&nbsp;<a href="#rfc.iref.h.5">6.2</a></li><li>chapter&nbsp;&nbsp;<a href="#rfc.iref.h.6">6.2</a></li><li>contents&nbsp;&nbsp;<a href="#rfc.iref.h.7">6.2</a></li><li>copyright&nbsp;&nbsp;<a href="#rfc.iref.h.8">6.2</a></li><li>index&nbsp;&nbsp;<a href="#rfc.iref.h.9">6.2</a></li></ul></li><li>HTML META elements&nbsp;&nbsp;<ul><li>generator&nbsp;&nbsp;<a href="#rfc.iref.h.10">6.3</a></li><li>keywords&nbsp;&nbsp;<a href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul><li>Identifier DCMI property&nbsp;&nbsp;<a href="#rfc.iref.i.13">6.4</a></li><li>include PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.3">3.2</a></li><li>include-author Extension Element&nbsp;&nbsp;<a href="#rfc.iref.i.15">A</a></li><li>include-index PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.4">3.3</a></li><li>include-references-in-index PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.5">3.3</a></li><li>index HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.i.12">6.2</a></li><li>inline PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.1">3.1</a></li><li>insert-metadata PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.6">3.3</a></li><li>Internet Explorer 5.5&nbsp;&nbsp;<a href="#rfc.iref.i.7">5.2</a></li><li>Internet Explorer 6&nbsp;&nbsp;<a href="#rfc.iref.i.8">5.2</a></li><li>Internet Explorer 7&nbsp;&nbsp;<a href="#rfc.iref.i.9">5.2</a></li><li>Internet Explorer 8&nbsp;&nbsp;<a href="#rfc.iref.i.10">5.2</a></li><li>Internet Explorer 9&nbsp;&nbsp;<a href="#rfc.iref.i.11">5.2</a></li><li>iprnotified PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.2">3.1</a></li><li>isPartOf DCMI property&nbsp;&nbsp;<a href="#rfc.iref.i.14">6.4</a></li></ul></li><li><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul><li>justification PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.j.1">3.3</a></li></ul></li><li><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul><li>keywords HTML META element&nbsp;&nbsp;<a href="#rfc.iref.k.1">6.3</a></li></ul></li><li><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul><li>length-of Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.13"><b>11.13</b></a>, <a href="#rfc.iref.l.3">A</a></li><li>li V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.9"><b>12.9</b></a>, <a href="#rfc.iref.l.2">A</a></li><li>link Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.14"><b>11.14</b></a>, <a href="#rfc.iref.l.4">A</a></li><li>linkmailto PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.l.1">3.1</a></li><li>lt Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.15"><b>11.15</b></a>, <a href="#rfc.iref.l.5">A</a></li></ul></li><li><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul><li>Microsoft Help&nbsp;&nbsp;<a href="#rfc.iref.m.5">8</a></li><li>Mozilla&nbsp;&nbsp;<a href="#rfc.iref.m.3">5.2</a>, <a href="#rfc.iref.m.4">5.2</a></li><li>MSXML3&nbsp;&nbsp;<a href="#rfc.iref.m.1">5.1</a></li><li>MSXML4&nbsp;&nbsp;<a href="#rfc.iref.m.2">5.1</a></li></ul></li><li><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul><li>name V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.10"><b>12.10</b></a>, <a href="#rfc.iref.n.3">A</a></li><li>needLines PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.n.1">3.2</a></li><li>NoScript&nbsp;&nbsp;<a href="#rfc.iref.n.2">5.2</a></li><li>note Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.16"><b>11.16</b></a>, <a href="#rfc.iref.n.4">A</a></li></ul></li><li><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul><li>ol V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.11"><b>12.11</b></a>, <a href="#rfc.iref.o.3">A</a></li><li>Opera&nbsp;&nbsp;<a href="#rfc.iref.o.1">5.2</a>, <a href="#rfc.iref.o.2">5.2</a></li></ul></li><li><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul><li>Parameters&nbsp;&nbsp;<ul><li>xml2rfc-background&nbsp;&nbsp;<a href="#rfc.iref.p.2">3.1</a></li><li>xml2rfc-comments&nbsp;&nbsp;<a href="#rfc.iref.p.6">3.1</a></li><li>xml2rfc-compact&nbsp;&nbsp;<a href="#rfc.iref.p.4">3.1</a></li><li>xml2rfc-editing&nbsp;&nbsp;<a href="#rfc.iref.p.8">3.1</a></li><li>xml2rfc-ext-allow-markup-in-artwork&nbsp;&nbsp;<a href="#rfc.iref.p.44">3.3</a></li><li>xml2rfc-ext-authors-section&nbsp;&nbsp;<a href="#rfc.iref.p.46">3.3</a></li><li>xml2rfc-ext-duplex&nbsp;&nbsp;<a href="#rfc.iref.p.48">3.3</a></li><li>xml2rfc-ext-include-index&nbsp;&nbsp;<a href="#rfc.iref.p.50">3.3</a></li><li>xml2rfc-ext-include-references-in-index&nbsp;&nbsp;<a href="#rfc.iref.p.52">3.3</a></li><li>xml2rfc-ext-insert-metadata&nbsp;&nbsp;<a href="#rfc.iref.p.54">3.3</a></li><li>xml2rfc-ext-justification&nbsp;&nbsp;<a href="#rfc.iref.p.56">3.3</a></li><li>xml2rfc-ext-parse-xml-in-artwork&nbsp;&nbsp;<a href="#rfc.iref.p.59">3.3</a></li><li>xml2rfc-ext-sec-no-trailing-dots&nbsp;&nbsp;<a href="#rfc.iref.p.61">3.3</a></li><li>xml2rfc-ext-support-rfc2731&nbsp;&nbsp;<a href="#rfc.iref.p.63">3.3</a></li><li>xml2rfc-footer&nbsp;&nbsp;<a href="#rfc.iref.p.10">3.1</a></li><li>xml2rfc-header&nbsp;&nbsp;<a href="#rfc.iref.p.12">3.1</a></li><li>xml2rfc-inline&nbsp;&nbsp;<a href="#rfc.iref.p.14">3.1</a></li><li>xml2rfc-iprnotified&nbsp;&nbsp;<a href="#rfc.iref.p.16">3.1</a></li><li>xml2rfc-linkmailto&nbsp;&nbsp;<a href="#rfc.iref.p.18">3.1</a></li><li>xml2rfc-private&nbsp;&nbsp;<a href="#rfc.iref.p.21">3.1</a></li><li>xml2rfc-refparent&nbsp;&nbsp;<a href="#rfc.iref.p.23">3.1</a></li><li>xml2rfc-rfcedstyle&nbsp;&nbsp;<a href="#rfc.iref.p.25">3.1</a></li><li>xml2rfc-sortrefs&nbsp;&nbsp;<a href="#rfc.iref.p.27">3.1</a></li><li>xml2rfc-symrefs&nbsp;&nbsp;<a href="#rfc.iref.p.29">3.1</a></li><li>xml2rfc-toc&nbsp;&nbsp;<a href="#rfc.iref.p.31">3.1</a></li><li>xml2rfc-tocdepth&nbsp;&nbsp;<a href="#rfc.iref.p.33">3.1</a></li><li>xml2rfc-topblock&nbsp;&nbsp;<a href="#rfc.iref.p.35">3.1</a></li></ul></li><li>parse-xml Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.17"><b>11.17</b></a>, <a href="#rfc.iref.p.65">A</a></li><li>parse-xml-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.p.57">3.3</a></li><li>postalLine V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.12"><b>12.12</b></a>, <a href="#rfc.iref.p.64">A</a></li><li>private PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.p.19">3.1</a>, <a href="#rfc.iref.p.67">D</a></li><li>Processing Instruction pseudo attributes&nbsp;&nbsp;<ul><li>allow-markup-in-artwork&nbsp;&nbsp;<a href="#rfc.iref.p.43">3.3</a></li><li>authors-section&nbsp;&nbsp;<a href="#rfc.iref.p.45">3.3</a></li><li>background&nbsp;&nbsp;<a href="#rfc.iref.p.1">3.1</a></li><li>comments&nbsp;&nbsp;<a href="#rfc.iref.p.5">3.1</a></li><li>compact&nbsp;&nbsp;<a href="#rfc.iref.p.3">3.1</a></li><li>duplex&nbsp;&nbsp;<a href="#rfc.iref.p.47">3.3</a></li><li>editing&nbsp;&nbsp;<a href="#rfc.iref.p.7">3.1</a></li><li>footer&nbsp;&nbsp;<a href="#rfc.iref.p.9">3.1</a></li><li>header&nbsp;&nbsp;<a href="#rfc.iref.p.11">3.1</a></li><li>ijustification&nbsp;&nbsp;<a href="#rfc.iref.p.55">3.3</a></li><li>include&nbsp;&nbsp;<a href="#rfc.iref.p.36">3.2</a></li><li>include-index&nbsp;&nbsp;<a href="#rfc.iref.p.49">3.3</a></li><li>include-references-in-index&nbsp;&nbsp;<a href="#rfc.iref.p.51">3.3</a></li><li>inline&nbsp;&nbsp;<a href="#rfc.iref.p.13">3.1</a></li><li>insert-metadata&nbsp;&nbsp;<a href="#rfc.iref.p.53">3.3</a></li><li>iprnotified&nbsp;&nbsp;<a href="#rfc.iref.p.15">3.1</a></li><li>linkmailto&nbsp;&nbsp;<a href="#rfc.iref.p.17">3.1</a></li><li>needLines&nbsp;&nbsp;<a href="#rfc.iref.p.37">3.2</a></li><li>parse-xml-in-artwork&nbsp;&nbsp;<a href="#rfc.iref.p.58">3.3</a></li><li>private&nbsp;&nbsp;<a href="#rfc.iref.p.20">3.1</a>, <a href="#rfc.iref.p.68">D</a></li><li>refparent&nbsp;&nbsp;<a href="#rfc.iref.p.22">3.1</a></li><li>rfcedstyle&nbsp;&nbsp;<a href="#rfc.iref.p.24">3.1</a></li><li>sec-no-trailing-dots&nbsp;&nbsp;<a href="#rfc.iref.p.60">3.3</a></li><li>slides&nbsp;&nbsp;<a href="#rfc.iref.p.38">3.2</a></li><li>sortrefs&nbsp;&nbsp;<a href="#rfc.iref.p.26">3.1</a></li><li>strict&nbsp;&nbsp;<a href="#rfc.iref.p.39">3.2</a></li><li>subcompact&nbsp;&nbsp;<a href="#rfc.iref.p.40">3.2</a></li><li>support-rfc2731&nbsp;&nbsp;<a href="#rfc.iref.p.62">3.3</a></li><li>symrefs&nbsp;&nbsp;<a href="#rfc.iref.p.28">3.1</a></li><li>toc&nbsp;&nbsp;<a href="#rfc.iref.p.30">3.1</a></li><li>tocdepth&nbsp;&nbsp;<a href="#rfc.iref.p.32">3.1</a></li><li>tocindent&nbsp;&nbsp;<a href="#rfc.iref.p.41">3.2</a></li><li>tocompact&nbsp;&nbsp;<a href="#rfc.iref.p.42">3.2</a></li><li>topblock&nbsp;&nbsp;<a href="#rfc.iref.p.34">3.1</a></li></ul></li><li>prose Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.18"><b>11.18</b></a>, <a href="#rfc.iref.p.66">A</a></li></ul></li><li><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul><li>q Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.19"><b>11.19</b></a>, <a href="#rfc.iref.q.1">A</a></li></ul></li><li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul><li>rdf:Description Extension Element&nbsp;&nbsp;<a href="#rfc.iref.r.25">A</a></li><li>ref Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.20"><b>11.20</b></a>, <a href="#rfc.iref.r.24">A</a></li><li>refcontent V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.13"><b>12.13</b></a>, <a href="#rfc.iref.r.23">A</a></li><li>reference V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.14"><b>12.14</b></a></li><li>refparent PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.r.1">3.1</a></li><li>Relation.Replaces DCMI property&nbsp;&nbsp;<a href="#rfc.iref.r.22">6.4</a></li><li>RELAX NG Compact Schema&nbsp;&nbsp;<a href="#rfc.section.A"><b>A</b></a></li><li>rfc.abstract anchor&nbsp;&nbsp;<a href="#rfc.iref.r.3">4</a></li><li>rfc.authors anchor&nbsp;&nbsp;<a href="#rfc.iref.r.4">4</a></li><li>rfc.copyright anchor&nbsp;&nbsp;<a href="#rfc.iref.r.5">4</a></li><li>rfc.copyrightnotice anchor&nbsp;&nbsp;<a href="#rfc.iref.r.6">4</a></li><li>rfc.figure.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.7">4</a>, <a href="#rfc.iref.r.18">4</a></li><li>rfc.figure.u.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.8">4</a>, <a href="#rfc.iref.r.19">4</a></li><li>rfc.index anchor&nbsp;&nbsp;<a href="#rfc.iref.r.9">4</a></li><li>rfc.ipr anchor&nbsp;&nbsp;<a href="#rfc.iref.r.10">4</a></li><li>rfc.iref.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.11">4</a></li><li>rfc.note.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.12">4</a></li><li>rfc.references anchor&nbsp;&nbsp;<a href="#rfc.iref.r.13">4</a></li><li>rfc.references.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.14">4</a></li><li>rfc.section.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.15">4</a></li><li>rfc.section.n.p.m anchor&nbsp;&nbsp;<a href="#rfc.iref.r.16">4</a></li><li>rfc.status anchor&nbsp;&nbsp;<a href="#rfc.iref.r.17">4</a></li><li>rfc.toc anchor&nbsp;&nbsp;<a href="#rfc.iref.r.20">4</a></li><li>rfc.xref.name.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.21">4</a></li><li><em>RFC2026</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2026.1">11.26</a>, <a href="#RFC2026"><b>14</b></a>, <a href="#rfc.xref.RFC2026.2">D.2</a><ul><li><em>Section 4</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2026.2">D.2</a></li><li><em>Section 4.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2026.1">11.26</a></li></ul></li><li><em>RFC2045</em>&nbsp;&nbsp;<a href="#RFC2045"><b>14</b></a>, <a href="#rfc.xref.RFC2045.1">B.1</a></li><li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">11.3</a>, <a href="#rfc.xref.RFC2119.2">11.28</a>, <a href="#RFC2119"><b>14</b></a><ul><li><em>Section 5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.2">11.28</a></li></ul></li><li><em>RFC2616</em>&nbsp;&nbsp;<a href="#RFC2616"><b>14</b></a>, <a href="#rfc.xref.RFC2616.1">B.1</a>, <a href="#rfc.xref.RFC2616.2">B.1</a>, <a href="#rfc.xref.RFC2616.3">B.1</a><ul><li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">B.1</a></li><li><em>Section 19.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.2">B.1</a>, <a href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li><em>RFC2629</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2629.1">1</a>, <a href="#RFC2629"><b>14</b></a></li><li><em>RFC2648</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2648.1">6.4</a>, <a href="#RFC2648"><b>14</b></a></li><li><em>RFC2731</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2731.1">6.4</a>, <a href="#RFC2731"><b>14</b></a></li><li><em>RFC5234</em>&nbsp;&nbsp;<a href="#RFC5234"><b>14</b></a>, <a href="#rfc.xref.RFC5234.1">B.1</a></li><li><em>RFC5741</em>&nbsp;&nbsp;<a href="#RFC5741"><b>14</b></a>, <a href="#rfc.xref.RFC5741.1">D.3</a>, <a href="#rfc.xref.RFC5741.2">D.3</a>, <a href="#rfc.xref.RFC5741.3">D.4</a><ul><li><em>Section 3.2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5741.2">D.3</a>, <a href="#rfc.xref.RFC5741.3">D.4</a></li></ul></li><li>rfcedstyle PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.r.2">3.1</a></li><li><em>RNC</em>&nbsp;&nbsp;<a href="#RNC"><b>14</b></a>, <a href="#rfc.xref.RNC.1">A</a>, <a href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul><li>Safari&nbsp;&nbsp;<a href="#rfc.iref.s.9">5.2</a>, <a href="#rfc.iref.s.11">5.2</a><ul><li>3.*&nbsp;&nbsp;<a href="#rfc.iref.s.10">5.2</a></li></ul></li><li>Saxon&nbsp;&nbsp;<a href="#rfc.iref.s.8">5.1</a></li><li>Schema&nbsp;&nbsp;<a href="#rfc.section.A"><b>A</b></a></li><li>sec-no-trailing-dots PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.6">3.3</a></li><li>section V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.15"><b>12.15</b></a></li><li>slides PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.3">3.2</a></li><li>sortrefs PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.1">3.1</a></li><li>source Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.21"><b>11.21</b></a>, <a href="#rfc.iref.s.15">A</a></li><li>span Extension Element&nbsp;&nbsp;<a href="#rfc.iref.s.17">A</a></li><li>strict PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.4">3.2</a></li><li>strong V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.16"><b>12.16</b></a>, <a href="#rfc.iref.s.12">A</a></li><li>sub V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.17"><b>12.17</b></a>, <a href="#rfc.iref.s.13">A</a></li><li>subcompact PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.5">3.2</a></li><li>sup Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.22"><b>11.22</b></a>, <a href="#rfc.iref.s.16">A</a></li><li>sup V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.18"><b>12.18</b></a>, <a href="#rfc.iref.s.14">A</a></li><li>support-rfc2731 PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.7">3.3</a></li><li>symrefs PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.2">3.1</a></li></ul></li><li><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul><li>toc PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.1">3.1</a></li><li>tocdepth PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.2">3.1</a></li><li>tocindent PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.4">3.2</a></li><li>tocompact PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.5">3.2</a></li><li>topblock PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.3">3.1</a></li><li>tt V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.19"><b>12.19</b></a>, <a href="#rfc.iref.t.6">A</a></li></ul></li><li><a id="rfc.index.U" href="#rfc.index.U"><b>U</b></a><ul><li>ul V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.20"><b>12.20</b></a>, <a href="#rfc.iref.u.1">A</a></li></ul></li><li><a id="rfc.index.V" href="#rfc.index.V"><b>V</b></a><ul><li>V3 Extension Elements&nbsp;&nbsp;<ul><li>aside&nbsp;&nbsp;<a href="#rfc.section.12.1"><b>12.1</b></a>, <a href="#rfc.iref.v.1">A</a></li><li>bcp14&nbsp;&nbsp;<a href="#rfc.section.12.2"><b>12.2</b></a>, <a href="#rfc.iref.v.2">A</a></li><li>blockquote&nbsp;&nbsp;<a href="#rfc.section.12.3"><b>12.3</b></a>, <a href="#rfc.iref.v.3">A</a></li><li>dd&nbsp;&nbsp;<a href="#rfc.section.12.5"><b>12.5</b></a>, <a href="#rfc.iref.v.5">A</a></li><li>displayreference&nbsp;&nbsp;<a href="#rfc.section.12.4"><b>12.4</b></a>, <a href="#rfc.iref.v.4">A</a></li><li>dl&nbsp;&nbsp;<a href="#rfc.section.12.6"><b>12.6</b></a>, <a href="#rfc.iref.v.6">A</a></li><li>dt&nbsp;&nbsp;<a href="#rfc.section.12.7"><b>12.7</b></a>, <a href="#rfc.iref.v.7">A</a></li><li>em&nbsp;&nbsp;<a href="#rfc.section.12.8"><b>12.8</b></a>, <a href="#rfc.iref.v.8">A</a></li><li>li&nbsp;&nbsp;<a href="#rfc.section.12.9"><b>12.9</b></a>, <a href="#rfc.iref.v.9">A</a></li><li>name&nbsp;&nbsp;<a href="#rfc.section.12.10"><b>12.10</b></a>, <a href="#rfc.iref.v.10">A</a></li><li>ol&nbsp;&nbsp;<a href="#rfc.section.12.11"><b>12.11</b></a>, <a href="#rfc.iref.v.11">A</a></li><li>postalLine&nbsp;&nbsp;<a href="#rfc.section.12.12"><b>12.12</b></a>, <a href="#rfc.iref.v.12">A</a></li><li>refcontent&nbsp;&nbsp;<a href="#rfc.section.12.13"><b>12.13</b></a>, <a href="#rfc.iref.v.13">A</a></li><li>reference&nbsp;&nbsp;<a href="#rfc.section.12.14"><b>12.14</b></a></li><li>section&nbsp;&nbsp;<a href="#rfc.section.12.15"><b>12.15</b></a></li><li>strong&nbsp;&nbsp;<a href="#rfc.section.12.16"><b>12.16</b></a>, <a href="#rfc.iref.v.14">A</a></li><li>sub&nbsp;&nbsp;<a href="#rfc.section.12.17"><b>12.17</b></a>, <a href="#rfc.iref.v.15">A</a></li><li>sup&nbsp;&nbsp;<a href="#rfc.section.12.18"><b>12.18</b></a>, <a href="#rfc.iref.v.16">A</a></li><li>tt&nbsp;&nbsp;<a href="#rfc.section.12.19"><b>12.19</b></a>, <a href="#rfc.iref.v.17">A</a></li><li>ul&nbsp;&nbsp;<a href="#rfc.section.12.20"><b>12.20</b></a>, <a href="#rfc.iref.v.18">A</a></li></ul></li></ul></li><li><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul><li>x Extension Element&nbsp;&nbsp;<a href="#rfc.iref.x.32">A</a></li><li>Xalan&nbsp;&nbsp;<a href="#rfc.iref.x.29">5.1</a></li><li><em>XHTML2</em>&nbsp;&nbsp;<a href="#rfc.xref.XHTML2.1">11.11</a>, <a href="#XHTML2"><b>14</b></a></li><li><em>XML</em>&nbsp;&nbsp;<a href="#XML"><b>14</b></a>, <a href="#rfc.xref.XML.1">C.1</a><ul><li><em>Section 2.8</em>&nbsp;&nbsp;<a href="#rfc.xref.XML.1">C.1</a></li></ul></li><li>xml-stylesheet PI&nbsp;&nbsp;<a href="#rfc.iref.x.31">6</a></li><li>xml2rfc-background parameter&nbsp;&nbsp;<a href="#rfc.iref.x.2">3.1</a></li><li>xml2rfc-comments parameter&nbsp;&nbsp;<a href="#rfc.iref.x.4">3.1</a></li><li>xml2rfc-editing parameter&nbsp;&nbsp;<a href="#rfc.iref.x.3">3.1</a>, <a href="#rfc.iref.x.5">3.1</a></li><li>xml2rfc-ext-allow-markup-in-artwork parameter&nbsp;&nbsp;<a href="#rfc.iref.x.19">3.3</a></li><li>xml2rfc-ext-authors-section parameter&nbsp;&nbsp;<a href="#rfc.iref.x.20">3.3</a></li><li>xml2rfc-ext-duplex&nbsp;&nbsp;<a href="#rfc.iref.x.21">3.3</a></li><li>xml2rfc-ext-include-index parameter&nbsp;&nbsp;<a href="#rfc.iref.x.22">3.3</a></li><li>xml2rfc-ext-include-references-in-index parameter&nbsp;&nbsp;<a href="#rfc.iref.x.23">3.3</a></li><li>xml2rfc-ext-insert-metadata parameter&nbsp;&nbsp;<a href="#rfc.iref.x.24">3.3</a></li><li>xml2rfc-ext-justification parameter&nbsp;&nbsp;<a href="#rfc.iref.x.25">3.3</a></li><li>xml2rfc-ext-parse-xml-in-artwork parameter&nbsp;&nbsp;<a href="#rfc.iref.x.26">3.3</a></li><li>xml2rfc-ext-sec-no-trailing-dots parameter&nbsp;&nbsp;<a href="#rfc.iref.x.27">3.3</a></li><li>xml2rfc-ext-support-rfc2731 parameter&nbsp;&nbsp;<a href="#rfc.iref.x.28">3.3</a></li><li>xml2rfc-footer parameter&nbsp;&nbsp;<a href="#rfc.iref.x.6">3.1</a></li><li>xml2rfc-header parameter&nbsp;&nbsp;<a href="#rfc.iref.x.7">3.1</a></li><li>xml2rfc-inline parameter&nbsp;&nbsp;<a href="#rfc.iref.x.8">3.1</a></li><li>xml2rfc-iprnotified parameter&nbsp;&nbsp;<a href="#rfc.iref.x.9">3.1</a></li><li>xml2rfc-linkmailto parameter&nbsp;&nbsp;<a href="#rfc.iref.x.10">3.1</a></li><li>xml2rfc-private parameter&nbsp;&nbsp;<a href="#rfc.iref.x.11">3.1</a></li><li>xml2rfc-refparent parameter&nbsp;&nbsp;<a href="#rfc.iref.x.12">3.1</a></li><li>xml2rfc-rfcedstyle parameter&nbsp;&nbsp;<a href="#rfc.iref.x.13">3.1</a></li><li>xml2rfc-sortrefs parameter&nbsp;&nbsp;<a href="#rfc.iref.x.14">3.1</a></li><li>xml2rfc-symrefs parameter&nbsp;&nbsp;<a href="#rfc.iref.x.15">3.1</a></li><li>xml2rfc-toc parameter&nbsp;&nbsp;<a href="#rfc.iref.x.16">3.1</a></li><li>xml2rfc-tocdepth parameter&nbsp;&nbsp;<a href="#rfc.iref.x.17">3.1</a></li><li>xml2rfc-topblock parameter&nbsp;&nbsp;<a href="#rfc.iref.x.18">3.1</a></li><li><em>XML2RFCV2</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV2.1">1</a>, <a href="#XML2RFCV2"><b>14</b></a></li><li><em>XML2RFCV3</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.1">12</a>, <a href="#rfc.xref.XML2RFCV3.2">12.1</a>, <a href="#rfc.xref.XML2RFCV3.3">12.2</a>, <a href="#rfc.xref.XML2RFCV3.4">12.3</a>, <a href="#rfc.xref.XML2RFCV3.5">12.4</a>, <a href="#rfc.xref.XML2RFCV3.6">12.5</a>, <a href="#rfc.xref.XML2RFCV3.7">12.6</a>, <a href="#rfc.xref.XML2RFCV3.8">12.7</a>, <a href="#rfc.xref.XML2RFCV3.9">12.8</a>, <a href="#rfc.xref.XML2RFCV3.10">12.9</a>, <a href="#rfc.xref.XML2RFCV3.11">12.10</a>, <a href="#rfc.xref.XML2RFCV3.12">12.11</a>, <a href="#rfc.xref.XML2RFCV3.13">12.12</a>, <a href="#rfc.xref.XML2RFCV3.14">12.13</a>, <a href="#rfc.xref.XML2RFCV3.15">12.14</a>, <a href="#rfc.xref.XML2RFCV3.16">12.14.1</a>, <a href="#rfc.xref.XML2RFCV3.17">12.15</a>, <a href="#rfc.xref.XML2RFCV3.18">12.15.1</a>, <a href="#rfc.xref.XML2RFCV3.19">12.15.2</a>, <a href="#rfc.xref.XML2RFCV3.20">12.16</a>, <a href="#rfc.xref.XML2RFCV3.21">12.17</a>, <a href="#rfc.xref.XML2RFCV3.22">12.18</a>, <a href="#rfc.xref.XML2RFCV3.23">12.19</a>, <a href="#rfc.xref.XML2RFCV3.24">12.20</a>, <a href="#rfc.xref.XML2RFCV3.25">12.21.1</a>, <a href="#rfc.xref.XML2RFCV3.26">12.21.2</a>, <a href="#rfc.xref.XML2RFCV3.27">12.21.3</a>, <a href="#XML2RFCV3"><b>14</b></a><ul><li><em>Section 2.6</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.2">12.1</a></li><li><em>Section 2.9</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.3">12.2</a></li><li><em>Section 2.10</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.4">12.3</a></li><li><em>Section 2.18</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.6">12.5</a></li><li><em>Section 2.19</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.5">12.4</a></li><li><em>Section 2.20</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.7">12.6</a></li><li><em>Section 2.21</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.8">12.7</a></li><li><em>Section 2.22</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.9">12.8</a></li><li><em>Section 2.29</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.10">12.9</a></li><li><em>Section 2.32</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.11">12.10</a></li><li><em>Section 2.34</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.12">12.11</a></li><li><em>Section 2.38</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.13">12.12</a></li><li><em>Section 2.39</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.14">12.13</a></li><li><em>Section 2.40</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.15">12.14</a></li><li><em>Section 2.40.2</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.16">12.14.1</a></li><li><em>Section 2.45</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.17">12.15</a></li><li><em>Section 2.45.2</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.18">12.15.1</a></li><li><em>Section 2.45.4</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.19">12.15.2</a></li><li><em>Section 2.49</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.20">12.16</a></li><li><em>Section 2.50</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.21">12.17</a></li><li><em>Section 2.51</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.22">12.18</a></li><li><em>Section 2.61</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.23">12.19</a></li><li><em>Section 2.62</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.24">12.20</a></li><li><em>Section 2.65.3</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.25">12.21.1</a></li><li><em>Section 2.65.4</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.26">12.21.2</a></li><li><em>Section 2.65.5</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.27">12.21.3</a></li></ul></li><li><em>XSL-FO</em>&nbsp;&nbsp;<a href="#rfc.xref.XSL-FO.1">9.1</a>, <a href="#rfc.xref.XSL-FO.2">9.1</a>, <a href="#XSL-FO"><b>14</b></a></li><li>xsltproc&nbsp;&nbsp;<a href="#rfc.iref.x.30">5.1</a><ul><li>passing parameters&nbsp;&nbsp;<a href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div><hr class="noprint"><div class="avoidbreakinside"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><p><b>Julian F. Reschke</b><br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, NW&nbsp;48155<br>Germany<br>EMail: <a href="mailto:julian.reschke@greenbytes.de">julian.reschke@greenbytes.de</a><br>URI: <a href="http://greenbytes.de/tech/webdav/">http://greenbytes.de/tech/webdav/</a></p></div></body></html>
     1318</pre></div><div class="note"><div id="rfc.section.C.2.p.2"><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 <tt>rfc2629.xslt</tt> 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.<a class="self" href="#rfc.section.C.2.p.2">&para;</a></p></div></div></div></div><hr class="noprint"><div id="boilerplate"><h2 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a>&nbsp;<a href="#boilerplate">Producing the IETF 'Boilerplate'</a></h2><div id="rfc.section.D.p.1"><p>Various attributes of the <tt>&lt;rfc&gt;</tt> element plus some child elements of <tt>&lt;front&gt;</tt> affect the automatically generated parts of the front page, such as the tabular information at the beginning, the "Status Of This Memo", and the "Copyright Notice".<a class="self" href="#rfc.section.D.p.1">&para;</a></p></div><div id="rfc.section.D.p.2"><p>When submitting an Internet Draft, this "boilerplate" is checked by "Idnits" (&lt;<a href="http://tools.ietf.org/tools/idnits/">http://tools.ietf.org/tools/idnits/</a>&gt;) for compliance with the current Intellectual Property rules, and thus it is important to set the correct values.<a class="self" href="#rfc.section.D.p.2">&para;</a></p></div><div id="rfc.section.D.p.3"><p>Furthermore, the RFC Production Center uses RFC2629-based tools to generate the final RFC text, so the more accurate the supplied information is, the less additional work is left, and the risk for errors in producing the final (and immutable!) document is reduced.<a class="self" href="#rfc.section.D.p.3">&para;</a></p></div><div class="note"><div id="rfc.section.D.p.4"><p><b>Note:</b> this only applies to the case when IETF documents are produced. The "private" processing instruction <span id="rfc.iref.p.67"></span><span id="rfc.iref.p.68"></span> allows to switch off most of the autogeneration logic.<a class="self" href="#rfc.section.D.p.4">&para;</a></p></div></div><div id="attribute-ipr"><h3 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;<a href="#attribute-ipr">The /rfc/@ipr Attribute</a></h3><div id="rfc.section.D.1.p.1"><p>As of the time of this writing, this 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.<a class="self" href="#rfc.section.D.1.p.1">&para;</a></p></div><div class="note"><div id="rfc.section.D.1.p.2"><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 "day" attributes of the <tt>&lt;date&gt;</tt> element when archiving the XML source of an Internet Draft on the day of submission.<a class="self" href="#rfc.section.D.1.p.2">&para;</a></p></div></div><div id="rfc.section.D.1.p.3"><p><em>Disclaimer: THIS ONLY PROVIDES IMPLEMENTATION INFORMATION. IF YOU NEED LEGAL ADVICE, PLEASE CONTACT A LAWYER.</em> For further information, refer to &lt;<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>&gt;.<a class="self" href="#rfc.section.D.1.p.3">&para;</a></p></div><div id="rfc.section.D.1.p.4"><p>Finally, for the current "Status Of This Memo" text, the <tt>submissionType</tt> attribute determines whether a statement about "Code Components" is inserted (this is the case for the value "IETF", which also happens to be the default). Other values, such as "independent", suppress this part of the text.<a class="self" href="#rfc.section.D.1.p.4">&para;</a></p></div><div id="attribute-ipr-current"><h4 id="rfc.section.D.1.1"><a href="#rfc.section.D.1.1">D.1.1</a>&nbsp;<a href="#attribute-ipr-current">Current Values: '*trust200902'</a></h4><div id="rfc.section.D.1.1.p.1"><p>The name for these values refers to the "TLP" ("IETF TRUST Legal Provisions Relating to IETF Documents"), on effect February 15, 2009 (see &lt;<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>&gt;). Updates to this document were published on September 12, 2009 (TLP 3.0, &lt;<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>&gt;) and on December 28, 2009 (TLP 4.0, &lt;<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>&gt;), modifying the license for code components. The actual text is located in Section 6 ("Text To Be Included in IETF Documents") of these documents.<a class="self" href="#rfc.section.D.1.1.p.1">&para;</a></p></div><div id="rfc.section.D.1.1.p.2" class="avoidbreakafter"><p>The tools will automatically produce the "right" text depending on the document's date information (see above):<a class="self" href="#rfc.section.D.1.1.p.2">&para;</a></p></div><div id="rfc.table.u.9"><table class="tt full tleft" 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">&lt;<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>&gt;</td><td class="left">2009-11-01</td></tr><tr><td class="left">4.0</td><td class="left">&lt;<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>&gt;</td><td class="left">2010-04-01</td></tr></tbody></table></div><div id="attribute-ipr-trust200902"><h5 id="rfc.section.D.1.1.1"><a href="#rfc.section.D.1.1.1">D.1.1.1</a>&nbsp;<a href="#attribute-ipr-trust200902">trust200902</a></h5><div id="rfc.section.D.1.1.1.p.1"><p>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.<a class="self" href="#rfc.section.D.1.1.1.p.1">&para;</a></p></div></div><div id="attribute-ipr-noModificationTrust200902"><h5 id="rfc.section.D.1.1.2"><a href="#rfc.section.D.1.1.2">D.1.1.2</a>&nbsp;<a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></h5><div id="rfc.section.D.1.1.2.p.1" class="avoidbreakafter"><p>This produces the additional text from Section 6.c.i of the TLP:<a class="self" href="#rfc.section.D.1.1.2.p.1">&para;</a></p></div><blockquote id="rfc.section.D.1.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><div class="note"><div id="rfc.section.D.1.1.2.p.3"><p><b>Note:</b> this clause is incompatible with RFCs to be published on the Standards Track.<a class="self" href="#rfc.section.D.1.1.2.p.3">&para;</a></p></div></div></div><div id="attribute-ipr-noDerivativesTrust200902"><h5 id="rfc.section.D.1.1.3"><a href="#rfc.section.D.1.1.3">D.1.1.3</a>&nbsp;<a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></h5><div id="rfc.section.D.1.1.3.p.1" class="avoidbreakafter"><p>This produces the additional text from Section 6.c.ii of the TLP:<a class="self" href="#rfc.section.D.1.1.3.p.1">&para;</a></p></div><blockquote id="rfc.section.D.1.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><div class="note"><div id="rfc.section.D.1.1.3.p.3"><p><b>Note:</b> this clause is incompatible with RFCs.<a class="self" href="#rfc.section.D.1.1.3.p.3">&para;</a></p></div></div></div><div id="attribute-ipr-pre5378Trust200902"><h5 id="rfc.section.D.1.1.4"><a href="#rfc.section.D.1.1.4">D.1.1.4</a>&nbsp;<a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></h5><div id="rfc.section.D.1.1.4.p.1" class="avoidbreakafter"><p>This produces the additional text from Section 6.c.iii of the TLP, frequently called the "pre-5378 escape clause":<a class="self" href="#rfc.section.D.1.1.4.p.1">&para;</a></p></div><blockquote id="rfc.section.D.1.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><div id="rfc.section.D.1.1.4.p.3"><p>See Section 4 of &lt;<a href="http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf">http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf</a>&gt; for further information about when to use this value.<a class="self" href="#rfc.section.D.1.1.4.p.3">&para;</a></p></div><div class="note"><div id="rfc.section.D.1.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".<a class="self" href="#rfc.section.D.1.1.4.p.4">&para;</a></p></div></div></div></div><div id="attribute-ipr-historic"><h4 id="rfc.section.D.1.2"><a href="#rfc.section.D.1.2">D.1.2</a>&nbsp;<a href="#attribute-ipr-historic">Historic Values</a></h4><div id="attribute-ipr-200811"><h5 id="rfc.section.D.1.2.1"><a href="#rfc.section.D.1.2.1">D.1.2.1</a>&nbsp;<a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></h5><div id="rfc.section.D.1.2.1.p.1"><p>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 &lt;<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>&gt;.<a class="self" href="#rfc.section.D.1.2.1.p.1">&para;</a></p></div></div><div id="attribute-ipr-3978"><h5 id="rfc.section.D.1.2.2"><a href="#rfc.section.D.1.2.2">D.1.2.2</a>&nbsp;<a href="#attribute-ipr-3978">Historic Values: '*3978'</a></h5><div id="rfc.section.D.1.2.2.p.1"><p>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).<a class="self" href="#rfc.section.D.1.2.2.p.1">&para;</a></p></div></div><div id="attribute-ipr-3667"><h5 id="rfc.section.D.1.2.3"><a href="#rfc.section.D.1.2.3">D.1.2.3</a>&nbsp;<a href="#attribute-ipr-3667">Historic Values: '*3667'</a></h5><div id="rfc.section.D.1.2.3.p.1"><p>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).<a class="self" href="#rfc.section.D.1.2.3.p.1">&para;</a></p></div></div><div id="attribute-ipr-2026"><h5 id="rfc.section.D.1.2.4"><a href="#rfc.section.D.1.2.4">D.1.2.4</a>&nbsp;<a href="#attribute-ipr-2026">Historic Values: '*2026'</a></h5><div id="rfc.section.D.1.2.4.p.1"><p>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).<a class="self" href="#rfc.section.D.1.2.4.p.1">&para;</a></p></div><div id="rfc.section.D.1.2.4.p.2"><p>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.<a class="self" href="#rfc.section.D.1.2.4.p.2">&para;</a></p></div></div></div></div><div id="attribute-category"><h3 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;<a href="#attribute-category">The /rfc/@category Attribute</a></h3><div id="rfc.section.D.2.p.1"><p>For RFCs, the <tt>category</tt> determines the "maturity level" (see <a href="https://tools.ietf.org/html/rfc2026#section-4">Section 4</a> of <a href="#RFC2026" id="rfc.xref.RFC2026.2"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a>). The allowed values are "std" for "Standards Track", "bcp" for "BCP", "info" for "Informational", "exp" for "Experimental", and "historic" for - surprise - "Historic".<a class="self" href="#rfc.section.D.2.p.1">&para;</a></p></div><div id="rfc.section.D.2.p.2"><p>For Internet Drafts, the category attribute is not needed, but <em>will</em> appear on the front page ("Intended Status"). Supplying this information can be useful, because reviewers may want to know.<a class="self" href="#rfc.section.D.2.p.2">&para;</a></p></div><div class="note"><div id="rfc.section.D.2.p.3"><p><b>Note:</b> the Standards Track consists of "Proposed Standard", "Draft Standards", and "Internet Standard". These do not appear in the boilerplate, thus the category attribute doesn't handle them. However, this information can be useful for validity checkers, and thus <tt>rfc2629.xslt</tt> supports an extension attribute for that purpose (see <a href="#ext-rfc2629.rfc" title="Extensions to Xml2rfc <rfc&gt; element">Section&nbsp;11.26</a> for details).<a class="self" href="#rfc.section.D.2.p.3">&para;</a></p></div></div></div><div id="attribute-submissiontype"><h3 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;<a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></h3><div id="rfc.section.D.3.p.1"><p>The RFC Editor publishes documents from different "document streams", of which the "IETF stream" of course is the most prominent one. Other streams are the "independent stream" (used for things like administrative information or April 1st RFCs), the "IAB stream" (Internet Architecture Board) and the "IRTF stream" (Internet Research Task Force).<a class="self" href="#rfc.section.D.3.p.1">&para;</a></p></div><div id="rfc.section.D.3.p.2"><p>Not surprisingly, the values for the attribute are "IETF" (the default value), "independent", "IAB", and "IRTF".<a class="self" href="#rfc.section.D.3.p.2">&para;</a></p></div><div id="rfc.section.D.3.p.3"><p>Historically, this did not affect the final appearance of RFCs, except for subtle differences in Copyright notices. Nowadays (as of <a href="#RFC5741" id="rfc.xref.RFC5741.1"><cite title="RFC Streams, Headers, and Boilerplates">[RFC5741]</cite></a>), the stream name appears in the first line of the front page, and it also affects the text in the "Status Of This Memo" section.<a class="self" href="#rfc.section.D.3.p.3">&para;</a></p></div><div id="rfc.section.D.3.p.4"><p>For current documents, setting <tt>submissionType</tt> attribute will have the following effect: <a class="self" href="#rfc.section.D.3.p.4">&para;</a></p><ul><li>For RFCs, the stream name appears in the upper left corner of the first page (in Internet Drafts, this is either "Network Working Group", or the value of the <tt>&lt;workgroup&gt;</tt> element).</li><li>For RFCs, if affects the whole "Status Of This Memo" section (see <a href="https://tools.ietf.org/html/rfc5741#section-3.2.2">Section 3.2.2</a> of <a href="#RFC5741" id="rfc.xref.RFC5741.2"><cite title="RFC Streams, Headers, and Boilerplates">[RFC5741]</cite></a>).</li><li>For all RFCs and Internet Drafts, it determines whether the "Copyright Notice" mentions the Copyright on Code Components (see TLP, Section "Text To Be Included in IETF Documents").</li></ul></div></div><div id="attribute-consensus"><h3 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;<a href="#attribute-consensus">The /rfc/@consensus Attribute</a></h3><div id="rfc.section.D.4.p.1"><p>For some of the publication streams (see <a href="#attribute-submissiontype" title="The /rfc/@submissionType Attribute">Appendix&nbsp;D.3</a>), the "Status Of This Memo" section depends on whether there was a consensus to publish (again, see <a href="https://tools.ietf.org/html/rfc5741#section-3.2.2">Section 3.2.2</a> of <a href="#RFC5741" id="rfc.xref.RFC5741.3"><cite title="RFC Streams, Headers, and Boilerplates">[RFC5741]</cite></a>).<a class="self" href="#rfc.section.D.4.p.1">&para;</a></p></div><div id="rfc.section.D.4.p.2"><p>The <tt>consensus</tt> attribute ("yes"/"no", defaulting to "yes") can be used to supply this information. The effect for the various streams is: <a class="self" href="#rfc.section.D.4.p.2">&para;</a></p><ul><li>"independent" and "IAB": none.</li><li>"IETF": mention that there was an IETF consensus.</li><li>"IRTF": mention that there was a research group consensus (where the name of the research group is extracted from the <tt>&lt;workgroup&gt;</tt> element).</li></ul></div></div><div id="attribute-number"><h3 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;<a href="#attribute-number">The /rfc/@number Attribute</a></h3><div id="rfc.section.D.5.p.1"><p>For RFCs, this attribute supplies the RFC number.<a class="self" href="#rfc.section.D.5.p.1">&para;</a></p></div></div><div id="attribute-docname"><h3 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;<a href="#attribute-docname">The /rfc/@docName Attribute</a></h3><div id="rfc.section.D.6.p.1"><p>For Internet Drafts, this specifies the draft name (which appears below the title). The file extension is <em>not</em> part of the draft, so in general it should end with the current draft number ("-", plus two digits).<a class="self" href="#rfc.section.D.6.p.1">&para;</a></p></div><div class="note"><div id="rfc.section.D.6.p.2"><p><b>Note:</b> "Idnits" (&lt;<a href="http://tools.ietf.org/tools/idnits/">http://tools.ietf.org/tools/idnits/</a>&gt;) checks the in-document draft name for consistency with the filename of the submitted document.<a class="self" href="#rfc.section.D.6.p.2">&para;</a></p></div></div></div><div id="attribute-obsoletes"><h3 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a>&nbsp;<a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></h3><div id="rfc.section.D.7.p.1"><p>The RFC Editor maintains a database (&lt;<a href="http://www.rfc-editor.org/rfc.html">http://www.rfc-editor.org/rfc.html</a>&gt;) of all RFCs, including information about which one obsoletes which. Upon publication of an RFC, this database is updated from the data on the front page.<a class="self" href="#rfc.section.D.7.p.1">&para;</a></p></div><div id="rfc.section.D.7.p.2"><p>This attribute takes a list of comma-separated RFC <em>numbers</em>. Do <em>not</em> put the string "RFC" here.<a class="self" href="#rfc.section.D.7.p.2">&para;</a></p></div></div><div id="attribute-updates"><h3 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a>&nbsp;<a href="#attribute-updates">The /rfc/@updates Attribute</a></h3><div id="rfc.section.D.8.p.1"><p>This is like <tt>obsoletes</tt>, but for the "updates" relation.<a class="self" href="#rfc.section.D.8.p.1">&para;</a></p></div></div></div><hr class="noprint"><div id="license"><h2 id="rfc.section.E" class="np"><a href="#rfc.section.E">E.</a>&nbsp;<a href="#license">License</a></h2><div id="rfc.section.E.p.1"><p>Copyright (c) 2006-2014, Julian Reschke (julian.reschke@greenbytes.de)<a class="self" href="#rfc.section.E.p.1">&para;</a></p></div><div id="rfc.section.E.p.2"><p>All rights reserved.<a class="self" href="#rfc.section.E.p.2">&para;</a></p></div><div id="rfc.section.E.p.3"><p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: <a class="self" href="#rfc.section.E.p.3">&para;</a></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></div><div id="rfc.section.E.p.4"><p>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.<a class="self" href="#rfc.section.E.p.4">&para;</a></p></div></div><hr class="noprint"><h2 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h2><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.U">U</a> <a href="#rfc.index.V">V</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul><li>abnf-char-sequence Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.1"><b>11.1</b></a>, <a href="#rfc.iref.a.28">A</a></li><li>allow-markup-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.a.1">3.3</a></li><li>alternate HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.a.22">6.2</a></li><li>anchor-alias Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.2"><b>11.2</b></a>, <a href="#rfc.iref.a.29">A</a></li><li>Anchors&nbsp;&nbsp;<ul><li>rfc.abstract&nbsp;&nbsp;<a href="#rfc.iref.a.3">4</a></li><li>rfc.authors&nbsp;&nbsp;<a href="#rfc.iref.a.4">4</a></li><li>rfc.copyright&nbsp;&nbsp;<a href="#rfc.iref.a.5">4</a></li><li>rfc.copyrightnotice&nbsp;&nbsp;<a href="#rfc.iref.a.6">4</a></li><li>rfc.figure.n&nbsp;&nbsp;<a href="#rfc.iref.a.7">4</a>, <a href="#rfc.iref.a.18">4</a></li><li>rfc.figure.u.n&nbsp;&nbsp;<a href="#rfc.iref.a.8">4</a>, <a href="#rfc.iref.a.19">4</a></li><li>rfc.index&nbsp;&nbsp;<a href="#rfc.iref.a.9">4</a></li><li>rfc.ipr&nbsp;&nbsp;<a href="#rfc.iref.a.10">4</a></li><li>rfc.iref.n&nbsp;&nbsp;<a href="#rfc.iref.a.11">4</a></li><li>rfc.note.n&nbsp;&nbsp;<a href="#rfc.iref.a.12">4</a></li><li>rfc.references&nbsp;&nbsp;<a href="#rfc.iref.a.13">4</a>, <a href="#rfc.iref.a.14">4</a></li><li>rfc.section.n&nbsp;&nbsp;<a href="#rfc.iref.a.15">4</a></li><li>rfc.section.n.p.m&nbsp;&nbsp;<a href="#rfc.iref.a.16">4</a></li><li>rfc.status&nbsp;&nbsp;<a href="#rfc.iref.a.17">4</a></li><li>rfc.toc&nbsp;&nbsp;<a href="#rfc.iref.a.20">4</a></li><li>rfc.xref.name.n&nbsp;&nbsp;<a href="#rfc.iref.a.21">4</a></li></ul></li><li>AntennaHouse XSL Formatter&nbsp;&nbsp;<a href="#rfc.iref.a.26">9.1</a></li><li>Apache FOP&nbsp;&nbsp;<a href="#rfc.iref.a.25">9.1</a></li><li>appendix HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.a.23">6.2</a></li><li>aside V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.1"><b>12.1</b></a>, <a href="#rfc.iref.a.27">A</a></li><li>assign-section-number Extension Element&nbsp;&nbsp;<a href="#rfc.iref.a.30">A</a></li><li>author HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.a.24">6.2</a></li><li>authors-section PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.a.2">3.3</a></li></ul></li><li><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul><li>background PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.b.1">3.1</a></li><li>bb Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.4"><b>11.4</b></a>, <a href="#rfc.iref.b.4">A</a></li><li>bc Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.5"><b>11.5</b></a>, <a href="#rfc.iref.b.5">A</a></li><li>bcp14 Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.3"><b>11.3</b></a>, <a href="#rfc.iref.b.6">A</a></li><li>bcp14 V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.2"><b>12.2</b></a>, <a href="#rfc.iref.b.2">A</a></li><li><em>BCP97</em>&nbsp;&nbsp;<a href="#rfc.xref.BCP97.1">13.1</a>, <a href="#BCP97"><b>14</b></a></li><li>blockquote Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.6"><b>11.6</b></a>, <a href="#rfc.iref.b.7">A</a></li><li>blockquote V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.3"><b>12.3</b></a>, <a href="#rfc.iref.b.3">A</a></li><li>boilerplate Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.7"><b>11.7</b></a>, <a href="#rfc.iref.b.8">A</a></li><li>bt Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.8"><b>11.8</b></a>, <a href="#rfc.iref.b.9">A</a></li></ul></li><li><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul><li>chapter HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.c.3">6.2</a></li><li>CHM format&nbsp;&nbsp;<a href="#rfc.iref.c.7">8</a></li><li>comments PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.c.2">3.1</a></li><li>compact PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.c.1">3.1</a></li><li>contents HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.c.4">6.2</a></li><li>copyright HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.c.5">6.2</a></li><li>Creator DCMI property&nbsp;&nbsp;<a href="#rfc.iref.c.6">6.4</a></li></ul></li><li><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul><li>Date.Issued DCMI property&nbsp;&nbsp;<a href="#rfc.iref.d.3">6.4</a></li><li><em>DC-HTML</em>&nbsp;&nbsp;<a href="#rfc.xref.DC-HTML.1">6.4</a>, <a href="#DC-HTML"><b>14</b></a></li><li>DCMI properties&nbsp;&nbsp;<ul><li>Creator&nbsp;&nbsp;<a href="#rfc.iref.d.2">6.4</a></li><li>Date.Issued&nbsp;&nbsp;<a href="#rfc.iref.d.4">6.4</a></li><li>Description.Abstract&nbsp;&nbsp;<a href="#rfc.iref.d.6">6.4</a></li><li>Identifier&nbsp;&nbsp;<a href="#rfc.iref.d.7">6.4</a></li><li>isPartOf&nbsp;&nbsp;<a href="#rfc.iref.d.8">6.4</a></li><li>Relation.Replaces&nbsp;&nbsp;<a href="#rfc.iref.d.9">6.4</a></li></ul></li><li>dd V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.5"><b>12.5</b></a>, <a href="#rfc.iref.d.11">A</a></li><li>Description.Abstract DCMI property&nbsp;&nbsp;<a href="#rfc.iref.d.5">6.4</a></li><li>dfn Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.9"><b>11.9</b></a>, <a href="#rfc.iref.d.14">A</a></li><li>displayreference V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.4"><b>12.4</b></a>, <a href="#rfc.iref.d.10">A</a></li><li>dl V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.6"><b>12.6</b></a>, <a href="#rfc.iref.d.12">A</a></li><li>dt V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.7"><b>12.7</b></a>, <a href="#rfc.iref.d.13">A</a></li><li>duplex PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.d.1">3.3</a></li></ul></li><li><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul><li>editing PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.e.1">3.1</a></li><li>em V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.8"><b>12.8</b></a>, <a href="#rfc.iref.e.2">A</a></li><li>Extension Elements&nbsp;&nbsp;<ul><li>abnf-char-sequence&nbsp;&nbsp;<a href="#rfc.section.11.1"><b>11.1</b></a>, <a href="#rfc.iref.e.3">A</a></li><li>anchor-alias&nbsp;&nbsp;<a href="#rfc.section.11.2"><b>11.2</b></a>, <a href="#rfc.iref.e.4">A</a></li><li>assign-section-number&nbsp;&nbsp;<a href="#rfc.iref.e.7">A</a></li><li>bb&nbsp;&nbsp;<a href="#rfc.section.11.4"><b>11.4</b></a>, <a href="#rfc.iref.e.8">A</a></li><li>bc&nbsp;&nbsp;<a href="#rfc.section.11.5"><b>11.5</b></a>, <a href="#rfc.iref.e.9">A</a></li><li>bcp14&nbsp;&nbsp;<a href="#rfc.section.11.3"><b>11.3</b></a>, <a href="#rfc.iref.e.10">A</a></li><li>blockquote&nbsp;&nbsp;<a href="#rfc.section.11.6"><b>11.6</b></a>, <a href="#rfc.iref.e.11">A</a></li><li>boilerplate&nbsp;&nbsp;<a href="#rfc.section.11.7"><b>11.7</b></a>, <a href="#rfc.iref.e.12">A</a></li><li>bt&nbsp;&nbsp;<a href="#rfc.section.11.8"><b>11.8</b></a>, <a href="#rfc.iref.e.13">A</a></li><li>dfn&nbsp;&nbsp;<a href="#rfc.section.11.9"><b>11.9</b></a>, <a href="#rfc.iref.e.14">A</a></li><li>feedback&nbsp;&nbsp;<a href="#rfc.section.11.10"><b>11.10</b></a>, <a href="#rfc.iref.e.5">A</a></li><li>h&nbsp;&nbsp;<a href="#rfc.section.11.11"><b>11.11</b></a>, <a href="#rfc.iref.e.15">A</a></li><li>highlight&nbsp;&nbsp;<a href="#rfc.section.11.12"><b>11.12</b></a>, <a href="#rfc.iref.e.16">A</a></li><li>include-author&nbsp;&nbsp;<a href="#rfc.iref.e.6">A</a></li><li>length-of&nbsp;&nbsp;<a href="#rfc.section.11.13"><b>11.13</b></a>, <a href="#rfc.iref.e.17">A</a></li><li>link&nbsp;&nbsp;<a href="#rfc.section.11.14"><b>11.14</b></a>, <a href="#rfc.iref.e.18">A</a></li><li>lt&nbsp;&nbsp;<a href="#rfc.section.11.15"><b>11.15</b></a>, <a href="#rfc.iref.e.19">A</a></li><li>note&nbsp;&nbsp;<a href="#rfc.section.11.16"><b>11.16</b></a>, <a href="#rfc.iref.e.20">A</a></li><li>parse-xml&nbsp;&nbsp;<a href="#rfc.section.11.17"><b>11.17</b></a>, <a href="#rfc.iref.e.21">A</a></li><li>prose&nbsp;&nbsp;<a href="#rfc.section.11.18"><b>11.18</b></a>, <a href="#rfc.iref.e.22">A</a></li><li>q&nbsp;&nbsp;<a href="#rfc.section.11.19"><b>11.19</b></a>, <a href="#rfc.iref.e.23">A</a></li><li>rdf:Description&nbsp;&nbsp;<a href="#rfc.iref.e.29">A</a></li><li>ref&nbsp;&nbsp;<a href="#rfc.section.11.20"><b>11.20</b></a>, <a href="#rfc.iref.e.24">A</a></li><li>source&nbsp;&nbsp;<a href="#rfc.section.11.21"><b>11.21</b></a>, <a href="#rfc.iref.e.25">A</a></li><li>span&nbsp;&nbsp;<a href="#rfc.iref.e.27">A</a></li><li>sup&nbsp;&nbsp;<a href="#rfc.section.11.22"><b>11.22</b></a>, <a href="#rfc.iref.e.26">A</a></li><li>x&nbsp;&nbsp;<a href="#rfc.iref.e.28">A</a></li></ul></li></ul></li><li><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul><li>feedback Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.10"><b>11.10</b></a>, <a href="#rfc.iref.f.4">A</a></li><li>Firefox&nbsp;&nbsp;<ul><li>1.*/2.*&nbsp;&nbsp;<a href="#rfc.iref.f.3">5.2</a></li><li>3.*&nbsp;&nbsp;<a href="#rfc.iref.f.2">5.2</a></li></ul></li><li>footer PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.f.1">3.1</a></li></ul></li><li><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul><li>generator HTML META element&nbsp;&nbsp;<a href="#rfc.iref.g.2">6.3</a></li><li>Google Chrome&nbsp;&nbsp;<a href="#rfc.iref.g.1">5.2</a></li><li>Grammar&nbsp;&nbsp;<a href="#rfc.section.A"><b>A</b></a></li></ul></li><li><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul><li>h Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.11"><b>11.11</b></a>, <a href="#rfc.iref.h.12">A</a></li><li>header PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.h.1">3.1</a></li><li>highlight Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.12"><b>11.12</b></a>, <a href="#rfc.iref.h.13">A</a></li><li><em>HTML</em>&nbsp;&nbsp;<a href="#rfc.xref.HTML.1">6.1</a>, <a href="#rfc.xref.HTML.2">11.6</a>, <a href="#rfc.xref.HTML.3">11.9</a>, <a href="#rfc.xref.HTML.4">11.19</a>, <a href="#rfc.xref.HTML.5">11.22</a>, <a href="#HTML"><b>14</b></a><ul><li><em>Section 9.2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.HTML.3">11.9</a></li><li><em>Section 9.2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.HTML.2">11.6</a>, <a href="#rfc.xref.HTML.4">11.19</a></li><li><em>Section 9.2.3</em>&nbsp;&nbsp;<a href="#rfc.xref.HTML.5">11.22</a></li></ul></li><li>HTML compliance&nbsp;&nbsp;<a href="#rfc.iref.h.2">6.1</a></li><li>HTML LINK elements&nbsp;&nbsp;<ul><li>alternate&nbsp;&nbsp;<a href="#rfc.iref.h.3">6.2</a></li><li>appendix&nbsp;&nbsp;<a href="#rfc.iref.h.4">6.2</a></li><li>author&nbsp;&nbsp;<a href="#rfc.iref.h.5">6.2</a></li><li>chapter&nbsp;&nbsp;<a href="#rfc.iref.h.6">6.2</a></li><li>contents&nbsp;&nbsp;<a href="#rfc.iref.h.7">6.2</a></li><li>copyright&nbsp;&nbsp;<a href="#rfc.iref.h.8">6.2</a></li><li>index&nbsp;&nbsp;<a href="#rfc.iref.h.9">6.2</a></li></ul></li><li>HTML META elements&nbsp;&nbsp;<ul><li>generator&nbsp;&nbsp;<a href="#rfc.iref.h.10">6.3</a></li><li>keywords&nbsp;&nbsp;<a href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul><li>Identifier DCMI property&nbsp;&nbsp;<a href="#rfc.iref.i.13">6.4</a></li><li>include PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.3">3.2</a></li><li>include-author Extension Element&nbsp;&nbsp;<a href="#rfc.iref.i.15">A</a></li><li>include-index PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.4">3.3</a></li><li>include-references-in-index PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.5">3.3</a></li><li>index HTML LINK element&nbsp;&nbsp;<a href="#rfc.iref.i.12">6.2</a></li><li>inline PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.1">3.1</a></li><li>insert-metadata PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.6">3.3</a></li><li>Internet Explorer 5.5&nbsp;&nbsp;<a href="#rfc.iref.i.7">5.2</a></li><li>Internet Explorer 6&nbsp;&nbsp;<a href="#rfc.iref.i.8">5.2</a></li><li>Internet Explorer 7&nbsp;&nbsp;<a href="#rfc.iref.i.9">5.2</a></li><li>Internet Explorer 8&nbsp;&nbsp;<a href="#rfc.iref.i.10">5.2</a></li><li>Internet Explorer 9&nbsp;&nbsp;<a href="#rfc.iref.i.11">5.2</a></li><li>iprnotified PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.i.2">3.1</a></li><li>isPartOf DCMI property&nbsp;&nbsp;<a href="#rfc.iref.i.14">6.4</a></li></ul></li><li><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul><li>justification PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.j.1">3.3</a></li></ul></li><li><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul><li>keywords HTML META element&nbsp;&nbsp;<a href="#rfc.iref.k.1">6.3</a></li></ul></li><li><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul><li>length-of Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.13"><b>11.13</b></a>, <a href="#rfc.iref.l.3">A</a></li><li>li V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.9"><b>12.9</b></a>, <a href="#rfc.iref.l.2">A</a></li><li>link Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.14"><b>11.14</b></a>, <a href="#rfc.iref.l.4">A</a></li><li>linkmailto PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.l.1">3.1</a></li><li>lt Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.15"><b>11.15</b></a>, <a href="#rfc.iref.l.5">A</a></li></ul></li><li><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul><li>Microsoft Help&nbsp;&nbsp;<a href="#rfc.iref.m.5">8</a></li><li>Mozilla&nbsp;&nbsp;<a href="#rfc.iref.m.3">5.2</a>, <a href="#rfc.iref.m.4">5.2</a></li><li>MSXML3&nbsp;&nbsp;<a href="#rfc.iref.m.1">5.1</a></li><li>MSXML4&nbsp;&nbsp;<a href="#rfc.iref.m.2">5.1</a></li></ul></li><li><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul><li>name V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.10"><b>12.10</b></a>, <a href="#rfc.iref.n.3">A</a></li><li>needLines PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.n.1">3.2</a></li><li>NoScript&nbsp;&nbsp;<a href="#rfc.iref.n.2">5.2</a></li><li>note Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.16"><b>11.16</b></a>, <a href="#rfc.iref.n.4">A</a></li></ul></li><li><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul><li>ol V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.11"><b>12.11</b></a>, <a href="#rfc.iref.o.3">A</a></li><li>Opera&nbsp;&nbsp;<a href="#rfc.iref.o.1">5.2</a>, <a href="#rfc.iref.o.2">5.2</a></li></ul></li><li><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul><li>Parameters&nbsp;&nbsp;<ul><li>xml2rfc-background&nbsp;&nbsp;<a href="#rfc.iref.p.2">3.1</a></li><li>xml2rfc-comments&nbsp;&nbsp;<a href="#rfc.iref.p.6">3.1</a></li><li>xml2rfc-compact&nbsp;&nbsp;<a href="#rfc.iref.p.4">3.1</a></li><li>xml2rfc-editing&nbsp;&nbsp;<a href="#rfc.iref.p.8">3.1</a></li><li>xml2rfc-ext-allow-markup-in-artwork&nbsp;&nbsp;<a href="#rfc.iref.p.44">3.3</a></li><li>xml2rfc-ext-authors-section&nbsp;&nbsp;<a href="#rfc.iref.p.46">3.3</a></li><li>xml2rfc-ext-duplex&nbsp;&nbsp;<a href="#rfc.iref.p.48">3.3</a></li><li>xml2rfc-ext-include-index&nbsp;&nbsp;<a href="#rfc.iref.p.50">3.3</a></li><li>xml2rfc-ext-include-references-in-index&nbsp;&nbsp;<a href="#rfc.iref.p.52">3.3</a></li><li>xml2rfc-ext-insert-metadata&nbsp;&nbsp;<a href="#rfc.iref.p.54">3.3</a></li><li>xml2rfc-ext-justification&nbsp;&nbsp;<a href="#rfc.iref.p.56">3.3</a></li><li>xml2rfc-ext-parse-xml-in-artwork&nbsp;&nbsp;<a href="#rfc.iref.p.59">3.3</a></li><li>xml2rfc-ext-sec-no-trailing-dots&nbsp;&nbsp;<a href="#rfc.iref.p.61">3.3</a></li><li>xml2rfc-ext-support-rfc2731&nbsp;&nbsp;<a href="#rfc.iref.p.63">3.3</a></li><li>xml2rfc-footer&nbsp;&nbsp;<a href="#rfc.iref.p.10">3.1</a></li><li>xml2rfc-header&nbsp;&nbsp;<a href="#rfc.iref.p.12">3.1</a></li><li>xml2rfc-inline&nbsp;&nbsp;<a href="#rfc.iref.p.14">3.1</a></li><li>xml2rfc-iprnotified&nbsp;&nbsp;<a href="#rfc.iref.p.16">3.1</a></li><li>xml2rfc-linkmailto&nbsp;&nbsp;<a href="#rfc.iref.p.18">3.1</a></li><li>xml2rfc-private&nbsp;&nbsp;<a href="#rfc.iref.p.21">3.1</a></li><li>xml2rfc-refparent&nbsp;&nbsp;<a href="#rfc.iref.p.23">3.1</a></li><li>xml2rfc-rfcedstyle&nbsp;&nbsp;<a href="#rfc.iref.p.25">3.1</a></li><li>xml2rfc-sortrefs&nbsp;&nbsp;<a href="#rfc.iref.p.27">3.1</a></li><li>xml2rfc-symrefs&nbsp;&nbsp;<a href="#rfc.iref.p.29">3.1</a></li><li>xml2rfc-toc&nbsp;&nbsp;<a href="#rfc.iref.p.31">3.1</a></li><li>xml2rfc-tocdepth&nbsp;&nbsp;<a href="#rfc.iref.p.33">3.1</a></li><li>xml2rfc-topblock&nbsp;&nbsp;<a href="#rfc.iref.p.35">3.1</a></li></ul></li><li>parse-xml Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.17"><b>11.17</b></a>, <a href="#rfc.iref.p.65">A</a></li><li>parse-xml-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.p.57">3.3</a></li><li>postalLine V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.12"><b>12.12</b></a>, <a href="#rfc.iref.p.64">A</a></li><li>private PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.p.19">3.1</a>, <a href="#rfc.iref.p.67">D</a></li><li>Processing Instruction pseudo attributes&nbsp;&nbsp;<ul><li>allow-markup-in-artwork&nbsp;&nbsp;<a href="#rfc.iref.p.43">3.3</a></li><li>authors-section&nbsp;&nbsp;<a href="#rfc.iref.p.45">3.3</a></li><li>background&nbsp;&nbsp;<a href="#rfc.iref.p.1">3.1</a></li><li>comments&nbsp;&nbsp;<a href="#rfc.iref.p.5">3.1</a></li><li>compact&nbsp;&nbsp;<a href="#rfc.iref.p.3">3.1</a></li><li>duplex&nbsp;&nbsp;<a href="#rfc.iref.p.47">3.3</a></li><li>editing&nbsp;&nbsp;<a href="#rfc.iref.p.7">3.1</a></li><li>footer&nbsp;&nbsp;<a href="#rfc.iref.p.9">3.1</a></li><li>header&nbsp;&nbsp;<a href="#rfc.iref.p.11">3.1</a></li><li>ijustification&nbsp;&nbsp;<a href="#rfc.iref.p.55">3.3</a></li><li>include&nbsp;&nbsp;<a href="#rfc.iref.p.36">3.2</a></li><li>include-index&nbsp;&nbsp;<a href="#rfc.iref.p.49">3.3</a></li><li>include-references-in-index&nbsp;&nbsp;<a href="#rfc.iref.p.51">3.3</a></li><li>inline&nbsp;&nbsp;<a href="#rfc.iref.p.13">3.1</a></li><li>insert-metadata&nbsp;&nbsp;<a href="#rfc.iref.p.53">3.3</a></li><li>iprnotified&nbsp;&nbsp;<a href="#rfc.iref.p.15">3.1</a></li><li>linkmailto&nbsp;&nbsp;<a href="#rfc.iref.p.17">3.1</a></li><li>needLines&nbsp;&nbsp;<a href="#rfc.iref.p.37">3.2</a></li><li>parse-xml-in-artwork&nbsp;&nbsp;<a href="#rfc.iref.p.58">3.3</a></li><li>private&nbsp;&nbsp;<a href="#rfc.iref.p.20">3.1</a>, <a href="#rfc.iref.p.68">D</a></li><li>refparent&nbsp;&nbsp;<a href="#rfc.iref.p.22">3.1</a></li><li>rfcedstyle&nbsp;&nbsp;<a href="#rfc.iref.p.24">3.1</a></li><li>sec-no-trailing-dots&nbsp;&nbsp;<a href="#rfc.iref.p.60">3.3</a></li><li>slides&nbsp;&nbsp;<a href="#rfc.iref.p.38">3.2</a></li><li>sortrefs&nbsp;&nbsp;<a href="#rfc.iref.p.26">3.1</a></li><li>strict&nbsp;&nbsp;<a href="#rfc.iref.p.39">3.2</a></li><li>subcompact&nbsp;&nbsp;<a href="#rfc.iref.p.40">3.2</a></li><li>support-rfc2731&nbsp;&nbsp;<a href="#rfc.iref.p.62">3.3</a></li><li>symrefs&nbsp;&nbsp;<a href="#rfc.iref.p.28">3.1</a></li><li>toc&nbsp;&nbsp;<a href="#rfc.iref.p.30">3.1</a></li><li>tocdepth&nbsp;&nbsp;<a href="#rfc.iref.p.32">3.1</a></li><li>tocindent&nbsp;&nbsp;<a href="#rfc.iref.p.41">3.2</a></li><li>tocompact&nbsp;&nbsp;<a href="#rfc.iref.p.42">3.2</a></li><li>topblock&nbsp;&nbsp;<a href="#rfc.iref.p.34">3.1</a></li></ul></li><li>prose Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.18"><b>11.18</b></a>, <a href="#rfc.iref.p.66">A</a></li></ul></li><li><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul><li>q Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.19"><b>11.19</b></a>, <a href="#rfc.iref.q.1">A</a></li></ul></li><li><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul><li>rdf:Description Extension Element&nbsp;&nbsp;<a href="#rfc.iref.r.25">A</a></li><li>ref Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.20"><b>11.20</b></a>, <a href="#rfc.iref.r.24">A</a></li><li>refcontent V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.13"><b>12.13</b></a>, <a href="#rfc.iref.r.23">A</a></li><li>reference V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.14"><b>12.14</b></a></li><li>refparent PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.r.1">3.1</a></li><li>Relation.Replaces DCMI property&nbsp;&nbsp;<a href="#rfc.iref.r.22">6.4</a></li><li>RELAX NG Compact Schema&nbsp;&nbsp;<a href="#rfc.section.A"><b>A</b></a></li><li>rfc.abstract anchor&nbsp;&nbsp;<a href="#rfc.iref.r.3">4</a></li><li>rfc.authors anchor&nbsp;&nbsp;<a href="#rfc.iref.r.4">4</a></li><li>rfc.copyright anchor&nbsp;&nbsp;<a href="#rfc.iref.r.5">4</a></li><li>rfc.copyrightnotice anchor&nbsp;&nbsp;<a href="#rfc.iref.r.6">4</a></li><li>rfc.figure.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.7">4</a>, <a href="#rfc.iref.r.18">4</a></li><li>rfc.figure.u.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.8">4</a>, <a href="#rfc.iref.r.19">4</a></li><li>rfc.index anchor&nbsp;&nbsp;<a href="#rfc.iref.r.9">4</a></li><li>rfc.ipr anchor&nbsp;&nbsp;<a href="#rfc.iref.r.10">4</a></li><li>rfc.iref.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.11">4</a></li><li>rfc.note.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.12">4</a></li><li>rfc.references anchor&nbsp;&nbsp;<a href="#rfc.iref.r.13">4</a></li><li>rfc.references.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.14">4</a></li><li>rfc.section.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.15">4</a></li><li>rfc.section.n.p.m anchor&nbsp;&nbsp;<a href="#rfc.iref.r.16">4</a></li><li>rfc.status anchor&nbsp;&nbsp;<a href="#rfc.iref.r.17">4</a></li><li>rfc.toc anchor&nbsp;&nbsp;<a href="#rfc.iref.r.20">4</a></li><li>rfc.xref.name.n anchor&nbsp;&nbsp;<a href="#rfc.iref.r.21">4</a></li><li><em>RFC2026</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2026.1">11.26</a>, <a href="#RFC2026"><b>14</b></a>, <a href="#rfc.xref.RFC2026.2">D.2</a><ul><li><em>Section 4</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2026.2">D.2</a></li><li><em>Section 4.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2026.1">11.26</a></li></ul></li><li><em>RFC2045</em>&nbsp;&nbsp;<a href="#RFC2045"><b>14</b></a>, <a href="#rfc.xref.RFC2045.1">B.1</a></li><li><em>RFC2119</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.1">11.3</a>, <a href="#rfc.xref.RFC2119.2">11.28</a>, <a href="#RFC2119"><b>14</b></a><ul><li><em>Section 5</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2119.2">11.28</a></li></ul></li><li><em>RFC2616</em>&nbsp;&nbsp;<a href="#RFC2616"><b>14</b></a>, <a href="#rfc.xref.RFC2616.1">B.1</a>, <a href="#rfc.xref.RFC2616.2">B.1</a>, <a href="#rfc.xref.RFC2616.3">B.1</a><ul><li><em>Section 2.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.1">B.1</a></li><li><em>Section 19.1</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2616.2">B.1</a>, <a href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li><em>RFC2629</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2629.1">1</a>, <a href="#RFC2629"><b>14</b></a></li><li><em>RFC2648</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2648.1">6.4</a>, <a href="#RFC2648"><b>14</b></a></li><li><em>RFC2731</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC2731.1">6.4</a>, <a href="#RFC2731"><b>14</b></a></li><li><em>RFC5234</em>&nbsp;&nbsp;<a href="#RFC5234"><b>14</b></a>, <a href="#rfc.xref.RFC5234.1">B.1</a></li><li><em>RFC5741</em>&nbsp;&nbsp;<a href="#RFC5741"><b>14</b></a>, <a href="#rfc.xref.RFC5741.1">D.3</a>, <a href="#rfc.xref.RFC5741.2">D.3</a>, <a href="#rfc.xref.RFC5741.3">D.4</a><ul><li><em>Section 3.2.2</em>&nbsp;&nbsp;<a href="#rfc.xref.RFC5741.2">D.3</a>, <a href="#rfc.xref.RFC5741.3">D.4</a></li></ul></li><li>rfcedstyle PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.r.2">3.1</a></li><li><em>RNC</em>&nbsp;&nbsp;<a href="#RNC"><b>14</b></a>, <a href="#rfc.xref.RNC.1">A</a>, <a href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul><li>Safari&nbsp;&nbsp;<a href="#rfc.iref.s.9">5.2</a>, <a href="#rfc.iref.s.11">5.2</a><ul><li>3.*&nbsp;&nbsp;<a href="#rfc.iref.s.10">5.2</a></li></ul></li><li>Saxon&nbsp;&nbsp;<a href="#rfc.iref.s.8">5.1</a></li><li>Schema&nbsp;&nbsp;<a href="#rfc.section.A"><b>A</b></a></li><li>sec-no-trailing-dots PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.6">3.3</a></li><li>section V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.15"><b>12.15</b></a></li><li>slides PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.3">3.2</a></li><li>sortrefs PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.1">3.1</a></li><li>source Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.21"><b>11.21</b></a>, <a href="#rfc.iref.s.15">A</a></li><li>span Extension Element&nbsp;&nbsp;<a href="#rfc.iref.s.17">A</a></li><li>strict PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.4">3.2</a></li><li>strong V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.16"><b>12.16</b></a>, <a href="#rfc.iref.s.12">A</a></li><li>sub V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.17"><b>12.17</b></a>, <a href="#rfc.iref.s.13">A</a></li><li>subcompact PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.5">3.2</a></li><li>sup Extension Element&nbsp;&nbsp;<a href="#rfc.section.11.22"><b>11.22</b></a>, <a href="#rfc.iref.s.16">A</a></li><li>sup V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.18"><b>12.18</b></a>, <a href="#rfc.iref.s.14">A</a></li><li>support-rfc2731 PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.7">3.3</a></li><li>symrefs PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.s.2">3.1</a></li></ul></li><li><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul><li>toc PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.1">3.1</a></li><li>tocdepth PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.2">3.1</a></li><li>tocindent PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.4">3.2</a></li><li>tocompact PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.5">3.2</a></li><li>topblock PI pseudo-attribute&nbsp;&nbsp;<a href="#rfc.iref.t.3">3.1</a></li><li>tt V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.19"><b>12.19</b></a>, <a href="#rfc.iref.t.6">A</a></li></ul></li><li><a id="rfc.index.U" href="#rfc.index.U"><b>U</b></a><ul><li>ul V3 Extension Element&nbsp;&nbsp;<a href="#rfc.section.12.20"><b>12.20</b></a>, <a href="#rfc.iref.u.1">A</a></li></ul></li><li><a id="rfc.index.V" href="#rfc.index.V"><b>V</b></a><ul><li>V3 Extension Elements&nbsp;&nbsp;<ul><li>aside&nbsp;&nbsp;<a href="#rfc.section.12.1"><b>12.1</b></a>, <a href="#rfc.iref.v.1">A</a></li><li>bcp14&nbsp;&nbsp;<a href="#rfc.section.12.2"><b>12.2</b></a>, <a href="#rfc.iref.v.2">A</a></li><li>blockquote&nbsp;&nbsp;<a href="#rfc.section.12.3"><b>12.3</b></a>, <a href="#rfc.iref.v.3">A</a></li><li>dd&nbsp;&nbsp;<a href="#rfc.section.12.5"><b>12.5</b></a>, <a href="#rfc.iref.v.5">A</a></li><li>displayreference&nbsp;&nbsp;<a href="#rfc.section.12.4"><b>12.4</b></a>, <a href="#rfc.iref.v.4">A</a></li><li>dl&nbsp;&nbsp;<a href="#rfc.section.12.6"><b>12.6</b></a>, <a href="#rfc.iref.v.6">A</a></li><li>dt&nbsp;&nbsp;<a href="#rfc.section.12.7"><b>12.7</b></a>, <a href="#rfc.iref.v.7">A</a></li><li>em&nbsp;&nbsp;<a href="#rfc.section.12.8"><b>12.8</b></a>, <a href="#rfc.iref.v.8">A</a></li><li>li&nbsp;&nbsp;<a href="#rfc.section.12.9"><b>12.9</b></a>, <a href="#rfc.iref.v.9">A</a></li><li>name&nbsp;&nbsp;<a href="#rfc.section.12.10"><b>12.10</b></a>, <a href="#rfc.iref.v.10">A</a></li><li>ol&nbsp;&nbsp;<a href="#rfc.section.12.11"><b>12.11</b></a>, <a href="#rfc.iref.v.11">A</a></li><li>postalLine&nbsp;&nbsp;<a href="#rfc.section.12.12"><b>12.12</b></a>, <a href="#rfc.iref.v.12">A</a></li><li>refcontent&nbsp;&nbsp;<a href="#rfc.section.12.13"><b>12.13</b></a>, <a href="#rfc.iref.v.13">A</a></li><li>reference&nbsp;&nbsp;<a href="#rfc.section.12.14"><b>12.14</b></a></li><li>section&nbsp;&nbsp;<a href="#rfc.section.12.15"><b>12.15</b></a></li><li>strong&nbsp;&nbsp;<a href="#rfc.section.12.16"><b>12.16</b></a>, <a href="#rfc.iref.v.14">A</a></li><li>sub&nbsp;&nbsp;<a href="#rfc.section.12.17"><b>12.17</b></a>, <a href="#rfc.iref.v.15">A</a></li><li>sup&nbsp;&nbsp;<a href="#rfc.section.12.18"><b>12.18</b></a>, <a href="#rfc.iref.v.16">A</a></li><li>tt&nbsp;&nbsp;<a href="#rfc.section.12.19"><b>12.19</b></a>, <a href="#rfc.iref.v.17">A</a></li><li>ul&nbsp;&nbsp;<a href="#rfc.section.12.20"><b>12.20</b></a>, <a href="#rfc.iref.v.18">A</a></li></ul></li></ul></li><li><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul><li>x Extension Element&nbsp;&nbsp;<a href="#rfc.iref.x.32">A</a></li><li>Xalan&nbsp;&nbsp;<a href="#rfc.iref.x.29">5.1</a></li><li><em>XHTML2</em>&nbsp;&nbsp;<a href="#rfc.xref.XHTML2.1">11.11</a>, <a href="#XHTML2"><b>14</b></a></li><li><em>XML</em>&nbsp;&nbsp;<a href="#XML"><b>14</b></a>, <a href="#rfc.xref.XML.1">C.1</a><ul><li><em>Section 2.8</em>&nbsp;&nbsp;<a href="#rfc.xref.XML.1">C.1</a></li></ul></li><li>xml-stylesheet PI&nbsp;&nbsp;<a href="#rfc.iref.x.31">6</a></li><li>xml2rfc-background parameter&nbsp;&nbsp;<a href="#rfc.iref.x.2">3.1</a></li><li>xml2rfc-comments parameter&nbsp;&nbsp;<a href="#rfc.iref.x.4">3.1</a></li><li>xml2rfc-editing parameter&nbsp;&nbsp;<a href="#rfc.iref.x.3">3.1</a>, <a href="#rfc.iref.x.5">3.1</a></li><li>xml2rfc-ext-allow-markup-in-artwork parameter&nbsp;&nbsp;<a href="#rfc.iref.x.19">3.3</a></li><li>xml2rfc-ext-authors-section parameter&nbsp;&nbsp;<a href="#rfc.iref.x.20">3.3</a></li><li>xml2rfc-ext-duplex&nbsp;&nbsp;<a href="#rfc.iref.x.21">3.3</a></li><li>xml2rfc-ext-include-index parameter&nbsp;&nbsp;<a href="#rfc.iref.x.22">3.3</a></li><li>xml2rfc-ext-include-references-in-index parameter&nbsp;&nbsp;<a href="#rfc.iref.x.23">3.3</a></li><li>xml2rfc-ext-insert-metadata parameter&nbsp;&nbsp;<a href="#rfc.iref.x.24">3.3</a></li><li>xml2rfc-ext-justification parameter&nbsp;&nbsp;<a href="#rfc.iref.x.25">3.3</a></li><li>xml2rfc-ext-parse-xml-in-artwork parameter&nbsp;&nbsp;<a href="#rfc.iref.x.26">3.3</a></li><li>xml2rfc-ext-sec-no-trailing-dots parameter&nbsp;&nbsp;<a href="#rfc.iref.x.27">3.3</a></li><li>xml2rfc-ext-support-rfc2731 parameter&nbsp;&nbsp;<a href="#rfc.iref.x.28">3.3</a></li><li>xml2rfc-footer parameter&nbsp;&nbsp;<a href="#rfc.iref.x.6">3.1</a></li><li>xml2rfc-header parameter&nbsp;&nbsp;<a href="#rfc.iref.x.7">3.1</a></li><li>xml2rfc-inline parameter&nbsp;&nbsp;<a href="#rfc.iref.x.8">3.1</a></li><li>xml2rfc-iprnotified parameter&nbsp;&nbsp;<a href="#rfc.iref.x.9">3.1</a></li><li>xml2rfc-linkmailto parameter&nbsp;&nbsp;<a href="#rfc.iref.x.10">3.1</a></li><li>xml2rfc-private parameter&nbsp;&nbsp;<a href="#rfc.iref.x.11">3.1</a></li><li>xml2rfc-refparent parameter&nbsp;&nbsp;<a href="#rfc.iref.x.12">3.1</a></li><li>xml2rfc-rfcedstyle parameter&nbsp;&nbsp;<a href="#rfc.iref.x.13">3.1</a></li><li>xml2rfc-sortrefs parameter&nbsp;&nbsp;<a href="#rfc.iref.x.14">3.1</a></li><li>xml2rfc-symrefs parameter&nbsp;&nbsp;<a href="#rfc.iref.x.15">3.1</a></li><li>xml2rfc-toc parameter&nbsp;&nbsp;<a href="#rfc.iref.x.16">3.1</a></li><li>xml2rfc-tocdepth parameter&nbsp;&nbsp;<a href="#rfc.iref.x.17">3.1</a></li><li>xml2rfc-topblock parameter&nbsp;&nbsp;<a href="#rfc.iref.x.18">3.1</a></li><li><em>XML2RFCV2</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV2.1">1</a>, <a href="#XML2RFCV2"><b>14</b></a></li><li><em>XML2RFCV3</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.1">12</a>, <a href="#rfc.xref.XML2RFCV3.2">12.1</a>, <a href="#rfc.xref.XML2RFCV3.3">12.2</a>, <a href="#rfc.xref.XML2RFCV3.4">12.3</a>, <a href="#rfc.xref.XML2RFCV3.5">12.4</a>, <a href="#rfc.xref.XML2RFCV3.6">12.5</a>, <a href="#rfc.xref.XML2RFCV3.7">12.6</a>, <a href="#rfc.xref.XML2RFCV3.8">12.7</a>, <a href="#rfc.xref.XML2RFCV3.9">12.8</a>, <a href="#rfc.xref.XML2RFCV3.10">12.9</a>, <a href="#rfc.xref.XML2RFCV3.11">12.10</a>, <a href="#rfc.xref.XML2RFCV3.12">12.11</a>, <a href="#rfc.xref.XML2RFCV3.13">12.12</a>, <a href="#rfc.xref.XML2RFCV3.14">12.13</a>, <a href="#rfc.xref.XML2RFCV3.15">12.14</a>, <a href="#rfc.xref.XML2RFCV3.16">12.14.1</a>, <a href="#rfc.xref.XML2RFCV3.17">12.15</a>, <a href="#rfc.xref.XML2RFCV3.18">12.15.1</a>, <a href="#rfc.xref.XML2RFCV3.19">12.15.2</a>, <a href="#rfc.xref.XML2RFCV3.20">12.16</a>, <a href="#rfc.xref.XML2RFCV3.21">12.17</a>, <a href="#rfc.xref.XML2RFCV3.22">12.18</a>, <a href="#rfc.xref.XML2RFCV3.23">12.19</a>, <a href="#rfc.xref.XML2RFCV3.24">12.20</a>, <a href="#rfc.xref.XML2RFCV3.25">12.21.1</a>, <a href="#rfc.xref.XML2RFCV3.26">12.21.2</a>, <a href="#rfc.xref.XML2RFCV3.27">12.21.3</a>, <a href="#XML2RFCV3"><b>14</b></a><ul><li><em>Section 2.6</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.2">12.1</a></li><li><em>Section 2.9</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.3">12.2</a></li><li><em>Section 2.10</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.4">12.3</a></li><li><em>Section 2.18</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.6">12.5</a></li><li><em>Section 2.19</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.5">12.4</a></li><li><em>Section 2.20</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.7">12.6</a></li><li><em>Section 2.21</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.8">12.7</a></li><li><em>Section 2.22</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.9">12.8</a></li><li><em>Section 2.29</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.10">12.9</a></li><li><em>Section 2.32</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.11">12.10</a></li><li><em>Section 2.34</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.12">12.11</a></li><li><em>Section 2.38</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.13">12.12</a></li><li><em>Section 2.39</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.14">12.13</a></li><li><em>Section 2.40</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.15">12.14</a></li><li><em>Section 2.40.2</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.16">12.14.1</a></li><li><em>Section 2.45</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.17">12.15</a></li><li><em>Section 2.45.2</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.18">12.15.1</a></li><li><em>Section 2.45.4</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.19">12.15.2</a></li><li><em>Section 2.49</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.20">12.16</a></li><li><em>Section 2.50</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.21">12.17</a></li><li><em>Section 2.51</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.22">12.18</a></li><li><em>Section 2.61</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.23">12.19</a></li><li><em>Section 2.62</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.24">12.20</a></li><li><em>Section 2.65.3</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.25">12.21.1</a></li><li><em>Section 2.65.4</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.26">12.21.2</a></li><li><em>Section 2.65.5</em>&nbsp;&nbsp;<a href="#rfc.xref.XML2RFCV3.27">12.21.3</a></li></ul></li><li><em>XSL-FO</em>&nbsp;&nbsp;<a href="#rfc.xref.XSL-FO.1">9.1</a>, <a href="#rfc.xref.XSL-FO.2">9.1</a>, <a href="#XSL-FO"><b>14</b></a></li><li>xsltproc&nbsp;&nbsp;<a href="#rfc.iref.x.30">5.1</a><ul><li>passing parameters&nbsp;&nbsp;<a href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div><hr class="noprint"><div class="avoidbreakinside"><h2 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h2><p><b>Julian F. Reschke</b><br>greenbytes GmbH<br>Hafenweg 16<br>Muenster, NW&nbsp;48155<br>Germany<br>EMail: <a href="mailto:julian.reschke@greenbytes.de">julian.reschke@greenbytes.de</a><br>URI: <a href="http://greenbytes.de/tech/webdav/">http://greenbytes.de/tech/webdav/</a></p></div></body></html>
  • rfc2629xslt/rfc2629xslt.txt

    r2738 r2740  
    44RFC2629 through XSLT                                          J. Reschke
    55                                                              greenbytes
    6                                                             May 19, 2015
     6                                                      September 24, 2015
    77
    88
     
    5656
    5757
    58 Documentation             RFC2629 through XSLT                  May 2015
     58Documentation             RFC2629 through XSLT            September 2015
    5959
    6060
     
    113113
    114114
    115 Documentation             RFC2629 through XSLT                  May 2015
     115Documentation             RFC2629 through XSLT            September 2015
    116116
    117117
     
    170170
    171171
    172 Documentation             RFC2629 through XSLT                  May 2015
     172Documentation             RFC2629 through XSLT            September 2015
    173173
    174174
     
    227227
    228228
    229 Documentation             RFC2629 through XSLT                  May 2015
     229Documentation             RFC2629 through XSLT            September 2015
    230230
    231231
     
    284284
    285285
    286 Documentation             RFC2629 through XSLT                  May 2015
     286Documentation             RFC2629 through XSLT            September 2015
    287287
    288288
     
    341341
    342342
    343 Documentation             RFC2629 through XSLT                  May 2015
     343Documentation             RFC2629 through XSLT            September 2015
    344344
    345345
     
    398398
    399399
    400 Documentation             RFC2629 through XSLT                  May 2015
     400Documentation             RFC2629 through XSLT            September 2015
    401401
    402402
     
    455455
    456456
    457 Documentation             RFC2629 through XSLT                  May 2015
     457Documentation             RFC2629 through XSLT            September 2015
    458458
    459459
     
    512512
    513513
    514 Documentation             RFC2629 through XSLT                  May 2015
     514Documentation             RFC2629 through XSLT            September 2015
    515515
    516516
     
    569569
    570570
    571 Documentation             RFC2629 through XSLT                  May 2015
     571Documentation             RFC2629 through XSLT            September 2015
    572572
    573573
     
    626626
    627627
    628 Documentation             RFC2629 through XSLT                  May 2015
     628Documentation             RFC2629 through XSLT            September 2015
    629629
    630630
     
    683683
    684684
    685 Documentation             RFC2629 through XSLT                  May 2015
     685Documentation             RFC2629 through XSLT            September 2015
    686686
    687687
     
    740740
    741741
    742 Documentation             RFC2629 through XSLT                  May 2015
     742Documentation             RFC2629 through XSLT            September 2015
    743743
    744744
     
    797797
    798798
    799 Documentation             RFC2629 through XSLT                  May 2015
     799Documentation             RFC2629 through XSLT            September 2015
    800800
    801801
     
    854854
    855855
    856 Documentation             RFC2629 through XSLT                  May 2015
     856Documentation             RFC2629 through XSLT            September 2015
    857857
    858858
     
    911911
    912912
    913 Documentation             RFC2629 through XSLT                  May 2015
     913Documentation             RFC2629 through XSLT            September 2015
    914914
    915915
     
    968968
    969969
    970 Documentation             RFC2629 through XSLT                  May 2015
     970Documentation             RFC2629 through XSLT            September 2015
    971971
    972972
     
    10251025
    10261026
    1027 Documentation             RFC2629 through XSLT                  May 2015
     1027Documentation             RFC2629 through XSLT            September 2015
    10281028
    10291029
     
    10821082
    10831083
    1084 Documentation             RFC2629 through XSLT                  May 2015
     1084Documentation             RFC2629 through XSLT            September 2015
    10851085
    10861086
     
    11391139
    11401140
    1141 Documentation             RFC2629 through XSLT                  May 2015
     1141Documentation             RFC2629 through XSLT            September 2015
    11421142
    11431143
     
    11961196
    11971197
    1198 Documentation             RFC2629 through XSLT                  May 2015
     1198Documentation             RFC2629 through XSLT            September 2015
    11991199
    12001200
     
    12531253
    12541254
    1255 Documentation             RFC2629 through XSLT                  May 2015
     1255Documentation             RFC2629 through XSLT            September 2015
    12561256
    12571257
     
    13101310
    13111311
    1312 Documentation             RFC2629 through XSLT                  May 2015
     1312Documentation             RFC2629 through XSLT            September 2015
    13131313
    13141314
     
    13671367
    13681368
    1369 Documentation             RFC2629 through XSLT                  May 2015
     1369Documentation             RFC2629 through XSLT            September 2015
    13701370
    13711371
     
    14241424
    14251425
    1426 Documentation             RFC2629 through XSLT                  May 2015
     1426Documentation             RFC2629 through XSLT            September 2015
    14271427
    14281428
     
    14811481
    14821482
    1483 Documentation             RFC2629 through XSLT                  May 2015
     1483Documentation             RFC2629 through XSLT            September 2015
    14841484
    14851485
     
    15381538
    15391539
    1540 Documentation             RFC2629 through XSLT                  May 2015
     1540Documentation             RFC2629 through XSLT            September 2015
    15411541
    15421542
     
    15951595
    15961596
    1597 Documentation             RFC2629 through XSLT                  May 2015
     1597Documentation             RFC2629 through XSLT            September 2015
    15981598
    15991599
     
    16521652
    16531653
    1654 Documentation             RFC2629 through XSLT                  May 2015
     1654Documentation             RFC2629 through XSLT            September 2015
    16551655
    16561656
     
    17091709
    17101710
    1711 Documentation             RFC2629 through XSLT                  May 2015
     1711Documentation             RFC2629 through XSLT            September 2015
    17121712
    17131713
     
    17661766
    17671767
    1768 Documentation             RFC2629 through XSLT                  May 2015
     1768Documentation             RFC2629 through XSLT            September 2015
    17691769
    17701770
     
    18231823
    18241824
    1825 Documentation             RFC2629 through XSLT                  May 2015
     1825Documentation             RFC2629 through XSLT            September 2015
    18261826
    18271827
     
    18801880
    18811881
    1882 Documentation             RFC2629 through XSLT                  May 2015
     1882Documentation             RFC2629 through XSLT            September 2015
    18831883
    18841884
     
    19371937
    19381938
    1939 Documentation             RFC2629 through XSLT                  May 2015
     1939Documentation             RFC2629 through XSLT            September 2015
    19401940
    19411941
     
    19941994
    19951995
    1996 Documentation             RFC2629 through XSLT                  May 2015
     1996Documentation             RFC2629 through XSLT            September 2015
    19971997
    19981998
     
    20512051
    20522052
    2053 Documentation             RFC2629 through XSLT                  May 2015
     2053Documentation             RFC2629 through XSLT            September 2015
    20542054
    20552055
     
    21082108
    21092109
    2110 Documentation             RFC2629 through XSLT                  May 2015
     2110Documentation             RFC2629 through XSLT            September 2015
    21112111
    21122112
     
    21652165
    21662166
    2167 Documentation             RFC2629 through XSLT                  May 2015
     2167Documentation             RFC2629 through XSLT            September 2015
    21682168
    21692169
     
    21722172   [BCP97]    Klensin, J. and S. Hartman, "Handling Normative References
    21732173              to Standards-Track Documents", BCP 97, RFC 4897,
    2174               DOI 10.17487/RFC4897, June 2007,
    2175               <http://www.rfc-editor.org/info/rfc4897>.
     2174              June 2007, <http://www.rfc-editor.org/info/bcp97>.
    21762175
    21772176   [DC-HTML]  Johnston, P. and A. Powell, "Expressing Dublin Core
     
    22162215              <http://www.rfc-editor.org/info/rfc2648>.
    22172216
     2217   [RFC2731]  Kunze, J., "Encoding Dublin Core Metadata in HTML",
    22182218
    22192219
     
    22222222
    22232223
    2224 Documentation             RFC2629 through XSLT                  May 2015
    2225 
    2226 
    2227    [RFC2731]  Kunze, J., "Encoding Dublin Core Metadata in HTML",
     2224Documentation             RFC2629 through XSLT            September 2015
     2225
     2226
    22282227              RFC 2731, DOI 10.17487/RFC2731, December 1999,
    22292228              <http://www.rfc-editor.org/info/rfc2731>.
     
    22732272              Latest version available at <http://www.w3.org/TR/xsl11/>.
    22742273
     2274   [1]  <http://www.exslt.org/exsl/functions/node-set/index.html>
    22752275
    22762276
     
    22792279
    22802280
    2281 Documentation             RFC2629 through XSLT                  May 2015
    2282 
    2283 
    2284    [1]  <http://www.exslt.org/exsl/functions/node-set/index.html>
     2281Documentation             RFC2629 through XSLT            September 2015
     2282
    22852283
    22862284   [2]  <http://www.exslt.org/date/functions/date-time/>
     
    23332331
    23342332
     2333
     2334
    23352335Reschke                                                        [Page 41]
    23362336
    23372337
    2338 Documentation             RFC2629 through XSLT                  May 2015
     2338Documentation             RFC2629 through XSLT            September 2015
    23392339
    23402340
     
    23932393
    23942394
    2395 Documentation             RFC2629 through XSLT                  May 2015
     2395Documentation             RFC2629 through XSLT            September 2015
    23962396
    23972397
     
    24502450
    24512451
    2452 Documentation             RFC2629 through XSLT                  May 2015
     2452Documentation             RFC2629 through XSLT            September 2015
    24532453
    24542454
     
    25072507
    25082508
    2509 Documentation             RFC2629 through XSLT                  May 2015
     2509Documentation             RFC2629 through XSLT            September 2015
    25102510
    25112511
     
    25642564
    25652565
    2566 Documentation             RFC2629 through XSLT                  May 2015
     2566Documentation             RFC2629 through XSLT            September 2015
    25672567
    25682568
     
    26212621
    26222622
    2623 Documentation             RFC2629 through XSLT                  May 2015
     2623Documentation             RFC2629 through XSLT            September 2015
    26242624
    26252625
     
    26782678
    26792679
    2680 Documentation             RFC2629 through XSLT                  May 2015
     2680Documentation             RFC2629 through XSLT            September 2015
    26812681
    26822682
     
    27352735
    27362736
    2737 Documentation             RFC2629 through XSLT                  May 2015
     2737Documentation             RFC2629 through XSLT            September 2015
    27382738
    27392739
     
    27922792
    27932793
    2794 Documentation             RFC2629 through XSLT                  May 2015
     2794Documentation             RFC2629 through XSLT            September 2015
    27952795
    27962796
     
    28492849
    28502850
    2851 Documentation             RFC2629 through XSLT                  May 2015
     2851Documentation             RFC2629 through XSLT            September 2015
    28522852
    28532853
     
    29062906
    29072907
    2908 Documentation             RFC2629 through XSLT                  May 2015
     2908Documentation             RFC2629 through XSLT            September 2015
    29092909
    29102910
     
    29632963
    29642964
    2965 Documentation             RFC2629 through XSLT                  May 2015
     2965Documentation             RFC2629 through XSLT            September 2015
    29662966
    29672967
     
    30203020
    30213021
    3022 Documentation             RFC2629 through XSLT                  May 2015
     3022Documentation             RFC2629 through XSLT            September 2015
    30233023
    30243024
     
    30773077
    30783078
    3079 Documentation             RFC2629 through XSLT                  May 2015
     3079Documentation             RFC2629 through XSLT            September 2015
    30803080
    30813081
     
    31343134
    31353135
    3136 Documentation             RFC2629 through XSLT                  May 2015
     3136Documentation             RFC2629 through XSLT            September 2015
    31373137
    31383138
     
    31913191
    31923192
    3193 Documentation             RFC2629 through XSLT                  May 2015
     3193Documentation             RFC2629 through XSLT            September 2015
    31943194
    31953195
     
    32483248
    32493249
    3250 Documentation             RFC2629 through XSLT                  May 2015
     3250Documentation             RFC2629 through XSLT            September 2015
    32513251
    32523252
     
    33053305
    33063306
    3307 Documentation             RFC2629 through XSLT                  May 2015
     3307Documentation             RFC2629 through XSLT            September 2015
    33083308
    33093309
     
    33623362
    33633363
    3364 Documentation             RFC2629 through XSLT                  May 2015
     3364Documentation             RFC2629 through XSLT            September 2015
    33653365
    33663366
     
    34193419
    34203420
    3421 Documentation             RFC2629 through XSLT                  May 2015
     3421Documentation             RFC2629 through XSLT            September 2015
    34223422
    34233423
     
    34763476
    34773477
    3478 Documentation             RFC2629 through XSLT                  May 2015
     3478Documentation             RFC2629 through XSLT            September 2015
    34793479
    34803480
     
    35333533
    35343534
    3535 Documentation             RFC2629 through XSLT                  May 2015
     3535Documentation             RFC2629 through XSLT            September 2015
    35363536
    35373537
     
    35903590
    35913591
    3592 Documentation             RFC2629 through XSLT                  May 2015
     3592Documentation             RFC2629 through XSLT            September 2015
    35933593
    35943594
     
    36473647
    36483648
    3649 Documentation             RFC2629 through XSLT                  May 2015
     3649Documentation             RFC2629 through XSLT            September 2015
    36503650
    36513651
     
    37043704
    37053705
    3706 Documentation             RFC2629 through XSLT                  May 2015
     3706Documentation             RFC2629 through XSLT            September 2015
    37073707
    37083708
     
    37613761
    37623762
    3763 Documentation             RFC2629 through XSLT                  May 2015
     3763Documentation             RFC2629 through XSLT            September 2015
    37643764
    37653765
     
    38183818
    38193819
    3820 Documentation             RFC2629 through XSLT                  May 2015
     3820Documentation             RFC2629 through XSLT            September 2015
    38213821
    38223822
     
    38753875
    38763876
    3877 Documentation             RFC2629 through XSLT                  May 2015
     3877Documentation             RFC2629 through XSLT            September 2015
    38783878
    38793879
     
    39323932
    39333933
    3934 Documentation             RFC2629 through XSLT                  May 2015
     3934Documentation             RFC2629 through XSLT            September 2015
    39353935
    39363936
     
    39893989
    39903990
    3991 Documentation             RFC2629 through XSLT                  May 2015
     3991Documentation             RFC2629 through XSLT            September 2015
    39923992
    39933993
     
    40464046
    40474047
    4048 Documentation             RFC2629 through XSLT                  May 2015
     4048Documentation             RFC2629 through XSLT            September 2015
    40494049
    40504050
     
    41034103
    41044104
    4105 Documentation             RFC2629 through XSLT                  May 2015
     4105Documentation             RFC2629 through XSLT            September 2015
    41064106
    41074107
     
    41604160
    41614161
    4162 Documentation             RFC2629 through XSLT                  May 2015
     4162Documentation             RFC2629 through XSLT            September 2015
    41634163
    41644164
     
    42174217
    42184218
    4219 Documentation             RFC2629 through XSLT                  May 2015
     4219Documentation             RFC2629 through XSLT            September 2015
    42204220
    42214221
  • rfc2629xslt/samples/rfc2629.xslt

    r2739 r2740  
    236236  </xsl:choose>
    237237</xsl:variable>
     238
     239<!-- CSS class name remapping -->
     240
     241<xsl:param name="xml2rfc-ext-css-map"/>
     242
     243<xsl:template name="generate-css-class">
     244  <xsl:param name="name"/>
     245  <xsl:variable name="cssmap" select="document($xml2rfc-ext-css-map)"/>
     246  <xsl:variable name="entry" select="$cssmap/*/map[@from=$name]"/>
     247  <xsl:choose>
     248    <xsl:when test="$entry">
     249      <xsl:value-of select="$entry/@css"/>
     250    </xsl:when>
     251    <xsl:otherwise>
     252      <xsl:value-of select="$name"/>
     253    </xsl:otherwise>
     254  </xsl:choose>
     255</xsl:template>
     256
     257<!-- WORK IN PROGRESS; ONLY A FEW CLASSES SUPPORTED FOR NOW -->
     258<xsl:variable name="css-error"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'error'"/></xsl:call-template></xsl:variable>
     259<xsl:variable name="css-noprint"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'noprint'"/></xsl:call-template></xsl:variable>
     260<xsl:variable name="css-tcenter"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tcenter'"/></xsl:call-template></xsl:variable>
     261<xsl:variable name="css-tleft"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tleft'"/></xsl:call-template></xsl:variable>
     262<xsl:variable name="css-tright"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tright'"/></xsl:call-template></xsl:variable>
     263<xsl:variable name="css-tt"><xsl:call-template name="generate-css-class"><xsl:with-param name="name" select="'tt'"/></xsl:call-template></xsl:variable>
    238264
    239265<!-- RFC-Editor site linking -->
     
    702728<!-- does the document contain edits? -->
    703729<xsl:variable name="has-edits" select="//ed:ins | //ed:del | //ed:replace" />
     730
     731<!-- does the document have a published-as-rfc link? -->
     732<xsl:variable name="published-as-rfc" select="/*/x:link[@rel='Alternate' and starts-with(@title,'RFC')]"/>
     733
    704734
    705735<xsl:template match="text()[not(ancestor::artwork)]">
     
    723753<xsl:template match="abstract">
    724754  <xsl:call-template name="check-no-text-content"/>
    725   <h1 id="{$anchor-prefix}.abstract"><a href="#{$anchor-prefix}.abstract">Abstract</a></h1>
     755  <h2 id="{$anchor-prefix}.abstract"><a href="#{$anchor-prefix}.abstract">Abstract</a></h2>
    726756  <xsl:apply-templates />
    727757</xsl:template>
     
    12541284  </xsl:if>
    12551285
    1256   <p class="title" id="{$anchor-prefix}.title">
     1286  <div id="{$anchor-prefix}.title">
    12571287    <!-- main title -->
    12581288
    1259     <xsl:apply-templates select="title"/>
     1289    <h1><xsl:apply-templates select="title"/></h1>
    12601290    <xsl:if test="/rfc/@docName">
    12611291   
     
    12691299        </xsl:when>
    12701300        <xsl:otherwise>
    1271           <br/>
    1272           <span class="filename"><xsl:value-of select="$docname"/></span>
     1301          <div class="filename"><xsl:value-of select="$docname"/></div>
    12731302        </xsl:otherwise>
    12741303      </xsl:choose>
     
    12961325      </xsl:if>
    12971326
    1298 
    12991327      <xsl:if test="contains($docname,'--')">
    13001328        <xsl:call-template name="warning">
     
    13311359
    13321360    </xsl:if>
    1333   </p>
     1361  </div>
    13341362
    13351363  <!-- insert notice about update -->
    1336   <xsl:variable name="published-as" select="/*/x:link[@rel='Alternate' and starts-with(@title,'RFC')]"/>
    1337   <xsl:if test="$published-as">
    1338     <p style="color: green; text-align: center; font-size: 14pt; background-color: yellow;">
    1339       <b>Note:</b> a later version of this document has been published as <a href="{$published-as/@href}"><xsl:value-of select="$published-as/@title"/></a>.
     1364  <xsl:if test="$published-as-rfc">
     1365    <p class="publishedasrfc">
     1366      <b>Note:</b> a later version of this document has been published as <a href="{$published-as-rfc/@href}"><xsl:value-of select="$published-as-rfc/@title"/></a>.
    13401367    </p>
    13411368  </xsl:if>
     
    18671894  <xsl:call-template name="check-no-text-content"/>
    18681895  <xsl:variable name="num"><xsl:number/></xsl:variable>
    1869     <h1 id="{$anchor-prefix}.note.{$num}">
     1896    <h2 id="{$anchor-prefix}.note.{$num}">
    18701897      <xsl:call-template name="insertInsDelClass"/>
    18711898      <a href="#{$anchor-prefix}.note.{$num}">
    18721899        <xsl:value-of select="@title" />
    18731900      </a>
    1874     </h1>
     1901    </h2>
    18751902  <xsl:apply-templates />
    18761903</xsl:template>
     
    21232150              <!-- surname/initials is reversed for last author except when it's the only one -->
    21242151              <xsl:choose>
     2152                <xsl:when test="$truncated-initials='' and @surname">
     2153                  <xsl:value-of select="@surname"/>
     2154                </xsl:when>
    21252155                <xsl:when test="position()=last() and position()!=1">
    21262156                  <xsl:value-of select="concat($truncated-initials,' ',@surname)" />
     
    23162346  <xsl:if test="not(preceding::references) and $refseccount!=1">
    23172347    <xsl:call-template name="insert-conditional-hrule"/>
    2318     <h1 id="{$anchor-prefix}.references">
     2348    <h2 id="{$anchor-prefix}.references">
    23192349      <xsl:call-template name="insert-conditional-pagebreak"/>
    23202350      <xsl:variable name="sectionNumber">
     
    23282358      <xsl:text> </xsl:text>
    23292359      <xsl:value-of select="$xml2rfc-refparent"/>
    2330     </h1>
     2360    </h2>
    23312361  </xsl:if>
    23322362
    23332363  <xsl:variable name="elemtype">
    23342364    <xsl:choose>
    2335       <xsl:when test="$refseccount!=1">h2</xsl:when>
    2336       <xsl:otherwise>h1</xsl:otherwise>
     2365      <xsl:when test="$refseccount!=1">h3</xsl:when>
     2366      <xsl:otherwise>h2</xsl:otherwise>
    23372367    </xsl:choose>
    23382368  </xsl:variable>
     
    25312561        <meta name="description" content="{normalize-space(front/abstract)}" />
    25322562      </xsl:if>
    2533 
    25342563    </head>
    2535     <body>
    2536       <xsl:variable name="onload">
    2537         <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and /rfc/@number">getMeta(<xsl:value-of select="/rfc/@number"/>,"rfc.meta");</xsl:if>
    2538         <xsl:if test="/rfc/x:feedback">initFeedback();</xsl:if>
    2539         <xsl:if test="$xml2rfc-ext-refresh-from!=''">RfcRefresh.initRefresh()</xsl:if>
    2540       </xsl:variable>
    2541       <xsl:if test="$onload!=''">
    2542         <xsl:attribute name="onload">
    2543           <xsl:value-of select="$onload"/>
    2544         </xsl:attribute>
    2545       </xsl:if>
    2546 
    2547       <!-- insert diagnostics -->
    2548       <xsl:call-template name="insert-diagnostics"/>
    2549 
    2550       <xsl:apply-templates select="front" />
    2551       <xsl:apply-templates select="middle" />
    2552       <xsl:call-template name="back" />
    2553     </body>
     2564
     2565    <xsl:call-template name="body" />
    25542566  </html>
    25552567</xsl:template>
    25562568
     2569<xsl:template name="body">
     2570  <body>
     2571    <!-- insert onload scripts, when required -->
     2572    <xsl:variable name="onload">
     2573      <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and /rfc/@number">getMeta(<xsl:value-of select="/rfc/@number"/>,"rfc.meta");</xsl:if>
     2574      <xsl:if test="/rfc/x:feedback">initFeedback();</xsl:if>
     2575      <xsl:if test="$xml2rfc-ext-refresh-from!=''">RfcRefresh.initRefresh()</xsl:if>
     2576    </xsl:variable>
     2577    <xsl:if test="$onload!=''">
     2578      <xsl:attribute name="onload">
     2579        <xsl:value-of select="$onload"/>
     2580      </xsl:attribute>
     2581    </xsl:if>
     2582
     2583    <xsl:call-template name="add-start-material" />
     2584
     2585    <!-- insert diagnostics -->
     2586    <xsl:call-template name="insert-diagnostics"/>
     2587
     2588    <xsl:apply-templates select="front" />
     2589    <xsl:apply-templates select="middle" />
     2590    <xsl:call-template name="back" />
     2591
     2592    <xsl:call-template name="add-end-material" />
     2593  </body>
     2594</xsl:template>
    25572595
    25582596<xsl:template match="t">
     
    27702808  <xsl:variable name="elemtype">
    27712809    <xsl:choose>
    2772       <xsl:when test="count(ancestor::section) &lt;= 4">h<xsl:value-of select="1 + count(ancestor::section)"/></xsl:when>
     2810      <xsl:when test="count(ancestor::section) &lt;= 3">h<xsl:value-of select="2 + count(ancestor::section)"/></xsl:when>
    27732811      <xsl:otherwise>h6</xsl:otherwise>
    27742812    </xsl:choose>
     
    27762814
    27772815  <xsl:if test="$xml2rfc-ext-insert-metadata='yes' and $rfcno!='' and @anchor='rfc.status'">
    2778     <div id="{$anchor-prefix}.meta" style="float: right; border: 1px solid black; margin: 2em; padding: 1em; display: none;"></div>
     2816    <div id="{$anchor-prefix}.meta" class="docstatus"></div>
    27792817  </xsl:if>
    27802818  <div>
     
    35453583    <xsl:with-param name="msg">no XSLT template for element '<xsl:value-of select="name()"/>'</xsl:with-param>
    35463584  </xsl:call-template>
    3547   <tt class="error">&lt;<xsl:value-of select="name()" />&gt;</tt>
     3585  <tt class="{$css-error}">&lt;<xsl:value-of select="name()" />&gt;</tt>
    35483586  <xsl:copy><xsl:apply-templates select="node()|@*" /></xsl:copy>
    3549   <tt class="error">&lt;/<xsl:value-of select="name()" />&gt;</tt>
     3587  <tt class="{$css-error}">&lt;/<xsl:value-of select="name()" />&gt;</tt>
    35503588</xsl:template>
    35513589
     
    36263664      <xsl:variable name="area" select="normalize-space(.)"/>
    36273665      <xsl:variable name="rallowed">
    3628         <ed:v>Applications</ed:v>
    3629         <ed:v>app</ed:v>
     3666        <xsl:if test="$pub-yearmonth &lt; 201509">
     3667          <ed:v>Applications</ed:v>
     3668          <ed:v>app</ed:v>
     3669        </xsl:if>
     3670        <xsl:if test="$pub-yearmonth &gt; 201505">
     3671          <ed:v>Applications and Real-Time</ed:v>
     3672          <ed:v>art</ed:v>
     3673        </xsl:if>
    36303674        <ed:v>General</ed:v>
    36313675        <ed:v>gen</ed:v>
     
    36343678        <ed:v>Operations and Management</ed:v>
    36353679        <ed:v>ops</ed:v>
    3636         <ed:v>Real-time Applications and Infrastructure</ed:v>
    3637         <ed:v>rai</ed:v>
     3680        <xsl:if test="$pub-yearmonth &lt; 201509">
     3681          <ed:v>Real-time Applications and Infrastructure</ed:v>
     3682          <ed:v>rai</ed:v>
     3683        </xsl:if>
    36383684        <ed:v>Routing</ed:v>
    36393685        <ed:v>rtg</ed:v>
     
    36593705              </xsl:if>
    36603706            </xsl:for-each>
     3707            <xsl:text> (as of the publication date of </xsl:text>
     3708            <xsl:value-of select="$pub-yearmonth"/>
     3709            <xsl:text>)</xsl:text>
    36613710            </xsl:with-param>
    36623711          </xsl:call-template>
     
    39824031
    39834032    <div class="avoidbreakinside">
    3984       <h1 id="{$anchor-prefix}.authors">
     4033      <h2 id="{$anchor-prefix}.authors">
    39854034        <xsl:call-template name="insert-conditional-pagebreak"/>
    39864035        <xsl:if test="$number != ''">
     
    39894038        </xsl:if>
    39904039        <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a>
    3991       </h1>
     4040      </h2>
    39924041
    39934042      <xsl:apply-templates select="/rfc/front/author" />
     
    41874236  if (! window.XSLTProcessor) {
    41884237    var err = document.createElement("pre");
    4189     err.className = "refreshbrowsererror noprint";
     4238    err.className = "refreshbrowsererror <xsl:value-of select="$css-noprint"/>";
    41904239    var msg = "This browser does not support the window.XSLTProcessor functionality.";
    41914240    err.appendChild(document.createTextNode(msg));
     
    42094258    catch (e) {
    42104259      var err = document.createElement("pre");
    4211       err.className = "refreshbrowsererror noprint";
     4260      err.className = "refreshbrowsererror <xsl:value-of select="$css-noprint"/>";
    42124261      var msg = "Failed to load XSLT code from &lt;" + RfcRefresh.xsltsource + "&gt;.\n";
    42134262      msg += "Your browser might not support loading from a file: URI.\n";
     
    43304379    if (errmsg != null) {
    43314380      var err = document.createElement("pre");
    4332       err.className = "refreshxmlerror noprint";
     4381      err.className = "refreshxmlerror <xsl:value-of select="$css-noprint"/>";
    43334382      err.appendChild(document.createTextNode(errmsg.msg));
    43344383      if (errmsg.src != null) {
     
    44014450function initFeedback() {
    44024451  var fb = document.createElement("div");
    4403   fb.className = "feedback noprint";
     4452  fb.className = "feedback <xsl:value-of select="$css-noprint"/>";
    44044453  fb.setAttribute("onclick", "feedback();");
    44054454  fb.appendChild(document.createTextNode("feedback"));
     
    44674516
    44684517    var button = document.createElement("a");
    4469     button.className = "fbbutton noprint";
     4518    button.className = "fbbutton <xsl:value-of select="$css-noprint"/>";
    44704519    button.setAttribute("href", uri);
    44714520    button.appendChild(document.createTextNode("send feedback"));
     
    44764525    for (var i = 0; i &lt; buttons.length; i++) {
    44774526      var b = buttons.item(i);
    4478       if (b.className == "fbbutton noprint") {
     4527      if (b.className == "fbbutton <xsl:value-of select="$css-noprint"/>") {
    44794528        node.removeChild(b);
    44804529      }
     
    46694718}
    46704719h1 {
     4720  color: green;
     4721  font-size: 150%;
     4722  line-height: 18pt;
     4723  font-weight: bold;
     4724  text-align: center;
     4725  margin-top: 36pt;
     4726  margin-bottom: 0pt;
     4727}
     4728h2 {
    46714729  font-size: 130%;
    46724730  line-height: 21pt;
    46734731  page-break-after: avoid;
    46744732}
    4675 h1.np {
     4733h2.np {
    46764734  page-break-before: always;
    46774735}
    4678 h2 {
     4736h3 {
    46794737  font-size: 120%;
    46804738  line-height: 15pt;
    46814739  page-break-after: avoid;
    46824740}
    4683 h3 {
     4741h4 {
    46844742  font-size: 110%;
    46854743  page-break-after: avoid;
    46864744}
    4687 h4, h5, h6 {
     4745h5, h6 {
    46884746  page-break-after: avoid;
    46894747}
     
    47694827  margin-left: 2em;
    47704828}<xsl:if test="//texttable">
    4771 table.tt {
     4829table.<xsl:value-of select="$css-tt"/> {
    47724830  vertical-align: top;
    47734831  border-color: gray;
    47744832}
    4775 table.tt th {
     4833table.<xsl:value-of select="$css-tt"/> th {
    47764834  border-color: gray;
    47774835}
    4778 table.tt td {
     4836table.<xsl:value-of select="$css-tt"/> td {
    47794837  border-color: gray;
    47804838}
     
    47874845  border-width: 2px;
    47884846}
    4789 table.tt td {
     4847table.<xsl:value-of select="$css-tt"/> td {
    47904848  vertical-align: top;
    47914849}
     
    47984856  border-width: 1px;
    47994857}
    4800 table.tt th {
     4858table.<xsl:value-of select="$css-tt"/> th {
    48014859  vertical-align: top;
    48024860}
     
    48134871  border-width: 2px;
    48144872}
    4815 table.left {
     4873table.<xsl:value-of select="$css-tleft"/> {
    48164874  margin-right: auto;
    48174875}
    4818 table.right {
     4876table.<xsl:value-of select="$css-tright"/> {
    48194877  margin-left: auto;
    48204878}
    4821 table.center {
     4879table.<xsl:value-of select="$css-tcenter"/> {
    48224880  margin-left: auto;
    48234881  margin-right: auto;
     
    48804938  margin-left: 0em;
    48814939}
    4882 .title, .filename, h1, h2, h3, h4 {
     4940.filename, h1, h2, h3, h4 {
    48834941  font-family: candara, calibri, segoe, optima, arial, sans-serif;
    48844942}
     
    49224980  text-align: center;
    49234981}
    4924 .error {
     4982.<xsl:value-of select="$css-error"/> {
    49254983  color: red;
    49264984  font-style: italic;
     
    49344992.filename {
    49354993  color: #333333;
    4936   font-size: 75%;
     4994  font-size: 112%;
    49374995  font-weight: bold;
    49384996  line-height: 21pt;
    49394997  text-align: center;
     4998  margin-top: 0pt;
    49404999}
    49415000.fn {
     
    49475006.right {
    49485007  text-align: right;
    4949 }
    4950 .title {
    4951   color: green;
    4952   font-size: 150%;
    4953   line-height: 18pt;
    4954   font-weight: bold;
    4955   text-align: center;
    4956   margin-top: 36pt;
    49575008}
    49585009.warning {
     
    50745125dd, li, p {
    50755126  text-align: justify;
     5127}</xsl:if><xsl:if test="$xml2rfc-ext-insert-metadata='yes' and $rfcno!=''">
     5128.docstatus {
     5129  border: 1px solid black;
     5130  display: none;
     5131  float: right;
     5132  margin: 2em;
     5133  padding: 1em;
     5134}</xsl:if><xsl:if test="$published-as-rfc">
     5135.publishedasrfc {
     5136  background-color: yellow;
     5137  color: green;
     5138  font-size: 14pt;
     5139  text-align: center;
    50765140}</xsl:if>
    50775141
     
    50835147
    50845148@media print {
    5085   .noprint {
     5149  .<xsl:value-of select="$css-noprint"/> {
    50865150    display: none;
    50875151  }
     
    53115375  <xsl:call-template name="insert-conditional-hrule"/>
    53125376
    5313   <h1 id="{$anchor-prefix}.index">
     5377  <h2 id="{$anchor-prefix}.index">
    53145378    <xsl:call-template name="insert-conditional-pagebreak"/>
    53155379    <a href="#{$anchor-prefix}.index">Index</a>
    5316   </h1>
     5380  </h2>
    53175381
    53185382  <!-- generate navigation links to index subsections -->
    5319   <p class="noprint">
     5383  <p class="{$css-noprint}">
    53205384    <xsl:variable name="irefs" select="//iref[generate-id(.) = generate-id(key('index-first-letter',translate(substring(@item,1,1),$lcase,$ucase))[1])]"/>
    53215385    <xsl:variable name="xrefs" select="//reference[not(starts-with(@anchor,'deleted-'))][generate-id(.) = generate-id(key('index-first-letter',translate(substring(concat(/rfc/back/displayreference[@target=current()/@anchor]/@to,@anchor),1,1),$lcase,$ucase))[1])]"/>
     
    61206184
    61216185<xsl:template match="/" mode="toc">
    6122   <hr class="noprint"/>
     6186  <hr class="{$css-noprint}"/>
    61236187
    61246188  <div id="{$anchor-prefix}.toc">
    6125     <h1 class="np"> <!-- this pagebreak occurs always -->
     6189    <h2 class="np"> <!-- this pagebreak occurs always -->
    61266190      <a href="#{$anchor-prefix}.toc">Table of Contents</a>
    6127     </h1>
     6191    </h2>
    61286192 
    61296193    <ul class="toc">
     
    74107474      <!-- block level? -->
    74117475      <xsl:when test="not(ancestor::t) and not(ancestor::title) and not(ancestor::figure) and not($change/@ed:old-title)">
    7412         <div class="issuepointer noprint">
     7476        <div class="issuepointer {$css-noprint}">
    74137477          <xsl:if test="not($deleted-anchor)">
    74147478            <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
     
    74477511          <xsl:choose>
    74487512            <xsl:when test="//ed:issue[@name=$resolves and @status='closed']">
    7449               <xsl:attribute name="class">closed-issue noprint</xsl:attribute>
     7513              <xsl:attribute name="class">closed-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    74507514            </xsl:when>
    74517515            <xsl:when test="//ed:issue[@name=$resolves and @status='editor']">
    7452               <xsl:attribute name="class">editor-issue noprint</xsl:attribute>
     7516              <xsl:attribute name="class">editor-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    74537517            </xsl:when>
    74547518            <xsl:otherwise>
    7455               <xsl:attribute name="class">open-issue noprint</xsl:attribute>
     7519              <xsl:attribute name="class">open-issue <xsl:value-of select="$css-noprint"/></xsl:attribute>
    74567520            </xsl:otherwise>
    74577521          </xsl:choose>
     
    76487712      <xsl:choose>
    76497713        <xsl:when test="ancestor::t">
    7650           <span class="error"><xsl:value-of select="$message"/></span>
     7714          <span class="{$css-error}"><xsl:value-of select="$message"/></span>
    76517715        </xsl:when>
    76527716        <xsl:otherwise>
    7653           <div class="error"><xsl:value-of select="$message"/></div>
     7717          <div class="{$css-error}"><xsl:value-of select="$message"/></div>
    76547718        </xsl:otherwise>
    76557719      </xsl:choose>
     
    76787742    </xsl:if>
    76797743    <xsl:apply-templates select="preamble" />
     7744
    76807745    <xsl:variable name="style">
    7681       <xsl:text>tt </xsl:text>
     7746      <xsl:value-of select="$css-tt"/>
     7747      <xsl:text> </xsl:text>
    76827748      <xsl:choose>
    76837749        <xsl:when test="@style!=''">
     
    76877753      </xsl:choose>
    76887754      <xsl:choose>
    7689         <xsl:when test="@align='left'"> left</xsl:when>
    7690         <xsl:when test="@align='right'"> right</xsl:when>
    7691         <xsl:when test="@align='center' or not(@align) or @align=''"> center</xsl:when>
     7755        <xsl:when test="@align='left'"><xsl:text> </xsl:text><xsl:value-of select="$css-tleft"/></xsl:when>
     7756        <xsl:when test="@align='right'"><xsl:text> </xsl:text><xsl:value-of select="$css-tright"/></xsl:when>
     7757        <xsl:when test="@align='center' or not(@align) or @align=''"><xsl:text> </xsl:text><xsl:value-of select="$css-tcenter"/></xsl:when>
    76927758        <xsl:otherwise/>
    76937759      </xsl:choose>
    7694 
    76957760    </xsl:variable>
    76967761
     
    78417906  <xsl:call-template name="insert-conditional-hrule"/>
    78427907
    7843   <h1>
     7908  <h2>
    78447909    <xsl:call-template name="insert-conditional-pagebreak"/>
    78457910    <a id="{$anchor-prefix}.comments" href="#{$anchor-prefix}.comments">Editorial Comments</a>
    7846   </h1>
     7911  </h2>
    78477912
    78487913  <dl>
     
    80108075    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    80118076    <!-- when RCS keyword substitution in place, add version info -->
    8012     <xsl:if test="contains('$Revision: 1.733 $',':')">
    8013       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.733 $', 'Revision: '),'$','')),', ')" />
     8077    <xsl:if test="contains('$Revision: 1.743 $',':')">
     8078      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.743 $', 'Revision: '),'$','')),', ')" />
    80148079    </xsl:if>
    8015     <xsl:if test="contains('$Date: 2015/05/28 13:08:20 $',':')">
    8016       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2015/05/28 13:08:20 $', 'Date: '),'$','')),', ')" />
     8080    <xsl:if test="contains('$Date: 2015/09/25 12:36:08 $',':')">
     8081      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2015/09/25 12:36:08 $', 'Date: '),'$','')),', ')" />
    80178082    </xsl:if>
    80188083    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
     
    81518216<!-- reformat contents of author/@initials -->
    81528217<xsl:template name="format-initials">
    8153   <xsl:variable name="r">
    8154     <xsl:call-template name="t-format-initials">
    8155       <xsl:with-param name="remainder" select="normalize-space(@initials)"/>
    8156     </xsl:call-template>
    8157   </xsl:variable>
    8158 
    8159   <xsl:if test="$r!=@initials">
    8160     <xsl:call-template name="warning">
    8161       <xsl:with-param name="msg">@initials '<xsl:value-of select="@initials"/>': did you mean '<xsl:value-of select="$r"/>'?</xsl:with-param>
    8162     </xsl:call-template>
    8163   </xsl:if>
    8164 
    8165   <xsl:value-of select="$r"/>
     8218  <xsl:variable name="normalized" select="normalize-space(@initials)"/>
     8219
     8220  <xsl:choose>
     8221    <xsl:when test="$normalized=''">
     8222      <!-- nothing to do -->
     8223    </xsl:when>
     8224    <xsl:otherwise>
     8225      <xsl:variable name="r">
     8226        <xsl:call-template name="t-format-initials">
     8227          <xsl:with-param name="remainder" select="$normalized"/>
     8228        </xsl:call-template>
     8229      </xsl:variable>
     8230   
     8231      <xsl:if test="$r!=@initials">
     8232        <xsl:call-template name="warning">
     8233          <xsl:with-param name="msg">@initials '<xsl:value-of select="@initials"/>': did you mean '<xsl:value-of select="$r"/>'?</xsl:with-param>
     8234        </xsl:call-template>
     8235      </xsl:if>
     8236   
     8237      <xsl:value-of select="$r"/>
     8238    </xsl:otherwise>
     8239  </xsl:choose>
    81668240</xsl:template>
    81678241
     
    82218295  <xsl:param name="initials"/>
    82228296  <xsl:choose>
     8297    <xsl:when test="normalize-space($initials)=''"/>
    82238298    <xsl:when test="$xml2rfc-multiple-initials='yes'">
    82248299      <xsl:value-of select="$initials"/>
     
    82988373<xsl:template name="insert-conditional-hrule">
    82998374  <xsl:if test="$xml2rfc-compact!='yes'">
    8300     <hr class="noprint" />
     8375    <hr class="{$css-noprint}" />
    83018376  </xsl:if>
    83028377</xsl:template>
     
    87778852
    87788853<xsl:template name="warninvalid">
     8854  <xsl:param name="additionalDiagnostics"/>
    87798855  <xsl:variable name="pname">
    87808856    <xsl:if test="namespace-uri(..)!=''">
     
    87908866  </xsl:variable>
    87918867