Changeset 272


Ignore:
Timestamp:
Jul 6, 2008, 6:57:34 AM (11 years ago)
Author:
julian.reschke@…
Message:

Update to latest version of rfc2629.xslt, and take advantage of it.

Files:
23 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p1-messaging.html

    r271 r272  
    381381      <link rel="Appendix" title="D Compatibility with Previous Versions" href="#rfc.section.D">
    382382      <link rel="Appendix" title="E Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.E">
    383       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     383      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    384384      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
    385385      <meta name="DC.Creator" content="Fielding, R.">
     
    477477         <tr>
    478478            <td class="header left"></td>
    479             <td class="header right">July 3, 2008</td>
     479            <td class="header right">July 6, 2008</td>
    480480         </tr>
    481481      </table>
     
    29072907                        <li class="indline1"><em>Section 5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part3.2">1.3</a>, <a class="iref" href="#rfc.xref.Part3.3">1.3</a></li>
    29082908                        <li class="indline1"><em>Section 6.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part3.6">2.3</a></li>
    2909                         <li class="indline1"><em>Section A</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part3.4">1.4</a></li>
     2909                        <li class="indline1"><em>Appendix A</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part3.4">1.4</a></li>
    29102910                     </ul>
    29112911                  </li>
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r271 r272  
    10071007<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="HTTP-Version"/><iref primary="true" item="Grammar" subitem="HTTP-Prot-Name"/>
    10081008  <x:ref>HTTP-Version</x:ref>   = <x:ref>HTTP-Prot-Name</x:ref> "/" 1*<x:ref>DIGIT</x:ref> "." 1*<x:ref>DIGIT</x:ref>
    1009   <x:ref>HTTP-Prot-Name</x:ref> = %x48.54.54.50 ; "HTTP", case-sensitive
     1009  <x:ref>HTTP-Prot-Name</x:ref> = <x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence> ; "HTTP", case-sensitive
    10101010</artwork></figure>
    10111011<t>
  • draft-ietf-httpbis/latest/p2-semantics.html

    r271 r272  
    380380      <link rel="Appendix" title="A Compatibility with Previous Versions" href="#rfc.section.A">
    381381      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
    382       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     382      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    383383      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
    384384      <meta name="DC.Creator" content="Fielding, R.">
     
    477477         <tr>
    478478            <td class="header left"></td>
    479             <td class="header right">July 3, 2008</td>
     479            <td class="header right">July 6, 2008</td>
    480480         </tr>
    481481      </table>
     
    24742474                        <li class="indline1"><em>Section 8.8</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.14">2</a>, <a class="iref" href="#rfc.xref.Part1.16">4</a></li>
    24752475                        <li class="indline1"><em>Section 8.9</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.18">8.8</a>, <a class="iref" href="#rfc.xref.Part1.24">10.8</a>, <a class="iref" href="#rfc.xref.Part1.26">A.2</a></li>
    2476                         <li class="indline1"><em>Section A.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.19">8.8</a></li>
     2476                        <li class="indline1"><em>Appendix A.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part1.19">8.8</a></li>
    24772477                     </ul>
    24782478                  </li>
  • draft-ietf-httpbis/latest/p2-semantics.xml

    r271 r272  
    391391</t>
    392392<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Method"/><iref primary="true" item="Grammar" subitem="extension-method"/>
    393   <x:ref>Method</x:ref>         = %x4F.50.54.49.4F.4E.53   ; "OPTIONS", <xref target="OPTIONS"/>
    394                  | %x47.45.54               ; "GET", <xref target="GET"/>
    395                  | %x48.45.41.44            ; "HEAD", <xref target="HEAD"/>
    396                  | %x50.4F.53.54            ; "POST", <xref target="POST"/>
    397                  | %x50.55.54               ; "PUT", <xref target="PUT"/>
    398                  | %x44.45.4C.45.54.45      ; "DELETE", <xref target="DELETE"/>
    399                  | %x54.52.41.43.45         ; "TRACE", <xref target="TRACE"/>
    400                  | %x43.4F.4E.4E.45.43.54   ; "CONNECT", <xref target="CONNECT"/>
     393  <x:ref>Method</x:ref>         = <x:abnf-char-sequence>"OPTIONS"</x:abnf-char-sequence>   ; "OPTIONS", <xref target="OPTIONS"/>
     394                 | <x:abnf-char-sequence>"GET"</x:abnf-char-sequence>               ; "GET", <xref target="GET"/>
     395                 | <x:abnf-char-sequence>"HEAD"</x:abnf-char-sequence>            ; "HEAD", <xref target="HEAD"/>
     396                 | <x:abnf-char-sequence>"POST"</x:abnf-char-sequence>            ; "POST", <xref target="POST"/>
     397                 | <x:abnf-char-sequence>"PUT"</x:abnf-char-sequence>               ; "PUT", <xref target="PUT"/>
     398                 | <x:abnf-char-sequence>"DELETE"</x:abnf-char-sequence>      ; "DELETE", <xref target="DELETE"/>
     399                 | <x:abnf-char-sequence>"TRACE"</x:abnf-char-sequence>         ; "TRACE", <xref target="TRACE"/>
     400                 | <x:abnf-char-sequence>"CONNECT"</x:abnf-char-sequence>   ; "CONNECT", <xref target="CONNECT"/>
    401401                 | <x:ref>extension-method</x:ref>
    402402  <x:ref>extension-method</x:ref> = <x:ref>token</x:ref>
  • draft-ietf-httpbis/latest/p3-payload.html

    r271 r272  
    378378      <link rel="Appendix" title="C Compatibility with Previous Versions" href="#rfc.section.C">
    379379      <link rel="Appendix" title="D Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.D">
    380       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     380      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    381381      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
    382382      <meta name="DC.Creator" content="Fielding, R.">
     
    474474         <tr>
    475475            <td class="header left"></td>
    476             <td class="header right">July 3, 2008</td>
     476            <td class="header right">July 6, 2008</td>
    477477         </tr>
    478478      </table>
     
    18421842                  <li class="indline1"><em>Part5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part5.1">2</a>, <a class="iref" href="#rfc.xref.Part5.2">3.3.2</a>, <a class="iref" href="#rfc.xref.Part5.3">4.1</a>, <a class="iref" href="#Part5"><b>10.1</b></a>, <a class="iref" href="#rfc.xref.Part5.4">C.1</a><ul class="ind">
    18431843                        <li class="indline1"><em>Section 6.2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part5.1">2</a>, <a class="iref" href="#rfc.xref.Part5.3">4.1</a></li>
    1844                         <li class="indline1"><em>Section A</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part5.2">3.3.2</a></li>
     1844                        <li class="indline1"><em>Appendix A</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.Part5.2">3.3.2</a></li>
    18451845                     </ul>
    18461846                  </li>
  • draft-ietf-httpbis/latest/p4-conditional.html

    r271 r272  
    377377      <link rel="Appendix" title="A Compatibility with Previous Versions" href="#rfc.section.A">
    378378      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
    379       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     379      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    380380      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
    381381      <meta name="DC.Creator" content="Fielding, R.">
     
    473473         <tr>
    474474            <td class="header left"></td>
    475             <td class="header right">July 3, 2008</td>
     475            <td class="header right">July 6, 2008</td>
    476476         </tr>
    477477      </table>
  • draft-ietf-httpbis/latest/p5-range.html

    r271 r272  
    377377      <link rel="Appendix" title="B Compatibility with Previous Versions" href="#rfc.section.B">
    378378      <link rel="Appendix" title="C Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.C">
    379       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     379      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    380380      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
    381381      <meta name="DC.Creator" content="Fielding, R.">
     
    473473         <tr>
    474474            <td class="header left"></td>
    475             <td class="header right">July 3, 2008</td>
     475            <td class="header right">July 6, 2008</td>
    476476         </tr>
    477477      </table>
  • draft-ietf-httpbis/latest/p6-cache.html

    r271 r272  
    389389      <link rel="Appendix" title="A Compatibility with Previous Versions" href="#rfc.section.A">
    390390      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
    391       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     391      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    392392      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
    393393      <meta name="DC.Creator" content="Fielding, R.">
     
    485485         <tr>
    486486            <td class="header left"></td>
    487             <td class="header right">July 3, 2008</td>
     487            <td class="header right">July 6, 2008</td>
    488488         </tr>
    489489      </table>
  • draft-ietf-httpbis/latest/p7-auth.html

    r271 r272  
    374374      <link rel="Appendix" title="A Compatibility with Previous Versions" href="#rfc.section.A">
    375375      <link rel="Appendix" title="B Change Log (to be removed by RFC Editor before publication)" href="#rfc.section.B">
    376       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     376      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    377377      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
    378378      <meta name="DC.Creator" content="Fielding, R.">
     
    471471         <tr>
    472472            <td class="header left"></td>
    473             <td class="header right">July 3, 2008</td>
     473            <td class="header right">July 6, 2008</td>
    474474         </tr>
    475475      </table>
  • draft-ietf-httpbis/latest/p8-cookies.html

    r230 r272  
    347347      <link rel="Chapter" title="11 ACKNOWLEDGEMENTS" href="#rfc.section.11">
    348348      <link rel="Chapter" href="#rfc.section.12" title="12 References">
    349       <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.365, 2008-03-07 07:17:25, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
     349      <meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 8.9 from Saxonica http://www.saxonica.com/">
    350350      <link rel="schema.DC" href="http://purl.org/dc/elements/1.1/">
    351351      <meta name="DC.Creator" content="Kristol, D. M.">
  • rfc2629xslt/check-references.xslt

    r6 r272  
    44    "tr.rdf", available from <http://www.w3.org/2002/01/tr-automation/tr.rdf>)
    55
    6     Copyright (c) 2006-2007, Julian Reschke (julian.reschke@greenbytes.de)
     6    Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de)
    77    All rights reserved.
    88
     
    168168    <xsl:when test="$stat/ietfdoc/info/rev != $number">
    169169      <xsl:text>Alternate version available: </xsl:text><xsl:value-of select="$stat/ietfdoc/info/rev"/>
     170      <xsl:if test="$stat/ietfdoc[state/phase='Published']">
     171        <xsl:text>, later published as: RFC</xsl:text><xsl:value-of select="$stat/ietfdoc/info/rfcnum"/>
     172      </xsl:if>
    170173    </xsl:when>
    171174    <xsl:when test="$stat/ietfdoc[state/phase='Published']">
  • rfc2629xslt/clean-for-DTD.xslt

    r246 r272  
    3434                xmlns:ed="http://greenbytes.de/2002/rfcedit"
    3535                xmlns:grddl="http://www.w3.org/2003/g/data-view#"
     36                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    3637                xmlns:x="http://purl.org/net/xml2rfc/ext"
    3738                xmlns:xhtml="http://www.w3.org/1999/xhtml"
    38                 exclude-result-prefixes="ed grddl x xhtml"
     39                exclude-result-prefixes="ed grddl rdf x xhtml"
    3940>
    4041
     
    110111
    111112<!-- extensions -->
     113
     114<xsl:template match="x:abnf-char-sequence" mode="cleanup">
     115  <xsl:choose>
     116    <xsl:when test="substring(.,1,1) != '&quot;' or substring(.,string-length(.),1) != '&quot;'">
     117      <xsl:call-template name="error">
     118        <xsl:with-param name="msg" select="'contents of x:abnf-char-sequence needs to be quoted.'" />
     119      </xsl:call-template>
     120    </xsl:when>
     121    <xsl:otherwise>
     122      <xsl:text>%x</xsl:text>
     123      <xsl:call-template name="to-abnf-char-sequence">
     124        <xsl:with-param name="chars" select="substring(.,2,string-length(.)-2)"/>
     125      </xsl:call-template>
     126    </xsl:otherwise>
     127  </xsl:choose>
     128</xsl:template>
    112129
    113130<xsl:template match="x:anchor-alias" mode="cleanup"/>
     
    495512</xsl:template>
    496513
     514<!-- email repititions -->
     515<xsl:template match="email" mode="cleanup">
     516  <!-- combine in a single element -->
     517  <xsl:if test="not(preceding-sibling::email)">
     518    <email>
     519      <xsl:for-each select="../email">
     520        <xsl:value-of select="."/>
     521        <xsl:if test="position()!=last()">
     522          <xsl:text>, </xsl:text>
     523        </xsl:if>
     524      </xsl:for-each>
     525    </email>
     526  </xsl:if>
     527</xsl:template>
     528
    497529<!-- markup inside cref -->
    498530<xsl:template match="cref//eref" mode="cleanup">
     
    502534</xsl:template>
    503535
    504 
    505536<!-- artwork extensions -->
    506537<xsl:template match="artwork/@x:extraction-note" mode="cleanup"/>
     
    524555<xsl:template match="@grddl:transformation" mode="cleanup"/>
    525556
     557<!-- RDF info stripped -->
     558<xsl:template match="rdf:*" mode="cleanup"/>
     559
    526560</xsl:transform>
  • rfc2629xslt/rfc2629.xslt

    r246 r272  
    305305  match="xref[@x:rel]"
    306306    use="concat(@target,'..',@x:rel)" />
     307
     308<xsl:key name="anchor-item"
     309  match="//*[@anchor]"
     310    use="@anchor"/>
     311
     312<xsl:key name="xref-item"
     313  match="//xref"
     314    use="@target"/>
     315
     316<xsl:key name="extref-item"
     317  match="//x:ref"
     318    use="."/>
    307319
    308320<!-- prefix for automatically generated anchors -->
     
    361373<xsl:variable name="has-index" select="//iref or (//xref and $xml2rfc-ext-include-references-in-index='yes')" />
    362374         
     375<!-- does the document contain edits? -->
     376<xsl:variable name="has-edits" select="//ed:ins | //ed:del | //ed:replace" />
     377
    363378<!-- Templates for the various elements of rfc2629.dtd -->
    364379             
     
    603618        </span>
    604619      </xsl:if>
    605       <xsl:if test="address/email">
     620      <xsl:for-each select="address/email">
     621        <xsl:variable name="email">
     622          <xsl:call-template name="extract-email"/>
     623        </xsl:variable>
     624       
    606625        <span class="vcardline">
    607         <xsl:text>EMail: </xsl:text>
    608         <a>
    609           <xsl:if test="$xml2rfc-linkmailto!='no'">
    610             <xsl:attribute name="href">mailto:<xsl:value-of select="address/email" /></xsl:attribute>
    611           </xsl:if>
    612           <span class="email"><xsl:value-of select="address/email" /></span>
    613         </a>
     626          <xsl:text>EMail: </xsl:text>
     627          <a>
     628            <xsl:if test="$xml2rfc-linkmailto!='no'">
     629              <xsl:attribute name="href">mailto:<xsl:value-of select="$email" /></xsl:attribute>
     630            </xsl:if>
     631            <span class="email"><xsl:value-of select="$email" /></span>
     632          </a>
    614633        </span>
    615       </xsl:if>
     634      </xsl:for-each>
    616635      <xsl:if test="address/uri">
    617636        <span class="vcardline">
     
    655674    <!-- emit it -->
    656675    <xsl:choose>
    657       <xsl:when test="function-available('msxsl:node-set')">
    658         <xsl:apply-templates select="msxsl:node-set($copyright)" />
    659       </xsl:when>
    660676      <xsl:when test="function-available('exslt:node-set')">
    661677        <xsl:apply-templates select="exslt:node-set($copyright)" />
     
    719735    <table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1">
    720736      <xsl:choose>
    721         <xsl:when test="function-available('msxsl:node-set')">
    722           <xsl:call-template name="emitheader">
    723             <xsl:with-param name="lc" select="msxsl:node-set($leftColumn)" />   
    724             <xsl:with-param name="rc" select="msxsl:node-set($rightColumn)" />   
    725           </xsl:call-template>
    726         </xsl:when>   
    727737        <xsl:when test="function-available('exslt:node-set')">
    728738          <xsl:call-template name="emitheader">
     
    769779    <!-- emit it -->
    770780    <xsl:choose>
    771       <xsl:when test="function-available('msxsl:node-set')">
    772         <xsl:apply-templates select="msxsl:node-set($preamble)" />
    773       </xsl:when>
    774781      <xsl:when test="function-available('exslt:node-set')">
    775782        <xsl:apply-templates select="exslt:node-set($preamble)" />
     
    11161123  <!-- check for reference to reference -->
    11171124  <xsl:variable name="anchor" select="@anchor"/>
    1118   <xsl:if test="not(ancestor::ed:del) and not(//xref[@target=$anchor])">
    1119     <xsl:message>WARNING: unused reference '<xsl:value-of select="@anchor"/>'<xsl:call-template name="lineno"/></xsl:message>
     1125  <xsl:if test="not(ancestor::ed:del) and not(key('xref-item',$anchor))">
     1126    <xsl:call-template name="warning">
     1127      <xsl:with-param name="inline" select="'no'"/>
     1128      <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
     1129    </xsl:call-template>
    11201130  </xsl:if>
    11211131
     
    13541364  <!-- conformance checks -->
    13551365  <xsl:if test="$xml2rfc-symrefs!='no' and $xml2rfc-symrefs!='yes' and //reference">
    1356     <xsl:message>WARNING: symrefs PI not specified; default has changed from 'no' to 'yes'.</xsl:message>
     1366    <xsl:call-template name="warning">
     1367      <xsl:with-param name="inline" select="'no'"/>
     1368      <xsl:with-param name="msg">symrefs PI not specified; default has changed from 'no' to 'yes'.</xsl:with-param>
     1369    </xsl:call-template>
    13571370  </xsl:if>
    13581371 
     
    17051718
    17061719  <xsl:variable name="target" select="@target" />
    1707   <xsl:variable name="node" select="$src//*[@anchor=$target]" />
     1720  <xsl:variable name="node" select="key('anchor-item',$target)" />
    17081721  <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable>
    17091722
     
    17741787</xsl:template>
    17751788               
     1789<xsl:key name="iref-xanch" match="iref[@x:for-anchor]" use="@x:for-anchor"/>           
     1790               
    17761791<xsl:template match="xref[not(node())]">
    17771792
     
    17791794  <xsl:variable name="target" select="@target" />
    17801795  <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable>
    1781   <xsl:variable name="node" select="$src//*[@anchor=$target]" />
     1796  <xsl:variable name="node" select="key('anchor-item',$target)" />
    17821797  <xsl:if test="count($node)=0 and not(ancestor::ed:del)">
    17831798    <xsl:call-template name="error">
     
    17921807      <a href="#{@target}">
    17931808        <!-- insert id when a backlink to this xref is needed in the index -->
    1794         <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]">
     1809        <xsl:if test="key('iref-xanch',$target) | key('iref-xanch','')[../@anchor=$target]">
    17951810          <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
    17961811        </xsl:if>
     
    27972812  background-color: yellow;
    27982813}
    2799 <xsl:if test="//ed:del|//ed:replace|//ed:ins">del {
     2814<xsl:if test="$has-edits">del {
    28002815  color: red;
    28012816  text-decoration: line-through;
     
    31403155                        <xsl:text>&#160;&#160;</xsl:text>
    31413156                       
    3142                         <xsl:variable name="rs" select="//xref[@target=current()/@anchor] | . | //reference[@anchor=concat('deleted-',current()/@anchor)]"/>
     3157                        <xsl:variable name="rs" select="key('xref-item',current()/@anchor) | . | key('anchor-item',concat('deleted-',current()/@anchor))"/>
     3158                       
    31433159                        <xsl:for-each select="$rs">
    31443160                          <xsl:call-template name="insertSingleXref" />
     
    31553171                                <li class="indline1">
    31563172                                  <em>
    3157                                     <xsl:text>Section </xsl:text>
     3173                                    <xsl:choose>
     3174                                      <xsl:when test="translate(substring(@x:sec,1,1),$ucase,'')=''">
     3175                                        <xsl:text>Appendix </xsl:text>
     3176                                      </xsl:when>
     3177                                      <xsl:otherwise>
     3178                                        <xsl:text>Section </xsl:text>
     3179                                      </xsl:otherwise>
     3180                                    </xsl:choose>
    31583181                                    <xsl:value-of select="@x:sec"/>
    31593182                                  </em>
     
    31783201                                  <li class="indline1">
    31793202                                    <em>
    3180                                       <xsl:text>Section </xsl:text>
    3181                                       <xsl:for-each select="$doc//*[@anchor=substring-after(current()/@x:rel,'#')]">
    3182                                         <xsl:call-template name="get-section-number"/>
    3183                                       </xsl:for-each>
     3203                                      <xsl:variable name="sec">
     3204                                        <xsl:for-each select="$doc//*[@anchor=substring-after(current()/@x:rel,'#')]">
     3205                                          <xsl:call-template name="get-section-number"/>
     3206                                        </xsl:for-each>
     3207                                      </xsl:variable>
     3208                                      <xsl:choose>
     3209                                        <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''">
     3210                                          <xsl:text>Appendix </xsl:text>
     3211                                        </xsl:when>
     3212                                        <xsl:otherwise>
     3213                                          <xsl:text>Section </xsl:text>
     3214                                        </xsl:otherwise>
     3215                                      </xsl:choose>
     3216                                      <xsl:value-of select="$sec"/>
    31843217                                    </em>
    31853218                                    <xsl:text>&#160;&#160;</xsl:text>
     
    32003233                    <xsl:if test="generate-id(.) = generate-id(key('index-item',concat(@item,@anchor)))">
    32013234                      <xsl:variable name="item" select="@item"/>
    3202                       <xsl:variable name="in-artwork" select="count(//iref[@item=$item and @primary='true' and ancestor::artwork])!=0"/>
     3235                      <xsl:variable name="in-artwork" select="key('index-item',$item)[@primary='true' and ancestor::artwork]"/>
    32033236                         
    32043237                      <li class="indline1">
     
    32143247                       
    32153248                        <xsl:variable name="irefs3" select="key('index-item',@item)[not(@subitem) or @subitem='']"/>
    3216                         <xsl:variable name="xrefs3" select="//xref[@target=$irefs3[@x:for-anchor='']/../@anchor or @target=$irefs3/@x:for-anchor]"/>
    3217                         <xsl:variable name="extrefs3" select="//x:ref[.=$irefs3[@x:for-anchor='']/../@anchor or .=$irefs3/@x:for-anchor]"/>
     3249                        <xsl:variable name="xrefs3" select="key('xref-item',$irefs3[@x:for-anchor='']/../@anchor) | key('xref-item',$irefs3/@x:for-anchor)"/>
     3250                        <xsl:variable name="extrefs3" select="key('extref-item',$irefs3[@x:for-anchor='']/../@anchor) | key('extref-item',$irefs3/@x:for-anchor)"/>
    32183251
    32193252                        <xsl:for-each select="$irefs3|$xrefs3|$extrefs3">
     
    32313264                 
    32323265                                <xsl:variable name="itemsubitem" select="concat(@item,'..',@subitem)"/>
    3233                                 <xsl:variable name="in-artwork2" select="count(//iref[concat(@item,'..',@subitem)=$itemsubitem and @primary='true' and ancestor::artwork])!=0"/>
     3266                                <xsl:variable name="in-artwork2" select="key('index-item-subitem',concat(@item,'..',@subitem))[@primary='true' and ancestor::artwork]" />
    32343267                 
    32353268                                <li class="indline1">
     
    32463279                                   
    32473280                                  <xsl:variable name="irefs4" select="key('index-item-subitem',concat(@item,'..',@subitem))"/>
    3248                                   <xsl:variable name="xrefs4" select="//xref[@target=$irefs4[@x:for-anchor='']/../@anchor or @target=$irefs4/@x:for-anchor]"/>
    3249                                   <xsl:variable name="extrefs4" select="//x:ref[.=$irefs4[@x:for-anchor='']/../@anchor or .=$irefs4/@x:for-anchor]"/>
     3281                                  <xsl:variable name="xrefs4" select="key('xref-item',$irefs4[@x:for-anchor='']/../@anchor) | key('xref-item',$irefs4/@x:for-anchor)"/>
     3282                                  <xsl:variable name="extrefs4" select="key('extref-item',$irefs4[@x:for-anchor='']/../@anchor) | key('extref-item',$irefs4/@x:for-anchor)"/>
    32503283
    32513284                                  <xsl:for-each select="$irefs4|$xrefs4|$extrefs4">
     
    38853918
    38863919<!-- internal ref support -->
     3920<xsl:key name="anchor-item-alias" match="//*[@anchor and (x:anchor-alias/@value or ed:replace/ed:ins/x:anchor-alias)]" use="x:anchor-alias/@value | ed:replace/ed:ins/x:anchor-alias/@value"/>
     3921
    38873922<xsl:template match="x:ref">
    38883923  <xsl:variable name="val" select="."/>
    3889   <xsl:variable name="target" select="//*[(@anchor and x:anchor-alias/@value=$val) or (@anchor and ed:replace/ed:ins/x:anchor-alias/@value=$val) or (@anchor=$val)]"/>
     3924<!--  <xsl:variable name="target" select="//*[(@anchor and x:anchor-alias/@value=$val) or (@anchor and ed:replace/ed:ins/x:anchor-alias/@value=$val) or (@anchor=$val)]"/> -->
     3925  <xsl:variable name="target" select="key('anchor-item',$val) | key('anchor-item-alias',$val)"/>
    38903926  <xsl:variable name="irefs" select="//iref[@x:for-anchor=$val]"/>
    38913927  <xsl:choose>
     
    39003936    </xsl:when>
    39013937    <xsl:otherwise>
    3902       <xsl:message>WARNING: internal link target for '<xsl:value-of select="."/>' does not exist.<xsl:call-template name="lineno"/></xsl:message>
     3938      <xsl:call-template name="warning">
     3939        <xsl:with-param name="inline" select="'no'"/>
     3940        <xsl:with-param name="msg">internal link target for '<xsl:value-of select="."/>' does not exist.</xsl:with-param>
     3941      </xsl:call-template>
    39033942      <xsl:value-of select="."/>
    39043943    </xsl:otherwise>
     
    40064045<xsl:template match="x:span">
    40074046  <xsl:apply-templates/>
     4047</xsl:template>
     4048
     4049<!-- ABNF support -->
     4050<xsl:template name="to-abnf-char-sequence">
     4051  <xsl:param name="chars"/>
     4052 
     4053  <xsl:variable name="c" select="substring($chars,1,1)"/>
     4054  <xsl:variable name="r" select="substring($chars,2)"/>
     4055   
     4056  <xsl:choose>
     4057    <xsl:when test="$c='A'">41</xsl:when>
     4058    <xsl:when test="$c='B'">42</xsl:when>
     4059    <xsl:when test="$c='C'">43</xsl:when>
     4060    <xsl:when test="$c='D'">44</xsl:when>
     4061    <xsl:when test="$c='E'">45</xsl:when>
     4062    <xsl:when test="$c='F'">46</xsl:when>
     4063    <xsl:when test="$c='G'">47</xsl:when>
     4064    <xsl:when test="$c='H'">48</xsl:when>
     4065    <xsl:when test="$c='I'">49</xsl:when>
     4066    <xsl:when test="$c='J'">4A</xsl:when>
     4067    <xsl:when test="$c='K'">4B</xsl:when>
     4068    <xsl:when test="$c='L'">4C</xsl:when>
     4069    <xsl:when test="$c='M'">4D</xsl:when>
     4070    <xsl:when test="$c='N'">4E</xsl:when>
     4071    <xsl:when test="$c='O'">4F</xsl:when>
     4072    <xsl:when test="$c='P'">50</xsl:when>
     4073    <xsl:when test="$c='Q'">51</xsl:when>
     4074    <xsl:when test="$c='R'">52</xsl:when>
     4075    <xsl:when test="$c='S'">53</xsl:when>
     4076    <xsl:when test="$c='T'">54</xsl:when>
     4077    <xsl:when test="$c='U'">55</xsl:when>
     4078    <xsl:when test="$c='V'">56</xsl:when>
     4079    <xsl:when test="$c='W'">57</xsl:when>
     4080    <xsl:when test="$c='X'">58</xsl:when>
     4081    <xsl:when test="$c='Y'">59</xsl:when>
     4082    <xsl:when test="$c='Z'">5A</xsl:when>
     4083    <xsl:when test="$c='a'">61</xsl:when>
     4084    <xsl:when test="$c='b'">62</xsl:when>
     4085    <xsl:when test="$c='c'">63</xsl:when>
     4086    <xsl:when test="$c='d'">64</xsl:when>
     4087    <xsl:when test="$c='e'">65</xsl:when>
     4088    <xsl:when test="$c='f'">66</xsl:when>
     4089    <xsl:when test="$c='g'">67</xsl:when>
     4090    <xsl:when test="$c='h'">68</xsl:when>
     4091    <xsl:when test="$c='i'">69</xsl:when>
     4092    <xsl:when test="$c='j'">6A</xsl:when>
     4093    <xsl:when test="$c='k'">6B</xsl:when>
     4094    <xsl:when test="$c='l'">6C</xsl:when>
     4095    <xsl:when test="$c='m'">6D</xsl:when>
     4096    <xsl:when test="$c='n'">6E</xsl:when>
     4097    <xsl:when test="$c='o'">6F</xsl:when>
     4098    <xsl:when test="$c='p'">70</xsl:when>
     4099    <xsl:when test="$c='q'">71</xsl:when>
     4100    <xsl:when test="$c='r'">72</xsl:when>
     4101    <xsl:when test="$c='s'">73</xsl:when>
     4102    <xsl:when test="$c='t'">74</xsl:when>
     4103    <xsl:when test="$c='u'">75</xsl:when>
     4104    <xsl:when test="$c='v'">76</xsl:when>
     4105    <xsl:when test="$c='w'">77</xsl:when>
     4106    <xsl:when test="$c='x'">78</xsl:when>
     4107    <xsl:when test="$c='y'">79</xsl:when>
     4108    <xsl:when test="$c='z'">7A</xsl:when>
     4109    <xsl:otherwise>
     4110      <xsl:text>??</xsl:text>
     4111      <xsl:call-template name="error">
     4112        <xsl:with-param name="msg" select="concat('unexpected character in ABNF char sequence: ',substring($chars,1,1))" />
     4113      </xsl:call-template>
     4114    </xsl:otherwise>
     4115  </xsl:choose>
     4116
     4117  <xsl:if test="$r!=''">
     4118    <xsl:text>.</xsl:text>
     4119    <xsl:call-template name="to-abnf-char-sequence">
     4120      <xsl:with-param name="chars" select="$r"/>
     4121    </xsl:call-template>
     4122  </xsl:if>
     4123 
     4124</xsl:template>
     4125
     4126<xsl:template match="x:abnf-char-sequence">
     4127  <xsl:choose>
     4128    <xsl:when test="substring(.,1,1) != '&quot;' or substring(.,string-length(.),1) != '&quot;'">
     4129      <xsl:call-template name="error">
     4130        <xsl:with-param name="msg" select="'contents of x:abnf-char-sequence needs to be quoted.'" />
     4131      </xsl:call-template>
     4132    </xsl:when>
     4133    <xsl:otherwise>
     4134      <xsl:text>%x</xsl:text>
     4135      <xsl:call-template name="to-abnf-char-sequence">
     4136        <xsl:with-param name="chars" select="substring(.,2,string-length(.)-2)"/>
     4137      </xsl:call-template>
     4138    </xsl:otherwise>
     4139  </xsl:choose>
    40084140</xsl:template>
    40094141
     
    46974829      </dt>
    46984830      <dd>
    4699         <xsl:value-of select="."/>
     4831        <xsl:apply-templates select="node()"/>
    47004832        <xsl:if test="@source"> --<xsl:value-of select="@source"/></xsl:if>
    47014833      </dd>
     
    48034935    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    48044936    <!-- when RCS keyword substitution in place, add version info -->
    4805     <xsl:if test="contains('$Revision: 1.367 $',':')">
    4806       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.367 $', 'Revision: '),'$','')),', ')" />
     4937    <xsl:if test="contains('$Revision: 1.379 $',':')">
     4938      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.379 $', 'Revision: '),'$','')),', ')" />
    48074939    </xsl:if>
    4808     <xsl:if test="contains('$Date: 2008-05-19 13:00:19 $',':')">
    4809       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-05-19 13:00:19 $', 'Date: '),'$','')),', ')" />
     4940    <xsl:if test="contains('$Date: 2008-07-06 13:38:32 $',':')">
     4941      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-07-06 13:38:32 $', 'Date: '),'$','')),', ')" />
    48104942    </xsl:if>
    48114943    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
     
    48374969
    48384970<xsl:template name="get-section-number">
    4839   <xsl:variable name="hasEdits" select="count(//ed:del|//ed:ins)!=0" />
    48404971  <xsl:variable name="anchor" select="@anchor"/>
    48414972  <xsl:choose>
     
    48434974      <xsl:value-of select="@x:fixed-section-number"/>
    48444975    </xsl:when>
    4845     <xsl:when test="$hasEdits or ancestor::*/@x:fixed-section-number">
     4976    <xsl:when test="$has-edits or ancestor::*/@x:fixed-section-number">
    48464977      <xsl:call-template name="sectionnumberAndEdits" />
    48474978    </xsl:when>
     
    48895020
    48905021<xsl:template name="get-section-type">
    4891   <xsl:param name="prec" />
     5022  <xsl:param name="prec" /> <!-- TODO: check this, it's unused -->
    48925023  <xsl:choose>
    48935024    <xsl:when test="ancestor::back">Appendix</xsl:when>
     
    49345065    </xsl:otherwise>
    49355066  </xsl:choose>
     5067</xsl:template>
     5068
     5069<!-- checking for email element -->
     5070<xsl:template name="extract-email">
     5071  <xsl:variable name="email" select="normalize-space(.)"/>
     5072  <xsl:if test="string-length(.) != string-length($email) or contains($email,' ')">
     5073    <xsl:call-template name="warning">
     5074      <xsl:with-param name="inline" select="'no'"/>
     5075      <xsl:with-param name="msg">excessive whitespace in email address: '<xsl:value-of select="."/>'</xsl:with-param>
     5076    </xsl:call-template>
     5077  </xsl:if>
     5078 
     5079  <xsl:variable name="email2">
     5080    <xsl:choose>
     5081      <xsl:when test="starts-with($email,'mailto:')">
     5082        <xsl:call-template name="warning">
     5083          <xsl:with-param name="inline" select="'no'"/>
     5084          <xsl:with-param name="msg">email should not include URI scheme: '<xsl:value-of select="."/>'</xsl:with-param>
     5085        </xsl:call-template>
     5086        <xsl:value-of select="substring($email, 1 + string-length('mailto:'))"/>
     5087      </xsl:when>
     5088      <xsl:otherwise>
     5089        <xsl:value-of select="$email"/>
     5090      </xsl:otherwise>
     5091    </xsl:choose>
     5092  </xsl:variable>
     5093 
     5094  <xsl:value-of select="$email2"/>
    49365095</xsl:template>
    49375096
     
    49785137  </xsl:if>
    49795138</xsl:template>
     5139
     5140<!-- define exslt:node-set for msxml -->       
     5141<msxsl:script language="JScript" implements-prefix="exslt">
     5142  this['node-set'] = function (x) {
     5143    return x;
     5144  }
     5145</msxsl:script>
    49805146
    49815147<!-- date handling -->
  • rfc2629xslt/rfc2629grddl.xslt

    r246 r272  
    6161    </rdf:Description>
    6262
     63    <xsl:for-each select="//rdf:Description">
     64     
     65      <rdf:Description>
     66        <xsl:attribute name="rdf:about">
     67          <xsl:choose>
     68            <xsl:when test="@rdf:about">
     69              <xsl:value-of select="rdf:about"/>
     70            </xsl:when>
     71            <xsl:otherwise>
     72              <xsl:value-of select="concat('#',ancestor::*[@anchor][1]/@anchor)"/>
     73            </xsl:otherwise>
     74          </xsl:choose>
     75        </xsl:attribute>
     76       
     77        <xsl:if test="not(dc:title) and ancestor::section[@title]">
     78          <dc:title><xsl:value-of select="ancestor::section[@title][1]/@title"/></dc:title>
     79        </xsl:if>
     80       
     81        <xsl:copy-of select="*"/>
     82       
     83      </rdf:Description>
     84   
     85    </xsl:for-each>
     86   
    6387  </rdf:RDF>
    6488</xsl:template>
  • rfc2629xslt/rfc2629toFO.xslt

    r246 r272  
    191191    <fo:block>Fax:&#0160;<fo:basic-link external-destination="url('tel:{translate(address/facsimile,' ','')}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="address/facsimile" /></fo:basic-link></fo:block>
    192192  </xsl:if>
    193         <xsl:if test="address/email">
     193        <xsl:for-each select="address/email">
     194    <xsl:variable name="email">
     195      <xsl:call-template name="extract-email"/>
     196    </xsl:variable>
    194197    <fo:block>EMail:&#0160;
    195198      <xsl:choose>
    196199        <xsl:when test="$xml2rfc-linkmailto='no'">
    197             <xsl:value-of select="address/email" />
     200            <xsl:value-of select="$email" />
    198201        </xsl:when>
    199202        <xsl:otherwise>
    200           <fo:basic-link external-destination="url('mailto:{address/email}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="address/email" /></fo:basic-link>
     203          <fo:basic-link external-destination="url('mailto:{$email}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="$email" /></fo:basic-link>
    201204        </xsl:otherwise>
    202205      </xsl:choose>
    203206    </fo:block>
    204   </xsl:if>
     207  </xsl:for-each>
    205208        <xsl:if test="address/uri">
    206209    <fo:block>URI:&#0160;<fo:basic-link external-destination="url('{address/uri}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="address/uri" /></fo:basic-link></fo:block>
     
    231234    <!-- emit it -->
    232235    <xsl:choose>
    233       <xsl:when test="function-available('msxsl:node-set')">
    234         <xsl:apply-templates select="msxsl:node-set($copyright)/node()" />
    235       </xsl:when>
    236236      <xsl:when test="function-available('exslt:node-set')">
    237237        <xsl:apply-templates select="exslt:node-set($copyright)/node()" />
     
    288288      <fo:table-body>
    289289        <xsl:choose>
    290           <xsl:when test="function-available('msxsl:node-set')">
    291             <xsl:call-template name="emitheader">
    292                         <xsl:with-param name="lc" select="msxsl:node-set($leftColumn)" />   
    293                 <xsl:with-param name="rc" select="msxsl:node-set($rightColumn)" />   
    294             </xsl:call-template>
    295           </xsl:when>   
    296290          <xsl:when test="function-available('exslt:node-set')">
    297291                <xsl:call-template name="emitheader">
     
    324318    <!-- emit it -->
    325319    <xsl:choose>
    326       <xsl:when test="function-available('msxsl:node-set')">
    327         <xsl:apply-templates select="msxsl:node-set($preamble)/node()" />
    328       </xsl:when>
    329320      <xsl:when test="function-available('exslt:node-set')">
    330321        <xsl:apply-templates select="exslt:node-set($preamble)/node()" />
     
    14571448                      <xsl:if test="generate-id(.) = generate-id(key('index-xref-by-sec',concat(@target,'..',@x:sec)))">
    14581449                        <fo:block start-indent="2em" hyphenate="true">
    1459                           <fo:wrapper font-style="italic"><xsl:value-of select="concat('Section ',@x:sec)" /></fo:wrapper>
     1450                          <fo:wrapper font-style="italic">
     1451                            <xsl:choose>
     1452                              <xsl:when test="translate(substring(@x:sec,1,1),$ucase,'')=''">
     1453                                <xsl:text>Appendix </xsl:text>
     1454                              </xsl:when>
     1455                              <xsl:otherwise>
     1456                                <xsl:text>Section </xsl:text>
     1457                              </xsl:otherwise>
     1458                            </xsl:choose>
     1459                            <xsl:value-of select="@x:sec"/>
     1460                            <xsl:text> </xsl:text>
     1461                          </fo:wrapper>
    14601462                          <fo:index-page-citation-list merge-sequential-page-numbers="merge">
    14611463                            <fo:index-key-reference page-number-treatment="link" ref-index-key="{concat('xrefitem=',@target,'#',@x:sec)}"/>
     
    14791481                              </xsl:for-each>
    14801482                            </xsl:variable>
    1481                             <fo:wrapper font-style="italic"><xsl:value-of select="concat('Section ',$sec)" /></fo:wrapper>
     1483                            <fo:wrapper font-style="italic">
     1484                              <xsl:choose>
     1485                                <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''">
     1486                                  <xsl:text>Appendix </xsl:text>
     1487                                </xsl:when>
     1488                                <xsl:otherwise>
     1489                                  <xsl:text>Section </xsl:text>
     1490                                </xsl:otherwise>
     1491                              </xsl:choose>
     1492                              <xsl:value-of select="$sec"/>
     1493                              <xsl:text> </xsl:text>
     1494                            </fo:wrapper>
    14821495                            <fo:index-page-citation-list merge-sequential-page-numbers="merge">
    14831496                              <fo:index-key-reference page-number-treatment="link" ref-index-key="{concat('xrefitem=',@target,'#',$sec)}"/>
     
    20422055    <!-- emit it -->
    20432056    <xsl:choose>
    2044       <xsl:when test="function-available('msxsl:node-set')">
    2045         <xsl:apply-templates select="msxsl:node-set($preamble)/node()" mode="bookmarks"/>
    2046       </xsl:when>
    20472057      <xsl:when test="function-available('exslt:node-set')">
    20482058        <xsl:apply-templates select="exslt:node-set($preamble)/node()" mode="bookmarks"/>
     
    22672277              <fo:inline font-size="8pt" vertical-align="super">[<xsl:value-of select="$cid"/>]</fo:inline>
    22682278              <xsl:text> </xsl:text>
    2269               <xsl:value-of select="."/>
     2279              <xsl:apply-templates select="node()"/>
    22702280              <xsl:if test="@source"> --<xsl:value-of select="@source"/></xsl:if>
    22712281            </fo:block>
     
    22782288          <xsl:value-of select="$cid"/>
    22792289          <xsl:text>: </xsl:text>
    2280           <xsl:value-of select="."/>
     2290          <xsl:apply-templates select="node()"/>
    22812291          <xsl:if test="@source"> --<xsl:value-of select="@source"/></xsl:if>
    22822292          <xsl:text>]</xsl:text>
     
    23892399<xsl:template match="x:span">
    23902400  <xsl:apply-templates/>
     2401</xsl:template>
     2402
     2403<xsl:template match="x:abnf-char-sequence">
     2404  <xsl:choose>
     2405    <xsl:when test="substring(.,1,1) != '&quot;' or substring(.,string-length(.),1) != '&quot;'">
     2406      <xsl:call-template name="error">
     2407        <xsl:with-param name="msg" select="'contents of x:abnf-char-sequence needs to be quoted.'" />
     2408      </xsl:call-template>
     2409    </xsl:when>
     2410    <xsl:otherwise>
     2411      <xsl:text>%x</xsl:text>
     2412      <xsl:call-template name="to-abnf-char-sequence">
     2413        <xsl:with-param name="chars" select="substring(.,2,string-length(.)-2)"/>
     2414      </xsl:call-template>
     2415    </xsl:otherwise>
     2416  </xsl:choose>
    23912417</xsl:template>
    23922418
  • rfc2629xslt/rfc2629toXHTML.xslt

    r246 r272  
    161161<xsl:key name="index-xref-by-anchor" match="xref[@x:rel]" use="concat(@target,'..',@x:rel)"/>
    162162
     163<xsl:key name="anchor-item" match="//*[@anchor]" use="@anchor"/>
     164
     165<xsl:key name="xref-item" match="//xref" use="@target"/>
     166
     167<xsl:key name="extref-item" match="//x:ref" use="."/>
     168
    163169<!-- prefix for automatically generated anchors -->
    164170<xsl:variable name="anchor-prefix" select="'rfc'"/>
     
    181187<xsl:variable name="has-index" select="//iref or (//xref and $xml2rfc-ext-include-references-in-index='yes')"/>
    182188         
     189<!-- does the document contain edits? -->
     190<xsl:variable name="has-edits" select="//ed:ins | //ed:del | //ed:replace"/>
     191
    183192<!-- Templates for the various elements of rfc2629.dtd -->
    184193             
     
    423432        </span>
    424433      </xsl:if>
    425       <xsl:if test="address/email">
     434      <xsl:for-each select="address/email">
     435        <xsl:variable name="email">
     436          <xsl:call-template name="extract-email"/>
     437        </xsl:variable>
     438       
    426439        <span class="vcardline">
    427         <xsl:text>EMail: </xsl:text>
    428         <a>
    429           <xsl:if test="$xml2rfc-linkmailto!='no'">
    430             <xsl:attribute name="href">mailto:<xsl:value-of select="address/email"/></xsl:attribute>
    431           </xsl:if>
    432           <span class="email"><xsl:value-of select="address/email"/></span>
    433         </a>
     440          <xsl:text>EMail: </xsl:text>
     441          <a>
     442            <xsl:if test="$xml2rfc-linkmailto!='no'">
     443              <xsl:attribute name="href">mailto:<xsl:value-of select="$email"/></xsl:attribute>
     444            </xsl:if>
     445            <span class="email"><xsl:value-of select="$email"/></span>
     446          </a>
    434447        </span>
    435       </xsl:if>
     448      </xsl:for-each>
    436449      <xsl:if test="address/uri">
    437450        <span class="vcardline">
     
    475488    <!-- emit it -->
    476489    <xsl:choose>
    477       <xsl:when test="function-available('msxsl:node-set')">
    478         <xsl:apply-templates select="msxsl:node-set($copyright)"/>
    479       </xsl:when>
    480490      <xsl:when test="function-available('exslt:node-set')">
    481491        <xsl:apply-templates select="exslt:node-set($copyright)"/>
     
    539549    <table xmlns="http://www.w3.org/1999/xhtml" summary="header information" class="header" border="0" cellpadding="1" cellspacing="1">
    540550      <xsl:choose>
    541         <xsl:when test="function-available('msxsl:node-set')">
    542           <xsl:call-template name="emitheader">
    543             <xsl:with-param name="lc" select="msxsl:node-set($leftColumn)"/>   
    544             <xsl:with-param name="rc" select="msxsl:node-set($rightColumn)"/>   
    545           </xsl:call-template>
    546         </xsl:when>   
    547551        <xsl:when test="function-available('exslt:node-set')">
    548552          <xsl:call-template name="emitheader">
     
    589593    <!-- emit it -->
    590594    <xsl:choose>
    591       <xsl:when test="function-available('msxsl:node-set')">
    592         <xsl:apply-templates select="msxsl:node-set($preamble)"/>
    593       </xsl:when>
    594595      <xsl:when test="function-available('exslt:node-set')">
    595596        <xsl:apply-templates select="exslt:node-set($preamble)"/>
     
    936937  <!-- check for reference to reference -->
    937938  <xsl:variable name="anchor" select="@anchor"/>
    938   <xsl:if test="not(ancestor::ed:del) and not(//xref[@target=$anchor])">
    939     <xsl:message>WARNING: unused reference '<xsl:value-of select="@anchor"/>'<xsl:call-template name="lineno"/></xsl:message>
     939  <xsl:if test="not(ancestor::ed:del) and not(key('xref-item',$anchor))">
     940    <xsl:call-template name="warning">
     941      <xsl:with-param name="inline" select="'no'"/>
     942      <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param>
     943    </xsl:call-template>
    940944  </xsl:if>
    941945
     
    11741178  <!-- conformance checks -->
    11751179  <xsl:if test="$xml2rfc-symrefs!='no' and $xml2rfc-symrefs!='yes' and //reference">
    1176     <xsl:message>WARNING: symrefs PI not specified; default has changed from 'no' to 'yes'.</xsl:message>
     1180    <xsl:call-template name="warning">
     1181      <xsl:with-param name="inline" select="'no'"/>
     1182      <xsl:with-param name="msg">symrefs PI not specified; default has changed from 'no' to 'yes'.</xsl:with-param>
     1183    </xsl:call-template>
    11771184  </xsl:if>
    11781185 
     
    15251532
    15261533  <xsl:variable name="target" select="@target"/>
    1527   <xsl:variable name="node" select="$src//*[@anchor=$target]"/>
     1534  <xsl:variable name="node" select="key('anchor-item',$target)"/>
    15281535  <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable>
    15291536
     
    15941601</xsl:template>
    15951602               
     1603<xsl:key name="iref-xanch" match="iref[@x:for-anchor]" use="@x:for-anchor"/>           
     1604               
    15961605<xsl:template match="xref[not(node())]">
    15971606
     
    15991608  <xsl:variable name="target" select="@target"/>
    16001609  <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable>
    1601   <xsl:variable name="node" select="$src//*[@anchor=$target]"/>
     1610  <xsl:variable name="node" select="key('anchor-item',$target)"/>
    16021611  <xsl:if test="count($node)=0 and not(ancestor::ed:del)">
    16031612    <xsl:call-template name="error">
     
    16121621      <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}">
    16131622        <!-- insert id when a backlink to this xref is needed in the index -->
    1614         <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]">
     1623        <xsl:if test="key('iref-xanch',$target) | key('iref-xanch','')[../@anchor=$target]">
    16151624          <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
    16161625        </xsl:if>
     
    26172626  background-color: yellow;
    26182627}
    2619 <xsl:if test="//ed:del|//ed:replace|//ed:ins">del {
     2628<xsl:if test="$has-edits">del {
    26202629  color: red;
    26212630  text-decoration: line-through;
     
    29602969                        <xsl:text>  </xsl:text>
    29612970                       
    2962                         <xsl:variable name="rs" select="//xref[@target=current()/@anchor] | . | //reference[@anchor=concat('deleted-',current()/@anchor)]"/>
     2971                        <xsl:variable name="rs" select="key('xref-item',current()/@anchor) | . | key('anchor-item',concat('deleted-',current()/@anchor))"/>
     2972                       
    29632973                        <xsl:for-each select="$rs">
    29642974                          <xsl:call-template name="insertSingleXref"/>
     
    29752985                                <li class="indline1">
    29762986                                  <em>
    2977                                     <xsl:text>Section </xsl:text>
     2987                                    <xsl:choose>
     2988                                      <xsl:when test="translate(substring(@x:sec,1,1),$ucase,'')=''">
     2989                                        <xsl:text>Appendix </xsl:text>
     2990                                      </xsl:when>
     2991                                      <xsl:otherwise>
     2992                                        <xsl:text>Section </xsl:text>
     2993                                      </xsl:otherwise>
     2994                                    </xsl:choose>
    29782995                                    <xsl:value-of select="@x:sec"/>
    29792996                                  </em>
     
    29983015                                  <li class="indline1">
    29993016                                    <em>
    3000                                       <xsl:text>Section </xsl:text>
    3001                                       <xsl:for-each select="$doc//*[@anchor=substring-after(current()/@x:rel,'#')]">
    3002                                         <xsl:call-template name="get-section-number"/>
    3003                                       </xsl:for-each>
     3017                                      <xsl:variable name="sec">
     3018                                        <xsl:for-each select="$doc//*[@anchor=substring-after(current()/@x:rel,'#')]">
     3019                                          <xsl:call-template name="get-section-number"/>
     3020                                        </xsl:for-each>
     3021                                      </xsl:variable>
     3022                                      <xsl:choose>
     3023                                        <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''">
     3024                                          <xsl:text>Appendix </xsl:text>
     3025                                        </xsl:when>
     3026                                        <xsl:otherwise>
     3027                                          <xsl:text>Section </xsl:text>
     3028                                        </xsl:otherwise>
     3029                                      </xsl:choose>
     3030                                      <xsl:value-of select="$sec"/>
    30043031                                    </em>
    30053032                                    <xsl:text>  </xsl:text>
     
    30203047                    <xsl:if test="generate-id(.) = generate-id(key('index-item',concat(@item,@anchor)))">
    30213048                      <xsl:variable name="item" select="@item"/>
    3022                       <xsl:variable name="in-artwork" select="count(//iref[@item=$item and @primary='true' and ancestor::artwork])!=0"/>
     3049                      <xsl:variable name="in-artwork" select="key('index-item',$item)[@primary='true' and ancestor::artwork]"/>
    30233050                         
    30243051                      <li class="indline1">
     
    30343061                       
    30353062                        <xsl:variable name="irefs3" select="key('index-item',@item)[not(@subitem) or @subitem='']"/>
    3036                         <xsl:variable name="xrefs3" select="//xref[@target=$irefs3[@x:for-anchor='']/../@anchor or @target=$irefs3/@x:for-anchor]"/>
    3037                         <xsl:variable name="extrefs3" select="//x:ref[.=$irefs3[@x:for-anchor='']/../@anchor or .=$irefs3/@x:for-anchor]"/>
     3063                        <xsl:variable name="xrefs3" select="key('xref-item',$irefs3[@x:for-anchor='']/../@anchor) | key('xref-item',$irefs3/@x:for-anchor)"/>
     3064                        <xsl:variable name="extrefs3" select="key('extref-item',$irefs3[@x:for-anchor='']/../@anchor) | key('extref-item',$irefs3/@x:for-anchor)"/>
    30383065
    30393066                        <xsl:for-each select="$irefs3|$xrefs3|$extrefs3">
     
    30513078                 
    30523079                                <xsl:variable name="itemsubitem" select="concat(@item,'..',@subitem)"/>
    3053                                 <xsl:variable name="in-artwork2" select="count(//iref[concat(@item,'..',@subitem)=$itemsubitem and @primary='true' and ancestor::artwork])!=0"/>
     3080                                <xsl:variable name="in-artwork2" select="key('index-item-subitem',concat(@item,'..',@subitem))[@primary='true' and ancestor::artwork]"/>
    30543081                 
    30553082                                <li class="indline1">
     
    30663093                                   
    30673094                                  <xsl:variable name="irefs4" select="key('index-item-subitem',concat(@item,'..',@subitem))"/>
    3068                                   <xsl:variable name="xrefs4" select="//xref[@target=$irefs4[@x:for-anchor='']/../@anchor or @target=$irefs4/@x:for-anchor]"/>
    3069                                   <xsl:variable name="extrefs4" select="//x:ref[.=$irefs4[@x:for-anchor='']/../@anchor or .=$irefs4/@x:for-anchor]"/>
     3095                                  <xsl:variable name="xrefs4" select="key('xref-item',$irefs4[@x:for-anchor='']/../@anchor) | key('xref-item',$irefs4/@x:for-anchor)"/>
     3096                                  <xsl:variable name="extrefs4" select="key('extref-item',$irefs4[@x:for-anchor='']/../@anchor) | key('extref-item',$irefs4/@x:for-anchor)"/>
    30703097
    30713098                                  <xsl:for-each select="$irefs4|$xrefs4|$extrefs4">
     
    37053732
    37063733<!-- internal ref support -->
     3734<xsl:key name="anchor-item-alias" match="//*[@anchor and (x:anchor-alias/@value or ed:replace/ed:ins/x:anchor-alias)]" use="x:anchor-alias/@value | ed:replace/ed:ins/x:anchor-alias/@value"/>
     3735
    37073736<xsl:template match="x:ref">
    37083737  <xsl:variable name="val" select="."/>
    3709   <xsl:variable name="target" select="//*[(@anchor and x:anchor-alias/@value=$val) or (@anchor and ed:replace/ed:ins/x:anchor-alias/@value=$val) or (@anchor=$val)]"/>
     3738<!--  <xsl:variable name="target" select="//*[(@anchor and x:anchor-alias/@value=$val) or (@anchor and ed:replace/ed:ins/x:anchor-alias/@value=$val) or (@anchor=$val)]"/> -->
     3739  <xsl:variable name="target" select="key('anchor-item',$val) | key('anchor-item-alias',$val)"/>
    37103740  <xsl:variable name="irefs" select="//iref[@x:for-anchor=$val]"/>
    37113741  <xsl:choose>
     
    37203750    </xsl:when>
    37213751    <xsl:otherwise>
    3722       <xsl:message>WARNING: internal link target for '<xsl:value-of select="."/>' does not exist.<xsl:call-template name="lineno"/></xsl:message>
     3752      <xsl:call-template name="warning">
     3753        <xsl:with-param name="inline" select="'no'"/>
     3754        <xsl:with-param name="msg">internal link target for '<xsl:value-of select="."/>' does not exist.</xsl:with-param>
     3755      </xsl:call-template>
    37233756      <xsl:value-of select="."/>
    37243757    </xsl:otherwise>
     
    38263859<xsl:template match="x:span">
    38273860  <xsl:apply-templates/>
     3861</xsl:template>
     3862
     3863<!-- ABNF support -->
     3864<xsl:template name="to-abnf-char-sequence">
     3865  <xsl:param name="chars"/>
     3866 
     3867  <xsl:variable name="c" select="substring($chars,1,1)"/>
     3868  <xsl:variable name="r" select="substring($chars,2)"/>
     3869   
     3870  <xsl:choose>
     3871    <xsl:when test="$c='A'">41</xsl:when>
     3872    <xsl:when test="$c='B'">42</xsl:when>
     3873    <xsl:when test="$c='C'">43</xsl:when>
     3874    <xsl:when test="$c='D'">44</xsl:when>
     3875    <xsl:when test="$c='E'">45</xsl:when>
     3876    <xsl:when test="$c='F'">46</xsl:when>
     3877    <xsl:when test="$c='G'">47</xsl:when>
     3878    <xsl:when test="$c='H'">48</xsl:when>
     3879    <xsl:when test="$c='I'">49</xsl:when>
     3880    <xsl:when test="$c='J'">4A</xsl:when>
     3881    <xsl:when test="$c='K'">4B</xsl:when>
     3882    <xsl:when test="$c='L'">4C</xsl:when>
     3883    <xsl:when test="$c='M'">4D</xsl:when>
     3884    <xsl:when test="$c='N'">4E</xsl:when>
     3885    <xsl:when test="$c='O'">4F</xsl:when>
     3886    <xsl:when test="$c='P'">50</xsl:when>
     3887    <xsl:when test="$c='Q'">51</xsl:when>
     3888    <xsl:when test="$c='R'">52</xsl:when>
     3889    <xsl:when test="$c='S'">53</xsl:when>
     3890    <xsl:when test="$c='T'">54</xsl:when>
     3891    <xsl:when test="$c='U'">55</xsl:when>
     3892    <xsl:when test="$c='V'">56</xsl:when>
     3893    <xsl:when test="$c='W'">57</xsl:when>
     3894    <xsl:when test="$c='X'">58</xsl:when>
     3895    <xsl:when test="$c='Y'">59</xsl:when>
     3896    <xsl:when test="$c='Z'">5A</xsl:when>
     3897    <xsl:when test="$c='a'">61</xsl:when>
     3898    <xsl:when test="$c='b'">62</xsl:when>
     3899    <xsl:when test="$c='c'">63</xsl:when>
     3900    <xsl:when test="$c='d'">64</xsl:when>
     3901    <xsl:when test="$c='e'">65</xsl:when>
     3902    <xsl:when test="$c='f'">66</xsl:when>
     3903    <xsl:when test="$c='g'">67</xsl:when>
     3904    <xsl:when test="$c='h'">68</xsl:when>
     3905    <xsl:when test="$c='i'">69</xsl:when>
     3906    <xsl:when test="$c='j'">6A</xsl:when>
     3907    <xsl:when test="$c='k'">6B</xsl:when>
     3908    <xsl:when test="$c='l'">6C</xsl:when>
     3909    <xsl:when test="$c='m'">6D</xsl:when>
     3910    <xsl:when test="$c='n'">6E</xsl:when>
     3911    <xsl:when test="$c='o'">6F</xsl:when>
     3912    <xsl:when test="$c='p'">70</xsl:when>
     3913    <xsl:when test="$c='q'">71</xsl:when>
     3914    <xsl:when test="$c='r'">72</xsl:when>
     3915    <xsl:when test="$c='s'">73</xsl:when>
     3916    <xsl:when test="$c='t'">74</xsl:when>
     3917    <xsl:when test="$c='u'">75</xsl:when>
     3918    <xsl:when test="$c='v'">76</xsl:when>
     3919    <xsl:when test="$c='w'">77</xsl:when>
     3920    <xsl:when test="$c='x'">78</xsl:when>
     3921    <xsl:when test="$c='y'">79</xsl:when>
     3922    <xsl:when test="$c='z'">7A</xsl:when>
     3923    <xsl:otherwise>
     3924      <xsl:text>??</xsl:text>
     3925      <xsl:call-template name="error">
     3926        <xsl:with-param name="msg" select="concat('unexpected character in ABNF char sequence: ',substring($chars,1,1))"/>
     3927      </xsl:call-template>
     3928    </xsl:otherwise>
     3929  </xsl:choose>
     3930
     3931  <xsl:if test="$r!=''">
     3932    <xsl:text>.</xsl:text>
     3933    <xsl:call-template name="to-abnf-char-sequence">
     3934      <xsl:with-param name="chars" select="$r"/>
     3935    </xsl:call-template>
     3936  </xsl:if>
     3937 
     3938</xsl:template>
     3939
     3940<xsl:template match="x:abnf-char-sequence">
     3941  <xsl:choose>
     3942    <xsl:when test="substring(.,1,1) != '&#34;' or substring(.,string-length(.),1) != '&#34;'">
     3943      <xsl:call-template name="error">
     3944        <xsl:with-param name="msg" select="'contents of x:abnf-char-sequence needs to be quoted.'"/>
     3945      </xsl:call-template>
     3946    </xsl:when>
     3947    <xsl:otherwise>
     3948      <xsl:text>%x</xsl:text>
     3949      <xsl:call-template name="to-abnf-char-sequence">
     3950        <xsl:with-param name="chars" select="substring(.,2,string-length(.)-2)"/>
     3951      </xsl:call-template>
     3952    </xsl:otherwise>
     3953  </xsl:choose>
    38283954</xsl:template>
    38293955
     
    45174643      </dt>
    45184644      <dd>
    4519         <xsl:value-of select="."/>
     4645        <xsl:apply-templates select="node()"/>
    45204646        <xsl:if test="@source"> --<xsl:value-of select="@source"/></xsl:if>
    45214647      </dd>
     
    46234749    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    46244750    <!-- when RCS keyword substitution in place, add version info -->
    4625     <xsl:if test="contains('$Revision: 1.367 $',':')">
    4626       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.367 $', 'Revision: '),'$','')),', ')"/>
     4751    <xsl:if test="contains('$Revision: 1.379 $',':')">
     4752      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.379 $', 'Revision: '),'$','')),', ')"/>
    46274753    </xsl:if>
    4628     <xsl:if test="contains('$Date: 2008-05-19 13:00:19 $',':')">
    4629       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-05-19 13:00:19 $', 'Date: '),'$','')),', ')"/>
     4754    <xsl:if test="contains('$Date: 2008-07-06 13:38:32 $',':')">
     4755      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-07-06 13:38:32 $', 'Date: '),'$','')),', ')"/>
    46304756    </xsl:if>
    46314757    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
     
    46574783
    46584784<xsl:template name="get-section-number">
    4659   <xsl:variable name="hasEdits" select="count(//ed:del|//ed:ins)!=0"/>
    46604785  <xsl:variable name="anchor" select="@anchor"/>
    46614786  <xsl:choose>
     
    46634788      <xsl:value-of select="@x:fixed-section-number"/>
    46644789    </xsl:when>
    4665     <xsl:when test="$hasEdits or ancestor::*/@x:fixed-section-number">
     4790    <xsl:when test="$has-edits or ancestor::*/@x:fixed-section-number">
    46664791      <xsl:call-template name="sectionnumberAndEdits"/>
    46674792    </xsl:when>
     
    47094834
    47104835<xsl:template name="get-section-type">
    4711   <xsl:param name="prec"/>
     4836  <xsl:param name="prec"/> <!-- TODO: check this, it's unused -->
    47124837  <xsl:choose>
    47134838    <xsl:when test="ancestor::back">Appendix</xsl:when>
     
    47544879    </xsl:otherwise>
    47554880  </xsl:choose>
     4881</xsl:template>
     4882
     4883<!-- checking for email element -->
     4884<xsl:template name="extract-email">
     4885  <xsl:variable name="email" select="normalize-space(.)"/>
     4886  <xsl:if test="string-length(.) != string-length($email) or contains($email,' ')">
     4887    <xsl:call-template name="warning">
     4888      <xsl:with-param name="inline" select="'no'"/>
     4889      <xsl:with-param name="msg">excessive whitespace in email address: '<xsl:value-of select="."/>'</xsl:with-param>
     4890    </xsl:call-template>
     4891  </xsl:if>
     4892 
     4893  <xsl:variable name="email2">
     4894    <xsl:choose>
     4895      <xsl:when test="starts-with($email,'mailto:')">
     4896        <xsl:call-template name="warning">
     4897          <xsl:with-param name="inline" select="'no'"/>
     4898          <xsl:with-param name="msg">email should not include URI scheme: '<xsl:value-of select="."/>'</xsl:with-param>
     4899        </xsl:call-template>
     4900        <xsl:value-of select="substring($email, 1 + string-length('mailto:'))"/>
     4901      </xsl:when>
     4902      <xsl:otherwise>
     4903        <xsl:value-of select="$email"/>
     4904      </xsl:otherwise>
     4905    </xsl:choose>
     4906  </xsl:variable>
     4907 
     4908  <xsl:value-of select="$email2"/>
    47564909</xsl:template>
    47574910
     
    47984951  </xsl:if>
    47994952</xsl:template>
     4953
     4954<!-- define exslt:node-set for msxml -->       
     4955<msxsl:script language="JScript" implements-prefix="exslt">
     4956  this['node-set'] = function (x) {
     4957    return x;
     4958  }
     4959</msxsl:script>
    48004960
    48014961<!-- date handling -->
  • rfc2629xslt/rfc2629xslt.html

    r246 r272  
    329329  }
    330330  @top-right {
    331        content: "April 2008";
     331       content: "July 2008";
    332332  }
    333333  @top-center {
     
    356356    }
    357357}
    358 </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 via XSL-FO" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C License" href="#rfc.section.C"><link rel="Appendix" title="D Change Logs" href="#rfc.section.D"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 through XSLT</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">April 2008</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.2">In-Browser Engines</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5&nbsp;&nbsp;&nbsp;<a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF via XSL-FO</a><ul class="toc"><li class="tocline1">9.1&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li class="tocline1">10.6&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li class="tocline1">10.7&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li class="tocline1">10.8&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li class="tocline1">10.9&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li class="tocline1">10.10&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li class="tocline1">10.11&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li class="tocline1">10.12&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li class="tocline1">10.13&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li class="tocline1">10.14&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li class="tocline1">10.15&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li class="tocline1">10.16&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li class="tocline1">10.17&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li class="tocline1">10.18&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li class="tocline1">10.19&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></li></ul></li><li class="tocline0">11.&nbsp;&nbsp;&nbsp;<a href="#utilities">Utilities</a><ul class="toc"><li class="tocline1">11.1&nbsp;&nbsp;&nbsp;<a href="#checking-references">Checking References</a></li><li class="tocline1">11.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.2">Generating Graphs from References</a></li><li class="tocline1">11.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.3">Producing reference entries for books</a></li><li class="tocline1">11.4&nbsp;&nbsp;&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li class="tocline1">11.5&nbsp;&nbsp;&nbsp;<a href="#extract-artwork">Extracting artwork</a></li><li class="tocline1">11.6&nbsp;&nbsp;&nbsp;<a href="#grddl">GRRDL</a></li></ul></li><li class="tocline0">12.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">Informative References</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0">A.&nbsp;&nbsp;&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></li><li class="tocline0">B.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B">Implementation Notes</a><ul class="toc"><li class="tocline1">B.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.1">Recognized type attributes for &lt;artwork&gt; element</a></li></ul></li><li class="tocline0">C.&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li class="tocline0">D.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D">Change Logs</a><ul class="toc"><li class="tocline1">D.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Package</a></li><li class="tocline1">D.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">amazon-asin.xslt</a></li><li class="tocline1">D.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">check-references.xslt</a></li><li class="tocline1">D.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.4">gen-reference-graph.xslt</a></li><li class="tocline1">D.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.5">rfc2629.xslt</a></li><li class="tocline1">D.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.6">rfc2629toFO.xslt</a></li><li class="tocline1">D.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.7">xsl11toAn.xslt</a></li><li class="tocline1">D.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.8">xsl11toFop.xslt</a></li><li class="tocline1">D.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.9">xsl11toFop-0.93.xslt</a></li><li class="tocline1">D.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.10">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section&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 through XSL-FO (<a href="#output.pdf" title="Transforming to PDF via XSL-FO">Section&nbsp;9</a>) and</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;11</a>).</li></ul><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.21.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;Extension elements</h2><p id="rfc.section.2.1.p.1">In addition, <samp>rfc2629.xslt</samp> supports a set of extension elements, using elements and attributes in the namespace "http://greenbytes.de/2002/rfcedit". They are used for </p><ul><li>simple issue tracking and change tracking and</li><li>adding additional metadata to the generated documents (such as HTML LINK elements to related documents, see <a href="#html.link" title="Standard HTML LINK elements">Section&nbsp;6.2</a>).</li></ul><p id="rfc.section.2.1.p.2">Note that these extensions are experimental. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p>  <pre class="text">&lt;?rfc toc="yes"?&gt;
     358</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 via XSL-FO" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C License" href="#rfc.section.C"><link rel="Appendix" title="D Change Logs" href="#rfc.section.D"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 through XSLT</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">July 2008</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.2">In-Browser Engines</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5&nbsp;&nbsp;&nbsp;<a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF via XSL-FO</a><ul class="toc"><li class="tocline1">9.1&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li class="tocline1">10.6&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li class="tocline1">10.7&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li class="tocline1">10.8&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li class="tocline1">10.9&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li class="tocline1">10.10&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li class="tocline1">10.11&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li class="tocline1">10.12&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li class="tocline1">10.13&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li class="tocline1">10.14&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li class="tocline1">10.15&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li class="tocline1">10.16&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li class="tocline1">10.17&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li class="tocline1">10.18&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li class="tocline1">10.19&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li class="tocline1">10.20&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></li></ul></li><li class="tocline0">11.&nbsp;&nbsp;&nbsp;<a href="#utilities">Utilities</a><ul class="toc"><li class="tocline1">11.1&nbsp;&nbsp;&nbsp;<a href="#checking-references">Checking References</a></li><li class="tocline1">11.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.2">Generating Graphs from References</a></li><li class="tocline1">11.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11.3">Producing reference entries for books</a></li><li class="tocline1">11.4&nbsp;&nbsp;&nbsp;<a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li class="tocline1">11.5&nbsp;&nbsp;&nbsp;<a href="#extract-artwork">Extracting artwork</a></li><li class="tocline1">11.6&nbsp;&nbsp;&nbsp;<a href="#grddl">GRRDL</a></li></ul></li><li class="tocline0">12.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">Informative References</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0">A.&nbsp;&nbsp;&nbsp;<a href="#grammar">RELAX NG Compact Schema</a></li><li class="tocline0">B.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B">Implementation Notes</a><ul class="toc"><li class="tocline1">B.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.B.1">Recognized type attributes for &lt;artwork&gt; element</a></li></ul></li><li class="tocline0">C.&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li class="tocline0">D.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D">Change Logs</a><ul class="toc"><li class="tocline1">D.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.1">Package</a></li><li class="tocline1">D.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.2">amazon-asin.xslt</a></li><li class="tocline1">D.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.3">check-references.xslt</a></li><li class="tocline1">D.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.4">gen-reference-graph.xslt</a></li><li class="tocline1">D.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.5">rfc2629.xslt</a></li><li class="tocline1">D.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.6">rfc2629toFO.xslt</a></li><li class="tocline1">D.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.7">xsl11toAn.xslt</a></li><li class="tocline1">D.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.8">xsl11toFop.xslt</a></li><li class="tocline1">D.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.9">xsl11toFop-0.93.xslt</a></li><li class="tocline1">D.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.D.10">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section&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 through XSL-FO (<a href="#output.pdf" title="Transforming to PDF via XSL-FO">Section&nbsp;9</a>) and</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;11</a>).</li></ul><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.21.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;Extension elements</h2><p id="rfc.section.2.1.p.1">In addition, <samp>rfc2629.xslt</samp> supports a set of extension elements, using elements and attributes in the namespace "http://greenbytes.de/2002/rfcedit". They are used for </p><ul><li>simple issue tracking and change tracking and</li><li>adding additional metadata to the generated documents (such as HTML LINK elements to related documents, see <a href="#html.link" title="Standard HTML LINK elements">Section&nbsp;6.2</a>).</li></ul><p id="rfc.section.2.1.p.2">Note that these extensions are experimental. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p>  <pre class="text">&lt;?rfc toc="yes"?&gt;
    359359&lt;?rfc-ext support-rfc2731="no"?&gt;
    360360</pre> <div id="rfc.figure.u.2"></div> <p>Using XSLT parameters (Saxon):</p>  <pre class="text">java -cp saxon.jar com.icl.saxon.StyleSheet source.xml rfc2629.xslt \
     
    363363   --param xml2rfc-ext-support-rfc2731 '"no"' \
    364364   rfc2629.xslt source.xml &gt; result.html
    365 </pre>  <p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p> <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Supported xml2rfc-compatible PIs</h2><div id="rfc.table.u.1"><table summary="" class="tt full" 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>rfc</td><td>background<div id="rfc.iref.b.1"></div><div id="rfc.iref.p.1"></div></td><td>xml2rfc-background<div id="rfc.iref.x.2"></div>  <div id="rfc.iref.p.2"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>compact<div id="rfc.iref.c.1"></div><div id="rfc.iref.p.3"></div></td><td>xml2rfc-compact<div id="rfc.iref.x.3"></div>  <div id="rfc.iref.p.4"></div></td><td>"no"</td><td>only applies to HTML output method when printing</td></tr><tr><td>rfc</td><td>comments<div id="rfc.iref.c.2"></div><div id="rfc.iref.p.5"></div></td><td>xml2rfc-comments<div id="rfc.iref.x.4"></div>  <div id="rfc.iref.p.6"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>editing<div id="rfc.iref.e.1"></div><div id="rfc.iref.p.7"></div></td><td>xml2rfc-editing<div id="rfc.iref.x.5"></div>  <div id="rfc.iref.p.8"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>footer<div id="rfc.iref.f.1"></div><div id="rfc.iref.p.9"></div></td><td>xml2rfc-footer<div id="rfc.iref.x.6"></div>  <div id="rfc.iref.p.10"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>header<div id="rfc.iref.h.1"></div><div id="rfc.iref.p.11"></div></td><td>xml2rfc-header<div id="rfc.iref.x.7"></div>  <div id="rfc.iref.p.12"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>inline<div id="rfc.iref.i.1"></div><div id="rfc.iref.p.13"></div></td><td>xml2rfc-inline<div id="rfc.iref.x.8"></div>  <div id="rfc.iref.p.14"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>iprnotified<div id="rfc.iref.i.2"></div><div id="rfc.iref.p.15"></div></td><td>xml2rfc-iprnotified<div id="rfc.iref.x.9"></div>  <div id="rfc.iref.p.16"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>linkmailto<div id="rfc.iref.l.1"></div><div id="rfc.iref.p.17"></div></td><td>xml2rfc-linkmailto<div id="rfc.iref.x.10"></div>  <div id="rfc.iref.p.18"></div></td><td>"yes"</td><td></td></tr><tr><td>rfc</td><td>private<div id="rfc.iref.p.19"></div><div id="rfc.iref.p.20"></div></td><td>xml2rfc-private<div id="rfc.iref.x.11"></div>  <div id="rfc.iref.p.21"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.22"></div></td><td>xml2rfc-sortrefs<div id="rfc.iref.x.12"></div>  <div id="rfc.iref.p.23"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>symrefs<div id="rfc.iref.s.2"></div><div id="rfc.iref.p.24"></div></td><td>xml2rfc-symrefs<div id="rfc.iref.x.13"></div>  <div id="rfc.iref.p.25"></div></td><td>"yes"</td><td>The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</td></tr><tr><td>rfc</td><td>toc<div id="rfc.iref.t.1"></div><div id="rfc.iref.p.26"></div></td><td>xml2rfc-toc<div id="rfc.iref.x.14"></div>  <div id="rfc.iref.p.27"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>tocdepth<div id="rfc.iref.t.2"></div><div id="rfc.iref.p.28"></div></td><td>xml2rfc-tocdepth<div id="rfc.iref.x.15"></div>  <div id="rfc.iref.p.29"></div></td><td>99</td><td></td></tr><tr><td>rfc</td><td>topblock<div id="rfc.iref.t.3"></div><div id="rfc.iref.p.30"></div></td><td>xml2rfc-topblock<div id="rfc.iref.x.16"></div>  <div id="rfc.iref.p.31"></div></td><td>"yes"</td><td></td></tr></tbody></table></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 summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.32"></div></td><td>incompatible with XML/XSLT processing model</td></tr><tr><td>rfc</td><td>needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.33"></div></td><td></td></tr><tr><td>rfc</td><td>slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.34"></div></td><td></td></tr><tr><td>rfc</td><td>strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.35"></div></td><td></td></tr><tr><td>rfc</td><td>subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.36"></div></td><td></td></tr><tr><td>rfc</td><td>tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.37"></div></td><td>(defaults to "yes")</td></tr><tr><td>rfc</td><td>tocompact<div id="rfc.iref.t.5"></div><div id="rfc.iref.p.38"></div></td><td></td></tr></tbody></table></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 summary="" class="tt full" 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>rfc-ext</td><td>allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.39"></div></td><td>xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.17"></div>  <div id="rfc.iref.p.40"></div></td><td>"no"</td><td>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;11.4</a>).</td></tr><tr><td>rfc-ext</td><td>authors-section<div id="rfc.iref.a.2"></div><div id="rfc.iref.p.41"></div></td><td>xml2rfc-ext-authors-section<div id="rfc.iref.x.18"></div>  <div id="rfc.iref.p.42"></div></td><td></td><td>When "end", place the authors section at the end (just before the copyright statements). This seems to be the preferred order in the newest RFCs.</td></tr><tr><td>rfc-ext</td><td>include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.43"></div></td><td>xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.19"></div>  <div id="rfc.iref.p.44"></div></td><td></td><td>When set to "yes", index entries are generated for all references.</td></tr><tr><td>rfc-ext</td><td>justification<div id="rfc.iref.j.1"></div><div id="rfc.iref.p.45"></div></td><td>xml2rfc-ext-justification<div id="rfc.iref.x.20"></div>  <div id="rfc.iref.p.46"></div></td><td>"never"</td><td>"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</td></tr><tr><td>rfc-ext</td><td>parse-xml-in-artwork<div id="rfc.iref.p.47"></div><div id="rfc.iref.p.48"></div></td><td>xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.21"></div>  <div id="rfc.iref.p.49"></div></td><td>"no"</td><td>May be used to enable parsing of XML content in figures (MSXML only).</td></tr><tr><td>rfc-ext</td><td>support-rfc2731<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.50"></div></td><td>xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.22"></div>  <div id="rfc.iref.p.51"></div></td><td>"yes"</td><td>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><tr><td>rfc-ext</td><td>sec-no-trailing-dots<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.52"></div></td><td>xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.23"></div>  <div id="rfc.iref.p.53"></div></td><td></td><td>When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the newest RFCs.</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;<a id="anchors" href="#anchors">Anchors</a></h1><p id="rfc.section.4.p.1">The transformation automatically generates anchors that are supposed to be stable and predictable and that can be used to identify specific parts of the document. Anchors are generated both in HTML and XSL-FO content (but the latter will only be used for PDF output when the XSL-FO engine supports producing PDF anchors).</p><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table summary="The following anchors get auto-generated:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Anchor name</th><th>Description</th></tr></thead><tbody><tr><td>rfc.abstract <div id="rfc.iref.r.1"></div><div id="rfc.iref.a.3"></div></td><td>Abstract</td></tr><tr><td>rfc.authors <div id="rfc.iref.r.2"></div><div id="rfc.iref.a.4"></div></td><td>Authors section</td></tr><tr><td>rfc.copyright <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.5"></div></td><td>Copyright section</td></tr><tr><td>rfc.copyrightnotice <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.6"></div></td><td>Copyright notice</td></tr><tr><td>rfc.figure.<em>n</em>  <div id="rfc.iref.r.5"></div><div id="rfc.iref.a.7"></div></td><td>Figures (titled)</td></tr><tr><td>rfc.figure.u.<em>n</em>  <div id="rfc.iref.r.6"></div><div id="rfc.iref.a.8"></div></td><td>Figures (untitled)</td></tr><tr><td>rfc.index <div id="rfc.iref.r.7"></div><div id="rfc.iref.a.9"></div></td><td>Index</td></tr><tr><td>rfc.ipr <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.10"></div></td><td>Intellectual Property</td></tr><tr><td>rfc.iref.<em>n</em>  <div id="rfc.iref.r.9"></div><div id="rfc.iref.a.11"></div></td><td>Internal references</td></tr><tr><td>rfc.note.<em>n</em>  <div id="rfc.iref.r.10"></div><div id="rfc.iref.a.12"></div></td><td>Notes (from front section)</td></tr><tr><td>rfc.references <div id="rfc.iref.r.11"></div><div id="rfc.iref.a.13"></div></td><td>References</td></tr><tr><td>rfc.references.<em>n</em>  <div id="rfc.iref.r.12"></div><div id="rfc.iref.a.14"></div></td><td>Additional references</td></tr><tr><td>rfc.section.<em>n</em>  <div id="rfc.iref.r.13"></div><div id="rfc.iref.a.15"></div></td><td>Section <em>n</em></td></tr><tr><td>rfc.section.<em>n</em>.p.<em>m</em>  <div id="rfc.iref.r.14"></div><div id="rfc.iref.a.16"></div></td><td>Section <em>n</em>, paragraph <em>m</em></td></tr><tr><td>rfc.status <div id="rfc.iref.r.15"></div><div id="rfc.iref.a.17"></div></td><td>Status of memo</td></tr><tr><td>rfc.table.<em>n</em>  <div id="rfc.iref.r.16"></div><div id="rfc.iref.a.18"></div></td><td>Tables (titled)</td></tr><tr><td>rfc.table.u.<em>n</em>  <div id="rfc.iref.r.17"></div><div id="rfc.iref.a.19"></div></td><td>Tables (untitled)</td></tr><tr><td>rfc.toc <div id="rfc.iref.r.18"></div><div id="rfc.iref.a.20"></div></td><td>Table of contents</td></tr><tr><td>rfc.xref.<em>name</em>.<em>n</em>  <div id="rfc.iref.r.19"></div><div id="rfc.iref.a.21"></div></td><td>References to reference <em>n</em> to <em>name</em></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a id="xslt.engines" href="#xslt.engines">Supported XSLT engines</a></h1><p id="rfc.section.5.p.1">The transformation requires a non-standard extension function (see <a href="http://www.exslt.org/exsl/functions/node-set/exsl.node-set.html">exsl:node-set</a>) which is however widely available. XSLT processors that do not support this extension (or a functional equivalent) currently are not supported.</p><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;Standalone Engines</h2><p id="rfc.section.5.1.p.1">The following XSLT engines are believed to work well: </p><ul><li><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;; these processors do not support exsl:node-set(), but have a similar proprietary extension)</li><li><span id="rfc.iref.s.8"></span>Saxon (&lt;<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>&gt;)</li><li><span id="rfc.iref.x.24"></span>Xalan (&lt;<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>&gt;)</li><li><span id="rfc.iref.x.25"></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><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;In-Browser Engines</h2><p id="rfc.section.5.2.p.1">The following browsers seem to work fine: </p><ul><li><span id="rfc.iref.i.5"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</li><li><span id="rfc.iref.i.6"></span>Internet Explorer 6</li><li><span id="rfc.iref.i.7"></span>Internet Explorer 7</li><li id="firefox3"><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.* (currently only test builds available)</li><li><span id="rfc.iref.o.1"></span><span id="rfc.iref.o.2"></span>Opera 9.5 (currently only test builds available)</li><li><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li id="firefox12"><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>)</li><li id="opera"><span id="rfc.iref.o.3"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725).</li><li id="safari"><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;.</li></ul><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a>&nbsp;<a id="output.html" href="#output.html">Transforming to HTML</a></h1><p id="rfc.section.6.p.1">Transformation to HTML can be done inside the browser if it supports XSLT. To enable this, add the following processing instruction to the start of the source file:</p><div id="rfc.iref.x.26"></div><div id="rfc.figure.u.4"></div><pre class="text">  &lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?&gt;
     365</pre>  <p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p> <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;Supported xml2rfc-compatible PIs</h2><div id="rfc.table.u.1"><table summary="" class="tt full" 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>rfc</td><td>background<div id="rfc.iref.b.1"></div><div id="rfc.iref.p.1"></div></td><td>xml2rfc-background<div id="rfc.iref.x.2"></div>  <div id="rfc.iref.p.2"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>compact<div id="rfc.iref.c.1"></div><div id="rfc.iref.p.3"></div></td><td>xml2rfc-compact<div id="rfc.iref.x.3"></div>  <div id="rfc.iref.p.4"></div></td><td>"no"</td><td>only applies to HTML output method when printing</td></tr><tr><td>rfc</td><td>comments<div id="rfc.iref.c.2"></div><div id="rfc.iref.p.5"></div></td><td>xml2rfc-comments<div id="rfc.iref.x.4"></div>  <div id="rfc.iref.p.6"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>editing<div id="rfc.iref.e.1"></div><div id="rfc.iref.p.7"></div></td><td>xml2rfc-editing<div id="rfc.iref.x.5"></div>  <div id="rfc.iref.p.8"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>footer<div id="rfc.iref.f.1"></div><div id="rfc.iref.p.9"></div></td><td>xml2rfc-footer<div id="rfc.iref.x.6"></div>  <div id="rfc.iref.p.10"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>header<div id="rfc.iref.h.1"></div><div id="rfc.iref.p.11"></div></td><td>xml2rfc-header<div id="rfc.iref.x.7"></div>  <div id="rfc.iref.p.12"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>inline<div id="rfc.iref.i.1"></div><div id="rfc.iref.p.13"></div></td><td>xml2rfc-inline<div id="rfc.iref.x.8"></div>  <div id="rfc.iref.p.14"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>iprnotified<div id="rfc.iref.i.2"></div><div id="rfc.iref.p.15"></div></td><td>xml2rfc-iprnotified<div id="rfc.iref.x.9"></div>  <div id="rfc.iref.p.16"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>linkmailto<div id="rfc.iref.l.1"></div><div id="rfc.iref.p.17"></div></td><td>xml2rfc-linkmailto<div id="rfc.iref.x.10"></div>  <div id="rfc.iref.p.18"></div></td><td>"yes"</td><td></td></tr><tr><td>rfc</td><td>private<div id="rfc.iref.p.19"></div><div id="rfc.iref.p.20"></div></td><td>xml2rfc-private<div id="rfc.iref.x.11"></div>  <div id="rfc.iref.p.21"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.22"></div></td><td>xml2rfc-sortrefs<div id="rfc.iref.x.12"></div>  <div id="rfc.iref.p.23"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>symrefs<div id="rfc.iref.s.2"></div><div id="rfc.iref.p.24"></div></td><td>xml2rfc-symrefs<div id="rfc.iref.x.13"></div>  <div id="rfc.iref.p.25"></div></td><td>"yes"</td><td>The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</td></tr><tr><td>rfc</td><td>toc<div id="rfc.iref.t.1"></div><div id="rfc.iref.p.26"></div></td><td>xml2rfc-toc<div id="rfc.iref.x.14"></div>  <div id="rfc.iref.p.27"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>tocdepth<div id="rfc.iref.t.2"></div><div id="rfc.iref.p.28"></div></td><td>xml2rfc-tocdepth<div id="rfc.iref.x.15"></div>  <div id="rfc.iref.p.29"></div></td><td>99</td><td></td></tr><tr><td>rfc</td><td>topblock<div id="rfc.iref.t.3"></div><div id="rfc.iref.p.30"></div></td><td>xml2rfc-topblock<div id="rfc.iref.x.16"></div>  <div id="rfc.iref.p.31"></div></td><td>"yes"</td><td></td></tr></tbody></table></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 summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.32"></div></td><td>incompatible with XML/XSLT processing model</td></tr><tr><td>rfc</td><td>needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.33"></div></td><td></td></tr><tr><td>rfc</td><td>slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.34"></div></td><td></td></tr><tr><td>rfc</td><td>strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.35"></div></td><td></td></tr><tr><td>rfc</td><td>subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.36"></div></td><td></td></tr><tr><td>rfc</td><td>tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.37"></div></td><td>(defaults to "yes")</td></tr><tr><td>rfc</td><td>tocompact<div id="rfc.iref.t.5"></div><div id="rfc.iref.p.38"></div></td><td></td></tr></tbody></table></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 summary="" class="tt full" 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>rfc-ext</td><td>allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.39"></div></td><td>xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.17"></div>  <div id="rfc.iref.p.40"></div></td><td>"no"</td><td>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;11.4</a>).</td></tr><tr><td>rfc-ext</td><td>authors-section<div id="rfc.iref.a.2"></div><div id="rfc.iref.p.41"></div></td><td>xml2rfc-ext-authors-section<div id="rfc.iref.x.18"></div>  <div id="rfc.iref.p.42"></div></td><td></td><td>When "end", place the authors section at the end (just before the copyright statements). This seems to be the preferred order in the newest RFCs.</td></tr><tr><td>rfc-ext</td><td>include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.43"></div></td><td>xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.19"></div>  <div id="rfc.iref.p.44"></div></td><td></td><td>When set to "yes", index entries are generated for all references.</td></tr><tr><td>rfc-ext</td><td>justification<div id="rfc.iref.j.1"></div><div id="rfc.iref.p.45"></div></td><td>xml2rfc-ext-justification<div id="rfc.iref.x.20"></div>  <div id="rfc.iref.p.46"></div></td><td>"never"</td><td>"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</td></tr><tr><td>rfc-ext</td><td>parse-xml-in-artwork<div id="rfc.iref.p.47"></div><div id="rfc.iref.p.48"></div></td><td>xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.21"></div>  <div id="rfc.iref.p.49"></div></td><td>"no"</td><td>May be used to enable parsing of XML content in figures (MSXML only).</td></tr><tr><td>rfc-ext</td><td>support-rfc2731<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.50"></div></td><td>xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.22"></div>  <div id="rfc.iref.p.51"></div></td><td>"yes"</td><td>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><tr><td>rfc-ext</td><td>sec-no-trailing-dots<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.52"></div></td><td>xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.23"></div>  <div id="rfc.iref.p.53"></div></td><td></td><td>When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the newest RFCs.</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;<a id="anchors" href="#anchors">Anchors</a></h1><p id="rfc.section.4.p.1">The transformation automatically generates anchors that are supposed to be stable and predictable and that can be used to identify specific parts of the document. Anchors are generated both in HTML and XSL-FO content (but the latter will only be used for PDF output when the XSL-FO engine supports producing PDF anchors).</p><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table summary="The following anchors get auto-generated:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Anchor name</th><th>Description</th></tr></thead><tbody><tr><td>rfc.abstract <div id="rfc.iref.r.1"></div><div id="rfc.iref.a.3"></div></td><td>Abstract</td></tr><tr><td>rfc.authors <div id="rfc.iref.r.2"></div><div id="rfc.iref.a.4"></div></td><td>Authors section</td></tr><tr><td>rfc.copyright <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.5"></div></td><td>Copyright section</td></tr><tr><td>rfc.copyrightnotice <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.6"></div></td><td>Copyright notice</td></tr><tr><td>rfc.figure.<em>n</em>  <div id="rfc.iref.r.5"></div><div id="rfc.iref.a.7"></div></td><td>Figures (titled)</td></tr><tr><td>rfc.figure.u.<em>n</em>  <div id="rfc.iref.r.6"></div><div id="rfc.iref.a.8"></div></td><td>Figures (untitled)</td></tr><tr><td>rfc.index <div id="rfc.iref.r.7"></div><div id="rfc.iref.a.9"></div></td><td>Index</td></tr><tr><td>rfc.ipr <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.10"></div></td><td>Intellectual Property</td></tr><tr><td>rfc.iref.<em>n</em>  <div id="rfc.iref.r.9"></div><div id="rfc.iref.a.11"></div></td><td>Internal references</td></tr><tr><td>rfc.note.<em>n</em>  <div id="rfc.iref.r.10"></div><div id="rfc.iref.a.12"></div></td><td>Notes (from front section)</td></tr><tr><td>rfc.references <div id="rfc.iref.r.11"></div><div id="rfc.iref.a.13"></div></td><td>References</td></tr><tr><td>rfc.references.<em>n</em>  <div id="rfc.iref.r.12"></div><div id="rfc.iref.a.14"></div></td><td>Additional references</td></tr><tr><td>rfc.section.<em>n</em>  <div id="rfc.iref.r.13"></div><div id="rfc.iref.a.15"></div></td><td>Section <em>n</em></td></tr><tr><td>rfc.section.<em>n</em>.p.<em>m</em>  <div id="rfc.iref.r.14"></div><div id="rfc.iref.a.16"></div></td><td>Section <em>n</em>, paragraph <em>m</em></td></tr><tr><td>rfc.status <div id="rfc.iref.r.15"></div><div id="rfc.iref.a.17"></div></td><td>Status of memo</td></tr><tr><td>rfc.table.<em>n</em>  <div id="rfc.iref.r.16"></div><div id="rfc.iref.a.18"></div></td><td>Tables (titled)</td></tr><tr><td>rfc.table.u.<em>n</em>  <div id="rfc.iref.r.17"></div><div id="rfc.iref.a.19"></div></td><td>Tables (untitled)</td></tr><tr><td>rfc.toc <div id="rfc.iref.r.18"></div><div id="rfc.iref.a.20"></div></td><td>Table of contents</td></tr><tr><td>rfc.xref.<em>name</em>.<em>n</em>  <div id="rfc.iref.r.19"></div><div id="rfc.iref.a.21"></div></td><td>References to reference <em>n</em> to <em>name</em></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a id="xslt.engines" href="#xslt.engines">Supported XSLT engines</a></h1><p id="rfc.section.5.p.1">The transformation requires a non-standard extension function (see <a href="http://www.exslt.org/exsl/functions/node-set/exsl.node-set.html">exsl:node-set</a>) which is however widely available. XSLT processors that do not support this extension (or a functional equivalent) currently are not supported.</p><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;Standalone Engines</h2><p id="rfc.section.5.1.p.1">The following XSLT engines are believed to work well: </p><ul><li><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;; these processors do not support exsl:node-set(), but have a similar proprietary extension)</li><li><span id="rfc.iref.s.8"></span>Saxon (&lt;<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>&gt;)</li><li><span id="rfc.iref.x.24"></span>Xalan (&lt;<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>&gt;)</li><li><span id="rfc.iref.x.25"></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><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;In-Browser Engines</h2><p id="rfc.section.5.2.p.1">The following browsers seem to work fine: </p><ul><li><span id="rfc.iref.i.5"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</li><li><span id="rfc.iref.i.6"></span>Internet Explorer 6</li><li><span id="rfc.iref.i.7"></span>Internet Explorer 7</li><li id="firefox3"><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.* (release candidate available)</li><li><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li id="firefox12"><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>)</li><li id="opera"><span id="rfc.iref.o.1"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725). Opera 9.5: transformation appears to work, but CSS isn't getting applied (repored to Opera as bug 337388 on 2008-06-12).</li><li id="safari"><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;.</li></ul><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a>&nbsp;<a id="output.html" href="#output.html">Transforming to HTML</a></h1><p id="rfc.section.6.p.1">Transformation to HTML can be done inside the browser if it supports XSLT. To enable this, add the following processing instruction to the start of the source file:</p><div id="rfc.iref.x.26"></div><div id="rfc.figure.u.4"></div><pre class="text">  &lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?&gt;
    366366</pre><p id="rfc.section.6.p.3">(and ensure that <samp>rfc2629.xslt</samp> is present).</p><h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a>&nbsp;HTML compliance</h2><p id="rfc.section.6.1.p.1">The transformation result is supposed to conform to the HTML 4.01 strict DTD <a href="#HTML" id="rfc.xref.HTML.1"><cite title="HTML 4.01 Specification">[HTML]</cite></a>. This can be checked using the W3C's online validator at &lt;<a href="http://validator.w3.org">http://validator.w3.org</a>&gt;<span id="rfc.iref.h.2"></span>.</p><h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a>&nbsp;<a id="html.link" href="#html.link">Standard HTML LINK elements</a></h2><p id="rfc.section.6.2.p.1">LINK elements exist since HTML 2.0. They can be used to embed content-independant links inside the document. Unfortunately, only few user agents support this element. Firefox users may want to check the <a href="https://addons.mozilla.org/firefox/2933/">Link Widgets</a> extension.</p><div id="rfc.table.u.5"><p>The following LINK elements are produced:</p><table summary="The following LINK elements are produced:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>LINK type</th><th>description</th></tr></thead><tbody><tr><td>alternate<div id="rfc.iref.a.22"></div><div id="rfc.iref.h.3"></div></td><td>for RFCs, a link to the authorative ASCII version on the IETF web site</td></tr><tr><td>appendic<div id="rfc.iref.a.23"></div><div id="rfc.iref.h.4"></div></td><td>pointer to all top-level appendics</td></tr><tr><td>author<div id="rfc.iref.a.24"></div><div id="rfc.iref.h.5"></div></td><td>pointer to "authors" section</td></tr><tr><td>chapter<div id="rfc.iref.c.3"></div><div id="rfc.iref.h.6"></div></td><td>pointer to all top-level sections</td></tr><tr><td>contents<div id="rfc.iref.c.4"></div><div id="rfc.iref.h.7"></div></td><td>pointer to table of contents</td></tr><tr><td>copyright<div id="rfc.iref.c.5"></div><div id="rfc.iref.h.8"></div></td><td>pointer to copyright statement</td></tr><tr><td>index<div id="rfc.iref.i.8"></div><div id="rfc.iref.h.9"></div></td><td>pointer to index</td></tr></tbody></table></div><div id="rfc.figure.u.5"></div> <p>The figure below shows how Mozilla Firefox 1.0 displays the Site Navigation Bar for rfc2396.xml.</p>  <p><img src="rfc2629xslt-fig1.png" alt="&#xA;(LINK elements displayed in Mozilla Firefox for RFC2396.xml)&#xA;" height="235" width="509"></p> <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 summary="The following standard HTML META elements are produced:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>generator<div id="rfc.iref.g.1"></div><div id="rfc.iref.h.10"></div></td><td>from XSLT engine version and stylesheet version</td></tr><tr><td>keywords<div id="rfc.iref.k.1"></div><div id="rfc.iref.h.11"></div></td><td>from keyword elements in front section</td></tr></tbody></table></div><h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a>&nbsp;<a id="rfc2731.properties" href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></h2><p id="rfc.section.6.4.p.1">Unless turned off using the "rfc-ext support-rfc2731" processing instruction, the transformation will generate metadata according to <a href="#RFC2731" id="rfc.xref.RFC2731.1"><cite title="Encoding Dublin Core Metadata in HTML">[RFC2731]</cite></a>.</p><div id="rfc.table.u.7"><p>The following DCMI properties are produced:</p><table summary="The following DCMI properties are produced:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>DC.Creator<div id="rfc.iref.c.6"></div><div id="rfc.iref.d.1"></div></td><td>from author information in front section</td></tr><tr><td>DC.Date.Issued<div id="rfc.iref.d.2"></div><div id="rfc.iref.d.3"></div></td><td>from date information in front section</td></tr><tr><td>DC.Description.Abstract<div id="rfc.iref.d.4"></div><div id="rfc.iref.d.5"></div></td><td>from abstract</td></tr><tr><td>DC.Identifier<div id="rfc.iref.i.9"></div><div id="rfc.iref.d.6"></div></td><td>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>DC.Relation.Replaces<div id="rfc.iref.r.20"></div><div id="rfc.iref.d.7"></div></td><td>from "obsoletes" attribute</td></tr></tbody></table></div><h2 id="rfc.section.6.5"><a href="#rfc.section.6.5">6.5</a>&nbsp;<a id="hcard" href="#hcard">Experimental hCard support</a></h2><p id="rfc.section.6.5.p.1">The generated author information is formatted in <a href="http://microformats.org/wiki/hcard">hCard</a> format.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a>&nbsp;<a id="output.xhtml" href="#output.xhtml">Transforming to XHTML</a></h1><p id="rfc.section.7.p.1">Transforming to XHTML requires slightly different XSLT output options and is implemented by the derived transformation script <samp>rfc2629toXHTML.xslt</samp>.</p><dl class="empty"><dd> <b>Note:</b> Microsoft Internet Explorer does <em>not</em> support XHTML. Therefore it usually makes more sense to generate plain old HTML.</dd></dl><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a>&nbsp;<a id="output.chm" href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></h1><p id="rfc.section.8.p.1"> <span id="rfc.iref.c.7"></span>  <span id="rfc.iref.m.5"></span> To generate a CHM file using Microsoft's HTML Help Compiler (hhc), three files are required in addition to the HTML file. </p><ol><li>hhc - table of contents file (HTML)</li><li>hhk - index file (HTML)</li><li>hhp - project file (plain text)</li></ol><p id="rfc.section.8.p.2">The three files are generated with three specific transformations, each requiring the additional XSLT parameter "basename" to specify the filename prefix.</p><div id="rfc.figure.u.6"></div> <p>Example:</p>  <pre class="text">saxon rfc2616.xml rfc2629toHhp.xslt basename=rfc2616  &gt; rfc2616.hhp
    367367saxon rfc2616.xml rfc2629toHhc.xslt basename=rfc2616  &gt; rfc2616.hhc
     
    372372</pre> <h2 id="rfc.section.9.2"><a href="#rfc.section.9.2">9.2</a>&nbsp;<a id="output.pdf.html" href="#output.pdf.html">Via X(HTML)</a></h2><p id="rfc.section.9.2.p.1">PDF output can also be produced directly from (X)HTML. One simple approach is to rely on the browser's printing function, and to use a printer driver that produces PDF. Depending on the brower's CSS capabilities, the output will behave properly with respect to table breaks etc.</p><p id="rfc.section.9.2.p.2">An alternative is PrinceXML (see &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.</p><div id="rfc.figure.u.8"></div> <p>For instance, PDF output with text justification turned on can be produced with:</p>  <pre class="text">saxon input.xml rfc2629toXHTML.xslt xml2rfc-ext-justification=print \
    373373  &gt; output.xhtml
    374 prince output.xhtml output.pdf</pre> <hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a>&nbsp;<a id="extensions" href="#extensions">Generic Extensions</a></h1><p id="rfc.section.10.p.1">This section documents extensions implemented in <samp>rfc2629.xslt</samp>, using the extension namespace "http://purl.org/net/xml2rfc/ext".</p><div id="rfc.iref.e.2"></div><div id="rfc.iref.a.27"></div><h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a>&nbsp;<a id="ext.element.anchor-alias" href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></h2><p id="rfc.section.10.1.p.1">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.</p><p id="rfc.section.10.1.p.2">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>).</p><div id="rfc.iref.e.3"></div><div id="rfc.iref.b.2"></div><h2 id="rfc.section.10.2"><a href="#rfc.section.10.2">10.2</a>&nbsp;<a id="ext.element.bcp14" href="#ext.element.bcp14">&lt;bcp14&gt; element</a></h2><p id="rfc.section.10.2.p.1">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>.</p><div id="rfc.figure.u.9"></div> <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 [
     374prince output.xhtml output.pdf</pre> <hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a>&nbsp;<a id="extensions" href="#extensions">Generic Extensions</a></h1><p id="rfc.section.10.p.1">This section documents extensions implemented in <samp>rfc2629.xslt</samp>, using the extension namespace "http://purl.org/net/xml2rfc/ext".</p><div id="rfc.iref.e.2"></div><div id="rfc.iref.a.27"></div><h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a>&nbsp;<a id="ext.element.abnf-char-sequence" href="#ext.element.abnf-char-sequence">&lt;abnf-char-sequence&gt; element</a></h2><p id="rfc.section.10.1.p.1">Converts the contained quoted string into a hex-encoded character sequence, for use in case-sensitive ABNF productions.</p><p id="rfc.section.10.1.p.2">For instance, "&lt;x:abnf-char-sequence&gt;"HTTP"&lt;/x:abnf-char-sequence&gt;" gets converted to "%x48.54.54.50".</p><div id="rfc.iref.e.3"></div><div id="rfc.iref.a.28"></div><h2 id="rfc.section.10.2"><a href="#rfc.section.10.2">10.2</a>&nbsp;<a id="ext.element.anchor-alias" href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></h2><p id="rfc.section.10.2.p.1">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.</p><p id="rfc.section.10.2.p.2">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>).</p><div id="rfc.iref.e.4"></div><div id="rfc.iref.b.2"></div><h2 id="rfc.section.10.3"><a href="#rfc.section.10.3">10.3</a>&nbsp;<a id="ext.element.bcp14" href="#ext.element.bcp14">&lt;bcp14&gt; element</a></h2><p id="rfc.section.10.3.p.1">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>.</p><div id="rfc.figure.u.9"></div> <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 [
    375375 &lt;!ENTITY MAY "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
    376376   &gt;MAY&lt;/bcp14&gt;"&gt;
     
    392392   &gt;SHOULD&lt;/bcp14&gt;"&gt;
    393393 &lt;!ENTITY SHOULD-NOT "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'
    394    &gt;SHOULD NOT&lt;/bcp14&gt;"&gt;]&gt;</pre> <div id="rfc.iref.e.4"></div><div id="rfc.iref.b.3"></div><h2 id="rfc.section.10.3"><a href="#rfc.section.10.3">10.3</a>&nbsp;<a id="ext.element.bb" href="#ext.element.bb">&lt;bb&gt; element</a></h2><p id="rfc.section.10.3.p.1">Marking up a string as &lt;bb&gt; indicates that it represents the bottom line of a box drawing, replacing the "+" and "-" characters accordingly.</p><div id="rfc.iref.e.5"></div><div id="rfc.iref.b.4"></div><h2 id="rfc.section.10.4"><a href="#rfc.section.10.4">10.4</a>&nbsp;<a id="ext.element.bc" href="#ext.element.bc">&lt;bc&gt; element</a></h2><p id="rfc.section.10.4.p.1">Marking up a string as &lt;bc&gt; indicates that it represents a center line of a box drawing, replacing the "|" character accordingly.</p><div id="rfc.iref.e.6"></div><div id="rfc.iref.b.5"></div><h2 id="rfc.section.10.5"><a href="#rfc.section.10.5">10.5</a>&nbsp;<a id="ext.element.blockquote" href="#ext.element.blockquote">&lt;blockquote&gt; element</a></h2><p id="rfc.section.10.5.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE">blockquote</a>" element in <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.</p><div id="rfc.iref.e.7"></div><div id="rfc.iref.b.6"></div><h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a>&nbsp;<a id="ext.element.bt" href="#ext.element.bt">&lt;bt&gt; element</a></h2><p id="rfc.section.10.6.p.1">Marking up a string as &lt;bt&gt; indicates that it represents the top line of a box drawing, replacing the "+" and "-" characters accordingly.</p><div id="rfc.iref.e.8"></div><div id="rfc.iref.d.8"></div><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a>&nbsp;<a id="ext.element.dfn" href="#ext.element.dfn">&lt;dfn&gt; element</a></h2><p id="rfc.section.10.7.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-DFN">dfn</a>" element in <a href="#HTML" id="rfc.xref.HTML.3"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.9"></div><div id="rfc.iref.h.12"></div><h2 id="rfc.section.10.8"><a href="#rfc.section.10.8">10.8</a>&nbsp;<a id="ext.element.h" href="#ext.element.h">&lt;h&gt; element</a></h2><p id="rfc.section.10.8.p.1">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&#8482; 2.0">[XHTML2]</cite></a>.</p><div id="rfc.iref.e.10"></div><div id="rfc.iref.l.2"></div><h2 id="rfc.section.10.9"><a href="#rfc.section.10.9">10.9</a>&nbsp;<a id="ext.element.length-of" href="#ext.element.length-of">&lt;length-of&gt; element</a></h2><p id="rfc.section.10.9.p.1">This element can be used to insert the length of another formatted section (in decimal).</p><div id="rfc.figure.u.10"></div> <p>Example: computing the Content-Length header value</p>  <pre class="text">&lt;artwork&gt;
     394   &gt;SHOULD NOT&lt;/bcp14&gt;"&gt;]&gt;</pre> <div id="rfc.iref.e.5"></div><div id="rfc.iref.b.3"></div><h2 id="rfc.section.10.4"><a href="#rfc.section.10.4">10.4</a>&nbsp;<a id="ext.element.bb" href="#ext.element.bb">&lt;bb&gt; element</a></h2><p id="rfc.section.10.4.p.1">Marking up a string as &lt;bb&gt; indicates that it represents the bottom line of a box drawing, replacing the "+" and "-" characters accordingly.</p><div id="rfc.iref.e.6"></div><div id="rfc.iref.b.4"></div><h2 id="rfc.section.10.5"><a href="#rfc.section.10.5">10.5</a>&nbsp;<a id="ext.element.bc" href="#ext.element.bc">&lt;bc&gt; element</a></h2><p id="rfc.section.10.5.p.1">Marking up a string as &lt;bc&gt; indicates that it represents a center line of a box drawing, replacing the "|" character accordingly.</p><div id="rfc.iref.e.7"></div><div id="rfc.iref.b.5"></div><h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a>&nbsp;<a id="ext.element.blockquote" href="#ext.element.blockquote">&lt;blockquote&gt; element</a></h2><p id="rfc.section.10.6.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE">blockquote</a>" element in <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.</p><div id="rfc.iref.e.8"></div><div id="rfc.iref.b.6"></div><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a>&nbsp;<a id="ext.element.bt" href="#ext.element.bt">&lt;bt&gt; element</a></h2><p id="rfc.section.10.7.p.1">Marking up a string as &lt;bt&gt; indicates that it represents the top line of a box drawing, replacing the "+" and "-" characters accordingly.</p><div id="rfc.iref.e.9"></div><div id="rfc.iref.d.8"></div><h2 id="rfc.section.10.8"><a href="#rfc.section.10.8">10.8</a>&nbsp;<a id="ext.element.dfn" href="#ext.element.dfn">&lt;dfn&gt; element</a></h2><p id="rfc.section.10.8.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-DFN">dfn</a>" element in <a href="#HTML" id="rfc.xref.HTML.3"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.10"></div><div id="rfc.iref.h.12"></div><h2 id="rfc.section.10.9"><a href="#rfc.section.10.9">10.9</a>&nbsp;<a id="ext.element.h" href="#ext.element.h">&lt;h&gt; element</a></h2><p id="rfc.section.10.9.p.1">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&#8482; 2.0">[XHTML2]</cite></a>.</p><div id="rfc.iref.e.11"></div><div id="rfc.iref.l.2"></div><h2 id="rfc.section.10.10"><a href="#rfc.section.10.10">10.10</a>&nbsp;<a id="ext.element.length-of" href="#ext.element.length-of">&lt;length-of&gt; element</a></h2><p id="rfc.section.10.10.p.1">This element can be used to insert the length of another formatted section (in decimal).</p><div id="rfc.figure.u.10"></div> <p>Example: computing the Content-Length header value</p>  <pre class="text">&lt;artwork&gt;
    395395...
    396396Content-Length: &lt;x:length-of target="req"/&gt;
     
    398398&lt;x:span anchor="req"&gt;123456789
    399399&lt;x:span&gt;&lt;artwork/&gt;
    400 </pre> <p id="rfc.section.10.9.p.3">The lenght computation counts line ends as two characters (CRLF).</p><p id="rfc.section.10.9.p.4">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.</p><div id="rfc.iref.e.11"></div><div id="rfc.iref.l.3"></div><h2 id="rfc.section.10.10"><a href="#rfc.section.10.10">10.10</a>&nbsp;<a id="ext.element.link" href="#ext.element.link">&lt;link&gt; element</a></h2><p id="rfc.section.10.10.p.1">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.</p><div id="rfc.figure.u.11"></div> <p>Example: generating HTML link element</p>  <pre class="text">        &lt;x:link xmlns="http://purl.org/net/xml2rfc/ext"
     400</pre> <p id="rfc.section.10.10.p.3">The lenght computation counts line ends as two characters (CRLF).</p><p id="rfc.section.10.10.p.4">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.</p><div id="rfc.iref.e.12"></div><div id="rfc.iref.l.3"></div><h2 id="rfc.section.10.11"><a href="#rfc.section.10.11">10.11</a>&nbsp;<a id="ext.element.link" href="#ext.element.link">&lt;link&gt; element</a></h2><p id="rfc.section.10.11.p.1">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.</p><div id="rfc.figure.u.11"></div> <p>Example: generating HTML link element</p>  <pre class="text">        &lt;x:link xmlns="http://purl.org/net/xml2rfc/ext"
    401401            rel="Bookmark"
    402402            title="IETF WEBDAV Working Group"
    403             href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/&gt;</pre> <div id="rfc.iref.e.12"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.11"><a href="#rfc.section.10.11">10.11</a>&nbsp;<a id="ext.element.lt" href="#ext.element.lt">&lt;lt&gt; element</a></h2><p id="rfc.section.10.11.p.1">Used for grouping multiple &lt;t&gt; elements into a single list item.</p><div id="rfc.iref.e.13"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.12"><a href="#rfc.section.10.12">10.12</a>&nbsp;<a id="ext.element.q" href="#ext.element.q">&lt;q&gt; element</a></h2><p id="rfc.section.10.12.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.14"></div><div id="rfc.iref.r.21"></div><h2 id="rfc.section.10.13"><a href="#rfc.section.10.13">10.13</a>&nbsp;<a id="ext.element.ref" href="#ext.element.ref">&lt;ref&gt; element</a></h2><p id="rfc.section.10.13.p.1">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.</p><p id="rfc.section.10.13.p.2">For instance, given an alias definition such as</p><div id="rfc.figure.u.12"></div> <pre class="text">      &lt;section title="Test" anchor="test"&gt;
     403            href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/&gt;</pre> <div id="rfc.iref.e.13"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.12"><a href="#rfc.section.10.12">10.12</a>&nbsp;<a id="ext.element.lt" href="#ext.element.lt">&lt;lt&gt; element</a></h2><p id="rfc.section.10.12.p.1">Used for grouping multiple &lt;t&gt; elements into a single list item.</p><div id="rfc.iref.e.14"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.13"><a href="#rfc.section.10.13">10.13</a>&nbsp;<a id="ext.element.q" href="#ext.element.q">&lt;q&gt; element</a></h2><p id="rfc.section.10.13.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.15"></div><div id="rfc.iref.r.21"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a>&nbsp;<a id="ext.element.ref" href="#ext.element.ref">&lt;ref&gt; element</a></h2><p id="rfc.section.10.14.p.1">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.</p><p id="rfc.section.10.14.p.2">For instance, given an alias definition such as</p><div id="rfc.figure.u.12"></div> <pre class="text">      &lt;section title="Test" anchor="test"&gt;
    404404        &lt;x:anchor-alias value="alias1"/&gt;
    405405        &lt;x:anchor-alias value="alias 2"/&gt;
    406406        ...
    407       &lt;/section&gt;</pre> <p id="rfc.section.10.13.p.4">the following simple references</p><div id="rfc.figure.u.13"></div> <pre class="text">      &lt;x:ref&gt;test&lt;/x:ref&gt;
     407      &lt;/section&gt;</pre> <p id="rfc.section.10.14.p.4">the following simple references</p><div id="rfc.figure.u.13"></div> <pre class="text">      &lt;x:ref&gt;test&lt;/x:ref&gt;
    408408      &lt;x:ref&gt;alias1&lt;/x:ref&gt;
    409       &lt;x:ref&gt;alias 2&lt;/x:ref&gt;</pre> <p id="rfc.section.10.13.p.6">are equivalent to...:</p><div id="rfc.figure.u.14"></div> <pre class="text">      &lt;xref target="test"&gt;test&lt;/xref&gt;
     409      &lt;x:ref&gt;alias 2&lt;/x:ref&gt;</pre> <p id="rfc.section.10.14.p.6">are equivalent to...:</p><div id="rfc.figure.u.14"></div> <pre class="text">      &lt;xref target="test"&gt;test&lt;/xref&gt;
    410410      &lt;xref target="test"&gt;alias1&lt;/xref&gt;
    411       &lt;xref target="test"&gt;alias 2&lt;/xref&gt;</pre> <div id="rfc.iref.e.15"></div><div id="rfc.iref.s.12"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a>&nbsp;<a id="ext.element.source" href="#ext.element.source">&lt;source&gt; element</a></h2><p id="rfc.section.10.14.p.1">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.</p><div id="rfc.figure.u.15"></div> <p>For example:</p>  <pre class="text">      ...
     411      &lt;xref target="test"&gt;alias 2&lt;/xref&gt;</pre> <div id="rfc.iref.e.16"></div><div id="rfc.iref.s.12"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a>&nbsp;<a id="ext.element.source" href="#ext.element.source">&lt;source&gt; element</a></h2><p id="rfc.section.10.15.p.1">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.</p><div id="rfc.figure.u.15"></div> <p>For example:</p>  <pre class="text">      ...
    412412      &lt;xref target="RFC2616" x:fmt="of" x:rel="#PUT" /&gt;
    413413      ...
     
    417417        &lt;x:source href="rfc2616.xml"/&gt;
    418418        ...
    419     </pre> <div id="rfc.iref.e.16"></div><div id="rfc.iref.s.13"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a>&nbsp;<a id="ext.element.sup" href="#ext.element.sup">&lt;sup&gt; element</a></h2><p id="rfc.section.10.15.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</a>" element in <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><p id="rfc.section.10.15.p.2">Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".</p><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a>&nbsp;<a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></h2><p id="rfc.section.10.16.p.1">The extension attribute below is allowed on the standard &lt;iref&gt; element: </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><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a>&nbsp;<a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></h2><p id="rfc.section.10.17.p.1">The extension attribute below is allowed on the standard &lt;list&gt; element: </p><ul><li>x:indent specifies the amount of indentation for list items in hanging lists. This can be useful when the output format, such as XSL-FO, does not support automatical formatting. The value takes an XSL-FO width, such as "5em". The default is <em>length of longest label in characters</em> times <em>0.8em</em>.</li></ul><p id="rfc.section.10.17.p.2">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.</p><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a>&nbsp;<a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></h2><p id="rfc.section.10.18.p.1">The extension attribute below is allowed on the standard &lt;list&gt; element: </p><ul><li>x:fixed-section-number can be used to specify a fixed section number. This can be useful when formatting historic documents that used a different numbering style.</li></ul><h2 id="rfc.section.10.19"><a href="#rfc.section.10.19">10.19</a>&nbsp;<a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></h2><p id="rfc.section.10.19.p.1">Three extension attributes are allowed on the standard &lt;xref&gt; element: </p><ol><li>x:sec can be specified to point to a specific section of the referenced document,</li><li>x:rel may specify a relative reference to use when linking into the referenced document (if linking by section number is not available),</li><li>x:fmt defines the text format to be used.</li></ol><p id="rfc.section.10.19.p.2">The following formats are defined for the x:fmt attribute: </p><dl><dt>, (Comma)</dt><dd>[<em>reference</em>], Section <em>sec</em> </dd><dt>()</dt><dd>[<em>reference</em>] (Section <em>sec</em>)</dd><dt>anchor</dt><dd>Like the default format, but without brackets.</dd><dt>of</dt><dd>Section <em>sec</em> of [<em>reference</em>]</dd><dt>number</dt><dd> <em>sec</em> </dd><dt>none</dt><dd>No output (can be used to have xrefs to references without having them rendered as such)</dd><dt>sec</dt><dd>Section <em>sec</em> </dd></dl><p id="rfc.section.10.19.p.3">These extensions are currently only supported for &lt;xref&gt; elements without child nodes.</p><p id="rfc.section.10.19.p.4">If the processor knows how to reference the target section, it will generate a link directly to the target section, such as in <a href="#RFC2119" id="rfc.xref.RFC2119.2"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>, <a href="http://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a>&nbsp;<a id="utilities" href="#utilities">Utilities</a></h1><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a>&nbsp;<a id="checking-references" href="#checking-references">Checking References</a></h2><p id="rfc.section.11.1.p.1"> <samp>check-references.xslt</samp> can be used to check all references to RFC- and ID-series IETF publications and to W3C publications (note this script requires local copies of &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;).</p><p id="rfc.section.11.1.p.2">If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <samp>intended-level</samp> as 'PROPOSED', 'DRAFT' or 'STANDARD'.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2006-08-06, 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
     419    </pre> <div id="rfc.iref.e.17"></div><div id="rfc.iref.s.13"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a>&nbsp;<a id="ext.element.sup" href="#ext.element.sup">&lt;sup&gt; element</a></h2><p id="rfc.section.10.16.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</a>" element in <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><p id="rfc.section.10.16.p.2">Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".</p><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a>&nbsp;<a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></h2><p id="rfc.section.10.17.p.1">The extension attribute below is allowed on the standard &lt;iref&gt; element: </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><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a>&nbsp;<a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></h2><p id="rfc.section.10.18.p.1">The extension attribute below is allowed on the standard &lt;list&gt; element: </p><ul><li>x:indent specifies the amount of indentation for list items in hanging lists. This can be useful when the output format, such as XSL-FO, does not support automatical formatting. The value takes an XSL-FO width, such as "5em". The default is <em>length of longest label in characters</em> times <em>0.8em</em>.</li></ul><p id="rfc.section.10.18.p.2">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.</p><h2 id="rfc.section.10.19"><a href="#rfc.section.10.19">10.19</a>&nbsp;<a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></h2><p id="rfc.section.10.19.p.1">The extension attribute below is allowed on the standard &lt;list&gt; element: </p><ul><li>x:fixed-section-number can be used to specify a fixed section number. This can be useful when formatting historic documents that used a different numbering style.</li></ul><h2 id="rfc.section.10.20"><a href="#rfc.section.10.20">10.20</a>&nbsp;<a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc &lt;xref&gt; element</a></h2><p id="rfc.section.10.20.p.1">Three extension attributes are allowed on the standard &lt;xref&gt; element: </p><ol><li>x:sec can be specified to point to a specific section of the referenced document,</li><li>x:rel may specify a relative reference to use when linking into the referenced document (if linking by section number is not available),</li><li>x:fmt defines the text format to be used.</li></ol><p id="rfc.section.10.20.p.2">The following formats are defined for the x:fmt attribute: </p><dl><dt>, (Comma)</dt><dd>[<em>reference</em>], Section <em>sec</em> </dd><dt>()</dt><dd>[<em>reference</em>] (Section <em>sec</em>)</dd><dt>anchor</dt><dd>Like the default format, but without brackets.</dd><dt>of</dt><dd>Section <em>sec</em> of [<em>reference</em>]</dd><dt>number</dt><dd> <em>sec</em> </dd><dt>none</dt><dd>No output (can be used to have xrefs to references without having them rendered as such)</dd><dt>sec</dt><dd>Section <em>sec</em> </dd></dl><p id="rfc.section.10.20.p.3">These extensions are currently only supported for &lt;xref&gt; elements without child nodes.</p><p id="rfc.section.10.20.p.4">If the processor knows how to reference the target section, it will generate a link directly to the target section, such as in <a href="#RFC2119" id="rfc.xref.RFC2119.2"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>, <a href="http://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a>&nbsp;<a id="utilities" href="#utilities">Utilities</a></h1><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a>&nbsp;<a id="checking-references" href="#checking-references">Checking References</a></h2><p id="rfc.section.11.1.p.1"> <samp>check-references.xslt</samp> can be used to check all references to RFC- and ID-series IETF publications and to W3C publications (note this script requires local copies of &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;).</p><p id="rfc.section.11.1.p.2">If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <samp>intended-level</samp> as 'PROPOSED', 'DRAFT' or 'STANDARD'.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2006-08-06, 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
    420420
    421421Normative References:
     
    484484        <strong>| spanx</strong>
    485485        <strong>| xref</strong>
     486        <strong>| <a href="#x_abnf-char-sequence" class="smpl">x_abnf-char-sequence</a></strong>
    486487        <strong>| <a href="#x_bb" class="smpl">x_bb</a></strong>
    487488        <strong>| <a href="#x_bc" class="smpl">x_bc</a></strong>
     
    605606       | spanx
    606607       | vspace
     608       <strong>| <a href="#x_abnf-char-sequence" class="smpl">x_abnf-char-sequence</a></strong>
    607609       <strong>| <a href="#x_anchor-alias" class="smpl">x_anchor-alias</a></strong>
    608610       <strong>| <a href="#x_bcp14" class="smpl">x_bcp14</a></strong>
     
    615617}
    616618
    617 <em># Extend attribute set for &lt;iref&gt; (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref&gt; element">Section&nbsp;10.16</a>)</em>
     619<em># Extend attribute set for &lt;iref&gt; (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref&gt; element">Section&nbsp;10.17</a>)</em>
    618620attlist.iref &amp;=
    619621  attribute x:for-anchor { ATEXT }?
    620622
    621 <em># Extend attribute set for &lt;list&gt; (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list&gt; element">Section&nbsp;10.17</a>)</em>
     623<em># Extend attribute set for &lt;list&gt; (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list&gt; element">Section&nbsp;10.18</a>)</em>
    622624attlist.list &amp;=
    623625  attribute x:indent { ATEXT }?
     
    631633  attribute grddl:transformation { ATEXT }?
    632634
    633 <em># Extend attribute set for &lt;section&gt; (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section&gt; element">Section&nbsp;10.18</a>)</em>
     635<em># Extend attribute set for &lt;section&gt; (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section&gt; element">Section&nbsp;10.19</a>)</em>
    634636attlist.section &amp;=
    635637  attribute x:fixed-section-number { ATEXT }?
     
    639641  attribute anchor { xsd:ID }?
    640642
    641 <em># Extend attribute set for &lt;xref&gt; (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref&gt; element">Section&nbsp;10.19</a>)</em>
     643<em># Extend attribute set for &lt;xref&gt; (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref&gt; element">Section&nbsp;10.20</a>)</em>
    642644attlist.xref &amp;=
    643645  attribute x:fmt  { "()" | "," | "anchor" | "of" | "number" | "sec" |
     
    646648  attribute x:sec  { ATEXT }?
    647649
    648 <em id="x_anchor-alias"><span id="rfc.iref.a.28"></span><span id="rfc.iref.e.17"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias&gt; element">Section&nbsp;10.1</a>)</em>
     650<em id="x_abnf-char-sequence"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.18"></span># Conversion to ABNF char sequence (see <a href="#ext.element.abnf-char-sequence" title="<abnf-char-sequence&gt; element">Section&nbsp;10.1</a>)</em>
     651<a href="#x_abnf-char-sequence" class="smpl">x_abnf-char-sequence</a> =
     652  element x:abnf-char-sequence {
     653    TEXT
     654  }
     655
     656<em id="x_anchor-alias"><span id="rfc.iref.a.30"></span><span id="rfc.iref.e.19"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias&gt; element">Section&nbsp;10.2</a>)</em>
    649657<a href="#x_anchor-alias" class="smpl">x_anchor-alias</a> =
    650658  element x:anchor-alias {
     
    653661  }
    654662
    655 <em id="x_assign-section-number"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.18"></span># Setting section numbers for internally generated sections
     663<em id="x_assign-section-number"><span id="rfc.iref.a.31"></span><span id="rfc.iref.e.20"></span># Setting section numbers for internally generated sections
    656664# (experimental)</em>
    657665<a href="#x_assign-section-number" class="smpl">x_assign-section-number</a> =
     
    662670  }
    663671
    664 <em id="x_bb"><span id="rfc.iref.b.7"></span><span id="rfc.iref.e.19"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb&gt; element">Section&nbsp;10.3</a>)</em>
     672<em id="x_bb"><span id="rfc.iref.b.7"></span><span id="rfc.iref.e.21"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb&gt; element">Section&nbsp;10.4</a>)</em>
    665673<a href="#x_bb" class="smpl">x_bb</a> =
    666674  element x:bb {
     
    674682  }
    675683
    676 <em id="x_bc"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.20"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc&gt; element">Section&nbsp;10.4</a>)</em>
     684<em id="x_bc"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.22"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc&gt; element">Section&nbsp;10.5</a>)</em>
    677685<a href="#x_bc" class="smpl">x_bc</a> =
    678686  element x:bc {
     
    686694  }
    687695
    688 <em id="x_bcp14"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.21"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14&gt; element">Section&nbsp;10.2</a>)</em>
     696<em id="x_bcp14"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.23"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14&gt; element">Section&nbsp;10.3</a>)</em>
    689697<a href="#x_bcp14" class="smpl">x_bcp14</a> =
    690698  element x:bcp14 {
     
    702710  }
    703711 
    704 <em id="x_blockquote"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.22"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote&gt; element">Section&nbsp;10.5</a>)</em>
     712<em id="x_blockquote"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.24"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote&gt; element">Section&nbsp;10.6</a>)</em>
    705713<a href="#x_blockquote" class="smpl">x_blockquote</a> =
    706714  element x:blockquote {
     
    709717  }
    710718
    711 <em id="x_bt"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.23"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt&gt; element">Section&nbsp;10.6</a>)</em>
     719<em id="x_bt"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.25"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt&gt; element">Section&nbsp;10.7</a>)</em>
    712720<a href="#x_bt" class="smpl">x_bt</a> =
    713721  element x:bt {
     
    721729  }
    722730
    723 <em id="x_dfn"><span id="rfc.iref.d.9"></span><span id="rfc.iref.e.24"></span># Definition (see <a href="#ext.element.dfn" title="<dfn&gt; element">Section&nbsp;10.7</a>)</em>
     731<em id="x_dfn"><span id="rfc.iref.d.9"></span><span id="rfc.iref.e.26"></span># Definition (see <a href="#ext.element.dfn" title="<dfn&gt; element">Section&nbsp;10.8</a>)</em>
    724732<a href="#x_dfn" class="smpl">x_dfn</a> =
    725733  element x:dfn {
     
    728736  }
    729737 
    730 <em id="x_h"><span id="rfc.iref.h.13"></span><span id="rfc.iref.e.25"></span># Heading (see <a href="#ext.element.h" title="<h&gt; element">Section&nbsp;10.8</a>)</em>
     738<em id="x_h"><span id="rfc.iref.h.13"></span><span id="rfc.iref.e.27"></span># Heading (see <a href="#ext.element.h" title="<h&gt; element">Section&nbsp;10.9</a>)</em>
    731739<a href="#x_h" class="smpl">x_h</a> =
    732740  element x:h {
     
    734742  }
    735743
    736 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.26"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of&gt; element">Section&nbsp;10.9</a>)</em>
     744<em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.28"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of&gt; element">Section&nbsp;10.10</a>)</em>
    737745<a href="#x_length-of" class="smpl">x_length-of</a> =
    738746  element x:length-of {
     
    742750  }
    743751
    744 <em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.27"></span># Link (see <a href="#ext.element.link" title="<link&gt; element">Section&nbsp;10.10</a>)</em>
     752<em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.29"></span># Link (see <a href="#ext.element.link" title="<link&gt; element">Section&nbsp;10.11</a>)</em>
    745753<a href="#x_link" class="smpl">x_link</a> =
    746754  element x:link {
     
    751759  }
    752760 
    753 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.28"></span># Extended list item (see <a href="#ext.element.lt" title="<lt&gt; element">Section&nbsp;10.11</a>)</em>
     761<em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.30"></span># Extended list item (see <a href="#ext.element.lt" title="<lt&gt; element">Section&nbsp;10.12</a>)</em>
    754762<a href="#x_lt" class="smpl">x_lt</a> =
    755763  element x:lt {
     
    759767  }
    760768
    761 <em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e.29"></span># Inline quote (see <a href="#ext.element.q" title="<q&gt; element">Section&nbsp;10.12</a>)</em>
     769<em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e.31"></span># Inline quote (see <a href="#ext.element.q" title="<q&gt; element">Section&nbsp;10.13</a>)</em>
    762770<a href="#x_q" class="smpl">x_q</a> =
    763771  element x:q {
     
    765773  }
    766774
    767 <em id="x_ref"><span id="rfc.iref.r.23"></span><span id="rfc.iref.e.30"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref&gt; element">Section&nbsp;10.13</a>)</em> 
     775<em id="x_ref"><span id="rfc.iref.r.23"></span><span id="rfc.iref.e.32"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref&gt; element">Section&nbsp;10.14</a>)</em> 
    768776<a href="#x_ref" class="smpl">x_ref</a> =
    769777  element x:ref {
     
    771779  }
    772780
    773 <em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.31"></span># source information (see <a href="#ext.element.source" title="<source&gt; element">Section&nbsp;10.14</a>)</em> 
     781<em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.33"></span># source information (see <a href="#ext.element.source" title="<source&gt; element">Section&nbsp;10.15</a>)</em> 
    774782<a href="#x_source" class="smpl">x_source</a> =
    775783  element x:source {
     
    779787  }
    780788
    781 <em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.32"></span># superscript (see <a href="#ext.element.sup" title="<sup&gt; element">Section&nbsp;10.15</a>)</em>
     789<em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.34"></span># superscript (see <a href="#ext.element.sup" title="<sup&gt; element">Section&nbsp;10.16</a>)</em>
    782790<a href="#x_sup" class="smpl">x_sup</a> =
    783791  element x:sup {
     
    785793  }
    786794
    787 <em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.33"></span># Inline Span </em>
     795<em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.35"></span># Inline Span </em>
    788796<a href="#x_span" class="smpl">x_span</a> =
    789797  element x:span {
     
    792800  }
    793801
    794 <em id="x_x"><span id="rfc.iref.x.27"></span><span id="rfc.iref.e.34"></span># Nop (for alignment in source)</em>
     802<em id="x_x"><span id="rfc.iref.x.27"></span><span id="rfc.iref.e.36"></span># Nop (for alignment in source)</em>
    795803<a href="#x_x" class="smpl">x_x</a> =
    796804  element x:x {
    797805    empty
    798806  }
    799 </pre><hr class="noprint"><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a>&nbsp;Implementation Notes</h1><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;Recognized type attributes for &lt;artwork&gt; element</h2><p id="rfc.section.B.1.p.1">Specific values in the &lt;artwork&gt; element's "type" attribute are recognized and cause a different visual style to be used:</p><div id="rfc.table.u.9"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Media Type</th><th>Comment</th></tr></thead><tbody><tr><td>abnf</td><td>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>abnf2616</td><td>ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td>application/relax-ng-compact-syntax</td><td>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>application/xml-dtd</td><td>XML DTD</td></tr><tr><td>message/http; msgtype="request"</td><td>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="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td>message/http; msgtype="response"</td><td>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="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a>&nbsp;<a id="license" href="#license">License</a></h1><p id="rfc.section.C.p.1">Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a>&nbsp;Change Logs</h1><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd></dl><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of &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;.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at &lt;<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>&gt; to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd></dl><h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see &lt;<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>&gt;). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see &lt;<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>&gt;.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see &lt;<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>&gt;.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see &lt;<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>&gt;.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &amp;#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add &lt;link&gt; element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (&lt;<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>&gt;) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into &lt;back&gt;.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate &lt;CITE&gt; elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move &lt;dt&gt; style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty &lt;dt&gt; elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in &lt;appendix&gt; elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to &lt;iref&gt; handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for &lt;x:lt&gt;.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (&lt;<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>&gt;) to head element. Add warning for misplaced &lt;t&gt; elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow &lt;eref&gt; below &lt;cref&gt;.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd><dt>2008-03-01</dt><dd>Use line numbers in diagnostics in Saxon8/9 as well.</dd><dt>2008-03-02</dt><dd>Fix a bug in the logic choosing the boilerplate, resulting in obsolete text being inserted into IDs.</dd><dt>2008-04-01</dt><dd>Add support for superscript element.</dd></dl><h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd></dl><h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a>&nbsp;xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a>&nbsp;xsl11toFop.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.9"><a href="#rfc.section.D.9">D.9</a>&nbsp;xsl11toFop-0.93.xslt</h2><dl><dt>2008-03-15</dt><dd>Add a workaround to the fo:inline workaround (sigh).</dd></dl><h2 id="rfc.section.D.10"><a href="#rfc.section.D.10">D.10</a>&nbsp;xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">allow-markup-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.28">A</a></li><li class="indline1">Anchors&nbsp;&nbsp;<ul class="ind"><li class="indline1">rfc.abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">author HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.3"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.7">A</a></li><li class="indline1">bc Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.4"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bcp14 Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.2"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">blockquote Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.5"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1">bt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.6"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">DCMI properties&nbsp;&nbsp;<ul class="ind"><li class="indline1">Creator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.1">6.4</a></li><li class="indline1">Date.Issued&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1">Description.Abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">Identifier&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Relation.Replaces&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.7">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">dfn Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.d.9">A</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">anchor-alias&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.17">A</a></li><li class="indline1">assign-section-number&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.18">A</a></li><li class="indline1">bb&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.19">A</a></li><li class="indline1">bc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.20">A</a></li><li class="indline1">bcp14&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.21">A</a></li><li class="indline1">blockquote&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">bt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">dfn&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">h&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">length-of&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">link&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">lt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">q&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">ref&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">source&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">span&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">sup&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">x&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.34">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox&nbsp;&nbsp;<ul class="ind"><li class="indline1">1.*/2.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1">6.3</a></li><li class="indline1">Grammar&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.2"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.12"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.h.13">A</a></li><li class="indline1">header PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1"><em>HTML</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.5</a>, <a class="iref" href="#rfc.xref.HTML.3">10.7</a>, <a class="iref" href="#rfc.xref.HTML.4">10.12</a>, <a class="iref" href="#rfc.xref.HTML.5">10.15</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">alternate&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">generator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.9">6.4</a></li><li class="indline1">include PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-references-in-index PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.8">6.2</a></li><li class="indline1">inline PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.2"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.3"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.4"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.n.1">3.2</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.3">5.2</a><ul class="ind"><li class="indline1">9.5&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters&nbsp;&nbsp;<ul class="ind"><li class="indline1">xml2rfc-background&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.40">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-justification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">xml2rfc-footer&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.31">3.1</a></li></ul></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">private PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes&nbsp;&nbsp;<ul class="ind"><li class="indline1">allow-markup-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.39">3.3</a></li><li class="indline1">authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.41">3.3</a></li><li class="indline1">background&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">editing&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">include&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.32">3.2</a></li><li class="indline1">include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">inline&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.33">3.2</a></li><li class="indline1">parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">private&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">slides&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">strict&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">subcompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocindent&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">tocompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.30">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.q.1"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">ref Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.21"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.r.23">A</a></li><li class="indline1">Relation.Replaces DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.20">6.4</a></li><li class="indline1">RELAX NG Compact Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.22"><b>A</b></a></li><li class="indline1">rfc.abstract anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.1">4</a></li><li class="indline1">rfc.authors anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.copyright anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyrightnotice anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.figure.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.5">4</a>, <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.figure.u.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.index anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.7">4</a></li><li class="indline1">rfc.ipr anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.iref.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.note.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.references anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.section.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n.p.m anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.status anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.toc anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.xref.name.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">10.2</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.19</a>, <a class="iref" href="#RFC2119"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.2">10.19</a></li></ul></li><li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em>&nbsp;&nbsp;<a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1"><em>RNC</em>&nbsp;&nbsp;<a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.14"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.12"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.s.15">A</a></li><li class="indline1">span Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.17">A</a></li><li class="indline1">strict PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.4">3.2</a></li><li class="indline1">subcompact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.5">3.2</a></li><li class="indline1">sup Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.13"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.s.16">A</a></li><li class="indline1">support-rfc2731 PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.27">A</a></li><li class="indline1">Xalan&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.24">5.1</a></li><li class="indline1"><em>XHTML2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XHTML2.1">10.8</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.26">6</a></li><li class="indline1">xml2rfc-background parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.17">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-footer parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-toc parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-topblock parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1"><em>XSL-FO</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.25">5.1</a><ul class="ind"><li class="indline1">passing parameters&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html>
     807</pre><hr class="noprint"><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a>&nbsp;Implementation Notes</h1><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;Recognized type attributes for &lt;artwork&gt; element</h2><p id="rfc.section.B.1.p.1">Specific values in the &lt;artwork&gt; element's "type" attribute are recognized and cause a different visual style to be used:</p><div id="rfc.table.u.9"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Media Type</th><th>Comment</th></tr></thead><tbody><tr><td>abnf</td><td>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>abnf2616</td><td>ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td>application/relax-ng-compact-syntax</td><td>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>application/xml-dtd</td><td>XML DTD</td></tr><tr><td>message/http; msgtype="request"</td><td>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="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td>message/http; msgtype="response"</td><td>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="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a>&nbsp;<a id="license" href="#license">License</a></h1><p id="rfc.section.C.p.1">Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a>&nbsp;Change Logs</h1><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd></dl><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of &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;.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at &lt;<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>&gt; to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd><dt>2008-06-14</dt><dd>Enhance output when draft was updated, and then published as RFC.</dd></dl><h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see &lt;<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>&gt;). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see &lt;<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>&gt;.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see &lt;<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>&gt;.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see &lt;<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>&gt;.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &amp;#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add &lt;link&gt; element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (&lt;<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>&gt;) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into &lt;back&gt;.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate &lt;CITE&gt; elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move &lt;dt&gt; style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty &lt;dt&gt; elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in &lt;appendix&gt; elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to &lt;iref&gt; handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for &lt;x:lt&gt;.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (&lt;<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>&gt;) to head element. Add warning for misplaced &lt;t&gt; elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow &lt;eref&gt; below &lt;cref&gt;.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd><dt>2008-03-01</dt><dd>Use line numbers in diagnostics in Saxon8/9 as well.</dd><dt>2008-03-02</dt><dd>Fix a bug in the logic choosing the boilerplate, resulting in obsolete text being inserted into IDs.</dd><dt>2008-04-01</dt><dd>Add support for superscript element.</dd><dt>2008-06-28</dt><dd>Add sanity checks for email addresses, allow multiple email elements.</dd><dt>2008-07-06</dt><dd>Add x:abnf-char-sequence.</dd></dl><h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd></dl><h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a>&nbsp;xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a>&nbsp;xsl11toFop.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.9"><a href="#rfc.section.D.9">D.9</a>&nbsp;xsl11toFop-0.93.xslt</h2><dl><dt>2008-03-15</dt><dd>Add a workaround to the fo:inline workaround (sigh).</dd></dl><h2 id="rfc.section.D.10"><a href="#rfc.section.D.10">D.10</a>&nbsp;xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">abnf-char-sequence Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">allow-markup-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.28"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.a.30">A</a></li><li class="indline1">Anchors&nbsp;&nbsp;<ul class="ind"><li class="indline1">rfc.abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.31">A</a></li><li class="indline1">author HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.3"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.7">A</a></li><li class="indline1">bc Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.4"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bcp14 Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.2"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">blockquote Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.5"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1">bt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.6"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">DCMI properties&nbsp;&nbsp;<ul class="ind"><li class="indline1">Creator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.1">6.4</a></li><li class="indline1">Date.Issued&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1">Description.Abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">Identifier&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Relation.Replaces&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.7">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">dfn Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.8"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.d.9">A</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">abnf-char-sequence&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.18">A</a></li><li class="indline1">anchor-alias&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.19">A</a></li><li class="indline1">assign-section-number&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.20">A</a></li><li class="indline1">bb&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.21">A</a></li><li class="indline1">bc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">bcp14&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">blockquote&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">bt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">dfn&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">h&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">length-of&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">link&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">lt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">q&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">ref&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">source&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">span&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">sup&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">x&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.36">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox&nbsp;&nbsp;<ul class="ind"><li class="indline1">1.*/2.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1">6.3</a></li><li class="indline1">Grammar&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.2"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.12"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.h.13">A</a></li><li class="indline1">header PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1"><em>HTML</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.6</a>, <a class="iref" href="#rfc.xref.HTML.3">10.8</a>, <a class="iref" href="#rfc.xref.HTML.4">10.13</a>, <a class="iref" href="#rfc.xref.HTML.5">10.16</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">alternate&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">generator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.9">6.4</a></li><li class="indline1">include PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-references-in-index PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.8">6.2</a></li><li class="indline1">inline PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.2"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.3"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.4"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.n.1">3.2</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.1">5.2</a></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters&nbsp;&nbsp;<ul class="ind"><li class="indline1">xml2rfc-background&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.40">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-justification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">xml2rfc-footer&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.31">3.1</a></li></ul></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">private PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes&nbsp;&nbsp;<ul class="ind"><li class="indline1">allow-markup-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.39">3.3</a></li><li class="indline1">authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.41">3.3</a></li><li class="indline1">background&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">editing&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">include&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.32">3.2</a></li><li class="indline1">include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">inline&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.33">3.2</a></li><li class="indline1">parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">private&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">slides&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">strict&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">subcompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocindent&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">tocompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.30">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.q.1"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">ref Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.21"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.r.23">A</a></li><li class="indline1">Relation.Replaces DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.20">6.4</a></li><li class="indline1">RELAX NG Compact Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.22"><b>A</b></a></li><li class="indline1">rfc.abstract anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.1">4</a></li><li class="indline1">rfc.authors anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.copyright anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyrightnotice anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.figure.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.5">4</a>, <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.figure.u.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.index anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.7">4</a></li><li class="indline1">rfc.ipr anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.iref.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.note.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.references anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.section.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n.p.m anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.status anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.toc anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.xref.name.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">10.3</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.20</a>, <a class="iref" href="#RFC2119"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 5</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.2">10.20</a></li></ul></li><li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em>&nbsp;&nbsp;<a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1"><em>RNC</em>&nbsp;&nbsp;<a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.14"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.12"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.s.15">A</a></li><li class="indline1">span Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.17">A</a></li><li class="indline1">strict PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.4">3.2</a></li><li class="indline1">subcompact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.5">3.2</a></li><li class="indline1">sup Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.13"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.s.16">A</a></li><li class="indline1">support-rfc2731 PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.27">A</a></li><li class="indline1">Xalan&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.24">5.1</a></li><li class="indline1"><em>XHTML2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XHTML2.1">10.9</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.26">6</a></li><li class="indline1">xml2rfc-background parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.17">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-footer parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-toc parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-topblock parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1"><em>XSL-FO</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.25">5.1</a><ul class="ind"><li class="indline1">passing parameters&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html>
  • rfc2629xslt/rfc2629xslt.txt

    r246 r272  
    44RFC2629 through XSLT                                          J. Reschke
    55                                                              greenbytes
    6                                                               April 2008
     6                                                            July 6, 2008
    77
    88
     
    3737     9.2.   Via X(HTML) . . . . . . . . . . . . . . . . . . . . . . . 20
    3838   10. Generic Extensions . . . . . . . . . . . . . . . . . . . . . . 21
    39      10.1.  <anchor-alias> element  . . . . . . . . . . . . . . . . . 21
    40      10.2.  <bcp14> element . . . . . . . . . . . . . . . . . . . . . 21
    41      10.3.  <bb> element  . . . . . . . . . . . . . . . . . . . . . . 21
    42      10.4.  <bc> element  . . . . . . . . . . . . . . . . . . . . . . 22
    43      10.5.  <blockquote> element . . . . . . . . . . . . . . . . . . 22
    44      10.6.  <bt> element  . . . . . . . . . . . . . . . . . . . . . . 22
    45      10.7.  <dfn> element . . . . . . . . . . . . . . . . . . . . . . 22
    46      10.8.  <h> element . . . . . . . . . . . . . . . . . . . . . . . 22
    47      10.9.  <length-of> element . . . . . . . . . . . . . . . . . . . 22
    48      10.10. <link> element  . . . . . . . . . . . . . . . . . . . . . 23
    49      10.11. <lt> element  . . . . . . . . . . . . . . . . . . . . . . 23
    50      10.12. <q> element . . . . . . . . . . . . . . . . . . . . . . . 23
    51      10.13. <ref> element . . . . . . . . . . . . . . . . . . . . . . 23
     39     10.1.  <abnf-char-sequence> element . . . . . . . . . . . . . . 21
     40     10.2.  <anchor-alias> element . . . . . . . . . . . . . . . . . 21
     41     10.3.  <bcp14> element . . . . . . . . . . . . . . . . . . . . . 21
     42     10.4.  <bb> element  . . . . . . . . . . . . . . . . . . . . . . 22
     43     10.5.  <bc> element  . . . . . . . . . . . . . . . . . . . . . . 22
     44     10.6.  <blockquote> element . . . . . . . . . . . . . . . . . . 22
     45     10.7.  <bt> element . . . . . . . . . . . . . . . . . . . . . . 22
     46     10.8.  <dfn> element . . . . . . . . . . . . . . . . . . . . . . 23
     47     10.9.  <h> element . . . . . . . . . . . . . . . . . . . . . . . 23
     48     10.10. <length-of> element . . . . . . . . . . . . . . . . . . . 23
     49     10.11. <link> element . . . . . . . . . . . . . . . . . . . . . 23
     50     10.12. <lt> element . . . . . . . . . . . . . . . . . . . . . . 23
     51     10.13. <q> element . . . . . . . . . . . . . . . . . . . . . . . 24
    5252
    5353
     
    5656
    5757
    58 Documentation             RFC2629 through XSLT                April 2008
    59 
    60 
    61      10.14. <source> element . . . . . . . . . . . . . . . . . . . . 24
    62      10.15. <sup> element . . . . . . . . . . . . . . . . . . . . . . 24
    63      10.16. Extensions to Xml2rfc <iref> element  . . . . . . . . . . 24
    64      10.17. Extensions to Xml2rfc <list> element  . . . . . . . . . . 24
    65      10.18. Extensions to Xml2rfc <section> element . . . . . . . . . 25
    66      10.19. Extensions to Xml2rfc <xref> element  . . . . . . . . . . 25
    67    11. Utilities  . . . . . . . . . . . . . . . . . . . . . . . . . . 26
    68      11.1.  Checking References . . . . . . . . . . . . . . . . . . . 26
    69      11.2.  Generating Graphs from References . . . . . . . . . . . . 27
    70      11.3.  Producing reference entries for books . . . . . . . . . . 27
    71      11.4.  Down-converting to RFC2629bis DTD . . . . . . . . . . . . 28
    72      11.5.  Extracting artwork  . . . . . . . . . . . . . . . . . . . 29
    73      11.6.  GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 29
    74    12. Informative References . . . . . . . . . . . . . . . . . . . . 30
    75    Appendix A.  RELAX NG Compact Schema . . . . . . . . . . . . . . . 32
    76    Appendix B.  Implementation Notes  . . . . . . . . . . . . . . . . 40
    77      B.1.   Recognized type attributes for <artwork> element  . . . . 40
    78    Appendix C.  License . . . . . . . . . . . . . . . . . . . . . . . 41
    79    Appendix D.  Change Logs . . . . . . . . . . . . . . . . . . . . . 42
    80      D.1.   Package . . . . . . . . . . . . . . . . . . . . . . . . . 42
    81      D.2.   amazon-asin.xslt  . . . . . . . . . . . . . . . . . . . . 42
    82      D.3.   check-references.xslt . . . . . . . . . . . . . . . . . . 42
    83      D.4.   gen-reference-graph.xslt  . . . . . . . . . . . . . . . . 42
    84      D.5.   rfc2629.xslt  . . . . . . . . . . . . . . . . . . . . . . 43
    85      D.6.   rfc2629toFO.xslt  . . . . . . . . . . . . . . . . . . . . 53
    86      D.7.   xsl11toAn.xslt  . . . . . . . . . . . . . . . . . . . . . 54
    87      D.8.   xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 54
    88      D.9.   xsl11toFop-0.93.xslt  . . . . . . . . . . . . . . . . . . 54
    89      D.10.  xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 55
    90    Index  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
    91    Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 63
    92 
     58Documentation             RFC2629 through XSLT                 July 2008
     59
     60
     61     10.14. <ref> element . . . . . . . . . . . . . . . . . . . . . . 24
     62     10.15. <source> element . . . . . . . . . . . . . . . . . . . . 24
     63     10.16. <sup> element . . . . . . . . . . . . . . . . . . . . . . 25
     64     10.17. Extensions to Xml2rfc <iref> element  . . . . . . . . . . 25
     65     10.18. Extensions to Xml2rfc <list> element  . . . . . . . . . . 25
     66     10.19. Extensions to Xml2rfc <section> element . . . . . . . . . 25
     67     10.20. Extensions to Xml2rfc <xref> element  . . . . . . . . . . 25
     68   11. Utilities  . . . . . . . . . . . . . . . . . . . . . . . . . . 27
     69     11.1.  Checking References . . . . . . . . . . . . . . . . . . . 27
     70     11.2.  Generating Graphs from References . . . . . . . . . . . . 28
     71     11.3.  Producing reference entries for books . . . . . . . . . . 28
     72     11.4.  Down-converting to RFC2629bis DTD . . . . . . . . . . . . 29
     73     11.5.  Extracting artwork  . . . . . . . . . . . . . . . . . . . 30
     74     11.6.  GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 30
     75   12. Informative References . . . . . . . . . . . . . . . . . . . . 31
     76   Appendix A.  RELAX NG Compact Schema . . . . . . . . . . . . . . . 33
     77   Appendix B.  Implementation Notes  . . . . . . . . . . . . . . . . 41
     78     B.1.   Recognized type attributes for <artwork> element . . . . 41
     79   Appendix C.  License . . . . . . . . . . . . . . . . . . . . . . . 42
     80   Appendix D.  Change Logs . . . . . . . . . . . . . . . . . . . . . 43
     81     D.1.   Package . . . . . . . . . . . . . . . . . . . . . . . . . 43
     82     D.2.   amazon-asin.xslt  . . . . . . . . . . . . . . . . . . . . 43
     83     D.3.   check-references.xslt . . . . . . . . . . . . . . . . . . 43
     84     D.4.   gen-reference-graph.xslt  . . . . . . . . . . . . . . . . 44
     85     D.5.   rfc2629.xslt  . . . . . . . . . . . . . . . . . . . . . . 44
     86     D.6.   rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 54
     87     D.7.   xsl11toAn.xslt  . . . . . . . . . . . . . . . . . . . . . 55
     88     D.8.   xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 55
     89     D.9.   xsl11toFop-0.93.xslt  . . . . . . . . . . . . . . . . . . 56
     90     D.10.  xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 56
     91   Index  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
     92   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 64
    9393
    9494
     
    113113
    114114
    115 Documentation             RFC2629 through XSLT                April 2008
     115Documentation             RFC2629 through XSLT                 July 2008
    116116
    117117
     
    170170
    171171
    172 Documentation             RFC2629 through XSLT                April 2008
     172Documentation             RFC2629 through XSLT                 July 2008
    173173
    174174
     
    227227
    228228
    229 Documentation             RFC2629 through XSLT                April 2008
     229Documentation             RFC2629 through XSLT                 July 2008
    230230
    231231
     
    284284
    285285
    286 Documentation             RFC2629 through XSLT                April 2008
     286Documentation             RFC2629 through XSLT                 July 2008
    287287
    288288
     
    341341
    342342
    343 Documentation             RFC2629 through XSLT                April 2008
     343Documentation             RFC2629 through XSLT                 July 2008
    344344
    345345
     
    398398
    399399
    400 Documentation             RFC2629 through XSLT                April 2008
     400Documentation             RFC2629 through XSLT                 July 2008
    401401
    402402
     
    455455
    456456
    457 Documentation             RFC2629 through XSLT                April 2008
     457Documentation             RFC2629 through XSLT                 July 2008
    458458
    459459
     
    512512
    513513
    514 Documentation             RFC2629 through XSLT                April 2008
     514Documentation             RFC2629 through XSLT                 July 2008
    515515
    516516
     
    569569
    570570
    571 Documentation             RFC2629 through XSLT                April 2008
     571Documentation             RFC2629 through XSLT                 July 2008
    572572
    573573
     
    626626
    627627
    628 Documentation             RFC2629 through XSLT                April 2008
     628Documentation             RFC2629 through XSLT                 July 2008
    629629
    630630
     
    683683
    684684
    685 Documentation             RFC2629 through XSLT                April 2008
     685Documentation             RFC2629 through XSLT                 July 2008
    686686
    687687
     
    718718   o  Internet Explorer 7
    719719
    720    o  Firefox 3.* (currently only test builds available)
    721 
    722    o  Opera 9.5 (currently only test builds available)
     720   o  Firefox 3.* (release candidate available)
    723721
    724722   o  Safari 3 (starting with version 3.0.4)
     
    730728
    731729   o  Opera 9.21: execution fails, potentially to a somewhat complex
    732       XPath expression (reported to Opera as bug 245725).
     730      XPath expression (reported to Opera as bug 245725).  Opera 9.5:
     731      transformation appears to work, but CSS isn't getting applied
     732      (repored to Opera as bug 337388 on 2008-06-12).
    733733
    734734   o  Safari 2.* supports client-side XSLT as of MacOS X 10.4, but
     
    740740
    741741
    742 Documentation             RFC2629 through XSLT                April 2008
     742Documentation             RFC2629 through XSLT                 July 2008
    743743
    744744
     
    797797
    798798
    799 Documentation             RFC2629 through XSLT                April 2008
     799Documentation             RFC2629 through XSLT                 July 2008
    800800
    801801
     
    854854
    855855
    856 Documentation             RFC2629 through XSLT                April 2008
     856Documentation             RFC2629 through XSLT                 July 2008
    857857
    858858
     
    911911
    912912
    913 Documentation             RFC2629 through XSLT                April 2008
     913Documentation             RFC2629 through XSLT                 July 2008
    914914
    915915
     
    968968
    969969
    970 Documentation             RFC2629 through XSLT                April 2008
     970Documentation             RFC2629 through XSLT                 July 2008
    971971
    972972
     
    10251025
    10261026
    1027 Documentation             RFC2629 through XSLT                April 2008
     1027Documentation             RFC2629 through XSLT                 July 2008
    10281028
    10291029
     
    10821082
    10831083
    1084 Documentation             RFC2629 through XSLT                April 2008
     1084Documentation             RFC2629 through XSLT                 July 2008
    10851085
    10861086
     
    11391139
    11401140
    1141 Documentation             RFC2629 through XSLT                April 2008
     1141Documentation             RFC2629 through XSLT                 July 2008
    11421142
    11431143
     
    11471147   using the extension namespace "http://purl.org/net/xml2rfc/ext".
    11481148
    1149 10.1.  <anchor-alias> element
     114910.1.  <abnf-char-sequence> element
     1150
     1151   Converts the contained quoted string into a hex-encoded character
     1152   sequence, for use in case-sensitive ABNF productions.
     1153
     1154   For instance, "<x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence>"
     1155   gets converted to "%x48.54.54.50".
     1156
     115710.2.  <anchor-alias> element
    11501158
    11511159   Using its "value" attribute, this element allows the definition of an
     
    11561164   that apply to anchor elements (which are XML names).
    11571165
    1158 10.2.  <bcp14> element
     116610.3.  <bcp14> element
    11591167
    11601168   This element marks the content as being one of the normative keywords
    11611169   defined in [RFC2119].
     1170
     1171
     1172
     1173
     1174
     1175
     1176
     1177
     1178
     1179
     1180
     1181
     1182
     1183
     1184
     1185
     1186
     1187
     1188
     1189
     1190
     1191
     1192
     1193
     1194
     1195Reschke                                                        [Page 21]
     1196
     1197
     1198Documentation             RFC2629 through XSLT                 July 2008
     1199
    11621200
    11631201   The DOCTYPE definition below allows using these keywords using XML
     
    11861224      >SHOULD NOT</bcp14>">]>
    11871225
    1188 10.3.  <bb> element
     122610.4.  <bb> element
    11891227
    11901228   Marking up a string as <bb> indicates that it represents the bottom
    11911229   line of a box drawing, replacing the "+" and "-" characters
    1192 
    1193 
    1194 
    1195 Reschke                                                        [Page 21]
    1196 
    1197 
    1198 Documentation             RFC2629 through XSLT                April 2008
    1199 
    1200 
    12011230   accordingly.
    12021231
    1203 10.4.  <bc> element
     123210.5.  <bc> element
    12041233
    12051234   Marking up a string as <bc> indicates that it represents a center
    12061235   line of a box drawing, replacing the "|" character accordingly.
    12071236
    1208 10.5.  <blockquote> element
     123710.6.  <blockquote> element
    12091238
    12101239   This element is like the "blockquote" element in [HTML] (note this is
     
    12121241   elements.
    12131242
    1214 10.6.  <bt> element
     124310.7.  <bt> element
    12151244
    12161245   Marking up a string as <bt> indicates that it represents the top line
    12171246   of a box drawing, replacing the "+" and "-" characters accordingly.
    12181247
    1219 10.7.  <dfn> element
     1248
     1249
     1250
     1251
     1252Reschke                                                        [Page 22]
     1253
     1254
     1255Documentation             RFC2629 through XSLT                 July 2008
     1256
     1257
     125810.8.  <dfn> element
    12201259
    12211260   This element is like the "dfn" element in [HTML].
    12221261
    1223 10.8.  <h> element
     126210.9.  <h> element
    12241263
    12251264   This element is like the "h" element in [XHTML2].
    12261265
    1227 10.9.  <length-of> element
     126610.10.  <length-of> element
    12281267
    12291268   This element can be used to insert the length of another formatted
     
    12451284   be substracted from the computed length.
    12461285
    1247 
    1248 
    1249 
    1250 
    1251 
    1252 Reschke                                                        [Page 22]
    1253 
    1254 
    1255 Documentation             RFC2629 through XSLT                April 2008
    1256 
    1257 
    1258 10.10.  <link> element
     128610.11.  <link> element
    12591287
    12601288   This element can be added as a top-level child element below <rfc> to
     
    12701298               href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/>
    12711299
    1272 10.11.  <lt> element
     130010.12.  <lt> element
    12731301
    12741302   Used for grouping multiple <t> elements into a single list item.
    12751303
    1276 10.12.  <q> element
     1304
     1305
     1306
     1307
     1308
     1309Reschke                                                        [Page 23]
     1310
     1311
     1312Documentation             RFC2629 through XSLT                 July 2008
     1313
     1314
     131510.13.  <q> element
    12771316
    12781317   This element is like the "q" element in [HTML].
    12791318
    1280 10.13.  <ref> element
     131910.14.  <ref> element
    12811320
    12821321   This element is a simplified variant of the <xref> element, in that
     
    13041343         <xref target="test">test</xref>
    13051344         <xref target="test">alias1</xref>
    1306 
    1307 
    1308 
    1309 Reschke                                                        [Page 23]
    1310 
    1311 
    1312 Documentation             RFC2629 through XSLT                April 2008
    1313 
    1314 
    13151345         <xref target="test">alias 2</xref>
    13161346
    1317 10.14.  <source> element
     134710.15.  <source> element
    13181348
    13191349   Can be used to enhance a <reference> with information about the
     
    13321362           ...
    13331363
    1334 10.15.  <sup> element
     1364
     1365
     1366Reschke                                                        [Page 24]
     1367
     1368
     1369Documentation             RFC2629 through XSLT                 July 2008
     1370
     1371
     137210.16.  <sup> element
    13351373
    13361374   This element is like the "sup" element in [HTML].
     
    13381376   Note: the down conversion to RFC2629 format replaces "x^y" by "x^y".
    13391377
    1340 10.16.  Extensions to Xml2rfc <iref> element
     137810.17.  Extensions to Xml2rfc <iref> element
    13411379
    13421380   The extension attribute below is allowed on the standard <iref>
     
    13491387      closest ancestor.
    13501388
    1351 10.17.  Extensions to Xml2rfc <list> element
     138910.18.  Extensions to Xml2rfc <list> element
    13521390
    13531391   The extension attribute below is allowed on the standard <list>
     
    13611399
    13621400   Also, the <list> element can take <x:lt> child elements instead of
    1363 
    1364 
    1365 
    1366 Reschke                                                        [Page 24]
    1367 
    1368 
    1369 Documentation             RFC2629 through XSLT                April 2008
    1370 
    1371 
    13721401   <t>, allowing to insert multiple paragraphs into a single list item.
    13731402
    1374 10.18.  Extensions to Xml2rfc <section> element
     140310.19.  Extensions to Xml2rfc <section> element
    13751404
    13761405   The extension attribute below is allowed on the standard <list>
     
    13811410      that used a different numbering style.
    13821411
    1383 10.19.  Extensions to Xml2rfc <xref> element
     141210.20.  Extensions to Xml2rfc <xref> element
    13841413
    13851414   Three extension attributes are allowed on the standard <xref>
     
    13881417   1.  x:sec can be specified to point to a specific section of the
    13891418       referenced document,
     1419
     1420
     1421
     1422
     1423Reschke                                                        [Page 25]
     1424
     1425
     1426Documentation             RFC2629 through XSLT                 July 2008
     1427
    13901428
    13911429   2.  x:rel may specify a relative reference to use when linking into
     
    14211459
    14221460
    1423 Reschke                                                        [Page 25]
    1424 
    1425 
    1426 Documentation             RFC2629 through XSLT                April 2008
     1461
     1462
     1463
     1464
     1465
     1466
     1467
     1468
     1469
     1470
     1471
     1472
     1473
     1474
     1475
     1476
     1477
     1478
     1479
     1480Reschke                                                        [Page 26]
     1481
     1482
     1483Documentation             RFC2629 through XSLT                 July 2008
    14271484
    14281485
     
    14781535
    14791536
    1480 Reschke                                                        [Page 26]
    1481 
    1482 
    1483 Documentation             RFC2629 through XSLT                April 2008
     1537Reschke                                                        [Page 27]
     1538
     1539
     1540Documentation             RFC2629 through XSLT                 July 2008
    14841541
    14851542
     
    15351592
    15361593
    1537 Reschke                                                        [Page 27]
    1538 
    1539 
    1540 Documentation             RFC2629 through XSLT                April 2008
     1594Reschke                                                        [Page 28]
     1595
     1596
     1597Documentation             RFC2629 through XSLT                 July 2008
    15411598
    15421599
     
    15921649
    15931650
    1594 Reschke                                                        [Page 28]
    1595 
    1596 
    1597 Documentation             RFC2629 through XSLT                April 2008
     1651Reschke                                                        [Page 29]
     1652
     1653
     1654Documentation             RFC2629 through XSLT                 July 2008
    15981655
    15991656
     
    16491706
    16501707
    1651 Reschke                                                        [Page 29]
    1652 
    1653 
    1654 Documentation             RFC2629 through XSLT                April 2008
     1708Reschke                                                        [Page 30]
     1709
     1710
     1711Documentation             RFC2629 through XSLT                 July 2008
    16551712
    16561713
     
    17061763
    17071764
    1708 Reschke                                                        [Page 30]
    1709 
    1710 
    1711 Documentation             RFC2629 through XSLT                April 2008
     1765Reschke                                                        [Page 31]
     1766
     1767
     1768Documentation             RFC2629 through XSLT                 July 2008
    17121769
    17131770
     
    17631820
    17641821
    1765 Reschke                                                        [Page 31]
    1766 
    1767 
    1768 Documentation             RFC2629 through XSLT                April 2008
     1822Reschke                                                        [Page 32]
     1823
     1824
     1825Documentation             RFC2629 through XSLT                 July 2008
    17691826
    17701827
     
    17971854          | spanx
    17981855          | xref
     1856          | x_abnf-char-sequence
    17991857          | x_bb
    18001858          | x_bc
     
    18161874          | cref
    18171875          | spanx
     1876
     1877
     1878
     1879Reschke                                                        [Page 33]
     1880
     1881
     1882Documentation             RFC2629 through XSLT                 July 2008
     1883
     1884
    18181885          | x_ref)*
    1819 
    1820 
    1821 
    1822 Reschke                                                        [Page 32]
    1823 
    1824 
    1825 Documentation             RFC2629 through XSLT                April 2008
    1826 
    1827 
    18281886      }
    18291887
     
    18731931      element reference {
    18741932        attlist.reference,
     1933
     1934
     1935
     1936Reschke                                                        [Page 34]
     1937
     1938
     1939Documentation             RFC2629 through XSLT                 July 2008
     1940
     1941
    18751942        front,
    1876 
    1877 
    1878 
    1879 Reschke                                                        [Page 33]
    1880 
    1881 
    1882 Documentation             RFC2629 through XSLT                April 2008
    1883 
    1884 
    18851943        seriesInfo*,
    18861944        format*,
     
    19301988         | \list
    19311989         | figure
     1990
     1991
     1992
     1993Reschke                                                        [Page 35]
     1994
     1995
     1996Documentation             RFC2629 through XSLT                 July 2008
     1997
     1998
    19321999         | xref
    1933 
    1934 
    1935 
    1936 Reschke                                                        [Page 34]
    1937 
    1938 
    1939 Documentation             RFC2629 through XSLT                April 2008
    1940 
    1941 
    19422000         | eref
    19432001         | iref
     
    19452003         | spanx
    19462004         | vspace
     2005         | x_abnf-char-sequence
    19472006         | x_anchor-alias
    19482007         | x_bcp14
     
    19552014  }
    19562015
    1957   # Extend attribute set for <iref> (see Section 10.16)
     2016  # Extend attribute set for <iref> (see Section 10.17)
    19582017  attlist.iref &=
    19592018    attribute x:for-anchor { ATEXT }?
    19602019
    1961   # Extend attribute set for <list> (see Section 10.17)
     2020  # Extend attribute set for <list> (see Section 10.18)
    19622021  attlist.list &=
    19632022    attribute x:indent { ATEXT }?
     
    19712030    attribute grddl:transformation { ATEXT }?
    19722031
    1973   # Extend attribute set for <section> (see Section 10.18)
     2032  # Extend attribute set for <section> (see Section 10.19)
    19742033  attlist.section &=
    19752034    attribute x:fixed-section-number { ATEXT }?
     
    19792038    attribute anchor { xsd:ID }?
    19802039
    1981   # Extend attribute set for <xref> (see Section 10.19)
     2040  # Extend attribute set for <xref> (see Section 10.20)
    19822041  attlist.xref &=
    19832042    attribute x:fmt  { "()" | "," | "anchor" | "of" | "number" | "sec" |
     
    19862045    attribute x:sec  { ATEXT }?
    19872046
    1988   # Aliasing of anchors (see Section 10.1)
     2047
     2048
     2049
     2050Reschke                                                        [Page 36]
     2051
     2052
     2053Documentation             RFC2629 through XSLT                 July 2008
     2054
     2055
     2056  # Conversion to ABNF char sequence (see Section 10.1)
     2057  x_abnf-char-sequence =
     2058    element x:abnf-char-sequence {
     2059      TEXT
     2060    }
     2061
     2062  # Aliasing of anchors (see Section 10.2)
    19892063  x_anchor-alias =
    1990 
    1991 
    1992 
    1993 Reschke                                                        [Page 35]
    1994 
    1995 
    1996 Documentation             RFC2629 through XSLT                April 2008
    1997 
    1998 
    19992064    element x:anchor-alias {
    20002065      attribute value { TEXT },
     
    20112076    }
    20122077
    2013   # Bottom line of box drawing (see Section 10.3)
     2078  # Bottom line of box drawing (see Section 10.4)
    20142079  x_bb =
    20152080    element x:bb {
     
    20232088    }
    20242089
    2025   # Center line of box drawing (see Section 10.4)
     2090  # Center line of box drawing (see Section 10.5)
    20262091  x_bc =
    20272092    element x:bc {
     
    20352100    }
    20362101
    2037   # BCP14/RFC2119 keywords (see Section 10.2)
     2102  # BCP14/RFC2119 keywords (see Section 10.3)
    20382103  x_bcp14 =
     2104
     2105
     2106
     2107Reschke                                                        [Page 37]
     2108
     2109
     2110Documentation             RFC2629 through XSLT                 July 2008
     2111
     2112
    20392113    element x:bcp14 {
    20402114      "MAY"
     
    20452119      | "RECOMMENDED"
    20462120      | "REQUIRED"
    2047 
    2048 
    2049 
    2050 Reschke                                                        [Page 36]
    2051 
    2052 
    2053 Documentation             RFC2629 through XSLT                April 2008
    2054 
    2055 
    20562121      | "SHALL"
    20572122      | "SHALL NOT"
     
    20602125    }
    20612126
    2062   # Blockquote (see Section 10.5)
     2127  # Blockquote (see Section 10.6)
    20632128  x_blockquote =
    20642129    element x:blockquote {
     
    20672132    }
    20682133
    2069   # Top line of box drawing (see Section 10.6)
     2134  # Top line of box drawing (see Section 10.7)
    20702135  x_bt =
    20712136    element x:bt {
     
    20792144    }
    20802145
    2081   # Definition (see Section 10.7)
     2146  # Definition (see Section 10.8)
    20822147  x_dfn =
    20832148    element x:dfn {
     
    20862151    }
    20872152
    2088   # Heading (see Section 10.8)
     2153  # Heading (see Section 10.9)
    20892154  x_h =
    20902155    element x:h {
     
    20922157    }
    20932158
    2094   # Length Measurement (see Section 10.9)
     2159  # Length Measurement (see Section 10.10)
    20952160  x_length-of =
     2161
     2162
     2163
     2164Reschke                                                        [Page 38]
     2165
     2166
     2167Documentation             RFC2629 through XSLT                 July 2008
     2168
     2169
    20962170    element x:length-of {
    20972171      attribute indented { NUMBER }?,
     
    21002174    }
    21012175
    2102   # Link (see Section 10.10)
     2176  # Link (see Section 10.11)
    21032177  x_link =
    2104 
    2105 
    2106 
    2107 Reschke                                                        [Page 37]
    2108 
    2109 
    2110 Documentation             RFC2629 through XSLT                April 2008
    2111 
    2112 
    21132178    element x:link {
    21142179      attribute href { URI },
     
    21182183    }
    21192184
    2120   # Extended list item (see Section 10.11)
     2185  # Extended list item (see Section 10.12)
    21212186  x_lt =
    21222187    element x:lt {
     
    21262191    }
    21272192
    2128   # Inline quote (see Section 10.12)
     2193  # Inline quote (see Section 10.13)
    21292194  x_q =
    21302195    element x:q {
     
    21322197    }
    21332198
    2134   # Anchor reference (see Section 10.13)
     2199  # Anchor reference (see Section 10.14)
    21352200  x_ref =
    21362201    element x:ref {
     
    21382203    }
    21392204
    2140   # source information (see Section 10.14)
     2205  # source information (see Section 10.15)
    21412206  x_source =
    21422207    element x:source {
     
    21462211    }
    21472212
    2148   # superscript (see Section 10.15)
     2213  # superscript (see Section 10.16)
    21492214  x_sup =
    21502215    element x:sup {
    21512216      TEXT
    21522217    }
     2218
     2219
     2220
     2221Reschke                                                        [Page 39]
     2222
     2223
     2224Documentation             RFC2629 through XSLT                 July 2008
     2225
    21532226
    21542227  # Inline Span
     
    21592232    }
    21602233
    2161 
    2162 
    2163 
    2164 Reschke                                                        [Page 38]
    2165 
    2166 
    2167 Documentation             RFC2629 through XSLT                April 2008
    2168 
    2169 
    21702234  # Nop (for alignment in source)
    21712235  x_x =
     
    22122276
    22132277
    2214 
    2215 
    2216 
    2217 
    2218 
    2219 
    2220 
    2221 Reschke                                                        [Page 39]
    2222 
    2223 
    2224 Documentation             RFC2629 through XSLT                April 2008
     2278Reschke                                                        [Page 40]
     2279
     2280
     2281Documentation             RFC2629 through XSLT                 July 2008
    22252282
    22262283
     
    22762333
    22772334
    2278 Reschke                                                        [Page 40]
    2279 
    2280 
    2281 Documentation             RFC2629 through XSLT                April 2008
     2335Reschke                                                        [Page 41]
     2336
     2337
     2338Documentation             RFC2629 through XSLT                 July 2008
    22822339
    22832340
     
    23332390
    23342391
    2335 Reschke                                                        [Page 41]
    2336 
    2337 
    2338 Documentation             RFC2629 through XSLT                April 2008
     2392Reschke                                                        [Page 42]
     2393
     2394
     2395Documentation             RFC2629 through XSLT                 July 2008
    23392396
    23402397
     
    23822439   2007-06-16  Fix bug looking up ref type when inside change markup.
    23832440
     2441   2008-06-14  Enhance output when draft was updated, and then published
     2442      as RFC.
     2443
     2444
     2445
     2446
     2447
     2448
     2449Reschke                                                        [Page 43]
     2450
     2451
     2452Documentation             RFC2629 through XSLT                 July 2008
     2453
     2454
    23842455D.4.  gen-reference-graph.xslt
    2385 
    2386 
    2387 
    2388 
    2389 
    2390 
    2391 
    2392 Reschke                                                        [Page 42]
    2393 
    2394 
    2395 Documentation             RFC2629 through XSLT                April 2008
    2396 
    23972456
    23982457   2006-09-03  New.
     
    24452504
    24462505
    2447 
    2448 
    2449 Reschke                                                        [Page 43]
    2450 
    2451 
    2452 Documentation             RFC2629 through XSLT                April 2008
     2506Reschke                                                        [Page 44]
     2507
     2508
     2509Documentation             RFC2629 through XSLT                 July 2008
    24532510
    24542511
     
    25042561
    25052562
    2506 Reschke                                                        [Page 44]
    2507 
    2508 
    2509 Documentation             RFC2629 through XSLT                April 2008
     2563Reschke                                                        [Page 45]
     2564
     2565
     2566Documentation             RFC2629 through XSLT                 July 2008
    25102567
    25112568
     
    25612618
    25622619
    2563 Reschke                                                        [Page 45]
    2564 
    2565 
    2566 Documentation             RFC2629 through XSLT                April 2008
     2620Reschke                                                        [Page 46]
     2621
     2622
     2623Documentation             RFC2629 through XSLT                 July 2008
    25672624
    25682625
     
    26182675
    26192676
    2620 Reschke                                                        [Page 46]
    2621 
    2622 
    2623 Documentation             RFC2629 through XSLT                April 2008
     2677Reschke                                                        [Page 47]
     2678
     2679
     2680Documentation             RFC2629 through XSLT                 July 2008
    26242681
    26252682
     
    26752732
    26762733
    2677 Reschke                                                        [Page 47]
    2678 
    2679 
    2680 Documentation             RFC2629 through XSLT                April 2008
     2734Reschke                                                        [Page 48]
     2735
     2736
     2737Documentation             RFC2629 through XSLT                 July 2008
    26812738
    26822739
     
    27322789
    27332790
    2734 Reschke                                                        [Page 48]
    2735 
    2736 
    2737 Documentation             RFC2629 through XSLT                April 2008
     2791Reschke                                                        [Page 49]
     2792
     2793
     2794Documentation             RFC2629 through XSLT                 July 2008
    27382795
    27392796
     
    27892846
    27902847
    2791 Reschke                                                        [Page 49]
    2792 
    2793 
    2794 Documentation             RFC2629 through XSLT                April 2008
     2848Reschke                                                        [Page 50]
     2849
     2850
     2851Documentation             RFC2629 through XSLT                 July 2008
    27952852
    27962853
     
    28462903
    28472904
    2848 Reschke                                                        [Page 50]
    2849 
    2850 
    2851 Documentation             RFC2629 through XSLT                April 2008
     2905Reschke                                                        [Page 51]
     2906
     2907
     2908Documentation             RFC2629 through XSLT                 July 2008
    28522909
    28532910
     
    29032960
    29042961
    2905 Reschke                                                        [Page 51]
    2906 
    2907 
    2908 Documentation             RFC2629 through XSLT                April 2008
     2962Reschke                                                        [Page 52]
     2963
     2964
     2965Documentation             RFC2629 through XSLT                 July 2008
    29092966
    29102967
     
    29603017
    29613018
    2962 Reschke                                                        [Page 52]
    2963 
    2964 
    2965 Documentation             RFC2629 through XSLT                April 2008
     3019Reschke                                                        [Page 53]
     3020
     3021
     3022Documentation             RFC2629 through XSLT                 July 2008
    29663023
    29673024
     
    29923049   2008-04-01  Add support for superscript element.
    29933050
     3051   2008-06-28  Add sanity checks for email addresses, allow multiple
     3052      email elements.
     3053
     3054   2008-07-06  Add x:abnf-char-sequence.
     3055
    29943056D.6.  rfc2629toFO.xslt
    29953057
     
    30063068   2004-04-20  Add experimental cref support.
    30073069
     3070
     3071
     3072
     3073
     3074
     3075
     3076Reschke                                                        [Page 54]
     3077
     3078
     3079Documentation             RFC2629 through XSLT                 July 2008
     3080
     3081
    30083082   2004-06-14  Set correct index-item defaults.
    30093083
     
    30133087      by inserting zero-width spaces.
    30143088
    3015 
    3016 
    3017 
    3018 
    3019 Reschke                                                        [Page 53]
    3020 
    3021 
    3022 Documentation             RFC2629 through XSLT                April 2008
    3023 
    3024 
    30253089   2004-09-26  Fix letter-style inside nested lists.
    30263090
     
    30613125D.8.  xsl11toFop.xslt
    30623126
     3127
     3128
     3129
     3130
     3131
     3132
     3133Reschke                                                        [Page 55]
     3134
     3135
     3136Documentation             RFC2629 through XSLT                 July 2008
     3137
     3138
    30633139   2004-05-17  Initial release.
    30643140
     
    30673143D.9.  xsl11toFop-0.93.xslt
    30683144
    3069 
    3070 
    3071 
    3072 
    3073 
    3074 
    3075 
    3076 Reschke                                                        [Page 54]
    3077 
    3078 
    3079 Documentation             RFC2629 through XSLT                April 2008
    3080 
    3081 
    30823145   2008-03-15  Add a workaround to the fo:inline workaround (sigh).
    30833146
     
    31253188
    31263189
    3127 
    3128 
    3129 
    3130 
    3131 
    3132 
    3133 Reschke                                                        [Page 55]
    3134 
    3135 
    3136 Documentation             RFC2629 through XSLT                April 2008
     3190Reschke                                                        [Page 56]
     3191
     3192
     3193Documentation             RFC2629 through XSLT                 July 2008
    31373194
    31383195
     
    31403197
    31413198   A
     3199      abnf-char-sequence Extension Element  21, 33
    31423200      allow-markup-in-artwork PI pseudo-attribute  8
    31433201      alternate HTML LINK element  15
    3144       anchor-alias Extension Element  21, 32
     3202      anchor-alias Extension Element  21, 33
    31453203      Anchors
    31463204         rfc.abstract  12
     
    31633221      Apache FOP  19
    31643222      appendix HTML LINK element  15
    3165       assign-section-number Extension Element  32
     3223      assign-section-number Extension Element  33
    31663224      author HTML LINK element  15
    31673225      authors-section PI pseudo-attribute  8
     
    31693227   B
    31703228      background PI pseudo-attribute  6
    3171       bb Extension Element  21, 32
    3172       bc Extension Element  22, 32
    3173       bcp14 Extension Element  21, 32
    3174       blockquote Extension Element  22, 32
    3175       bt Extension Element  22, 32
     3229      bb Extension Element  22, 33
     3230      bc Extension Element  22, 33
     3231      bcp14 Extension Element  21, 33
     3232      blockquote Extension Element  22, 33
     3233      bt Extension Element  22, 33
    31763234
    31773235   C
     
    31843242      Creator DCMI property  16
    31853243
     3244
     3245
     3246
     3247Reschke                                                        [Page 57]
     3248
     3249
     3250Documentation             RFC2629 through XSLT                 July 2008
     3251
     3252
    31863253   D
    3187 
    3188 
    3189 
    3190 Reschke                                                        [Page 56]
    3191 
    3192 
    3193 Documentation             RFC2629 through XSLT                April 2008
    3194 
    3195 
    31963254      Date.Issued DCMI property  16
    31973255      DCMI properties
     
    32023260         Relation.Replaces  16
    32033261      Description.Abstract DCMI property  16
    3204       dfn Extension Element  22, 32
     3262      dfn Extension Element  23, 33
    32053263
    32063264   E
    32073265      editing PI pseudo-attribute  6
    32083266      Extension Elements
    3209          anchor-alias  21, 32
    3210          assign-section-number  32
    3211          bb  21, 32
    3212          bc  22, 32
    3213          bcp14  21, 32
    3214          blockquote  22, 32
    3215          bt  22, 32
    3216          dfn  22, 32
    3217          h  22, 32
    3218          length-of  22, 32
    3219          link  23, 32
    3220          lt  23, 32
    3221          q  23, 32
    3222          ref  23, 32
    3223          source  24, 32
    3224          span  32
    3225          sup  24, 32
    3226          x  32
     3267         abnf-char-sequence  21, 33
     3268         anchor-alias  21, 33
     3269         assign-section-number  33
     3270         bb  22, 33
     3271         bc  22, 33
     3272         bcp14  21, 33
     3273         blockquote  22, 33
     3274         bt  22, 33
     3275         dfn  23, 33
     3276         h  23, 33
     3277         length-of  23, 33
     3278         link  23, 33
     3279         lt  23, 33
     3280         q  24, 33
     3281         ref  24, 33
     3282         source  24, 33
     3283         span  33
     3284         sup  25, 33
     3285         x  33
    32273286
    32283287   F
     
    32343293   G
    32353294      generator HTML META element  16
    3236       Grammar  32
     3295      Grammar  33
    32373296
    32383297   H
    3239       h Extension Element  22, 32
     3298      h Extension Element  23, 33
    32403299      header PI pseudo-attribute  6
    32413300      HTML compliance  15
     3301
     3302
     3303
     3304Reschke                                                        [Page 58]
     3305
     3306
     3307Documentation             RFC2629 through XSLT                 July 2008
     3308
     3309
    32423310      HTML LINK elements
    32433311         alternate  15
    3244 
    3245 
    3246 
    3247 Reschke                                                        [Page 57]
    3248 
    3249 
    3250 Documentation             RFC2629 through XSLT                April 2008
    3251 
    3252 
    32533312         appendix  15
    32543313         author  15
     
    32793338
    32803339   L
    3281       length-of Extension Element  22, 32
    3282       link Extension Element  23, 32
     3340      length-of Extension Element  23, 33
     3341      link Extension Element  23, 33
    32833342      linkmailto PI pseudo-attribute  6
    3284       lt Extension Element  23, 32
     3343      lt Extension Element  23, 33
    32853344
    32863345   M
     
    32953354   O
    32963355      Opera  13
    3297          9.5  13
    32983356
    32993357   P
     3358
     3359
     3360
     3361Reschke                                                        [Page 59]
     3362
     3363
     3364Documentation             RFC2629 through XSLT                 July 2008
     3365
     3366
    33003367      Parameters
    3301 
    3302 
    3303 
    3304 Reschke                                                        [Page 58]
    3305 
    3306 
    3307 Documentation             RFC2629 through XSLT                April 2008
    3308 
    3309 
    33103368         xml2rfc-background  6
    33113369         xml2rfc-comments  6
     
    33553413         strict  7
    33563414         subcompact  7
     3415
     3416
     3417
     3418Reschke                                                        [Page 60]
     3419
     3420
     3421Documentation             RFC2629 through XSLT                 July 2008
     3422
     3423
    33573424         support-rfc2731  8
    3358 
    3359 
    3360 
    3361 Reschke                                                        [Page 59]
    3362 
    3363 
    3364 Documentation             RFC2629 through XSLT                April 2008
    3365 
    3366 
    33673425         symrefs  6
    33683426         toc  6
     
    33733431
    33743432   Q
    3375       q Extension Element  23, 32
     3433      q Extension Element  24, 33
    33763434
    33773435   R
    3378       ref Extension Element  23, 32
     3436      ref Extension Element  24, 33
    33793437      Relation.Replaces DCMI property  16
    3380       RELAX NG Compact Schema  32
     3438      RELAX NG Compact Schema  33
    33813439      rfc.abstract anchor  12
    33823440      rfc.authors anchor  12
     
    34013459         3.*  13
    34023460      Saxon  13
    3403       Schema  32
     3461      Schema  33
    34043462      sec-no-trailing-dots PI pseudo-attribute  8
    34053463      slides PI pseudo-attribute  7
    34063464      sortrefs PI pseudo-attribute  6
    3407       source Extension Element  24, 32
    3408       span Extension Element  32
     3465      source Extension Element  24, 33
     3466      span Extension Element  33
    34093467      strict PI pseudo-attribute  7
    34103468      subcompact PI pseudo-attribute  7
    3411       sup Extension Element  24, 32
     3469      sup Extension Element  25, 33
    34123470      support-rfc2731 PI pseudo-attribute  8
    34133471      symrefs PI pseudo-attribute  6
     
    34153473
    34163474
    3417 
    3418 Reschke                                                        [Page 60]
    3419 
    3420 
    3421 Documentation             RFC2629 through XSLT                April 2008
     3475Reschke                                                        [Page 61]
     3476
     3477
     3478Documentation             RFC2629 through XSLT                 July 2008
    34223479
    34233480
     
    34303487
    34313488   X
    3432       x Extension Element  32
     3489      x Extension Element  33
    34333490      Xalan  13
    34343491      xml-stylesheet PI  15
     
    34733530
    34743531
    3475 Reschke                                                        [Page 61]
    3476 
    3477 
    3478 Documentation             RFC2629 through XSLT                April 2008
     3532Reschke                                                        [Page 62]
     3533
     3534
     3535Documentation             RFC2629 through XSLT                 July 2008
    34793536
    34803537
     
    35303587
    35313588
    3532 Reschke                                                        [Page 62]
    3533 
    3534 
     3589Reschke                                                        [Page 63]
     3590
     3591
  • rfc2629xslt/rfc2629xslt.xml

    r246 r272  
    3030        </author>
    3131     
    32     <date month="April" year="2008"/>
     32    <date month="July" year="2008"/>
    3333    <keyword>RFC2629</keyword>
    3434    <keyword>xml2rfc</keyword>
     
    374374    <t><iref item="Internet Explorer 6"/>Internet Explorer 6</t>
    375375    <t><iref item="Internet Explorer 7"/>Internet Explorer 7</t>
    376     <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.* (currently only test builds available)</t>
    377     <t><iref item="Opera"/><iref item="Opera" subitem="9.5"/>Opera 9.5 (currently only test builds available)</t>
     376    <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.* (release candidate available)</t>
    378377    <t><iref item="Safari"/><iref item="Safari" subitem="3.*"/>Safari 3 (starting with version 3.0.4)</t>
    379378  </list>
     
    385384    <eref target="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</eref>)</t>
    386385    <t anchor="opera"><iref item="Opera"/>Opera 9.21: execution fails, potentially
    387     to a somewhat complex XPath expression (reported to Opera as bug 245725).</t>
     386    to a somewhat complex XPath expression (reported to Opera as bug 245725). Opera 9.5:
     387    transformation appears to work, but CSS isn't getting applied (repored to Opera as bug 337388 on 2008-06-12).</t>
    388388    <t anchor="safari"><iref item="Safari"/>Safari 2.* supports client-side XSLT as of MacOS X 10.4,
    389389    but misses required extension functions. A problem
     
    653653  namespace "http://purl.org/net/xml2rfc/ext".
    654654</t>
     655
     656<section title="&lt;abnf-char-sequence> element" anchor="ext.element.abnf-char-sequence">
     657  <iref item="Extension Elements" subitem="abnf-char-sequence" primary="true"/>
     658  <iref item="abnf-char-sequence Extension Element" primary="true"/>
     659  <x:anchor-alias value="abnf-char-sequence"/>
     660  <t>
     661    Converts the contained quoted string into a hex-encoded character
     662    sequence, for use in case-sensitive ABNF productions.
     663  </t>
     664  <t>
     665    For instance, "&lt;x:abnf-char-sequence>"HTTP"&lt;/x:abnf-char-sequence>"
     666    gets converted to "<x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence>".
     667  </t>
     668</section>
    655669
    656670<section title="&lt;anchor-alias> element" anchor="ext.element.anchor-alias">
     
    15241538        <spanx style="strong">| spanx</spanx>
    15251539        <spanx style="strong">| xref</spanx>
     1540        <spanx style="strong">| <x:ref>x_abnf-char-sequence</x:ref></spanx>
    15261541        <spanx style="strong">| <x:ref>x_bb</x:ref></spanx>
    15271542        <spanx style="strong">| <x:ref>x_bc</x:ref></spanx>
     
    16451660       | spanx
    16461661       | vspace
     1662       <spanx style="strong">| <x:ref>x_abnf-char-sequence</x:ref></spanx>
    16471663       <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx>
    16481664       <spanx style="strong">| <x:ref>x_bcp14</x:ref></spanx>
     
    16851701  attribute x:rel  { ATEXT }?,
    16861702  attribute x:sec  { ATEXT }?
     1703
     1704<spanx anchor="x_abnf-char-sequence"><iref item="abnf-char-sequence Extension Element"/><iref item="Extension Elements" subitem="abnf-char-sequence"
     1705/># Conversion to ABNF char sequence (see <xref target="ext.element.abnf-char-sequence"/>)</spanx>
     1706<x:ref>x_abnf-char-sequence</x:ref> =
     1707  element x:abnf-char-sequence {
     1708    TEXT
     1709  }
    16871710
    16881711<spanx anchor="x_anchor-alias"><iref item="anchor-alias Extension Element"/><iref item="Extension Elements" subitem="anchor-alias"
     
    19641987    Fix bug looking up ref type when inside change markup.
    19651988</t>
     1989<t hangText="2008-06-14">
     1990    Enhance output when draft was updated, and then published as RFC.
     1991</t>
    19661992    </list></t>
    19671993    </section>
     
    25582584  Add support for superscript element.
    25592585</t>
     2586<t hangText="2008-06-28">
     2587  Add sanity checks for email addresses, allow multiple email elements.
     2588</t>
     2589<t hangText="2008-07-06">
     2590  Add x:abnf-char-sequence.
     2591</t>
    25602592      </list></t>
    25612593    </section>
  • rfc2629xslt/testcase.html

    r246 r272  
    369369    }
    370370}
    371 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 test cases</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">March 2008</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">referencing tables</a></li><li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">table captions</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li></ul></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">xref with no content</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;t&gt; element</a></li><li class="tocline1">5.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.4">xref to named &lt;t&gt; element inside list</a></li><li class="tocline1">5.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref with no auto-formatting</a></li><li class="tocline1">5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref with content and auto-formatting</a></li><li class="tocline1">5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with content and no formatting</a></li><li class="tocline1">5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with no content and anchor formatting</a></li><li class="tocline1">5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">eref with no content</a></li><li class="tocline1">5.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.10">eref with content</a></li><li class="tocline1">5.11&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.11">iref inside paragraph</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Comments</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li></ul></li><li class="tocline0">11.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a>&nbsp;no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a>&nbsp;with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a>&nbsp;Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a>&nbsp;list without style</h2><dl class="empty"><dd>One</dd><dd>Two</dd><dd>Three</dd></dl><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a>&nbsp;list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table summary="The list of valid keywords are:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td>try to enforce the ID-nits conventions and DTD validity</td><td>a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td>include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td>bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td>when producing a txt/nroff file, try to conserve vertical whitespace</td><td>ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td>if compact is "yes", then setting this to "no" will make things a little less compact</td><td>dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td>an integer hint indicating how many contiguous lines are needed at this point in the output</td><td>eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td></td><td></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table summary="The table below should appear with no borders." class="tt none" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table summary="The table below should appear with borders just around the headers." class="tt headers" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p>  <pre>  +--+
     371</style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 test cases</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">March 2008</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">referencing tables</a></li><li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">table captions</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li></ul></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">xref with no content</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;t&gt; element</a></li><li class="tocline1">5.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.4">xref to named &lt;t&gt; element inside list</a></li><li class="tocline1">5.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref with no auto-formatting</a></li><li class="tocline1">5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref with content and auto-formatting</a></li><li class="tocline1">5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with content and no formatting</a></li><li class="tocline1">5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with no content and anchor formatting</a></li><li class="tocline1">5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">eref with no content</a></li><li class="tocline1">5.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.10">eref with content</a></li><li class="tocline1">5.11&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.11">iref inside paragraph</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Comments</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li><li class="tocline1">10.7&nbsp;&nbsp;&nbsp;<a href="#abnf.support">ABNF Support</a></li></ul></li><li class="tocline0">11.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a>&nbsp;no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a>&nbsp;with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a>&nbsp;Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a>&nbsp;list without style</h2><dl class="empty"><dd>One</dd><dd>Two</dd><dd>Three</dd></dl><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a>&nbsp;list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table summary="The list of valid keywords are:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td>try to enforce the ID-nits conventions and DTD validity</td><td>a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td>include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td>bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td>when producing a txt/nroff file, try to conserve vertical whitespace</td><td>ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td>if compact is "yes", then setting this to "no" will make things a little less compact</td><td>dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td>an integer hint indicating how many contiguous lines are needed at this point in the output</td><td>eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td></td><td></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table summary="The table below should appear with no borders." class="tt none" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table summary="The table below should appear with borders just around the headers." class="tt headers" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p>  <pre>  +--+
    372372  |  |
    373373  +--+
     
    376376  +--+
    377377</pre>  <p>with postamble and title...</p> <p class="figure">Figure 1: another figure</p><p id="rfc.section.4.2.p.2">The figure above has the title "<a href="#testfig">another figure</a>".</p><h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a>&nbsp;Whitespace handling</h2><p id="rfc.section.4.3.p.1">Para...</p><div id="rfc.figure.u.2"></div> <p>Leading whitespace</p>  <pre>test test (leading ws)</pre> <p id="rfc.section.4.3.p.3">Para...</p><div id="rfc.figure.u.3"></div> <p>Trailing whitespace</p>  <pre>test test (trailing ws)
    378    </pre> <p id="rfc.section.4.3.p.5">Para...</p><div id="rfc.figure.u.4"></div> <p>No whitespace</p>  <pre>test test (no ws)</pre> <p id="rfc.section.4.3.p.7">Para...</p><h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a>&nbsp;Whitespace around figures</h2><p id="rfc.section.4.4.p.1">spacing paragraph</p><div id="rfc.figure.u.5"></div><pre>ART</pre><p id="rfc.section.4.4.p.3">spacing paragraph</p><div id="rfc.figure.u.6"></div><p>preamble, then</p><pre>ART</pre><p id="rfc.section.4.4.p.5">spacing paragraph</p><div id="rfc.figure.u.7"></div><pre>ART</pre><p>then postamble</p><p id="rfc.section.4.4.p.7">spacing paragraph</p><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a id="refs" href="#refs">References</a></h1><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;xref with no content</h2><p id="rfc.section.5.1.p.1">We are in <a href="#refs" title="References">Section&nbsp;5</a>.</p><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;<a id="xref.with.no.content" href="#xref.with.no.content">xref with no content</a></h2><div id="xref.with.no.content.first.sentence"><p id="rfc.section.5.2.p.1"> <a href="#refs" title="References">Section&nbsp;5</a> is the parent section.</p></div><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a>&nbsp;xref to named &lt;t&gt; element</h2><p id="rfc.section.5.3.p.1">See <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a>&nbsp;xref to named &lt;t&gt; element inside list</h2><p id="rfc.section.5.4.p.1">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section&nbsp;1.3</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a>&nbsp;xref with no auto-formatting</h2><p id="rfc.section.5.5.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a>&nbsp;xref with content and auto-formatting</h2><p id="rfc.section.5.6.p.1">This is a subsection of References (<a href="#refs" title="References">Section&nbsp;5</a>).</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a>&nbsp;xref with content and no formatting</h2><p id="rfc.section.5.7.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a>&nbsp;xref with no content and anchor formatting</h2><p id="rfc.section.5.8.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.3"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a>&nbsp;eref with no content</h2><p id="rfc.section.5.9.p.1">See also &lt;<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>&gt;. Here's another one that is quite long: &lt;<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected">http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected</a>&gt;. Does it break properly?</p><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a>&nbsp;eref with content</h2><p id="rfc.section.5.10.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a>&nbsp;iref inside paragraph</h2><p id="rfc.section.5.11.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a>&nbsp;Paragraph formatting</h1><p id="rfc.section.6.p.1">This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.</p><p id="rfc.section.6.p.2">This is the second paragraph.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a>&nbsp;Sections</h1><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;Subsection with TOC entry</h2><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;Subsection without TOC entry</h2><h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a>&nbsp;Sub-subsection with TOC entry</h3><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a>&nbsp;Comments</h1><p id="rfc.section.8.p.1">This line contains a few comments. <span class="comment" title="JRE: No anchor, source given.">[<a href="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments.</p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;Artwork width</h1><div id="rfc.figure.u.8"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p>  <pre>012345678901234567890123456789012345678901234567890123456789012345678
     378   </pre> <p id="rfc.section.4.3.p.5">Para...</p><div id="rfc.figure.u.4"></div> <p>No whitespace</p>  <pre>test test (no ws)</pre> <p id="rfc.section.4.3.p.7">Para...</p><h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a>&nbsp;Whitespace around figures</h2><p id="rfc.section.4.4.p.1">spacing paragraph</p><div id="rfc.figure.u.5"></div><pre>ART</pre><p id="rfc.section.4.4.p.3">spacing paragraph</p><div id="rfc.figure.u.6"></div><p>preamble, then</p><pre>ART</pre><p id="rfc.section.4.4.p.5">spacing paragraph</p><div id="rfc.figure.u.7"></div><pre>ART</pre><p>then postamble</p><p id="rfc.section.4.4.p.7">spacing paragraph</p><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a>&nbsp;<a id="refs" href="#refs">References</a></h1><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a>&nbsp;xref with no content</h2><p id="rfc.section.5.1.p.1">We are in <a href="#refs" title="References">Section&nbsp;5</a>.</p><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;<a id="xref.with.no.content" href="#xref.with.no.content">xref with no content</a></h2><div id="xref.with.no.content.first.sentence"><p id="rfc.section.5.2.p.1"> <a href="#refs" title="References">Section&nbsp;5</a> is the parent section.</p></div><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a>&nbsp;xref to named &lt;t&gt; element</h2><p id="rfc.section.5.3.p.1">See <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a>&nbsp;xref to named &lt;t&gt; element inside list</h2><p id="rfc.section.5.4.p.1">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section&nbsp;1.3</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a>&nbsp;xref with no auto-formatting</h2><p id="rfc.section.5.5.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a>&nbsp;xref with content and auto-formatting</h2><p id="rfc.section.5.6.p.1">This is a subsection of References (<a href="#refs" title="References">Section&nbsp;5</a>).</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a>&nbsp;xref with content and no formatting</h2><p id="rfc.section.5.7.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a>&nbsp;xref with no content and anchor formatting</h2><p id="rfc.section.5.8.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.3"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a>&nbsp;eref with no content</h2><p id="rfc.section.5.9.p.1">See also &lt;<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>&gt;. Here's another one that is quite long: &lt;<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected">http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected</a>&gt;. Does it break properly?</p><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a>&nbsp;eref with content</h2><p id="rfc.section.5.10.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a>&nbsp;iref inside paragraph</h2><p id="rfc.section.5.11.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a>&nbsp;Paragraph formatting</h1><p id="rfc.section.6.p.1">This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.</p><p id="rfc.section.6.p.2">This is the second paragraph.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a>&nbsp;Sections</h1><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a>&nbsp;Subsection with TOC entry</h2><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a>&nbsp;Subsection without TOC entry</h2><h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a>&nbsp;Sub-subsection with TOC entry</h3><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a>&nbsp;Comments</h1><p id="rfc.section.8.p.1">This line contains a few comments. <span class="comment" title="JRE: No anchor, source given.">[<a href="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source, but embedded markup: <&gt;.">[<a href="#rfc.comment.3">rfc.comment.3</a>]</span> This line contains a few comments.</p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;Artwork width</h1><div id="rfc.figure.u.8"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p>  <pre>012345678901234567890123456789012345678901234567890123456789012345678
    379379</pre> <div id="rfc.figure.u.9"></div> <p>This shouldn't.</p>  <pre>0123456789012345678901234567890123456789012345678901234567890123456789
    380380</pre> <hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a>&nbsp;<a id="extensions" href="#extensions">Extensions</a></h1><p id="rfc.section.10.p.1">These are tests for extensions done in <samp>rfc2629.xslt</samp>. Do not expect them to work out-of-the-box in <samp>xml2rfc</samp>.</p><h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a>&nbsp;Markup in figure/artwork</h2><div id="rfc.figure.u.10"></div> <pre>Internal References: a test reference to <a href="#RFC2396" id="rfc.xref.RFC2396.2"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">[RFC2396]</cite></a>
     
    408408  &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;
    409409  </pre> <h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a>&nbsp;<a id="computed.reference.targets" href="#computed.reference.targets">Computed Reference Targets</a></h2><p id="rfc.section.10.6.p.1">Referring to this section by anchor name indirectly through the references: Section 10.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.1"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><p id="rfc.section.10.6.p.2">(default formatting): Section 10.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.2"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><div id="rfc.figure.u.15"></div><pre>  Default inside a figure: <a href="#TSTCS" id="rfc.xref.TSTCS.3"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>, Section 10.6
    410 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a>&nbsp;Blank Lines</h1><p id="rfc.section.11.p.1">Just a forced <br> line break.</p><p id="rfc.section.11.p.2">One <br><br> blank line.</p><p id="rfc.section.11.p.3">Seven <br><br><br><br><br><br><br><br> blank lines.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> References</h1><table summary="References"> <tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>&#8221;, BCP&nbsp;9, RFC&nbsp;2026, October&nbsp;1996.</td></tr>  <tr><td class="reference"><b id="RFC2396">[RFC2396]</b></td><td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="Department of Information and Computer Science">Fielding, R.T.</a>, and <a href="mailto:masinter@parc.xerox.com" title="Xerox PARC">L. Masinter</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>&#8221;, RFC&nbsp;2396, August&nbsp;1998.<br>This RFC will soon be updated, check &lt;<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html</a>&gt; for the latest draft.<br>The issues list is at &lt;<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html</a>&gt;.</td></tr>  <tr><td class="reference"><b id="TSTCS">[TSTCS]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, &#8220;Test cases for RFC2629 formatting&#8221;, March&nbsp;2008.</td></tr> </table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="rfc.comment.1">
     410</pre><p id="rfc.section.10.6.p.4">With a broken anchor: <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a>&nbsp;<a id="abnf.support" href="#abnf.support">ABNF Support</a></h2><div id="rfc.figure.u.16"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"
     411case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
     412case-sensitive1 = %x61.62.63.64.65.66.67.68.69.6A.6C.6B.6D.6E.6F.70.71.72.73.74.75.76.77.78.79.7A
     413case-sensitive2 = %x41.42.43.44.45.46.47.48.49.4A.4B.4C.4D.4E.4F.50.51.52.53.54.55.56.57.58.59.5A
     414</pre><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a>&nbsp;Blank Lines</h1><p id="rfc.section.11.p.1">Just a forced <br> line break.</p><p id="rfc.section.11.p.2">One <br><br> blank line.</p><p id="rfc.section.11.p.3">Seven <br><br><br><br><br><br><br><br> blank lines.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> References</h1><table summary="References"> <tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>&#8221;, BCP&nbsp;9, RFC&nbsp;2026, October&nbsp;1996.</td></tr>  <tr><td class="reference"><b id="RFC2396">[RFC2396]</b></td><td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="Department of Information and Computer Science">Fielding, R.T.</a>, and <a href="mailto:masinter@parc.xerox.com" title="Xerox PARC">L. Masinter</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>&#8221;, RFC&nbsp;2396, August&nbsp;1998.<br>This RFC will soon be updated, check &lt;<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html</a>&gt; for the latest draft.<br>The issues list is at &lt;<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html</a>&gt;.</td></tr>  <tr><td class="reference"><b id="TSTCS">[TSTCS]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, &#8220;Test cases for RFC2629 formatting&#8221;, March&nbsp;2008.</td></tr> </table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="rfc.comment.1">
    411415        [rfc.comment.1]
    412416      </dt><dd>No anchor, source given. --JRE</dd><dt id="comment1">
     
    416420      </dt><dd>Both specified. --JRE</dd><dt id="rfc.comment.2">
    417421        [rfc.comment.2]
    418       </dt><dd>No anchor, no source.</dd></dl><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span>&nbsp;<span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.I">I</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><b>&lt;</b><ul class="ind"><li class="indline1">&lt;iref&gt; in &lt;artwork&gt;&nbsp;&nbsp;<a class="iref" href="#rfc.iref.1">10.1</a></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">inline iref&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.1">5.11</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.7</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.8</a>, <a class="iref" href="#RFC2026"><b>12</b></a></li><li class="indline1"><em>RFC2396</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2396.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>12</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section </em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.4">10.6</a></li><li class="indline1"><em>Section 10.6</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a></li></ul></li></ul></li></ul></div></body></html>
     422      </dt><dd>No anchor, no source.</dd><dt id="rfc.comment.3">
     423        [rfc.comment.3]
     424      </dt><dd>No anchor, no source, but embedded markup: &lt;<a href="http://xml.resource.org">http://xml.resource.org</a>&gt;.</dd></dl><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span>&nbsp;<span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.I">I</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><b>&lt;</b><ul class="ind"><li class="indline1">&lt;iref&gt; in &lt;artwork&gt;&nbsp;&nbsp;<a class="iref" href="#rfc.iref.1">10.1</a></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">inline iref&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.1">5.11</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.7</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.8</a>, <a class="iref" href="#RFC2026"><b>12</b></a></li><li class="indline1"><em>RFC2396</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2396.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>12</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>12</b></a><ul class="ind"><li class="indline1"><em>Appendix </em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.4">10.6</a></li><li class="indline1"><em>Section 10.6</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a></li></ul></li></ul></li></ul></div></body></html>
  • rfc2629xslt/testcase.xml

    r246 r272  
    522522  <cref>No anchor, no source.</cref>
    523523  This line contains a few comments.
     524  <cref>No anchor, no source, but embedded markup: <eref target="http://xml.resource.org"/>.</cref>
     525  This line contains a few comments.
    524526</t>
    525527</section>
     
    657659  <xref target="TSTCS" x:rel="#a-target-that-isnt-defined"/>.
    658660</t>
     661</section>
     662
     663<section title="ABNF Support" anchor="abnf.support">
     664<figure><artwork>
     665case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"
     666case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
     667case-sensitive1 = <x:abnf-char-sequence>"abcdefghijlkmnopqrstuvwxyz"</x:abnf-char-sequence>
     668case-sensitive2 = <x:abnf-char-sequence>"ABCDEFGHIJKLMNOPQRSTUVWXYZ"</x:abnf-char-sequence>
     669</artwork></figure>
    659670</section>
    660671
Note: See TracChangeset for help on using the changeset viewer.