Changeset 662 for rfc2629xslt


Ignore:
Timestamp:
Aug 5, 2009, 6:56:13 AM (10 years ago)
Author:
julian.reschke@…
Message:

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

Location:
rfc2629xslt
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r599 r662  
    381381<xsl:variable name="ipr-2009-02" select="(
    382382    $ipr-2008-11 and ($xml2rfc-ext-pub-year &gt;= 2010 or ($xml2rfc-ext-pub-year &gt;= 2009 and $xml2rfc-ext-pub-month-numeric >= 02))
     383  )" />
     384
     385<!-- see http://mailman.rfc-editor.org/pipermail/rfc-interest/2009-June/001373.html -->
     386<xsl:variable name="abstract-first" select="(
     387    /rfc/@number and (
     388      $xml2rfc-ext-pub-year &gt;= 2010 or ($xml2rfc-ext-pub-year &gt;= 2009 and $xml2rfc-ext-pub-month-numeric >= 07)
     389    )
    383390  )" />
    384391
     
    706713<xsl:template match="back">
    707714
    708   <!-- add references section first, no matter where it appears in the
    709     source document -->
    710   <!-- as of April 2004, process from middle section
    711   <xsl:apply-templates select="references" />
    712   -->
    713  
    714715  <!-- add editorial comments -->
    715716  <xsl:if test="//cref and $xml2rfc-comments='yes' and $xml2rfc-inline!='yes'">
     
    725726  <xsl:apply-templates select="*[not(self::references) and not(self::ed:replace and .//references)]" />
    726727
     728  <!-- insert the index if index entries exist -->
     729  <!-- note it always comes before the authors section -->
     730  <xsl:if test="$has-index">
     731    <xsl:call-template name="insertIndex" />
     732  </xsl:if>
     733
     734  <!-- Authors section is the absolute last thing, except for copyright stuff -->
    727735  <xsl:if test="$xml2rfc-ext-authors-section='end'">
    728736    <xsl:call-template name="insertAuthors" />
     
    746754  </xsl:if>
    747755 
    748   <!-- insert the index if index entries exist -->
    749   <xsl:if test="$has-index">
    750     <xsl:call-template name="insertIndex" />
    751   </xsl:if>
    752 
    753756</xsl:template>
    754757
     
    863866  </xsl:choose>           
    864867
    865   <xsl:if test="not($xml2rfc-private)">
    866  
    867     <!-- Get status info formatted as per RFC2629-->
    868     <xsl:variable name="preamble">
    869       <xsl:call-template name="insertPreamble" />
    870     </xsl:variable>
    871    
    872     <!-- emit it -->
    873     <xsl:choose>
    874       <xsl:when test="function-available('exslt:node-set')">
    875         <xsl:apply-templates select="exslt:node-set($preamble)" />
    876       </xsl:when>
    877       <xsl:otherwise>
    878         <xsl:call-template name="error">
    879           <xsl:with-param name="msg" select="$node-set-warning"/>
    880         </xsl:call-template>
    881       </xsl:otherwise>
    882     </xsl:choose>
     868  <xsl:if test="not($xml2rfc-private) and not($abstract-first)">
     869    <xsl:call-template name="emit-ietf-preamble"/>
    883870  </xsl:if>
    884871 
     
    889876  <xsl:apply-templates select="ed:replace[.//note]" />
    890877   
     878  <xsl:if test="not($xml2rfc-private) and $abstract-first">
     879    <xsl:call-template name="emit-ietf-preamble"/>
     880  </xsl:if>
     881
    891882  <xsl:if test="$xml2rfc-toc='yes'">
    892883    <xsl:apply-templates select="/" mode="toc" />
     
    896887</xsl:template>
    897888
     889<xsl:template name="emit-ietf-preamble">
     890  <!-- Get status info formatted as per RFC2629-->
     891  <xsl:variable name="preamble">
     892    <xsl:call-template name="insertPreamble" />
     893  </xsl:variable>
     894 
     895  <!-- emit it -->
     896  <xsl:choose>
     897    <xsl:when test="function-available('exslt:node-set')">
     898      <xsl:apply-templates select="exslt:node-set($preamble)" />
     899    </xsl:when>
     900    <xsl:otherwise>
     901      <xsl:call-template name="error">
     902        <xsl:with-param name="msg" select="$node-set-warning"/>
     903      </xsl:call-template>
     904    </xsl:otherwise>
     905  </xsl:choose>
     906</xsl:template>
    898907
    899908<xsl:template match="iref">
     
    15691578            <xsl:otherwise/>
    15701579          </xsl:choose>
    1571           <meta name="DC.Date.Issued" scheme="ISO8601" content="{$xml2rfc-ext-pub-year}-{$xml2rfc-ext-pub-month-numeric}" />
     1580          <meta name="DC.Date.Issued" scheme="ISO8601">
     1581            <xsl:attribute name="content">
     1582              <xsl:value-of select="concat($xml2rfc-ext-pub-year,'-',$xml2rfc-ext-pub-month-numeric)"/>
     1583              <xsl:if test="$xml2rfc-ext-pub-day != '' and not(/rfc/@number)">
     1584                <xsl:value-of select="concat('-',format-number($xml2rfc-ext-pub-day,'00'))"/>
     1585              </xsl:if>
     1586            </xsl:attribute>
     1587          </meta>
    15721588 
    15731589          <xsl:if test="/rfc/@obsoletes!=''">
     
    17421758    </xsl:if>
    17431759    <xsl:choose>
    1744       <xsl:when test="$sectionNumber='1'">
     1760      <xsl:when test="$sectionNumber='1' or $sectionNumber='A'">
    17451761        <!-- pagebreak, this the first section -->
    17461762        <xsl:attribute name="class">np</xsl:attribute>
     
    17541770    <xsl:call-template name="insertInsDelClass" />
    17551771       
    1756     <xsl:if test="$sectionNumber!=''">
     1772    <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))">
    17571773      <a href="#{$anchor-prefix}.section.{$sectionNumber}">
    17581774        <xsl:call-template name="emit-section-number">
     
    18991915      </xsl:call-template>
    19001916    </xsl:when>
    1901 
     1917   
    19021918    <!-- Section links -->
    19031919    <xsl:when test="$node/self::section or $node/self::appendix">
    1904       <xsl:apply-templates/>
    1905       <xsl:text> (</xsl:text>
    1906       <a href="#{@target}">
    1907         <!-- insert id when a backlink to this xref is needed in the index -->
    1908         <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]">
    1909           <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
    1910         </xsl:if>
    1911         <xsl:call-template name="render-section-ref">
    1912           <xsl:with-param name="from" select="."/>
    1913           <xsl:with-param name="to" select="$node"/>
    1914         </xsl:call-template>
    1915       </a>
    1916       <xsl:text>)</xsl:text>
     1920      <xsl:choose>
     1921        <xsl:when test="@format='none'">
     1922          <a href="#{@target}">
     1923            <!-- insert id when a backlink to this xref is needed in the index -->
     1924            <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]">
     1925              <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     1926            </xsl:if>
     1927            <xsl:apply-templates/>
     1928          </a>
     1929        </xsl:when>
     1930        <xsl:otherwise>
     1931          <xsl:apply-templates/>
     1932          <xsl:text> (</xsl:text>
     1933          <a href="#{@target}">
     1934            <!-- insert id when a backlink to this xref is needed in the index -->
     1935            <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]">
     1936              <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     1937            </xsl:if>
     1938            <xsl:call-template name="render-section-ref">
     1939              <xsl:with-param name="from" select="."/>
     1940              <xsl:with-param name="to" select="$node"/>
     1941            </xsl:call-template>
     1942          </a>
     1943          <xsl:text>)</xsl:text>
     1944        </xsl:otherwise>
     1945      </xsl:choose>
    19171946    </xsl:when>
    19181947
     
    24302459<xsl:template name="expirydate">
    24312460  <xsl:choose>
     2461    <xsl:when test="$xml2rfc-ext-pub-day >= 1">
     2462      <xsl:call-template name="normalize-date">
     2463        <xsl:with-param name="year" select="$xml2rfc-ext-pub-year"/>
     2464        <xsl:with-param name="month" select="$xml2rfc-ext-pub-month-numeric"/>
     2465        <xsl:with-param name="day" select="$xml2rfc-ext-pub-day + 185"/>
     2466      </xsl:call-template>
     2467    </xsl:when>
    24322468    <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
    24332469    <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     
    24462482</xsl:template>
    24472483
     2484<xsl:template name="normalize-date">
     2485  <xsl:param name="year"/>
     2486  <xsl:param name="month"/>
     2487  <xsl:param name="day"/>
     2488
     2489  <xsl:variable name="isleap" select="(($year mod 4) = 0 and ($year mod 100 != 0)) or ($year mod 400) = 0" />
     2490
     2491  <!--<xsl:message>
     2492    <xsl:value-of select="concat($year,' ',$month,' ',$day)"/>
     2493  </xsl:message>-->
     2494 
     2495  <xsl:variable name="dim">
     2496    <xsl:choose>
     2497      <xsl:when test="$month=1 or $month=3 or $month=5 or $month=7 or $month=8 or $month=10 or $month=12">31</xsl:when>
     2498      <xsl:when test="$month=2 and $isleap">29</xsl:when>
     2499      <xsl:when test="$month=2 and not($isleap)">28</xsl:when>
     2500      <xsl:otherwise>30</xsl:otherwise>
     2501    </xsl:choose>
     2502  </xsl:variable>
     2503 
     2504  <xsl:choose>
     2505    <xsl:when test="$day > $dim and $month=12">
     2506      <xsl:call-template name="normalize-date">
     2507        <xsl:with-param name="year" select="$year + 1"/>
     2508        <xsl:with-param name="month" select="1"/>
     2509        <xsl:with-param name="day" select="$day - $dim"/>
     2510      </xsl:call-template>
     2511    </xsl:when>
     2512    <xsl:when test="$day > $dim">
     2513      <xsl:call-template name="normalize-date">
     2514        <xsl:with-param name="year" select="$year"/>
     2515        <xsl:with-param name="month" select="$month + 1"/>
     2516        <xsl:with-param name="day" select="$day - $dim"/>
     2517      </xsl:call-template>
     2518    </xsl:when>
     2519    <xsl:otherwise>
     2520      <xsl:call-template name="get-month-as-name">
     2521        <xsl:with-param name="month" select="$month"/>
     2522      </xsl:call-template>
     2523      <xsl:value-of select="concat(' ',$day,', ',$year)"/>
     2524    </xsl:otherwise>
     2525  </xsl:choose>
     2526
     2527</xsl:template>
     2528 
    24482529<xsl:template name="get-month-as-num">
    24492530  <xsl:param name="month" />
     
    25072588    <xsl:call-template name="insert-conditional-hrule"/>
    25082589   
    2509     <h1 id="{$anchor-prefix}.authors">
    2510       <xsl:call-template name="insert-conditional-pagebreak"/>
    2511       <xsl:if test="$number != ''">
    2512         <a href="#{$anchor-prefix}.section.{$number}" id="{$anchor-prefix}.section.{$number}"><xsl:value-of select="$number"/>.</a>
    2513         <xsl:text> </xsl:text>
    2514       </xsl:if>
    2515       <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a>
    2516     </h1>
    2517  
    2518     <xsl:apply-templates select="/rfc/front/author" />
     2590    <div class="avoidbreak">
     2591      <h1 id="{$anchor-prefix}.authors">
     2592        <xsl:call-template name="insert-conditional-pagebreak"/>
     2593        <xsl:if test="$number != ''">
     2594          <a href="#{$anchor-prefix}.section.{$number}" id="{$anchor-prefix}.section.{$number}"><xsl:value-of select="$number"/>.</a>
     2595          <xsl:text> </xsl:text>
     2596        </xsl:if>
     2597        <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a>
     2598      </h1>
     2599   
     2600      <xsl:apply-templates select="/rfc/front/author" />
     2601    </div>
    25192602  </xsl:if>
    25202603</xsl:template>
     
    28672950  border-width: 1px;
    28682951}
     2952table.left {
     2953  margin-right: auto;
     2954}
     2955table.right {
     2956  margin-left: auto;
     2957}
     2958table.center {
     2959  margin-left: auto;
     2960  margin-right: auto;
     2961}
    28692962caption {
    28702963  caption-side: bottom;
     
    29453038  margin-left: 0em;
    29463039  margin-right: 0em;
     3040}
     3041.avoidbreak {
     3042  page-break-inside: avoid;
    29473043}
    29483044</xsl:if><xsl:if test="//x:bcp14">.bcp14 {
     
    37833879       
    37843880        <!-- special case: RFC5378 escape applies to RFCs as well -->
    3785         <!-- <xsl:if test="/rfc/@ipr = 'pre5378Trust200902'">
     3881        <!-- currently only applied to RFCs, need to discuss for IDs -->
     3882        <xsl:if test="/rfc/@number and /rfc/@ipr = 'pre5378Trust200902'">
    37863883          <t>
    37873884            This document may contain material from IETF Documents or IETF Contributions published or
     
    37943891            other than English.
    37953892          </t>
    3796         </xsl:if> -->
     3893        </xsl:if>
    37973894       
    37983895      </section>
     
    38683965            </xsl:otherwise>
    38693966          </xsl:choose>
    3870           <xsl:if test="$number != ''">
     3967          <xsl:if test="$number != '' and not(contains($number,'unnumbered-'))">
    38713968            <xsl:call-template name="emit-section-number">
    38723969              <xsl:with-param name="no" select="$number"/>
     
    38933990<xsl:template match="back" mode="toc">
    38943991
    3895   <!-- <xsl:apply-templates select="references" mode="toc" /> -->
    3896 
    38973992  <xsl:if test="//cref and $xml2rfc-comments='yes' and $xml2rfc-inline!='yes'">
    38983993    <li>
     
    39084003  </xsl:if>
    39094004  <xsl:apply-templates select="*[not(self::references)]" mode="toc" />
     4005
     4006  <!-- insert the index if index entries exist -->
     4007  <xsl:if test="$has-index">
     4008    <li>
     4009      <xsl:call-template name="insert-toc-line">
     4010        <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>
     4011        <xsl:with-param name="title" select="'Index'"/>
     4012      </xsl:call-template>
     4013    </li>
     4014  </xsl:if>
    39104015
    39114016  <xsl:if test="$xml2rfc-ext-authors-section='end'">
     
    39234028  </xsl:if>
    39244029 
    3925   <!-- insert the index if index entries exist -->
    3926   <xsl:if test="//iref">
    3927     <li>
    3928       <xsl:call-template name="insert-toc-line">
    3929         <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>
    3930         <xsl:with-param name="title" select="'Index'"/>
    3931       </xsl:call-template>
    3932     </li>
    3933   </xsl:if>
    3934 
    39354030</xsl:template>
    39364031
     
    50515146<xsl:template name="sectionnumberAndEdits">
    50525147  <xsl:choose>
    5053     <xsl:when test="ancestor::ed:del">del-<xsl:number count="ed:del//section" level="any"/></xsl:when>
    5054     <xsl:when test="@x:fixed-section-number">
     5148    <xsl:when test="ancestor::ed:del">
     5149      <xsl:text>del-</xsl:text>
     5150      <xsl:number count="ed:del//section" level="any"/>
     5151    </xsl:when>
     5152    <xsl:when test="@x:fixed-section-number and @x:fixed-section-number!=''">
    50555153      <xsl:value-of select="@x:fixed-section-number"/>
     5154    </xsl:when>
     5155    <xsl:when test="@x:fixed-section-number and @x:fixed-section-number=''">
     5156      <xsl:text>unnumbered-</xsl:text>
     5157      <xsl:number count="section[@x:fixed-section-number='']" level="any"/>
    50565158    </xsl:when>
    50575159    <xsl:when test="self::section and parent::ed:ins and local-name(../..)='replace'">
     
    51555257
    51565258  <div id="{$anch}">
     5259
    51575260    <xsl:if test="@anchor!=''">
    51585261      <div id="{@anchor}"/>
     
    51675270        <xsl:otherwise>full</xsl:otherwise>
    51685271      </xsl:choose>
     5272      <xsl:choose>
     5273        <xsl:when test="@align='left'"> left</xsl:when>
     5274        <xsl:when test="@align='right'"> right</xsl:when>
     5275        <xsl:when test="@align='center' or not(@align) or @align=''"> center</xsl:when>
     5276        <xsl:otherwise/>
     5277      </xsl:choose>
     5278
    51695279    </xsl:variable>
    51705280
    5171     <table summary="{preamble}" class="{$style}" cellpadding="3" cellspacing="0">
    5172 
     5281    <table class="{$style}" cellpadding="3" cellspacing="0">
    51735282      <xsl:if test="(@title!='' or @anchor!='') and not(@suppress-title='true')">
    51745283        <xsl:variable name="n"><xsl:number level="any" count="texttable[(@title!='' or @anchor!='') and not(@suppress-title='true')]" /></xsl:variable>
     
    51875296        <xsl:variable name="columns" select="count(ttcol)" />
    51885297        <xsl:variable name="fields" select="c | ed:replace/ed:ins/c | ed:replace/ed:del/c" />
    5189         <xsl:for-each select="$fields[(position() mod $columns) = 1]">
     5298        <xsl:for-each select="$fields[$columns=1 or (position() mod $columns) = 1]">
    51905299          <tr>
    51915300            <xsl:for-each select=". | following-sibling::c[position() &lt; $columns]">
     
    53345443<xsl:template match="/*/middle//section[not(myns:unnumbered) and not(ancestor::section)]" mode="links">
    53355444  <xsl:variable name="sectionNumber"><xsl:call-template name="get-section-number" /></xsl:variable>
    5336   <link rel="Chapter" title="{$sectionNumber} {@title}" href="#{$anchor-prefix}.section.{$sectionNumber}" />
     5445  <xsl:variable name="title">
     5446    <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))">
     5447      <xsl:value-of select="$sectionNumber"/>
     5448      <xsl:text> </xsl:text>
     5449    </xsl:if>
     5450    <xsl:value-of select="@title"/>
     5451  </xsl:variable>
     5452  <link rel="Chapter" title="{$title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/>
    53375453  <xsl:apply-templates mode="links" />
    53385454</xsl:template>
     
    53405456<xsl:template match="/*/back//section[not(myns:unnumbered) and not(ancestor::section)]" mode="links">
    53415457  <xsl:variable name="sectionNumber"><xsl:call-template name="get-section-number" /></xsl:variable>
    5342   <link rel="Appendix" title="{$sectionNumber} {@title}" href="#{$anchor-prefix}.section.{$sectionNumber}" />
     5458  <xsl:variable name="title">
     5459    <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))">
     5460      <xsl:value-of select="$sectionNumber"/>
     5461      <xsl:text> </xsl:text>
     5462    </xsl:if>
     5463    <xsl:value-of select="@title"/>
     5464  </xsl:variable>
     5465  <link rel="Appendix" title="{$title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/>
    53435466  <xsl:apply-templates mode="links" />
    53445467</xsl:template>
     
    54185541    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    54195542    <!-- when RCS keyword substitution in place, add version info -->
    5420     <xsl:if test="contains('$Revision: 1.439 $',':')">
    5421       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.439 $', 'Revision: '),'$','')),', ')" />
     5543    <xsl:if test="contains('$Revision: 1.447 $',':')">
     5544      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.447 $', 'Revision: '),'$','')),', ')" />
    54225545    </xsl:if>
    5423     <xsl:if test="contains('$Date: 2009-06-09 18:43:39 $',':')">
    5424       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-06-09 18:43:39 $', 'Date: '),'$','')),', ')" />
     5546    <xsl:if test="contains('$Date: 2009-08-04 19:54:03 $',':')">
     5547      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-08-04 19:54:03 $', 'Date: '),'$','')),', ')" />
    54255548    </xsl:if>
    54265549    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
     
    54545577  <xsl:variable name="anchor" select="@anchor"/>
    54555578  <xsl:choose>
    5456     <xsl:when test="@x:fixed-section-number">
     5579    <xsl:when test="@x:fixed-section-number and @x:fixed-section-number!=''">
    54575580      <xsl:value-of select="@x:fixed-section-number"/>
     5581    </xsl:when>
     5582    <xsl:when test="@x:fixed-section-number and @x:fixed-section-number=''">
     5583      <xsl:text>unnumbered-</xsl:text>
     5584      <xsl:number count="section[@x:fixed-section-number='']" level="any"/>
    54585585    </xsl:when>
    54595586    <xsl:when test="$has-edits or ancestor::*/@x:fixed-section-number">
  • rfc2629xslt/rfc2629toFO.xslt

    r588 r662  
    242242
    243243<xsl:template match="back">
    244 
    245         <!-- add references section first, no matter where it appears in the
    246     source document -->
    247         <!-- <xsl:apply-templates select="references" />  -->
    248            
    249   <xsl:if test="$xml2rfc-ext-authors-section!='end'">
    250     <xsl:call-template name="insertAuthors" />
    251   </xsl:if>
    252  
    253   <!-- add all other top-level sections under <back> -->
    254         <xsl:apply-templates select="*[not(self::references)]" />
    255 
    256   <xsl:if test="$xml2rfc-ext-authors-section='end'">
    257     <xsl:call-template name="insertAuthors" />
    258   </xsl:if>
    259 
    260   <xsl:if test="not($xml2rfc-private)">
    261         <!-- copyright statements -->
    262     <xsl:variable name="copyright"><xsl:call-template name="insertCopyright" /></xsl:variable>
    263  
    264     <!-- emit it -->
    265     <xsl:choose>
    266       <xsl:when test="function-available('exslt:node-set')">
    267         <xsl:apply-templates select="exslt:node-set($copyright)/node()" />
    268       </xsl:when>
    269       <xsl:otherwise> <!--proceed with fingers crossed-->
    270         <xsl:variable name="temp" select="$copyright"/>
    271         <xsl:apply-templates select="$temp/node()" />
    272       </xsl:otherwise>
    273     </xsl:choose>
    274   </xsl:if>
    275  
     244  <!-- done in parent template -->
    276245</xsl:template>
    277246
     
    340309      <fo:block font-size="80%"><xsl:value-of select="/rfc/@docName" /></fo:block>
    341310    </xsl:if>
    342  </fo:block>
     311  </fo:block>
    343312 
    344   <!-- Get status info formatted as per RFC2629-->
    345   <xsl:if test="not($xml2rfc-private)">
    346     <xsl:variable name="preamble"><xsl:call-template name="insertPreamble" /></xsl:variable>
    347    
    348     <!-- emit it -->
    349     <xsl:choose>
    350       <xsl:when test="function-available('exslt:node-set')">
    351         <xsl:apply-templates select="exslt:node-set($preamble)/node()" />
    352       </xsl:when>
    353       <xsl:otherwise>
    354         <xsl:variable name="temp" select="$preamble"/>
    355         <xsl:apply-templates select="$temp/node()" />
    356       </xsl:otherwise>
    357     </xsl:choose>
     313  <xsl:if test="not($xml2rfc-private) and not($abstract-first)">
     314    <xsl:call-template name="emit-ietf-preamble"/>
    358315  </xsl:if>
    359316 
     
    361318        <xsl:apply-templates select="abstract" />
    362319        <xsl:apply-templates select="note" />
     320
     321  <xsl:if test="not($xml2rfc-private) and $abstract-first">
     322    <xsl:call-template name="emit-ietf-preamble"/>
     323  </xsl:if>
    363324
    364325        <xsl:if test="$xml2rfc-toc='yes'">
     
    662623<xsl:template match="middle">
    663624        <xsl:apply-templates />
    664   <xsl:apply-templates select="../back/references" />
    665625</xsl:template>
    666626               
     
    830790    <xsl:when test="count(/*/back/references)=1">
    831791      <fo:block id="{$anchor-prefix}.references" xsl:use-attribute-sets="h1 newpage">
    832         <xsl:call-template name="get-section-number"/>&#160;&#160;
     792        <xsl:variable name="sectionNumber">
     793          <xsl:call-template name="get-section-number"/>
     794        </xsl:variable>
     795        <xsl:call-template name="emit-section-number">
     796          <xsl:with-param name="no" select="$sectionNumber"/>
     797        </xsl:call-template>
     798        <xsl:text>&#160;&#160;</xsl:text>
    833799        <xsl:choose>
    834800          <xsl:when test="@title!=''"><xsl:value-of select="@title"/></xsl:when>
     
    839805    <xsl:otherwise>
    840806      <fo:block id="{$anchor-prefix}.references.{$name}" xsl:use-attribute-sets="h2">
    841         <xsl:call-template name="get-section-number"/>&#160;&#160;
     807        <xsl:variable name="sectionNumber">
     808          <xsl:call-template name="get-section-number"/>
     809        </xsl:variable>
     810        <xsl:call-template name="emit-section-number">
     811          <xsl:with-param name="no" select="$sectionNumber"/>
     812        </xsl:call-template>
     813        <xsl:text>&#160;&#160;</xsl:text>
    842814        <xsl:choose>
    843815          <xsl:when test="@title!=''"><xsl:value-of select="@title"/></xsl:when>
     
    961933    <xsl:variable name="lang"><xsl:call-template name="get-lang"/></xsl:variable>
    962934
    963                 <fo:page-sequence master-reference="sequence" language="{$lang}" force-page-count="even">
     935                <fo:page-sequence master-reference="sequence" language="{$lang}">
    964936      <xsl:if test="$xml2rfc-ext-duplex='yes'">
    965937        <xsl:attribute name="force-page-count">even</xsl:attribute>
     
    970942     
    971943                        <fo:flow flow-name="xsl-region-body">
    972                                 <xsl:apply-templates />   
     944                               
     945        <!-- process front & middle section, but not back -->
     946        <xsl:apply-templates />
     947       
     948        <!-- because it requires multiple page masters -->
     949        <!-- references first -->
     950        <xsl:apply-templates select="back/references" />
     951       
     952        <xsl:if test="$xml2rfc-ext-authors-section!='end'">
     953          <xsl:call-template name="insertAuthors" />
     954        </xsl:if>
     955       
     956        <!-- add all other top-level sections under <back> -->
     957        <xsl:apply-templates select="back/*[not(self::references)]" />
     958     
    973959                        </fo:flow>
    974960    </fo:page-sequence>
     
    986972      </fo:page-sequence>
    987973    </xsl:if>
     974
     975    <xsl:if test="$xml2rfc-ext-authors-section='end' or (not($xml2rfc-private) and not($no-copylong))">
     976                <fo:page-sequence master-reference="sequence" language="{$lang}">
     977        <xsl:if test="$xml2rfc-ext-duplex='yes'">
     978          <xsl:attribute name="force-page-count">even</xsl:attribute>
     979        </xsl:if>
     980 
     981        <xsl:call-template name="insertHeader" />
     982        <xsl:call-template name="insertFooter" />
     983       
     984                        <fo:flow flow-name="xsl-region-body">
     985                               
     986          <xsl:if test="$xml2rfc-ext-authors-section='end'">
     987            <xsl:call-template name="insertAuthors" />
     988          </xsl:if>
     989 
     990          <xsl:if test="not($xml2rfc-private)">
     991                <!-- copyright statements -->
     992            <xsl:variable name="copyright">
     993              <xsl:call-template name="insertCopyright" />
     994            </xsl:variable>
     995         
     996            <!-- emit it -->
     997            <xsl:choose>
     998              <xsl:when test="function-available('exslt:node-set')">
     999                <xsl:apply-templates select="exslt:node-set($copyright)/node()" />
     1000              </xsl:when>
     1001              <xsl:otherwise> <!--proceed with fingers crossed-->
     1002                <xsl:variable name="temp" select="$copyright"/>
     1003                <xsl:apply-templates select="$temp/node()" />
     1004              </xsl:otherwise>
     1005            </xsl:choose>
     1006          </xsl:if>
     1007         
     1008                        </fo:flow>
     1009      </fo:page-sequence>
     1010    </xsl:if>
    9881011   
    9891012        </fo:root>
     
    10061029  <xsl:call-template name="add-anchor" />
    10071030 
    1008   <xsl:if test="$sectionNumber!=''">
     1031  <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))">
    10091032    <xsl:call-template name="emit-section-number">
    10101033      <xsl:with-param name="no" select="$sectionNumber"/>
     
    11581181      </fo:basic-link>
    11591182    </xsl:when>
     1183   
    11601184    <xsl:when test="$node/self::section or $node/self::appendix">
    1161       <xsl:apply-templates/>
    1162       <xsl:text> (</xsl:text>
    1163       <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link">
    1164         <!-- insert id when a backlink to this xref is needed in the index -->
    1165         <xsl:variable name="ireftargets" select="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"/>
    1166         <xsl:if test="$ireftargets">
    1167           <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
    1168         </xsl:if>
    1169         <xsl:for-each select="$ireftargets">
    1170           <fo:wrapper index-key="{concat('item=',@item,',subitem=',@subitem)}" />
    1171         </xsl:for-each>
    1172         <xsl:call-template name="render-section-ref">
    1173           <xsl:with-param name="from" select="."/>
    1174           <xsl:with-param name="to" select="$node"/>
    1175         </xsl:call-template>
    1176       </fo:basic-link>
    1177       <xsl:text>)</xsl:text>
     1185      <xsl:choose>
     1186        <xsl:when test="@format='none'">
     1187          <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link">
     1188            <!-- insert id when a backlink to this xref is needed in the index -->
     1189            <xsl:variable name="ireftargets" select="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"/>
     1190            <xsl:if test="$ireftargets">
     1191              <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     1192            </xsl:if>
     1193            <xsl:for-each select="$ireftargets">
     1194              <fo:wrapper index-key="{concat('item=',@item,',subitem=',@subitem)}" />
     1195            </xsl:for-each>
     1196            <xsl:apply-templates/>
     1197          </fo:basic-link>
     1198        </xsl:when>
     1199        <xsl:otherwise>
     1200          <xsl:apply-templates/>
     1201          <xsl:text> (</xsl:text>
     1202          <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link">
     1203            <!-- insert id when a backlink to this xref is needed in the index -->
     1204            <xsl:variable name="ireftargets" select="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"/>
     1205            <xsl:if test="$ireftargets">
     1206              <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     1207            </xsl:if>
     1208            <xsl:for-each select="$ireftargets">
     1209              <fo:wrapper index-key="{concat('item=',@item,',subitem=',@subitem)}" />
     1210            </xsl:for-each>
     1211            <xsl:call-template name="render-section-ref">
     1212              <xsl:with-param name="from" select="."/>
     1213              <xsl:with-param name="to" select="$node"/>
     1214            </xsl:call-template>
     1215          </fo:basic-link>
     1216          <xsl:text>)</xsl:text>
     1217        </xsl:otherwise>
     1218      </xsl:choose>
    11781219    </xsl:when>
     1220   
    11791221    <xsl:otherwise>
    11801222      <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link">
     
    17111753<xsl:template match="back" mode="toc">
    17121754
    1713   <!-- <xsl:apply-templates select="references" mode="toc" /> -->
     1755  <xsl:apply-templates select="references" mode="toc" />
    17141756
    17151757  <xsl:if test="$xml2rfc-ext-authors-section!='end'">
     
    17181760
    17191761  <xsl:apply-templates select="*[not(self::references)]" mode="toc" />
     1762
     1763  <!-- insert the index if index entries exist -->
     1764  <xsl:if test="$has-index">
     1765    <xsl:call-template name="insert-toc-line">
     1766      <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>
     1767      <xsl:with-param name="title" select="'Index'"/>
     1768    </xsl:call-template>
     1769  </xsl:if>
    17201770
    17211771  <xsl:if test="$xml2rfc-ext-authors-section='end'">
     
    17311781  </xsl:if>
    17321782 
    1733   <!-- insert the index if index entries exist -->
    1734   <xsl:if test="$has-index">
    1735     <xsl:call-template name="insert-toc-line">
    1736       <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>
    1737       <xsl:with-param name="title" select="'Index'"/>
    1738     </xsl:call-template>
    1739   </xsl:if>
    1740 
    17411783</xsl:template>
    17421784
     
    18661908    <xsl:when test="$depth = 0">
    18671909      <fo:block space-before="1em" font-weight="bold" text-align-last="justify">
    1868         <xsl:if test="$number!=''">
     1910        <xsl:if test="$number!='' and not(contains($number,'unnumbered-'))">
    18691911          <xsl:value-of select="$number" />
    18701912          <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if>
     
    18781920    <xsl:when test="$depth = 1">
    18791921      <fo:block space-before="0.5em" text-align-last="justify">
    1880         <xsl:if test="$number!=''">
     1922        <xsl:if test="$number!='' and not(contains($number,'unnumbered-'))">
    18811923          <xsl:value-of select="$number" />
    18821924          <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if>
     
    18911933      <fo:block text-align-last="justify">
    18921934        <xsl:text>&#0160;&#0160;</xsl:text>
    1893         <xsl:if test="$number!=''">
     1935        <xsl:if test="$number!='' and not(contains($number,'unnumbered-'))">
    18941936          <xsl:value-of select="$number" />
    18951937          <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if>
     
    21042146  <fo:bookmark internal-destination="{$anchor-prefix}.section.{$sectionNumber}">
    21052147    <fo:bookmark-title>
    2106       <xsl:value-of select="$sectionNumber"/>
    2107       <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if>
    2108       <xsl:value-of select="concat(' ',@title)"/>
     2148      <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))">
     2149        <xsl:value-of select="$sectionNumber"/>
     2150        <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if>
     2151        <xsl:text> </xsl:text>
     2152      </xsl:if>
     2153      <xsl:value-of select="@title"/>
    21092154    </fo:bookmark-title>
    21102155    <xsl:apply-templates mode="bookmarks"/>
     
    21212166<xsl:template match="back" mode="bookmarks">
    21222167
     2168  <xsl:call-template name="references-bookmarks" />
     2169
    21232170  <xsl:if test="$xml2rfc-ext-authors-section!='end'">
    21242171    <xsl:apply-templates select="/rfc/front" mode="bookmarks" />
     
    21262173 
    21272174  <xsl:apply-templates select="*[not(self::references)]" mode="bookmarks" />
     2175
     2176  <!-- insert the index if index entries exist -->
     2177  <xsl:if test="$has-index">
     2178    <fo:bookmark internal-destination="{concat($anchor-prefix,'.index')}">
     2179      <fo:bookmark-title>Index</fo:bookmark-title>
     2180    </fo:bookmark>
     2181  </xsl:if>
    21282182
    21292183  <xsl:if test="$xml2rfc-ext-authors-section='end'">
     
    21382192  </xsl:if>
    21392193 
    2140   <!-- insert the index if index entries exist -->
    2141   <xsl:if test="$has-index">
    2142     <fo:bookmark internal-destination="{concat($anchor-prefix,'.index')}">
    2143       <fo:bookmark-title>Index</fo:bookmark-title>
    2144     </fo:bookmark>
    2145   </xsl:if>
    21462194</xsl:template>
    21472195
     
    21692217<xsl:template match="middle" mode="bookmarks">
    21702218  <xsl:apply-templates mode="bookmarks" />
    2171   <xsl:call-template name="references-bookmarks" />
    21722219</xsl:template>
    21732220
     
    23612408        </xsl:if>
    23622409        <xsl:variable name="columns" select="count(ttcol)" />
    2363         <xsl:for-each select="c[(position() mod $columns) = 1]">
     2410        <xsl:for-each select="c[$columns=1 or (position() mod $columns) = 1]">
    23642411          <fo:table-row>
    23652412            <xsl:for-each select=". | following-sibling::c[position() &lt; $columns]">
  • rfc2629xslt/rfc2629toXHTML.xslt

    r599 r662  
    182182
    183183<xsl:variable name="ipr-2009-02" select="(     $ipr-2008-11 and ($xml2rfc-ext-pub-year &gt;= 2010 or ($xml2rfc-ext-pub-year &gt;= 2009 and $xml2rfc-ext-pub-month-numeric &gt;= 02))   )"/>
     184
     185<!-- see http://mailman.rfc-editor.org/pipermail/rfc-interest/2009-June/001373.html -->
     186<xsl:variable name="abstract-first" select="(     /rfc/@number and (       $xml2rfc-ext-pub-year &gt;= 2010 or ($xml2rfc-ext-pub-year &gt;= 2009 and $xml2rfc-ext-pub-month-numeric &gt;= 07)     )   )"/>
    184187
    185188<!-- funding switch --> 
     
    500503<xsl:template match="back">
    501504
    502   <!-- add references section first, no matter where it appears in the
    503     source document -->
    504   <!-- as of April 2004, process from middle section
    505   <xsl:apply-templates select="references" />
    506   -->
    507  
    508505  <!-- add editorial comments -->
    509506  <xsl:if test="//cref and $xml2rfc-comments='yes' and $xml2rfc-inline!='yes'">
     
    519516  <xsl:apply-templates select="*[not(self::references) and not(self::ed:replace and .//references)]"/>
    520517
     518  <!-- insert the index if index entries exist -->
     519  <!-- note it always comes before the authors section -->
     520  <xsl:if test="$has-index">
     521    <xsl:call-template name="insertIndex"/>
     522  </xsl:if>
     523
     524  <!-- Authors section is the absolute last thing, except for copyright stuff -->
    521525  <xsl:if test="$xml2rfc-ext-authors-section='end'">
    522526    <xsl:call-template name="insertAuthors"/>
     
    540544  </xsl:if>
    541545 
    542   <!-- insert the index if index entries exist -->
    543   <xsl:if test="$has-index">
    544     <xsl:call-template name="insertIndex"/>
    545   </xsl:if>
    546 
    547546</xsl:template>
    548547
     
    657656  </xsl:choose>           
    658657
    659   <xsl:if test="not($xml2rfc-private)">
    660  
    661     <!-- Get status info formatted as per RFC2629-->
    662     <xsl:variable name="preamble">
    663       <xsl:call-template name="insertPreamble"/>
    664     </xsl:variable>
    665    
    666     <!-- emit it -->
    667     <xsl:choose>
    668       <xsl:when test="function-available('exslt:node-set')">
    669         <xsl:apply-templates select="exslt:node-set($preamble)"/>
    670       </xsl:when>
    671       <xsl:otherwise>
    672         <xsl:call-template name="error">
    673           <xsl:with-param name="msg" select="$node-set-warning"/>
    674         </xsl:call-template>
    675       </xsl:otherwise>
    676     </xsl:choose>
     658  <xsl:if test="not($xml2rfc-private) and not($abstract-first)">
     659    <xsl:call-template name="emit-ietf-preamble"/>
    677660  </xsl:if>
    678661 
     
    683666  <xsl:apply-templates select="ed:replace[.//note]"/>
    684667   
     668  <xsl:if test="not($xml2rfc-private) and $abstract-first">
     669    <xsl:call-template name="emit-ietf-preamble"/>
     670  </xsl:if>
     671
    685672  <xsl:if test="$xml2rfc-toc='yes'">
    686673    <xsl:apply-templates select="/" mode="toc"/>
     
    690677</xsl:template>
    691678
     679<xsl:template name="emit-ietf-preamble">
     680  <!-- Get status info formatted as per RFC2629-->
     681  <xsl:variable name="preamble">
     682    <xsl:call-template name="insertPreamble"/>
     683  </xsl:variable>
     684 
     685  <!-- emit it -->
     686  <xsl:choose>
     687    <xsl:when test="function-available('exslt:node-set')">
     688      <xsl:apply-templates select="exslt:node-set($preamble)"/>
     689    </xsl:when>
     690    <xsl:otherwise>
     691      <xsl:call-template name="error">
     692        <xsl:with-param name="msg" select="$node-set-warning"/>
     693      </xsl:call-template>
     694    </xsl:otherwise>
     695  </xsl:choose>
     696</xsl:template>
    692697
    693698<xsl:template match="iref">
     
    13631368            <xsl:otherwise/>
    13641369          </xsl:choose>
    1365           <meta name="DC.Date.Issued" scheme="ISO8601" content="{$xml2rfc-ext-pub-year}-{$xml2rfc-ext-pub-month-numeric}"/>
     1370          <meta name="DC.Date.Issued" scheme="ISO8601">
     1371            <xsl:attribute name="content">
     1372              <xsl:value-of select="concat($xml2rfc-ext-pub-year,'-',$xml2rfc-ext-pub-month-numeric)"/>
     1373              <xsl:if test="$xml2rfc-ext-pub-day != '' and not(/rfc/@number)">
     1374                <xsl:value-of select="concat('-',format-number($xml2rfc-ext-pub-day,'00'))"/>
     1375              </xsl:if>
     1376            </xsl:attribute>
     1377          </meta>
    13661378 
    13671379          <xsl:if test="/rfc/@obsoletes!=''">
     
    15361548    </xsl:if>
    15371549    <xsl:choose>
    1538       <xsl:when test="$sectionNumber='1'">
     1550      <xsl:when test="$sectionNumber='1' or $sectionNumber='A'">
    15391551        <!-- pagebreak, this the first section -->
    15401552        <xsl:attribute name="class">np</xsl:attribute>
     
    15481560    <xsl:call-template name="insertInsDelClass"/>
    15491561       
    1550     <xsl:if test="$sectionNumber!=''">
     1562    <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))">
    15511563      <a xmlns="http://www.w3.org/1999/xhtml" href="#{$anchor-prefix}.section.{$sectionNumber}">
    15521564        <xsl:call-template name="emit-section-number">
     
    16931705      </xsl:call-template>
    16941706    </xsl:when>
    1695 
     1707   
    16961708    <!-- Section links -->
    16971709    <xsl:when test="$node/self::section or $node/self::appendix">
    1698       <xsl:apply-templates/>
    1699       <xsl:text> (</xsl:text>
    1700       <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}">
    1701         <!-- insert id when a backlink to this xref is needed in the index -->
    1702         <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]">
    1703           <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
    1704         </xsl:if>
    1705         <xsl:call-template name="render-section-ref">
    1706           <xsl:with-param name="from" select="."/>
    1707           <xsl:with-param name="to" select="$node"/>
    1708         </xsl:call-template>
    1709       </a>
    1710       <xsl:text>)</xsl:text>
     1710      <xsl:choose>
     1711        <xsl:when test="@format='none'">
     1712          <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}">
     1713            <!-- insert id when a backlink to this xref is needed in the index -->
     1714            <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]">
     1715              <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     1716            </xsl:if>
     1717            <xsl:apply-templates/>
     1718          </a>
     1719        </xsl:when>
     1720        <xsl:otherwise>
     1721          <xsl:apply-templates/>
     1722          <xsl:text> (</xsl:text>
     1723          <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}">
     1724            <!-- insert id when a backlink to this xref is needed in the index -->
     1725            <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]">
     1726              <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute>
     1727            </xsl:if>
     1728            <xsl:call-template name="render-section-ref">
     1729              <xsl:with-param name="from" select="."/>
     1730              <xsl:with-param name="to" select="$node"/>
     1731            </xsl:call-template>
     1732          </a>
     1733          <xsl:text>)</xsl:text>
     1734        </xsl:otherwise>
     1735      </xsl:choose>
    17111736    </xsl:when>
    17121737
     
    22242249<xsl:template name="expirydate">
    22252250  <xsl:choose>
     2251    <xsl:when test="$xml2rfc-ext-pub-day &gt;= 1">
     2252      <xsl:call-template name="normalize-date">
     2253        <xsl:with-param name="year" select="$xml2rfc-ext-pub-year"/>
     2254        <xsl:with-param name="month" select="$xml2rfc-ext-pub-month-numeric"/>
     2255        <xsl:with-param name="day" select="$xml2rfc-ext-pub-day + 185"/>
     2256      </xsl:call-template>
     2257    </xsl:when>
    22262258    <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
    22272259    <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     
    22402272</xsl:template>
    22412273
     2274<xsl:template name="normalize-date">
     2275  <xsl:param name="year"/>
     2276  <xsl:param name="month"/>
     2277  <xsl:param name="day"/>
     2278
     2279  <xsl:variable name="isleap" select="(($year mod 4) = 0 and ($year mod 100 != 0)) or ($year mod 400) = 0"/>
     2280
     2281  <!--<xsl:message>
     2282    <xsl:value-of select="concat($year,' ',$month,' ',$day)"/>
     2283  </xsl:message>-->
     2284 
     2285  <xsl:variable name="dim">
     2286    <xsl:choose>
     2287      <xsl:when test="$month=1 or $month=3 or $month=5 or $month=7 or $month=8 or $month=10 or $month=12">31</xsl:when>
     2288      <xsl:when test="$month=2 and $isleap">29</xsl:when>
     2289      <xsl:when test="$month=2 and not($isleap)">28</xsl:when>
     2290      <xsl:otherwise>30</xsl:otherwise>
     2291    </xsl:choose>
     2292  </xsl:variable>
     2293 
     2294  <xsl:choose>
     2295    <xsl:when test="$day &gt; $dim and $month=12">
     2296      <xsl:call-template name="normalize-date">
     2297        <xsl:with-param name="year" select="$year + 1"/>
     2298        <xsl:with-param name="month" select="1"/>
     2299        <xsl:with-param name="day" select="$day - $dim"/>
     2300      </xsl:call-template>
     2301    </xsl:when>
     2302    <xsl:when test="$day &gt; $dim">
     2303      <xsl:call-template name="normalize-date">
     2304        <xsl:with-param name="year" select="$year"/>
     2305        <xsl:with-param name="month" select="$month + 1"/>
     2306        <xsl:with-param name="day" select="$day - $dim"/>
     2307      </xsl:call-template>
     2308    </xsl:when>
     2309    <xsl:otherwise>
     2310      <xsl:call-template name="get-month-as-name">
     2311        <xsl:with-param name="month" select="$month"/>
     2312      </xsl:call-template>
     2313      <xsl:value-of select="concat(' ',$day,', ',$year)"/>
     2314    </xsl:otherwise>
     2315  </xsl:choose>
     2316
     2317</xsl:template>
     2318 
    22422319<xsl:template name="get-month-as-num">
    22432320  <xsl:param name="month"/>
     
    23012378    <xsl:call-template name="insert-conditional-hrule"/>
    23022379   
    2303     <h1 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.authors">
    2304       <xsl:call-template name="insert-conditional-pagebreak"/>
    2305       <xsl:if test="$number != ''">
    2306         <a href="#{$anchor-prefix}.section.{$number}" id="{$anchor-prefix}.section.{$number}"><xsl:value-of select="$number"/>.</a>
    2307         <xsl:text> </xsl:text>
    2308       </xsl:if>
    2309       <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a>
    2310     </h1>
    2311  
    2312     <xsl:apply-templates select="/rfc/front/author"/>
     2380    <div xmlns="http://www.w3.org/1999/xhtml" class="avoidbreak">
     2381      <h1 id="{$anchor-prefix}.authors">
     2382        <xsl:call-template name="insert-conditional-pagebreak"/>
     2383        <xsl:if test="$number != ''">
     2384          <a href="#{$anchor-prefix}.section.{$number}" id="{$anchor-prefix}.section.{$number}"><xsl:value-of select="$number"/>.</a>
     2385          <xsl:text> </xsl:text>
     2386        </xsl:if>
     2387        <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a>
     2388      </h1>
     2389   
     2390      <xsl:apply-templates select="/rfc/front/author"/>
     2391    </div>
    23132392  </xsl:if>
    23142393</xsl:template>
     
    26612740  border-width: 1px;
    26622741}
     2742table.left {
     2743  margin-right: auto;
     2744}
     2745table.right {
     2746  margin-left: auto;
     2747}
     2748table.center {
     2749  margin-left: auto;
     2750  margin-right: auto;
     2751}
    26632752caption {
    26642753  caption-side: bottom;
     
    27392828  margin-left: 0em;
    27402829  margin-right: 0em;
     2830}
     2831.avoidbreak {
     2832  page-break-inside: avoid;
    27412833}
    27422834</xsl:if><xsl:if test="//x:bcp14">.bcp14 {
     
    35723664       
    35733665        <!-- special case: RFC5378 escape applies to RFCs as well -->
    3574         <!-- <xsl:if test="/rfc/@ipr = 'pre5378Trust200902'">
     3666        <!-- currently only applied to RFCs, need to discuss for IDs -->
     3667        <xsl:if test="/rfc/@number and /rfc/@ipr = 'pre5378Trust200902'">
    35753668          <t>
    35763669            This document may contain material from IETF Documents or IETF Contributions published or
     
    35833676            other than English.
    35843677          </t>
    3585         </xsl:if> -->
     3678        </xsl:if>
    35863679       
    35873680      </section>
     
    36573750            </xsl:otherwise>
    36583751          </xsl:choose>
    3659           <xsl:if test="$number != ''">
     3752          <xsl:if test="$number != '' and not(contains($number,'unnumbered-'))">
    36603753            <xsl:call-template name="emit-section-number">
    36613754              <xsl:with-param name="no" select="$number"/>
     
    36823775<xsl:template match="back" mode="toc">
    36833776
    3684   <!-- <xsl:apply-templates select="references" mode="toc" /> -->
    3685 
    36863777  <xsl:if test="//cref and $xml2rfc-comments='yes' and $xml2rfc-inline!='yes'">
    36873778    <li xmlns="http://www.w3.org/1999/xhtml">
     
    36973788  </xsl:if>
    36983789  <xsl:apply-templates select="*[not(self::references)]" mode="toc"/>
     3790
     3791  <!-- insert the index if index entries exist -->
     3792  <xsl:if test="$has-index">
     3793    <li xmlns="http://www.w3.org/1999/xhtml">
     3794      <xsl:call-template name="insert-toc-line">
     3795        <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>
     3796        <xsl:with-param name="title" select="'Index'"/>
     3797      </xsl:call-template>
     3798    </li>
     3799  </xsl:if>
    36993800
    37003801  <xsl:if test="$xml2rfc-ext-authors-section='end'">
     
    37123813  </xsl:if>
    37133814 
    3714   <!-- insert the index if index entries exist -->
    3715   <xsl:if test="//iref">
    3716     <li xmlns="http://www.w3.org/1999/xhtml">
    3717       <xsl:call-template name="insert-toc-line">
    3718         <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>
    3719         <xsl:with-param name="title" select="'Index'"/>
    3720       </xsl:call-template>
    3721     </li>
    3722   </xsl:if>
    3723 
    37243815</xsl:template>
    37253816
     
    48394930<xsl:template name="sectionnumberAndEdits">
    48404931  <xsl:choose>
    4841     <xsl:when test="ancestor::ed:del">del-<xsl:number count="ed:del//section" level="any"/></xsl:when>
    4842     <xsl:when test="@x:fixed-section-number">
     4932    <xsl:when test="ancestor::ed:del">
     4933      <xsl:text>del-</xsl:text>
     4934      <xsl:number count="ed:del//section" level="any"/>
     4935    </xsl:when>
     4936    <xsl:when test="@x:fixed-section-number and @x:fixed-section-number!=''">
    48434937      <xsl:value-of select="@x:fixed-section-number"/>
     4938    </xsl:when>
     4939    <xsl:when test="@x:fixed-section-number and @x:fixed-section-number=''">
     4940      <xsl:text>unnumbered-</xsl:text>
     4941      <xsl:number count="section[@x:fixed-section-number='']" level="any"/>
    48444942    </xsl:when>
    48454943    <xsl:when test="self::section and parent::ed:ins and local-name(../..)='replace'">
     
    49435041
    49445042  <div xmlns="http://www.w3.org/1999/xhtml" id="{$anch}">
     5043
    49455044    <xsl:if test="@anchor!=''">
    49465045      <div id="{@anchor}"/>
     
    49555054        <xsl:otherwise>full</xsl:otherwise>
    49565055      </xsl:choose>
     5056      <xsl:choose>
     5057        <xsl:when test="@align='left'"> left</xsl:when>
     5058        <xsl:when test="@align='right'"> right</xsl:when>
     5059        <xsl:when test="@align='center' or not(@align) or @align=''"> center</xsl:when>
     5060        <xsl:otherwise/>
     5061      </xsl:choose>
     5062
    49575063    </xsl:variable>
    49585064
    4959     <table summary="{preamble}" class="{$style}" cellpadding="3" cellspacing="0">
    4960 
     5065    <table class="{$style}" cellpadding="3" cellspacing="0">
    49615066      <xsl:if test="(@title!='' or @anchor!='') and not(@suppress-title='true')">
    49625067        <xsl:variable name="n"><xsl:number level="any" count="texttable[(@title!='' or @anchor!='') and not(@suppress-title='true')]"/></xsl:variable>
     
    49755080        <xsl:variable name="columns" select="count(ttcol)"/>
    49765081        <xsl:variable name="fields" select="c | ed:replace/ed:ins/c | ed:replace/ed:del/c"/>
    4977         <xsl:for-each select="$fields[(position() mod $columns) = 1]">
     5082        <xsl:for-each select="$fields[$columns=1 or (position() mod $columns) = 1]">
    49785083          <tr>
    49795084            <xsl:for-each select=". | following-sibling::c[position() &lt; $columns]">
     
    51225227<xsl:template match="/*/middle//section[not(myns:unnumbered) and not(ancestor::section)]" mode="links">
    51235228  <xsl:variable name="sectionNumber"><xsl:call-template name="get-section-number"/></xsl:variable>
    5124   <link xmlns="http://www.w3.org/1999/xhtml" rel="Chapter" title="{$sectionNumber} {@title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/>
     5229  <xsl:variable name="title">
     5230    <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))">
     5231      <xsl:value-of select="$sectionNumber"/>
     5232      <xsl:text> </xsl:text>
     5233    </xsl:if>
     5234    <xsl:value-of select="@title"/>
     5235  </xsl:variable>
     5236  <link xmlns="http://www.w3.org/1999/xhtml" rel="Chapter" title="{$title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/>
    51255237  <xsl:apply-templates mode="links"/>
    51265238</xsl:template>
     
    51285240<xsl:template match="/*/back//section[not(myns:unnumbered) and not(ancestor::section)]" mode="links">
    51295241  <xsl:variable name="sectionNumber"><xsl:call-template name="get-section-number"/></xsl:variable>
    5130   <link xmlns="http://www.w3.org/1999/xhtml" rel="Appendix" title="{$sectionNumber} {@title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/>
     5242  <xsl:variable name="title">
     5243    <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))">
     5244      <xsl:value-of select="$sectionNumber"/>
     5245      <xsl:text> </xsl:text>
     5246    </xsl:if>
     5247    <xsl:value-of select="@title"/>
     5248  </xsl:variable>
     5249  <link xmlns="http://www.w3.org/1999/xhtml" rel="Appendix" title="{$title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/>
    51315250  <xsl:apply-templates mode="links"/>
    51325251</xsl:template>
     
    52065325    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    52075326    <!-- when RCS keyword substitution in place, add version info -->
    5208     <xsl:if test="contains('$Revision: 1.439 $',':')">
    5209       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.439 $', 'Revision: '),'$','')),', ')"/>
     5327    <xsl:if test="contains('$Revision: 1.447 $',':')">
     5328      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.447 $', 'Revision: '),'$','')),', ')"/>
    52105329    </xsl:if>
    5211     <xsl:if test="contains('$Date: 2009-06-09 18:43:39 $',':')">
    5212       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-06-09 18:43:39 $', 'Date: '),'$','')),', ')"/>
     5330    <xsl:if test="contains('$Date: 2009-08-04 19:54:03 $',':')">
     5331      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-08-04 19:54:03 $', 'Date: '),'$','')),', ')"/>
    52135332    </xsl:if>
    52145333    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
     
    52425361  <xsl:variable name="anchor" select="@anchor"/>
    52435362  <xsl:choose>
    5244     <xsl:when test="@x:fixed-section-number">
     5363    <xsl:when test="@x:fixed-section-number and @x:fixed-section-number!=''">
    52455364      <xsl:value-of select="@x:fixed-section-number"/>
     5365    </xsl:when>
     5366    <xsl:when test="@x:fixed-section-number and @x:fixed-section-number=''">
     5367      <xsl:text>unnumbered-</xsl:text>
     5368      <xsl:number count="section[@x:fixed-section-number='']" level="any"/>
    52465369    </xsl:when>
    52475370    <xsl:when test="$has-edits or ancestor::*/@x:fixed-section-number">
  • rfc2629xslt/rfc2629xslt.html

    r599 r662  
    152152  border-width: 1px;
    153153}
     154table.left {
     155  margin-right: auto;
     156}
     157table.right {
     158  margin-left: auto;
     159}
     160table.center {
     161  margin-left: auto;
     162  margin-right: auto;
     163}
    154164caption {
    155165  caption-side: bottom;
     
    227237  margin-left: 0em;
    228238  margin-right: 0em;
     239}
     240.avoidbreak {
     241  page-break-inside: avoid;
    229242}
    230243
     
    323336  }
    324337  @top-right {
    325        content: "June 2009";
     338       content: "August 2009";
    326339  }
    327340  @top-center {
     
    350363    }
    351364}
    352 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C 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.439, 2009-06-09 18:43:39, 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">June 2009</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</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.boilerplate">&lt;boilerplate&gt; element</a></li><li class="tocline1">10.8&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li class="tocline1">10.9&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li class="tocline1">10.10&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li class="tocline1">10.11&nbsp;&nbsp;&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></li><li class="tocline1">10.12&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li class="tocline1">10.13&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li class="tocline1">10.14&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li class="tocline1">10.15&nbsp;&nbsp;&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></li><li class="tocline1">10.16&nbsp;&nbsp;&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></li><li class="tocline1">10.17&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li class="tocline1">10.18&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li class="tocline1">10.19&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li class="tocline1">10.20&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li class="tocline1">10.21&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></li><li class="tocline1">10.22&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li class="tocline1">10.23&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li class="tocline1">10.24&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></li><li class="tocline1">10.25&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li class="tocline1">10.26&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 (<a href="#output.pdf" title="Transforming to PDF">Section&nbsp;9</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section&nbsp;10</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;11</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at &lt;<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>&gt;.</p><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"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section&nbsp;10</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&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;
     365</style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C Examples" href="#rfc.section.C"><link rel="Appendix" title="D License" href="#rfc.section.D"><link rel="Appendix" title="E Change Logs" href="#rfc.section.E"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.447, 2009-08-04 19:54:03, 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">August 2009</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="#xslt.engines.browser">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</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.boilerplate">&lt;boilerplate&gt; element</a></li><li class="tocline1">10.8&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li class="tocline1">10.9&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li class="tocline1">10.10&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li class="tocline1">10.11&nbsp;&nbsp;&nbsp;<a href="#ext.element.highlight">&lt;highlight&gt; element</a></li><li class="tocline1">10.12&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li class="tocline1">10.13&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li class="tocline1">10.14&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li class="tocline1">10.15&nbsp;&nbsp;&nbsp;<a href="#ext.element.note">&lt;note&gt; element</a></li><li class="tocline1">10.16&nbsp;&nbsp;&nbsp;<a href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></li><li class="tocline1">10.17&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li class="tocline1">10.18&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li class="tocline1">10.19&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li class="tocline1">10.20&nbsp;&nbsp;&nbsp;<a href="#ext.element.sup">&lt;sup&gt; element</a></li><li class="tocline1">10.21&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.artwork">Extensions to Xml2rfc &lt;artwork&gt; element</a></li><li class="tocline1">10.22&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li class="tocline1">10.23&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li class="tocline1">10.24&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.rfc">Extensions to Xml2rfc &lt;rfc&gt; element</a></li><li class="tocline1">10.25&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li class="tocline1">10.26&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="#examples">Examples</a><ul class="toc"><li class="tocline1">C.1&nbsp;&nbsp;&nbsp;<a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li class="tocline1">C.2&nbsp;&nbsp;&nbsp;<a href="#examples.customizing">Customization</a></li></ul></li><li class="tocline0">D.&nbsp;&nbsp;&nbsp;<a href="#license">License</a></li><li class="tocline0">E.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E">Change Logs</a><ul class="toc"><li class="tocline1">E.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.1">Package</a></li><li class="tocline1">E.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.2">amazon-asin.xslt</a></li><li class="tocline1">E.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.3">check-references.xslt</a></li><li class="tocline1">E.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.4">gen-reference-graph.xslt</a></li><li class="tocline1">E.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.5">rfc2629.xslt</a></li><li class="tocline1">E.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.6">rfc2629toFO.xslt</a></li><li class="tocline1">E.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.7">xsl11toAn.xslt</a></li><li class="tocline1">E.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.8">xsl11toFop.xslt</a></li><li class="tocline1">E.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.9">xsl11toFop-0.93.xslt</a></li><li class="tocline1">E.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.E.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 (<a href="#output.pdf" title="Transforming to PDF">Section&nbsp;9</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section&nbsp;10</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;11</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at &lt;<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>&gt;.</p><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.33.</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"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section&nbsp;10</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&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;
    353366&lt;?rfc-ext support-rfc2731="no"?&gt;
    354367</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 \
    355368  xml2rfc-toc=yes xml2rfc-ext-support-rfc2731=no &gt; result.html
    356 </pre> <div id="rfc.figure.u.3"></div> <p>Using XSLT parameters (xsltproc):</p>  <pre class="text">xsltproc --param xml2rfc-toc '"yes"' \
     369</pre><div id="rfc.figure.u.3"></div> <p>Using XSLT parameters (xsltproc):</p>  <pre class="text">xsltproc --param xml2rfc-toc '"yes"' \
    357370   --param xml2rfc-ext-support-rfc2731 '"no"' \
    358371   rfc2629.xslt source.xml &gt; result.html
    359 </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>rfcedstyle<div id="rfc.iref.r.1"></div><div id="rfc.iref.p.22"></div></td><td>xml2rfc-rfcedstyle<div id="rfc.iref.x.12"></div>  <div id="rfc.iref.p.23"></div></td><td>(not set)</td><td>(limited support)</td></tr><tr><td>rfc</td><td>sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.24"></div></td><td>xml2rfc-sortrefs<div id="rfc.iref.x.13"></div>  <div id="rfc.iref.p.25"></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.26"></div></td><td>xml2rfc-symrefs<div id="rfc.iref.x.14"></div>  <div id="rfc.iref.p.27"></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.28"></div></td><td>xml2rfc-toc<div id="rfc.iref.x.15"></div>  <div id="rfc.iref.p.29"></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.30"></div></td><td>xml2rfc-tocdepth<div id="rfc.iref.x.16"></div>  <div id="rfc.iref.p.31"></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.32"></div></td><td>xml2rfc-topblock<div id="rfc.iref.x.17"></div>  <div id="rfc.iref.p.33"></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.34"></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.35"></div></td><td></td></tr><tr><td>rfc</td><td>slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.36"></div></td><td></td></tr><tr><td>rfc</td><td>strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.37"></div></td><td></td></tr><tr><td>rfc</td><td>subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.38"></div></td><td></td></tr><tr><td>rfc</td><td>tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.39"></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.40"></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.41"></div></td><td>xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.18"></div>  <div id="rfc.iref.p.42"></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.43"></div></td><td>xml2rfc-ext-authors-section<div id="rfc.iref.x.19"></div>  <div id="rfc.iref.p.44"></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>duplex<div id="rfc.iref.d.1"></div><div id="rfc.iref.p.45"></div></td><td>xml2rfc-ext-duplex<div id="rfc.iref.x.20"></div>  <div id="rfc.iref.p.46"></div></td><td>no</td><td>When set to "yes", format the PDF output for doublesided printing.</td></tr><tr><td>rfc-ext</td><td>include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.47"></div></td><td>xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.21"></div>  <div id="rfc.iref.p.48"></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.49"></div></td><td>xml2rfc-ext-justification<div id="rfc.iref.x.22"></div>  <div id="rfc.iref.p.50"></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.51"></div><div id="rfc.iref.p.52"></div></td><td>xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.23"></div>  <div id="rfc.iref.p.53"></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.54"></div></td><td>xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.24"></div>  <div id="rfc.iref.p.55"></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.56"></div></td><td>xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.25"></div>  <div id="rfc.iref.p.57"></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.2"></div><div id="rfc.iref.a.3"></div></td><td>Abstract</td></tr><tr><td>rfc.authors <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.4"></div></td><td>Authors section</td></tr><tr><td>rfc.copyright <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.5"></div></td><td>Copyright section</td></tr><tr><td>rfc.copyrightnotice <div id="rfc.iref.r.5"></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.6"></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.7"></div><div id="rfc.iref.a.8"></div></td><td>Figures (untitled)</td></tr><tr><td>rfc.index <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.9"></div></td><td>Index</td></tr><tr><td>rfc.ipr <div id="rfc.iref.r.9"></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.10"></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.11"></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.12"></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.13"></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.14"></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.15"></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.16"></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.17"></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.18"></div><div id="rfc.iref.a.19"></div></td><td>Tables (untitled)</td></tr><tr><td>rfc.toc <div id="rfc.iref.r.19"></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.20"></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.26"></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.27"></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><span id="rfc.iref.i.8"></span>Internet Explorer 8</li><li id="firefox3"><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.0</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><li><span id="rfc.iref.g.1"></span>Google Chrome (beta available)</li><li><span id="rfc.iref.o.1"></span>Opera 10 (alpha version available)</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.2"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725).</li><li>Opera 9.5 and 9.6: transformation appears to work, but CSS isn't getting applied (reported to Opera as bug 337388 on 2008-06-12).</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.28"></div><div id="rfc.figure.u.4"></div><pre class="text">  &lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?&gt;
    360 </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.9"></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.2"></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> and <a href="#DC-HTML" id="rfc.xref.DC-HTML.1"><cite title="Expressing Dublin Core metadata using HTML/XHTML meta and link elements">[DC-HTML]</cite></a>.</p><div id="rfc.table.u.7"><p>The following DCMI properties are produced:</p><table 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.2"></div></td><td>from author information in front section</td></tr><tr><td>DC.Date.Issued<div id="rfc.iref.d.3"></div><div id="rfc.iref.d.4"></div></td><td>from date information in front section</td></tr><tr><td>DC.Description.Abstract<div id="rfc.iref.d.5"></div><div id="rfc.iref.d.6"></div></td><td>from abstract</td></tr><tr><td>DC.Identifier<div id="rfc.iref.i.10"></div><div id="rfc.iref.d.7"></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.isPartOf<div id="rfc.iref.i.11"></div><div id="rfc.iref.d.8"></div></td><td>RFC ISSN (for RFCs)</td></tr><tr><td>DC.Relation.Replaces<div id="rfc.iref.r.21"></div><div id="rfc.iref.d.9"></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
     372</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 class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>comment</th></tr></thead><tbody><tr><td>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>rfcedstyle<div id="rfc.iref.r.1"></div><div id="rfc.iref.p.22"></div></td><td>xml2rfc-rfcedstyle<div id="rfc.iref.x.12"></div>  <div id="rfc.iref.p.23"></div></td><td>(not set)</td><td>(limited support)</td></tr><tr><td>rfc</td><td>sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.24"></div></td><td>xml2rfc-sortrefs<div id="rfc.iref.x.13"></div>  <div id="rfc.iref.p.25"></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.26"></div></td><td>xml2rfc-symrefs<div id="rfc.iref.x.14"></div>  <div id="rfc.iref.p.27"></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.28"></div></td><td>xml2rfc-toc<div id="rfc.iref.x.15"></div>  <div id="rfc.iref.p.29"></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.30"></div></td><td>xml2rfc-tocdepth<div id="rfc.iref.x.16"></div>  <div id="rfc.iref.p.31"></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.32"></div></td><td>xml2rfc-topblock<div id="rfc.iref.x.17"></div>  <div id="rfc.iref.p.33"></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 class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.34"></div></td><td>incompatible with XML/XSLT processing model, please use external entities instead</td></tr><tr><td>rfc</td><td>needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.35"></div></td><td></td></tr><tr><td>rfc</td><td>slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.36"></div></td><td></td></tr><tr><td>rfc</td><td>strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.37"></div></td><td></td></tr><tr><td>rfc</td><td>subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.38"></div></td><td></td></tr><tr><td>rfc</td><td>tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.39"></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.40"></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 class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>description</th></tr></thead><tbody><tr><td>rfc-ext</td><td>allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.41"></div></td><td>xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.18"></div>  <div id="rfc.iref.p.42"></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.43"></div></td><td>xml2rfc-ext-authors-section<div id="rfc.iref.x.19"></div>  <div id="rfc.iref.p.44"></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>duplex<div id="rfc.iref.d.1"></div><div id="rfc.iref.p.45"></div></td><td>xml2rfc-ext-duplex<div id="rfc.iref.x.20"></div>  <div id="rfc.iref.p.46"></div></td><td>no</td><td>When set to "yes", format the PDF output for doublesided printing.</td></tr><tr><td>rfc-ext</td><td>include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.47"></div></td><td>xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.21"></div>  <div id="rfc.iref.p.48"></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.49"></div></td><td>xml2rfc-ext-justification<div id="rfc.iref.x.22"></div>  <div id="rfc.iref.p.50"></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.51"></div><div id="rfc.iref.p.52"></div></td><td>xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.23"></div>  <div id="rfc.iref.p.53"></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.54"></div></td><td>xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.24"></div>  <div id="rfc.iref.p.55"></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.56"></div></td><td>xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.25"></div>  <div id="rfc.iref.p.57"></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 class="tt full center" 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.2"></div><div id="rfc.iref.a.3"></div></td><td>Abstract</td></tr><tr><td>rfc.authors <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.4"></div></td><td>Authors section</td></tr><tr><td>rfc.copyright <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.5"></div></td><td>Copyright section</td></tr><tr><td>rfc.copyrightnotice <div id="rfc.iref.r.5"></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.6"></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.7"></div><div id="rfc.iref.a.8"></div></td><td>Figures (untitled)</td></tr><tr><td>rfc.index <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.9"></div></td><td>Index</td></tr><tr><td>rfc.ipr <div id="rfc.iref.r.9"></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.10"></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.11"></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.12"></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.13"></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.14"></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.15"></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.16"></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.17"></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.18"></div><div id="rfc.iref.a.19"></div></td><td>Tables (untitled)</td></tr><tr><td>rfc.toc <div id="rfc.iref.r.19"></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.20"></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>Windows: <span id="rfc.iref.m.1"></span><span id="rfc.iref.m.2"></span>MSXML3 and MSXML4 (&lt;<a href="http://msdn.microsoft.com/xml">http://msdn.microsoft.com/xml</a>&gt;; command line processor "msxsl" is available from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41">Microsoft Download Center</a>)</li><li>Java: <span id="rfc.iref.s.8"></span>Saxon (&lt;<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>&gt;)</li><li>Java: <span id="rfc.iref.x.26"></span>Xalan (&lt;<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>&gt;)</li><li>C/C++: <span id="rfc.iref.x.27"></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;<a id="xslt.engines.browser" href="#xslt.engines.browser">In-Browser Engines</a></h2><p id="rfc.section.5.2.p.1">The following browsers seem to work fine: </p><ul><li><p><span id="rfc.iref.i.5"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</p></li><li><p><span id="rfc.iref.i.6"></span><span id="rfc.iref.i.7"></span><span id="rfc.iref.i.8"></span>Internet Explorer 6 and newer</p></li><li><div id="firefox3"><p><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.0 and newer</p></div><p> </p><ul><li>Be aware that XSLT execution can be suppressed using <span id="rfc.iref.n.2"></span><a href="https://addons.mozilla.org/de/firefox/addon/722">NoScript</a></li><li>Firefox does not load external DTDs, see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=22942">Mozilla Bug 22942</a>, thus entities like &amp;nbsp; need to be declared in the internal subset (<a href="#examples.internalsubset" title="Using the 'Internal Subset'">Appendix&nbsp;C.1</a>)</li></ul></li><li><p><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</p></li><li><p><span id="rfc.iref.g.1"></span>Google Chrome (beta available)</p></li><li><p><span id="rfc.iref.o.1"></span>Opera 10 (beta version available)</p></li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li 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.2"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725).</li><li>Opera 9.5 and 9.6: transformation appears to work, but CSS isn't getting applied (reported to Opera as bug 337388 on 2008-06-12).</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.28"></div><div id="rfc.figure.u.4"></div><pre class="text">  &lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?&gt;
     373</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 class="tt full center" 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.9"></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 class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>generator<div id="rfc.iref.g.2"></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> and <a href="#DC-HTML" id="rfc.xref.DC-HTML.1"><cite title="Expressing Dublin Core metadata using HTML/XHTML meta and link elements">[DC-HTML]</cite></a>.</p><div id="rfc.table.u.7"><p>The following DCMI properties are produced:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>DC.Creator<div id="rfc.iref.c.6"></div><div id="rfc.iref.d.2"></div></td><td>from author information in front section</td></tr><tr><td>DC.Date.Issued<div id="rfc.iref.d.3"></div><div id="rfc.iref.d.4"></div></td><td>from date information in front section</td></tr><tr><td>DC.Description.Abstract<div id="rfc.iref.d.5"></div><div id="rfc.iref.d.6"></div></td><td>from abstract</td></tr><tr><td>DC.Identifier<div id="rfc.iref.i.10"></div><div id="rfc.iref.d.7"></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.isPartOf<div id="rfc.iref.i.11"></div><div id="rfc.iref.d.8"></div></td><td>RFC ISSN (for RFCs)</td></tr><tr><td>DC.Relation.Replaces<div id="rfc.iref.r.21"></div><div id="rfc.iref.d.9"></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
    361374saxon rfc2616.xml rfc2629toHhc.xslt basename=rfc2616  &gt; rfc2616.hhc
    362375saxon rfc2616.xml rfc2629toHhk.xslt basename=rfc2616  &gt; rfc2616.hhk
    363376hhc rfc2616.hhp
    364 </pre> <hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;<a id="output.pdf" href="#output.pdf">Transforming to PDF</a></h1><h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a>&nbsp;<a id="output.pdf.fop" href="#output.pdf.fop">Via XSL-FO</a></h2><p id="rfc.section.9.1.p.1">Transformation to XSL-FO <a href="#XSL-FO" id="rfc.xref.XSL-FO.1"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a> format is available through <samp>rfc2629toFO.xslt</samp> (which includes <samp>rfc2629.xslt</samp>, so keep both in the same folder).</p><p id="rfc.section.9.1.p.2">Compared to HTML user agents, XSL-FO engines unfortunately either come as open source (for instance, <span id="rfc.iref.a.25"></span>Apache FOP) or feature-complete (for instance, <span id="rfc.iref.a.26"></span> AntennaHouse XSL Formatter), but not both at the same time.</p><p id="rfc.section.9.1.p.3">As Apache FOP needs special workarounds (page breaking, table layout), and some popular extensions aren't standardized yet, the translation produces a generic output (hopefully) conforming to <a href="#XSL-FO" id="rfc.xref.XSL-FO.2"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a>. Specific backends (<samp>xsl11toFop.xslt</samp>, <samp>xsl11toXep.xslt</samp>, <samp>xsl11toAn.xslt</samp>) then provide post-processing for the individual processors.</p><div class="note"> <p> <b>Note:</b> the output is currently targeted at Apache FOP 0.95.</p> </div><h3 id="rfc.section.9.1.1"><a href="#rfc.section.9.1.1">9.1.1</a>&nbsp;Extension feature matrix</h3><div id="rfc.table.u.8"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th></th><th class="center" style="width: 20%;">PDF anchors</th><th class="center" style="width: 20%;">PDF bookmarks</th><th class="center" style="width: 20%;">PDF document information</th><th class="center" style="width: 20%;">Index cleanup</th></tr></thead><tbody><tr><td><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/">XSL 1.1 WD</a></td><td class="center">no, but can be auto-generated from "id" attributes</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12873">yes</a></td><td class="center">no, but uses XEP output extensions</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12534">yes</a></td></tr><tr><td><a href="http://www.antennahouse.com/">Antenna House XSL formatter</a></td><td class="center">no</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XEP document info)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (just page duplicate elimination, from XSL 1.1 page index)</td></tr><tr><td><a href="http://xml.apache.org/fop/">Apache FOP</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#named-destinations">yes</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#bookmarks">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xmlgraphics.apache.org/fop/0.95/metadata.html#xmp-in-fo">yes</a></td><td class="center">no</td></tr><tr><td><a href="http://xep.xattic.com/">RenderX XEP</a></td><td class="center">no</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a></td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 page index)</td></tr></tbody></table></div><h3 id="rfc.section.9.1.2"><a href="#rfc.section.9.1.2">9.1.2</a>&nbsp;Example: producing output for Apache FOP</h3><div id="rfc.figure.u.7"></div> <p>Example:</p>  <pre class="text">saxon rfc2616.xml rfc2629toFo.xslt &gt; tmp.fo
    365 saxon tmp.fo xsl11toFop.xslt &gt; rfc2629.fo
     377</pre> <hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a>&nbsp;<a id="output.pdf" href="#output.pdf">Transforming to PDF</a></h1><h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a>&nbsp;<a id="output.pdf.fop" href="#output.pdf.fop">Via XSL-FO</a></h2><p id="rfc.section.9.1.p.1">Transformation to XSL-FO <a href="#XSL-FO" id="rfc.xref.XSL-FO.1"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a> format is available through <samp>rfc2629toFO.xslt</samp> (which includes <samp>rfc2629.xslt</samp>, so keep both in the same folder).</p><p id="rfc.section.9.1.p.2">Compared to HTML user agents, XSL-FO engines unfortunately either come as open source (for instance, <span id="rfc.iref.a.25"></span>Apache FOP) or feature-complete (for instance, <span id="rfc.iref.a.26"></span> AntennaHouse XSL Formatter), but not both at the same time.</p><p id="rfc.section.9.1.p.3">As Apache FOP needs special workarounds (page breaking, table layout), and some popular extensions aren't standardized yet, the translation produces a generic output (hopefully) conforming to <a href="#XSL-FO" id="rfc.xref.XSL-FO.2"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a>. Specific backends (<samp>xsl11toFop-0.95xslt</samp>, <samp>xsl11toXep.xslt</samp>, <samp>xsl11toAn.xslt</samp>) then provide post-processing for the individual processors.</p><div class="note"> <p> <b>Note:</b> the output is currently targeted at Apache FOP 0.95.</p> </div><h3 id="rfc.section.9.1.1"><a href="#rfc.section.9.1.1">9.1.1</a>&nbsp;Extension feature matrix</h3><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th></th><th class="center" style="width: 20%;">PDF anchors</th><th class="center" style="width: 20%;">PDF bookmarks</th><th class="center" style="width: 20%;">PDF document information</th><th class="center" style="width: 20%;">Index cleanup</th></tr></thead><tbody><tr><td><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/">XSL 1.1 WD</a></td><td class="center">no, but can be auto-generated from "id" attributes</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12873">yes</a></td><td class="center">no, but uses XEP output extensions</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12534">yes</a></td></tr><tr><td><a href="http://www.antennahouse.com/">Antenna House XSL formatter</a></td><td class="center">no</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XEP document info)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (just page duplicate elimination, from XSL 1.1 page index)</td></tr><tr><td><a href="http://xml.apache.org/fop/">Apache FOP</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#named-destinations">yes</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#bookmarks">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xmlgraphics.apache.org/fop/0.95/metadata.html#xmp-in-fo">yes</a></td><td class="center">no</td></tr><tr><td><a href="http://xep.xattic.com/">RenderX XEP</a></td><td class="center">no</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a></td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 page index)</td></tr></tbody></table></div><h3 id="rfc.section.9.1.2"><a href="#rfc.section.9.1.2">9.1.2</a>&nbsp;Example: producing output for Apache FOP</h3><div id="rfc.figure.u.7"></div> <p>Example:</p>  <pre class="text">saxon rfc2616.xml rfc2629toFo.xslt &gt; tmp.fo
     378saxon tmp.fo xsl11toFop-0.95.xslt &gt; rfc2629.fo
    366379</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 \
    367380  &gt; output.xhtml
     
    395408            rel="Bookmark"
    396409            title="IETF WEBDAV Working Group"
    397             href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/&gt;</pre> <div id="rfc.iref.e.15"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a>&nbsp;<a id="ext.element.lt" href="#ext.element.lt">&lt;lt&gt; element</a></h2><p id="rfc.section.10.14.p.1">Used for grouping multiple &lt;t&gt; elements into a single list item.</p><div id="rfc.iref.e.16"></div><div id="rfc.iref.n.2"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a>&nbsp;<a id="ext.element.note" href="#ext.element.note">&lt;note&gt; element</a></h2><p id="rfc.section.10.15.p.1">Can be used to add a note, usually indented by a few characters. It should contain one or more &lt;t&gt; child elements.</p><div id="rfc.iref.e.17"></div><div id="rfc.iref.p.58"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a>&nbsp;<a id="ext.element.parse-xml" href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></h2><p id="rfc.section.10.16.p.1">This element instructs the processor to parse the contents as XML and to warn when there's a problem (requires either MSXML or Saxon8 or newer).</p><div id="rfc.iref.e.18"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a>&nbsp;<a id="ext.element.q" href="#ext.element.q">&lt;q&gt; element</a></h2><p id="rfc.section.10.17.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.19"></div><div id="rfc.iref.r.22"></div><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a>&nbsp;<a id="ext.element.ref" href="#ext.element.ref">&lt;ref&gt; element</a></h2><p id="rfc.section.10.18.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.18.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;
     410            href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/&gt;</pre> <div id="rfc.iref.e.15"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a>&nbsp;<a id="ext.element.lt" href="#ext.element.lt">&lt;lt&gt; element</a></h2><p id="rfc.section.10.14.p.1">Used for grouping multiple &lt;t&gt; elements into a single list item.</p><div id="rfc.iref.e.16"></div><div id="rfc.iref.n.3"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a>&nbsp;<a id="ext.element.note" href="#ext.element.note">&lt;note&gt; element</a></h2><p id="rfc.section.10.15.p.1">Can be used to add a note, usually indented by a few characters. It should contain one or more &lt;t&gt; child elements.</p><div id="rfc.iref.e.17"></div><div id="rfc.iref.p.58"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a>&nbsp;<a id="ext.element.parse-xml" href="#ext.element.parse-xml">&lt;parse-xml&gt; element</a></h2><p id="rfc.section.10.16.p.1">This element instructs the processor to parse the contents as XML and to warn when there's a problem (requires either MSXML or Saxon8 or newer).</p><div id="rfc.iref.e.18"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a>&nbsp;<a id="ext.element.q" href="#ext.element.q">&lt;q&gt; element</a></h2><p id="rfc.section.10.17.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.19"></div><div id="rfc.iref.r.22"></div><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a>&nbsp;<a id="ext.element.ref" href="#ext.element.ref">&lt;ref&gt; element</a></h2><p id="rfc.section.10.18.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.18.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;
    398411        &lt;x:anchor-alias value="alias1"/&gt;
    399412        &lt;x:anchor-alias value="alias 2"/&gt;
     
    466479</pre><p id="rfc.section.11.3.p.3">Note that the resulting XML usually requires checking, in this case Amazon's database is playing tricks with Marshall's name...</p><h2 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a>&nbsp;<a id="clean-for-dtd" href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></h2><p id="rfc.section.11.4.p.1"> <samp>clean-for-DTD.xslt</samp> can be used to down-convert some extensions to a format that is supported by the base xml2rfc distribution. Note that these extensions are experimental (feedback appreciated).</p><p id="rfc.section.11.4.p.2">The following mappings are done: </p><ul><li>&lt;iref&gt; elements inside &lt;artwork&gt; elements are moved in front of the enclosing &lt;figure&gt; element.</li><li>&lt;xref&gt; elements inside &lt;artwork&gt; are expanded just like in regular text (that is, the markup is stripped, but the element is replaced by the applicable replacement text).</li><li>&lt;x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.bcp14" class="smpl">bcp14</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.bb" class="smpl">bb</a>&gt;, &lt;x:<a href="#ext.element.bc" class="smpl">bc</a>&gt; and &lt;x:<a href="#ext.element.bt" class="smpl">bt</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.blockquote" class="smpl">blockquote</a>&gt; elements get converted to indented text (through a &lt;list&gt; element).</li><li>&lt;x:<a href="#ext.element.dfn" class="smpl">dfn</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.h" class="smpl">h</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.link" class="smpl">link</a>&gt; elements get stripped.</li><li>&lt;x:<a href="#ext.element.note" class="smpl">note</a>&gt; elements get converted to indented text (through a &lt;list&gt; element).</li><li>&lt;x:<a href="#ext.element.q" class="smpl">q</a>&gt; elements get stripped, with apostrophes added around the text.</li><li>&lt;x:<a href="#ext.element.ref" class="smpl">ref</a>&gt; elements get replaced by &lt;xref&gt; elements, targetting either the anchor or another anchor with matching &lt;x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>&gt; child element.</li></ul><h2 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a>&nbsp;<a id="extract-artwork" href="#extract-artwork">Extracting artwork</a></h2><p id="rfc.section.11.5.p.1">With <samp>extract-artwork.xslt</samp>, artwork elements named through the "name" attribute can be extracted. This can be used to automatically check their syntax (for instance, when ABNFs appear within a figure element).</p><div id="rfc.figure.u.19"></div><p>For instance:</p>  <pre class="text">saxon rfc3986.xml extract-artwork.xslt name=uri.abnf
    467480</pre> <p id="rfc.section.11.5.p.3">In addition, artwork of a specific type can be extracted, such as with:</p><div id="rfc.figure.u.20"></div> <pre class="text">saxon rfc3986.xml extract-artwork.xslt type=abnf
    468 </pre> <h2 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a>&nbsp;<a id="grddl" href="#grddl">GRRDL</a></h2><p id="rfc.section.11.6.p.1"> <samp>rfc2629grddl.xslt</samp> extracts RDF information. This is experimental work-in-progress. See &lt;<a href="http://www.w3.org/TR/grddl/">http://www.w3.org/TR/grddl/</a>&gt; for more information.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> Informative References</h1><table summary="Informative References">                          <tr><td class="reference"><b id="BCP97">[BCP97]</b></td><td class="top"><a href="mailto:klensin+ietf@jck.com">Klensin, J.</a> and <a href="mailto:hartmans-ietf@mit.edu" title="MIT">S. Hartman</a>, &#8220;<a href="http://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>&#8221;, BCP&nbsp;97, RFC&nbsp;4897, June&nbsp;2007.</td></tr><tr><td class="reference"><b id="DC-HTML">[DC-HTML]</b></td><td class="top"><a href="mailto:pete.johnston@eduserv.org.uk" title="Eduserv Foundation">Johnston, P.</a> and <a href="mailto:andy.powell@eduserv.org.uk" title="Eduserv Foundation">A. Powell</a>, &#8220;<a href="http://dublincore.org/documents/2008/08/04/dc-html/">Expressing Dublin Core metadata using HTML/XHTML meta and link elements</a>&#8221;, Dublin Core Metadata Initiative, August&nbsp;2008, &lt;<a href="http://dublincore.org/documents/2008/08/04/dc-html/">http://dublincore.org/documents/2008/08/04/dc-html/</a>&gt;.</td></tr><tr><td class="reference"><b id="HTML">[HTML]</b></td><td class="top"><a href="mailto:dsr@w3.org" title="W3C">Raggett, D.</a>, Hors, A., and I. Jacobs, &#8220;<a href="http://www.w3.org/TR/html401/">HTML 4.01 Specification</a>&#8221;, W3C&nbsp;REC-html401-19991224, December&nbsp;1999, &lt;<a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" 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="RFC2119">[RFC2119]</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/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>&#8221;, BCP&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.</td></tr><tr><td class="reference"><b id="RFC2616">[RFC2616]</b></td><td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine, Information and Computer Science">Fielding, R.T.</a>, <a href="mailto:jg@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation, Western Research Laboratory">Mogul, J.C.</a>, <a href="mailto:frystyk@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Nielsen, H.F.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.J.</a>, and <a href="mailto:timbl@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">T. Berners-Lee</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>&#8221;, RFC&nbsp;2616, June&nbsp;1999.</td></tr><tr><td class="reference"><b id="RFC2629">[RFC2629]</b></td><td class="top"><a href="mailto:mrose@not.invisible.net" title="Invisible Worlds, Inc.">Rose, M.T.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>&#8221;, RFC&nbsp;2629, June&nbsp;1999.</td></tr><tr><td class="reference"><b id="RFC2648">[RFC2648]</b></td><td class="top"><a href="mailto:jayhawk@att.com" title="AT&amp;T">Moats, R.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2648">A URN Namespace for IETF Documents</a>&#8221;, RFC&nbsp;2648, August&nbsp;1999.</td></tr><tr><td class="reference"><b id="RFC2731">[RFC2731]</b></td><td class="top"><a href="mailto:jak@ckm.ucsf.edu" title="University of California, San Francisco,  Center for Knowledge Management">Kunze, J.A.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2731">Encoding Dublin Core Metadata in HTML</a>&#8221;, RFC&nbsp;2731, December&nbsp;1999.</td></tr><tr><td class="reference"><b id="RFC5234">[RFC5234]</b></td><td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, &#8220;<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>&#8221;, STD&nbsp;68, RFC&nbsp;5234, January&nbsp;2008.</td></tr><tr><td class="reference"><b id="RNC">[RNC]</b></td><td class="top"><a href="mailto:jjc@jclark.com">Clark, J.</a>, &#8220;<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">RELAX NG Compact Syntax</a>&#8221;, OASIS, Nov&nbsp;2002, &lt;<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/relax-ng/compact-20021121.html</a>&gt;.</td></tr><tr><td class="reference"><b id="XHTML2">[XHTML2]</b></td><td class="top">Axelsson, J., Birbeck, M., Dubinko, M., Epperson, B., Ishikawa, M., McCarron, S., Navarro, A., and S. Pemberton, &#8220;<a href="http://www.w3.org/TR/xhtml2">XHTML&#8482; 2.0</a>&#8221;, W3C&nbsp;WD-xhtml2-20060726, July&nbsp;2006, &lt;<a href="http://www.w3.org/TR/xhtml2">http://www.w3.org/TR/xhtml2</a>&gt;.</td></tr><tr><td class="reference"><b id="XSL-FO">[XSL-FO]</b></td><td class="top"><a href="mailto:alrb@us.ibm.com" title="IBM">Berglund, A.</a>, &#8220;<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">Extensible Stylesheet Language (XSL) Version 1.1</a>&#8221;, W3C&nbsp;REC-xsl11-20061205, Dec&nbsp;2006, &lt;<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">http://www.w3.org/TR/2006/REC-xsl11-20061205/</a>&gt;.</td></tr></table><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">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"><div id="rfc.iref.g.3"></div><div id="rfc.iref.s.14"></div><div id="rfc.iref.r.23"></div><h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a id="grammar" href="#grammar">RELAX NG Compact Schema</a></h1><p id="rfc.section.A.p.1">The RelaxNG schema (<a href="#RNC" id="rfc.xref.RNC.1"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a>) below can be used to validate input documents (for instance, with <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a>).</p><p id="rfc.section.A.p.2"> <em>Note that this is work in progress, and doesn't yet cover all extensions completely.</em> </p><div id="rfc.figure.u.21"></div> <pre class="inline"><em># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</em>
     481</pre> <h2 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a>&nbsp;<a id="grddl" href="#grddl">GRRDL</a></h2><p id="rfc.section.11.6.p.1"> <samp>rfc2629grddl.xslt</samp> extracts RDF information. This is experimental work-in-progress. See &lt;<a href="http://www.w3.org/TR/grddl/">http://www.w3.org/TR/grddl/</a>&gt; for more information.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> Informative References</h1><table summary="Informative References">                            <tr><td class="reference"><b id="BCP97">[BCP97]</b></td><td class="top"><a href="mailto:klensin+ietf@jck.com">Klensin, J.</a> and <a href="mailto:hartmans-ietf@mit.edu" title="MIT">S. Hartman</a>, &#8220;<a href="http://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>&#8221;, BCP&nbsp;97, RFC&nbsp;4897, June&nbsp;2007.</td></tr><tr><td class="reference"><b id="DC-HTML">[DC-HTML]</b></td><td class="top"><a href="mailto:pete.johnston@eduserv.org.uk" title="Eduserv Foundation">Johnston, P.</a> and <a href="mailto:andy.powell@eduserv.org.uk" title="Eduserv Foundation">A. Powell</a>, &#8220;<a href="http://dublincore.org/documents/2008/08/04/dc-html/">Expressing Dublin Core metadata using HTML/XHTML meta and link elements</a>&#8221;, Dublin Core Metadata Initiative, August&nbsp;2008, &lt;<a href="http://dublincore.org/documents/2008/08/04/dc-html/">http://dublincore.org/documents/2008/08/04/dc-html/</a>&gt;.</td></tr><tr><td class="reference"><b id="HTML">[HTML]</b></td><td class="top"><a href="mailto:dsr@w3.org" title="W3C">Raggett, D.</a>, Hors, A., and I. Jacobs, &#8220;<a href="http://www.w3.org/TR/html401/">HTML 4.01 Specification</a>&#8221;, W3C&nbsp;REC-html401-19991224, December&nbsp;1999, &lt;<a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a>&gt;.</td></tr><tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" 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="RFC2119">[RFC2119]</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/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>&#8221;, BCP&nbsp;14, RFC&nbsp;2119, March&nbsp;1997.</td></tr><tr><td class="reference"><b id="RFC2616">[RFC2616]</b></td><td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine, Information and Computer Science">Fielding, R.T.</a>, <a href="mailto:jg@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation, Western Research Laboratory">Mogul, J.C.</a>, <a href="mailto:frystyk@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Nielsen, H.F.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.J.</a>, and <a href="mailto:timbl@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">T. Berners-Lee</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>&#8221;, RFC&nbsp;2616, June&nbsp;1999.</td></tr><tr><td class="reference"><b id="RFC2629">[RFC2629]</b></td><td class="top"><a href="mailto:mrose@not.invisible.net" title="Invisible Worlds, Inc.">Rose, M.T.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>&#8221;, RFC&nbsp;2629, June&nbsp;1999.</td></tr><tr><td class="reference"><b id="RFC2648">[RFC2648]</b></td><td class="top"><a href="mailto:jayhawk@att.com" title="AT&amp;T">Moats, R.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2648">A URN Namespace for IETF Documents</a>&#8221;, RFC&nbsp;2648, August&nbsp;1999.</td></tr><tr><td class="reference"><b id="RFC2731">[RFC2731]</b></td><td class="top"><a href="mailto:jak@ckm.ucsf.edu" title="University of California, San Francisco,  Center for Knowledge Management">Kunze, J.A.</a>, &#8220;<a href="http://tools.ietf.org/html/rfc2731">Encoding Dublin Core Metadata in HTML</a>&#8221;, RFC&nbsp;2731, December&nbsp;1999.</td></tr><tr><td class="reference"><b id="RFC5234">[RFC5234]</b></td><td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, &#8220;<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>&#8221;, STD&nbsp;68, RFC&nbsp;5234, January&nbsp;2008.</td></tr><tr><td class="reference"><b id="RNC">[RNC]</b></td><td class="top"><a href="mailto:jjc@jclark.com">Clark, J.</a>, &#8220;<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">RELAX NG Compact Syntax</a>&#8221;, OASIS, Nov&nbsp;2002, &lt;<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/relax-ng/compact-20021121.html</a>&gt;.</td></tr><tr><td class="reference"><b id="XHTML2">[XHTML2]</b></td><td class="top">Axelsson, J., Birbeck, M., Dubinko, M., Epperson, B., Ishikawa, M., McCarron, S., Navarro, A., and S. Pemberton, &#8220;<a href="http://www.w3.org/TR/xhtml2">XHTML&#8482; 2.0</a>&#8221;, W3C&nbsp;WD-xhtml2-20060726, July&nbsp;2006, &lt;<a href="http://www.w3.org/TR/xhtml2">http://www.w3.org/TR/xhtml2</a>&gt;.</td></tr><tr><td class="reference"><b id="XML">[XML]</b></td><td class="top"><a href="mailto:tbray@textuality.com" title="Textuality and Netscape">Bray, T.</a>, <a href="mailto:jeanpa@microsoft.com" title="Microsoft">Paoli, J.</a>, <a href="mailto:cmsmcq@w3.org" title="W3C">Sperberg-McQueen, C.M.</a>, <a href="mailto:eve.maler@east.sun.com" title="Sun Microsystems">Maler, E.</a>, and F. Yergeau, &#8220;<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">Extensible Markup Language (XML) 1.0 (Fifth Edition)</a>&#8221;, W3C&nbsp;REC-xml-20081126, November&nbsp;2008, &lt;<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">http://www.w3.org/TR/2008/REC-xml-20081126/</a>&gt;.</td></tr><tr><td class="reference"><b id="XSL-FO">[XSL-FO]</b></td><td class="top"><a href="mailto:alrb@us.ibm.com" title="IBM">Berglund, A.</a>, &#8220;<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">Extensible Stylesheet Language (XSL) Version 1.1</a>&#8221;, W3C&nbsp;REC-xsl11-20061205, Dec&nbsp;2006, &lt;<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">http://www.w3.org/TR/2006/REC-xsl11-20061205/</a>&gt;.</td></tr></table><hr class="noprint"><div class="avoidbreak"><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">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></div><hr class="noprint"><div id="rfc.iref.g.3"></div><div id="rfc.iref.s.14"></div><div id="rfc.iref.r.23"></div><h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a>&nbsp;<a id="grammar" href="#grammar">RELAX NG Compact Schema</a></h1><p id="rfc.section.A.p.1">The RelaxNG schema (<a href="#RNC" id="rfc.xref.RNC.1"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a>) below can be used to validate input documents (for instance, with <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a>).</p><p id="rfc.section.A.p.2"> <em>Note that this is work in progress, and doesn't yet cover all extensions completely.</em> </p><div id="rfc.figure.u.21"></div> <pre class="inline"><em># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</em>
    469482
    470483<em># Define our extension namespace</em>
     
    830843  }
    831844
    832 <em id="x_note"><span id="rfc.iref.n.3"></span><span id="rfc.iref.e.38"></span># Note (see <a href="#ext.element.note" title="<note&gt; element">Section&nbsp;10.15</a>)</em>
     845<em id="x_note"><span id="rfc.iref.n.4"></span><span id="rfc.iref.e.38"></span># Note (see <a href="#ext.element.note" title="<note&gt; element">Section&nbsp;10.15</a>)</em>
    833846<a href="#x_note" class="smpl">x_note</a> =
    834847  element x:note {
     
    891904rdf_content =
    892905  ( TEXT | element * { rdf_content })*
    893 </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-2009, 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><dt>2008-07-18</dt><dd>Experimental support for inlined rdf:Description elements (ignored by the formatter, extracted by rfc2629grddl).</dd><dt>2008-12-04</dt><dd>Update to xml2rfc v1.34pre2.</dd><dt>2009-02-24</dt><dd>Experimental support for February 2009 boilerplate changes, and for the x:boilerplate element.</dd></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>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><dt>2008-07-12</dt><dd>Add XSLT2-based link target checking.</dd><dt>2008-08-10</dt><dd>Change keywords for "intended-level" to proposed/draft/internet, optionall extract intended level from /rfc/@x:maturity-level attribute.</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><dt>2008-08-21</dt><dd>Add x:note.</dd><dt>2008-09-06</dt><dd>Add experimental support for SVG images.</dd><dt>2008-09-17</dt><dd>Add experimental support for x:author. Fix xref/@format=none.</dd><dt>2008-10-10</dt><dd>Fix a huge bug, causing text content after an XML comment to be ignored.</dd><dt>2009-02-24</dt><dd>Use table/caption when needed.</dd><dt>2009-03-07</dt><dd>Fix bug that caused text to disappear in the output in presence of processing instructions.</dd><dt>2009-03-12</dt><dd>Make inlined comments bookmarkable.</dd><dt>2009-04-09</dt><dd>Upgrade to DC-HTML from RFC 2731 (affects head/@profile).</dd></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><dt>2009-04-08</dt><dd>Fix spacing in headers; add support for formatting for double-sided printing.</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.8">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.9">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.10">A</a></li><li class="indline1"><em>BCP97</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.BCP97.1">11.1</a>, <a class="iref" href="#BCP97"><b>12</b></a></li><li class="indline1">blockquote Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.5"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li><li class="indline1">boilerplate Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.6"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.b.12">A</a></li><li class="indline1">bt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.7"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.b.13">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element&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.3">6.4</a></li><li class="indline1"><em>DC-HTML</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.DC-HTML.1">6.4</a>, <a class="iref" href="#DC-HTML"><b>12</b></a></li><li class="indline1">DCMI properties&nbsp;&nbsp;<ul class="ind"><li class="indline1">Creator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">Date.Issued&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">Description.Abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Identifier&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.7">6.4</a></li><li class="indline1">isPartOf&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.8">6.4</a></li><li class="indline1">Relation.Replaces&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.9">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">dfn Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.d.11">A</a></li><li class="indline1">duplex PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute&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.22">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.23">A</a></li><li class="indline1">assign-section-number&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.25">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.26">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.27">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.28">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.29">A</a></li><li class="indline1">boilerplate&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">bt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">dfn&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">h&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">highlight&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">include-author&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">length-of&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">link&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.36">A</a></li><li class="indline1">lt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.37">A</a></li><li class="indline1">note&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.38">A</a></li><li class="indline1">parse-xml&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.39">A</a></li><li class="indline1">q&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.18"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.e.40">A</a></li><li class="indline1">rdf:Description&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.46">A</a></li><li class="indline1">ref&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.19"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.e.41">A</a></li><li class="indline1">source&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.20"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.e.42">A</a></li><li class="indline1">span&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.44">A</a></li><li class="indline1">sup&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.21"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.e.43">A</a></li><li class="indline1">x&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.45">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox&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.2">6.3</a></li><li class="indline1">Google Chrome&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1">5.2</a></li><li class="indline1">Grammar&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.3"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.12"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.h.14">A</a></li><li class="indline1">header PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1">highlight Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.13"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.h.15">A</a></li><li class="indline1"><em>HTML</em>&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.9</a>, <a class="iref" href="#rfc.xref.HTML.4">10.17</a>, <a class="iref" href="#rfc.xref.HTML.5">10.20</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance&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.10">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-author Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.12">A</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.9">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">Internet Explorer 8&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.8">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><li class="indline1">isPartOf DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.11">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute&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.12</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.13</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.14</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help&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><li class="indline1">note Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.n.2"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.n.3">A</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters&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.42">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-duplex&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">xml2rfc-ext-justification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.57">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.55">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-rfcedstyle&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.31">3.1</a></li><li class="indline1">xml2rfc-topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.33">3.1</a></li></ul></li><li class="indline1">parse-xml Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.58"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.p.59">A</a></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.51">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.41">3.3</a></li><li class="indline1">authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.43">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">duplex&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.45">3.3</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.49">3.3</a></li><li class="indline1">include&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.47">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.35">3.2</a></li><li class="indline1">parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.52">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">rfcedstyle&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.56">3.3</a></li><li class="indline1">slides&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">strict&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">subcompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.54">3.3</a></li><li class="indline1">symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.30">3.1</a></li><li class="indline1">tocindent&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.39">3.2</a></li><li class="indline1">tocompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.40">3.2</a></li><li class="indline1">topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.32">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.17</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">rdf:Description Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.25">A</a></li><li class="indline1">ref Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.22"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.r.24">A</a></li><li class="indline1">Relation.Replaces DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.21">6.4</a></li><li class="indline1">RELAX NG Compact Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.23"><b>A</b></a></li><li class="indline1">rfc.abstract anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.authors anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyright anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.copyrightnotice anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.5">4</a></li><li class="indline1">rfc.figure.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.figure.u.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.7">4</a>, <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.index anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.ipr anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.iref.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.note.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.references.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.section.n.p.m anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.status anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.toc anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1">rfc.xref.name.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.20">4</a></li><li class="indline1"><em>RFC2026</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2026.1">10.24</a>, <a class="iref" href="#RFC2026"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 4.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2026.1">10.24</a></li></ul></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.26</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.26</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">rfcedstyle PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.1">3.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.19</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.20</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.29">A</a></li><li class="indline1">Xalan&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.26">5.1</a></li><li class="indline1"><em>XHTML2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XHTML2.1">10.10</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.28">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.18">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-duplex&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.25">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.24">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-rfcedstyle parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-toc parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1">xml2rfc-topblock parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.17">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.27">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>
     906</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 class="tt full center" 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="examples" href="#examples">Examples</a></h1><h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a>&nbsp;<a id="examples.internalsubset" href="#examples.internalsubset">Using the 'Internal Subset'</a></h2><p id="rfc.section.C.1.p.1">The prolog of the XML document can both be used to refer to an external DTD, and also to define internal entities (<a href="http://www.w3.org/TR/2008/REC-xml-20081126/#sec-prolog-dtd">Section 2.8</a> of <a href="#XML" id="rfc.xref.XML.1"><cite title="Extensible Markup Language (XML) 1.0 (Fifth Edition)">[XML]</cite></a>):</p><div id="rfc.figure.u.22"></div><pre class="text">&lt;?xml version="1.0"?&gt;
     907&lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?&gt;
     908
     909&lt;!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
     910
     911  &lt;!-- <em>use "&amp;MAY;" for a BCP 14 "MAY", see <a href="#ext.element.bcp14" title="<bcp14&gt; element">Section&nbsp;10.3</a></em> --&gt;
     912  &lt;!ENTITY MAY
     913  "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'&gt;MAY&lt;/bcp14&gt;"&gt;
     914
     915  &lt;!-- <em>re-declare "&amp;nbsp;" as code point 160 (non-breaking space)</em> --&gt;
     916  &lt;!-- <em>you may need this for UAs that do not read external DTDs</em> --&gt;
     917  &lt;!ENTITY nbsp
     918  "&amp;#160;"&gt;
     919
     920  &lt;!-- <em>allow later RFC2616 reference using "&amp;rfc2616;"</em> --&gt;
     921  &lt;!ENTITY rfc2616 PUBLIC ''
     922  "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml"&gt;
     923
     924]&gt;
     925</pre><h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a>&nbsp;<a id="examples.customizing" href="#examples.customizing">Customization</a></h2><p id="rfc.section.C.2.p.1">The XSLT code can be customized by creating a custom XSLT file that uses &lt;xsl:import&gt; to include the original code, and just overrides particular rules.</p><div id="rfc.figure.u.23"></div> <p>For instance, the code below overrides several attributes in <samp>rfc2629toFO.xslt</samp>, changing the color, spacing and font family for headers.</p>  <pre class="text">&lt;xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     926               version="1.0"&gt;
     927
     928  &lt;xsl:import href="rfc2629toFO.xslt"/&gt;
     929 
     930  &lt;xsl:attribute-set name="h1"&gt;
     931    &lt;xsl:attribute name="color"&gt;darkblue&lt;/xsl:attribute&gt;
     932    &lt;xsl:attribute name="font-family"&gt;sans-serif&lt;/xsl:attribute&gt;
     933    &lt;xsl:attribute name="space-before"&gt;24pt&lt;/xsl:attribute&gt;
     934  &lt;/xsl:attribute-set&gt;
     935 
     936  &lt;xsl:attribute-set name="h2"&gt;
     937    &lt;xsl:attribute name="color"&gt;darkblue&lt;/xsl:attribute&gt;
     938    &lt;xsl:attribute name="font-family"&gt;sans-serif&lt;/xsl:attribute&gt;
     939    &lt;xsl:attribute name="space-before"&gt;18pt&lt;/xsl:attribute&gt;
     940    &lt;xsl:attribute name="space-after"&gt;3pt&lt;/xsl:attribute&gt;
     941  &lt;/xsl:attribute-set&gt;
     942 
     943  &lt;xsl:attribute-set name="h3"&gt;
     944    &lt;xsl:attribute name="color"&gt;darkblue&lt;/xsl:attribute&gt;
     945    &lt;xsl:attribute name="font-family"&gt;sans-serif&lt;/xsl:attribute&gt;
     946    &lt;xsl:attribute name="space-before"&gt;16pt&lt;/xsl:attribute&gt;
     947    &lt;xsl:attribute name="space-after"&gt;2pt&lt;/xsl:attribute&gt;
     948  &lt;/xsl:attribute-set&gt;
     949
     950&lt;/xsl:transform&gt;
     951</pre><div class="note"> <p> <b>Note:</b> the name for the attribute sets may change in the future as more working is done with respect to customizability. In any case, overriding the settings in a separate file will be easier to maintain. Please contact the author if you find yourself trying to override style definitions that currently do not use attribute sets.</p>  <p> <b>Note:</b> the CSS style information used in <samp>rfc2629.xslt</samp> can be overriden in a similar (but less granular) way: just overwrite the template called "insertCss". As for XSL-FO, the class names may change in future.</p> </div><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a>&nbsp;<a id="license" href="#license">License</a></h1><p id="rfc.section.D.p.1">Copyright (c) 2006-2009, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.D.p.2">All rights reserved.</p><p id="rfc.section.D.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.D.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.E" class="np"><a href="#rfc.section.E">E.</a>&nbsp;Change Logs</h1><h2 id="rfc.section.E.1"><a href="#rfc.section.E.1">E.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><dt>2008-07-18</dt><dd>Experimental support for inlined rdf:Description elements (ignored by the formatter, extracted by rfc2629grddl).</dd><dt>2008-12-04</dt><dd>Update to xml2rfc v1.34pre2.</dd><dt>2009-02-24</dt><dd>Experimental support for February 2009 boilerplate changes, and for the x:boilerplate element.</dd><dt>2009-07-08</dt><dd>Support new boilerplate ordering in RFCs published since July 2009. Fix problems with one-column text tables.</dd><dt>2009-07-19</dt><dd>When possible, calculate the actual Expiry date for Internet Drafts (full date must be available).</dd><dt>2009-08-01</dt><dd>For '$xml2rfc-ext-authors-section='end'", move the index in front of the authors section.</dd><dt>2009-08-04</dt><dd>Consider /rfc/@ipr="pre5378Trust200902" when producing RFCs, not IDs.</dd></dl><h2 id="rfc.section.E.2"><a href="#rfc.section.E.2">E.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.E.3"><a href="#rfc.section.E.3">E.3</a>&nbsp;check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of &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><dt>2008-07-12</dt><dd>Add XSLT2-based link target checking.</dd><dt>2008-08-10</dt><dd>Change keywords for "intended-level" to proposed/draft/internet, optionall extract intended level from /rfc/@x:maturity-level attribute.</dd></dl><h2 id="rfc.section.E.4"><a href="#rfc.section.E.4">E.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.E.5"><a href="#rfc.section.E.5">E.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><dt>2008-08-21</dt><dd>Add x:note.</dd><dt>2008-09-06</dt><dd>Add experimental support for SVG images.</dd><dt>2008-09-17</dt><dd>Add experimental support for x:author. Fix xref/@format=none.</dd><dt>2008-10-10</dt><dd>Fix a huge bug, causing text content after an XML comment to be ignored.</dd><dt>2009-02-24</dt><dd>Use table/caption when needed.</dd><dt>2009-03-07</dt><dd>Fix bug that caused text to disappear in the output in presence of processing instructions.</dd><dt>2009-03-12</dt><dd>Make inlined comments bookmarkable.</dd><dt>2009-04-09</dt><dd>Upgrade to DC-HTML from RFC 2731 (affects head/@profile).</dd><dt>2009-07-08</dt><dd>Remove table/@summary in output; the value getting inserted was just repeating stuff that appeared in the preamble.</dd><dt>2009-08-01</dt><dd>Implement table alignment (HTML output only for now).</dd></dl><h2 id="rfc.section.E.6"><a href="#rfc.section.E.6">E.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><dt>2009-04-08</dt><dd>Fix spacing in headers; add support for formatting for double-sided printing.</dd><dt>2009-08-01</dt><dd>Remove surplus empty pages when not generating double-sided output.</dd></dl><h2 id="rfc.section.E.7"><a href="#rfc.section.E.7">E.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.E.8"><a href="#rfc.section.E.8">E.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.E.9"><a href="#rfc.section.E.9">E.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.E.10"><a href="#rfc.section.E.10">E.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.8">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.9">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.10">A</a></li><li class="indline1"><em>BCP97</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.BCP97.1">11.1</a>, <a class="iref" href="#BCP97"><b>12</b></a></li><li class="indline1">blockquote Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.5"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li><li class="indline1">boilerplate Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.6"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.b.12">A</a></li><li class="indline1">bt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.7"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.b.13">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element&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.3">6.4</a></li><li class="indline1"><em>DC-HTML</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.DC-HTML.1">6.4</a>, <a class="iref" href="#DC-HTML"><b>12</b></a></li><li class="indline1">DCMI properties&nbsp;&nbsp;<ul class="ind"><li class="indline1">Creator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">Date.Issued&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">Description.Abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Identifier&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.7">6.4</a></li><li class="indline1">isPartOf&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.8">6.4</a></li><li class="indline1">Relation.Replaces&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.9">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">dfn Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.d.11">A</a></li><li class="indline1">duplex PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute&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.22">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.23">A</a></li><li class="indline1">assign-section-number&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.25">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.26">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.27">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.28">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.29">A</a></li><li class="indline1">boilerplate&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">bt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">dfn&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">h&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">highlight&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">include-author&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">length-of&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">link&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.36">A</a></li><li class="indline1">lt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.37">A</a></li><li class="indline1">note&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.38">A</a></li><li class="indline1">parse-xml&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.39">A</a></li><li class="indline1">q&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.18"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.e.40">A</a></li><li class="indline1">rdf:Description&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.46">A</a></li><li class="indline1">ref&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.19"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.e.41">A</a></li><li class="indline1">source&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.20"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.e.42">A</a></li><li class="indline1">span&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.44">A</a></li><li class="indline1">sup&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.21"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.e.43">A</a></li><li class="indline1">x&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.45">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox&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.2">6.3</a></li><li class="indline1">Google Chrome&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1">5.2</a></li><li class="indline1">Grammar&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.3"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.12"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.h.14">A</a></li><li class="indline1">header PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1">highlight Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.13"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.h.15">A</a></li><li class="indline1"><em>HTML</em>&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.9</a>, <a class="iref" href="#rfc.xref.HTML.4">10.17</a>, <a class="iref" href="#rfc.xref.HTML.5">10.20</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance&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.10">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-author Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.12">A</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.9">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">Internet Explorer 8&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.8">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><li class="indline1">isPartOf DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.11">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute&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.12</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.13</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.14</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help&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><li class="indline1">NoScript&nbsp;&nbsp;<a class="iref" href="#rfc.iref.n.2">5.2</a></li><li class="indline1">note Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.n.3"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.n.4">A</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters&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.42">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-duplex&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">xml2rfc-ext-justification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.57">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.55">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-rfcedstyle&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.31">3.1</a></li><li class="indline1">xml2rfc-topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.33">3.1</a></li></ul></li><li class="indline1">parse-xml Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.58"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.p.59">A</a></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.51">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.41">3.3</a></li><li class="indline1">authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.43">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">duplex&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.45">3.3</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.49">3.3</a></li><li class="indline1">include&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.47">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.35">3.2</a></li><li class="indline1">parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.52">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">rfcedstyle&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.56">3.3</a></li><li class="indline1">slides&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">strict&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">subcompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.54">3.3</a></li><li class="indline1">symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.30">3.1</a></li><li class="indline1">tocindent&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.39">3.2</a></li><li class="indline1">tocompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.40">3.2</a></li><li class="indline1">topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.32">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.17</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">rdf:Description Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.25">A</a></li><li class="indline1">ref Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.22"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.r.24">A</a></li><li class="indline1">Relation.Replaces DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.21">6.4</a></li><li class="indline1">RELAX NG Compact Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.23"><b>A</b></a></li><li class="indline1">rfc.abstract anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.authors anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyright anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.copyrightnotice anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.5">4</a></li><li class="indline1">rfc.figure.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.figure.u.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.7">4</a>, <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.index anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.ipr anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.iref.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.note.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.references.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.section.n.p.m anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.status anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.toc anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1">rfc.xref.name.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.20">4</a></li><li class="indline1"><em>RFC2026</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2026.1">10.24</a>, <a class="iref" href="#RFC2026"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 4.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2026.1">10.24</a></li></ul></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.26</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.26</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">rfcedstyle PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.1">3.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.19</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.20</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.29">A</a></li><li class="indline1">Xalan&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.26">5.1</a></li><li class="indline1"><em>XHTML2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XHTML2.1">10.10</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1"><em>XML</em>&nbsp;&nbsp;<a class="iref" href="#XML"><b>12</b></a>, <a class="iref" href="#rfc.xref.XML.1">C.1</a><ul class="ind"><li class="indline1"><em>Section 2.8</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XML.1">C.1</a></li></ul></li><li class="indline1">xml-stylesheet PI&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.28">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.18">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-duplex&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.25">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.24">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-rfcedstyle parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-toc parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1">xml2rfc-topblock parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.17">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.27">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

    r599 r662  
    44RFC2629 through XSLT                                          J. Reschke
    55                                                              greenbytes
    6                                                            June 10, 2009
     6                                                          August 4, 2009
    77
    88
     
    5656
    5757
    58 Documentation             RFC2629 through XSLT                 June 2009
     58Documentation             RFC2629 through XSLT               August 2009
    5959
    6060
     
    8383   Appendix B.  Implementation Notes  . . . . . . . . . . . . . . . . 45
    8484     B.1.   Recognized type attributes for <artwork> element  . . . . 45
    85    Appendix C.  License . . . . . . . . . . . . . . . . . . . . . . . 46
    86    Appendix D.  Change Logs . . . . . . . . . . . . . . . . . . . . . 47
    87      D.1.   Package . . . . . . . . . . . . . . . . . . . . . . . . . 47
    88      D.2.   amazon-asin.xslt  . . . . . . . . . . . . . . . . . . . . 47
    89      D.3.   check-references.xslt . . . . . . . . . . . . . . . . . . 47
    90      D.4.   gen-reference-graph.xslt  . . . . . . . . . . . . . . . . 48
    91      D.5.   rfc2629.xslt  . . . . . . . . . . . . . . . . . . . . . . 48
    92      D.6.   rfc2629toFO.xslt  . . . . . . . . . . . . . . . . . . . . 59
    93      D.7.   xsl11toAn.xslt  . . . . . . . . . . . . . . . . . . . . . 60
    94      D.8.   xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 60
    95      D.9.   xsl11toFop-0.93.xslt  . . . . . . . . . . . . . . . . . . 60
    96      D.10.  xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 60
    97    Index  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
    98    Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 70
    99 
    100 
    101 
     85   Appendix C.  Examples . . . . . . . . . . . . . . . . . . . . . . 46
     86     C.1.   Using the 'Internal Subset' . . . . . . . . . . . . . . . 46
     87     C.2.   Customization . . . . . . . . . . . . . . . . . . . . . . 46
     88   Appendix D.  License . . . . . . . . . . . . . . . . . . . . . . . 48
     89   Appendix E.  Change Logs . . . . . . . . . . . . . . . . . . . . . 49
     90     E.1.   Package . . . . . . . . . . . . . . . . . . . . . . . . . 49
     91     E.2.   amazon-asin.xslt  . . . . . . . . . . . . . . . . . . . . 49
     92     E.3.   check-references.xslt . . . . . . . . . . . . . . . . . . 49
     93     E.4.   gen-reference-graph.xslt  . . . . . . . . . . . . . . . . 50
     94     E.5.   rfc2629.xslt  . . . . . . . . . . . . . . . . . . . . . . 50
     95     E.6.   rfc2629toFO.xslt  . . . . . . . . . . . . . . . . . . . . 61
     96     E.7.   xsl11toAn.xslt  . . . . . . . . . . . . . . . . . . . . . 63
     97     E.8.   xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 63
     98     E.9.   xsl11toFop-0.93.xslt  . . . . . . . . . . . . . . . . . . 63
     99     E.10.  xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 63
     100   Index  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
     101   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 72
    102102
    103103
     
    113113
    114114
    115 Documentation             RFC2629 through XSLT                 June 2009
     115Documentation             RFC2629 through XSLT               August 2009
    116116
    117117
     
    170170
    171171
    172 Documentation             RFC2629 through XSLT                 June 2009
     172Documentation             RFC2629 through XSLT               August 2009
    173173
    174174
     
    176176
    177177   "rfc2629.xslt" supports both all RFC2629 grammar elements and the
    178    extensions implemented in xml2rfc 1.21.
     178   extensions implemented in xml2rfc 1.33.
    179179
    1801802.1.  Extension elements
     
    227227
    228228
    229 Documentation             RFC2629 through XSLT                 June 2009
     229Documentation             RFC2629 through XSLT               August 2009
    230230
    231231
     
    284284
    285285
    286 Documentation             RFC2629 through XSLT                 June 2009
     286Documentation             RFC2629 through XSLT               August 2009
    287287
    288288
     
    341341
    342342
    343 Documentation             RFC2629 through XSLT                 June 2009
     343Documentation             RFC2629 through XSLT               August 2009
    344344
    345345
     
    3653653.2.  Unsupported xml2rfc-compatible PIs
    366366
    367    +----------+------------------+-------------------------------------+
    368    | PI       | PI               | comment                             |
    369    | target   | pseudo-attribute |                                     |
    370    +----------+------------------+-------------------------------------+
    371    | rfc      | include          | incompatible with XML/XSLT          |
    372    |          |                  | processing model                    |
    373    |          |                  |                                     |
    374    | rfc      | needLines        |                                     |
    375    |          |                  |                                     |
    376    | rfc      | slides           |                                     |
    377    |          |                  |                                     |
    378    | rfc      | strict           |                                     |
    379    |          |                  |                                     |
    380    | rfc      | subcompact       |                                     |
    381    |          |                  |                                     |
    382    | rfc      | tocindent        | (defaults to "yes")                 |
    383    |          |                  |                                     |
    384    | rfc      | tocompact        |                                     |
    385    +----------+------------------+-------------------------------------+
    386 
     367   +--------+------------------+---------------------------------------+
     368   | PI     | PI               | comment                               |
     369   | target | pseudo-attribute |                                       |
     370   +--------+------------------+---------------------------------------+
     371   | rfc    | include          | incompatible with XML/XSLT processing |
     372   |        |                  | model, please use external entities   |
     373   |        |                  | instead                               |
     374   |        |                  |                                       |
     375   | rfc    | needLines        |                                       |
     376   |        |                  |                                       |
     377   | rfc    | slides           |                                       |
     378   |        |                  |                                       |
     379   | rfc    | strict           |                                       |
     380   |        |                  |                                       |
     381   | rfc    | subcompact       |                                       |
     382   |        |                  |                                       |
     383   | rfc    | tocindent        | (defaults to "yes")                   |
     384   |        |                  |                                       |
     385   | rfc    | tocompact        |                                       |
     386   +--------+------------------+---------------------------------------+
    387387
    388388
     
    398398
    399399
    400 Documentation             RFC2629 through XSLT                 June 2009
     400Documentation             RFC2629 through XSLT               August 2009
    401401
    402402
     
    455455
    456456
    457 Documentation             RFC2629 through XSLT                 June 2009
     457Documentation             RFC2629 through XSLT               August 2009
    458458
    459459
     
    512512
    513513
    514 Documentation             RFC2629 through XSLT                 June 2009
     514Documentation             RFC2629 through XSLT               August 2009
    515515
    516516
     
    569569
    570570
    571 Documentation             RFC2629 through XSLT                 June 2009
     571Documentation             RFC2629 through XSLT               August 2009
    572572
    573573
     
    626626
    627627
    628 Documentation             RFC2629 through XSLT                 June 2009
     628Documentation             RFC2629 through XSLT               August 2009
    629629
    630630
     
    683683
    684684
    685 Documentation             RFC2629 through XSLT                 June 2009
     685Documentation             RFC2629 through XSLT               August 2009
    686686
    687687
     
    740740
    741741
    742 Documentation             RFC2629 through XSLT                 June 2009
     742Documentation             RFC2629 through XSLT               August 2009
    743743
    744744
     
    754754   The following XSLT engines are believed to work well:
    755755
    756    o  MSXML3 and MSXML4 (<http://msdn.microsoft.com/xml>; these
    757       processors do not support exsl:node-set(), but have a similar
    758       proprietary extension)
    759 
    760    o  Saxon (<http://saxon.sourceforge.net/>)
    761 
    762    o  Xalan (<http://xml.apache.org/xalan-j/>)
    763 
    764    o  xsltproc (libxslt) (<http://xmlsoft.org/XSLT/>, make sure that you
    765       have a current version)
     756   o  Windows: MSXML3 and MSXML4 (<http://msdn.microsoft.com/xml>;
     757      command line processor "msxsl" is available from Microsoft
     758      Download Center [2])
     759
     760   o  Java: Saxon (<http://saxon.sourceforge.net/>)
     761
     762   o  Java: Xalan (<http://xml.apache.org/xalan-j/>)
     763
     764   o  C/C++: xsltproc (libxslt) (<http://xmlsoft.org/XSLT/>, make sure
     765      that you have a current version)
    766766
    7677675.2.  In-Browser Engines
     
    771771   o  Internet Explorer 5.5 (Windows version, if MSXML3 is installed)
    772772
    773    o  Internet Explorer 6
    774 
    775    o  Internet Explorer 7
    776 
    777    o  Internet Explorer 8
    778 
    779    o  Firefox 3.0
     773   o  Internet Explorer 6 and newer
     774
     775   o  Firefox 3.0 and newer
     776
     777
     778      *  Be aware that XSLT execution can be suppressed using
     779         NoScript [3]
     780
     781      *  Firefox does not load external DTDs, see Mozilla Bug 22942 [4],
     782         thus entities like &nbsp; need to be declared in the internal
     783         subset (Appendix C.1)
    780784
    781785   o  Safari 3 (starting with version 3.0.4)
     
    783787   o  Google Chrome (beta available)
    784788
    785    o  Opera 10 (alpha version available)
     789   o  Opera 10 (beta version available)
    786790
    787791   The following browsers are known not to work properly:
    788792
     793
     794
     795
     796Reschke                                                        [Page 14]
     797
     798
     799Documentation             RFC2629 through XSLT               August 2009
     800
     801
    789802   o  Firefox 1.*/2.*: (missing extension function - see change request
    790       at Mozilla BugZilla 193678 [2])
    791 
    792 
    793 
    794 
    795 
    796 Reschke                                                        [Page 14]
    797 
    798 
    799 Documentation             RFC2629 through XSLT                 June 2009
    800 
     803      at Mozilla BugZilla 193678 [5])
    801804
    802805   o  Opera 9.21: execution fails, potentially to a somewhat complex
     
    848851
    849852
    850 
    851 
    852 
    853853Reschke                                                        [Page 15]
    854854
    855855
    856 Documentation             RFC2629 through XSLT                 June 2009
     856Documentation             RFC2629 through XSLT               August 2009
    857857
    858858
     
    878878   content-independant links inside the document.  Unfortunately, only
    879879   few user agents support this element.  Firefox users may want to
    880    check the Link Widgets [3] extension.
     880   check the Link Widgets [6] extension.
    881881
    882882                 The following LINK elements are produced:
     
    911911
    912912
    913 Documentation             RFC2629 through XSLT                 June 2009
     913Documentation             RFC2629 through XSLT               August 2009
    914914
    915915
     
    9549546.5.  Experimental hCard support
    955955
    956    The generated author information is formatted in hCard [4] format.
     956   The generated author information is formatted in hCard [7] format.
    957957
    958958
     
    968968
    969969
    970 Documentation             RFC2629 through XSLT                 June 2009
     970Documentation             RFC2629 through XSLT               August 2009
    971971
    972972
     
    10251025
    10261026
    1027 Documentation             RFC2629 through XSLT                 June 2009
     1027Documentation             RFC2629 through XSLT               August 2009
    10281028
    10291029
     
    10821082
    10831083
    1084 Documentation             RFC2629 through XSLT                 June 2009
     1084Documentation             RFC2629 through XSLT               August 2009
    10851085
    10861086
     
    11011101   layout), and some popular extensions aren't standardized yet, the
    11021102   translation produces a generic output (hopefully) conforming to
    1103    [XSL-FO].  Specific backends ("xsl11toFop.xslt", "xsl11toXep.xslt",
    1104    "xsl11toAn.xslt") then provide post-processing for the individual
    1105    processors.
     1103   [XSL-FO].  Specific backends ("xsl11toFop-0.95xslt",
     1104   "xsl11toXep.xslt", "xsl11toAn.xslt") then provide post-processing for
     1105   the individual processors.
    11061106
    11071107      Note: the output is currently targeted at Apache FOP 0.95.
     
    11151115   +------------+-------------+------------+-------------+-------------+
    11161116   | XSL 1.1    | no, but can |     yes    |   no, but   |     yes     |
    1117    | WD [5]     |      be     |            |   uses XEP  |             |
     1117   | WD [8]     |      be     |            |   uses XEP  |             |
    11181118   |            | auto-genera |            |    output   |             |
    11191119   |            |   ted from  |            |  extensions |             |
     
    11211121   |            |  attributes |            |             |             |
    11221122   |            |             |            |             |             |
    1123    | Antenna    |      no     |   yes [7]  |   yes [7]   |   yes [7]   |
     1123   | Antenna    |      no     |  yes [10]  |   yes [10]  |   yes [10]  |
    11241124   | House XSL  |             |  (from XSL |  (from XEP  |  (just page |
    11251125   | formatter  |             |     1.1    |   document  |  duplicate  |
    1126    | [6]        |             | bookmarks) |    info)    | elimination |
     1126   | [9]        |             | bookmarks) |    info)    | elimination |
    11271127   |            |             |            |             |  , from XSL |
    11281128   |            |             |            |             |   1.1 page  |
     
    11301130   |            |             |            |             |             |
    11311131   | Apache     |     yes     |  yes (from |     yes     |      no     |
    1132    | FOP [8]    |             |   XSL 1.1  |             |             |
     1132   | FOP [11]   |             |   XSL 1.1  |             |             |
    11331133   |            |             | bookmarks) |             |             |
    11341134   |            |             |            |             |             |
     
    11391139
    11401140
    1141 Documentation             RFC2629 through XSLT                 June 2009
    1142 
    1143 
    1144    | RenderX    |      no     |  yes [10]  |   yes [10]  |   yes [10]  |
    1145    | XEP [9]    |             |  (from XSL |             |  (from XSL  |
     1141Documentation             RFC2629 through XSLT               August 2009
     1142
     1143
     1144   | RenderX    |      no     |  yes [13]  |   yes [13]  |   yes [13]  |
     1145   | XEP [12]   |             |  (from XSL |             |  (from XSL  |
    11461146   |            |             |     1.1    |             |   1.1 page  |
    11471147   |            |             | bookmarks) |             |    index)   |
     
    11531153
    11541154   saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo
    1155    saxon tmp.fo xsl11toFop.xslt > rfc2629.fo
     1155   saxon tmp.fo xsl11toFop-0.95.xslt > rfc2629.fo
    11561156
    115711579.2.  Via X(HTML)
     
    11961196
    11971197
    1198 Documentation             RFC2629 through XSLT                 June 2009
     1198Documentation             RFC2629 through XSLT               August 2009
    11991199
    12001200
     
    12531253
    12541254
    1255 Documentation             RFC2629 through XSLT                 June 2009
     1255Documentation             RFC2629 through XSLT               August 2009
    12561256
    12571257
     
    13101310
    13111311
    1312 Documentation             RFC2629 through XSLT                 June 2009
     1312Documentation             RFC2629 through XSLT               August 2009
    13131313
    13141314
     
    13671367
    13681368
    1369 Documentation             RFC2629 through XSLT                 June 2009
     1369Documentation             RFC2629 through XSLT               August 2009
    13701370
    13711371
     
    14241424
    14251425
    1426 Documentation             RFC2629 through XSLT                 June 2009
     1426Documentation             RFC2629 through XSLT               August 2009
    14271427
    14281428
     
    14811481
    14821482
    1483 Documentation             RFC2629 through XSLT                 June 2009
     1483Documentation             RFC2629 through XSLT               August 2009
    14841484
    14851485
     
    15381538
    15391539
    1540 Documentation             RFC2629 through XSLT                 June 2009
     1540Documentation             RFC2629 through XSLT               August 2009
    15411541
    15421542
     
    15951595
    15961596
    1597 Documentation             RFC2629 through XSLT                 June 2009
     1597Documentation             RFC2629 through XSLT               August 2009
    15981598
    15991599
     
    16521652
    16531653
    1654 Documentation             RFC2629 through XSLT                 June 2009
     1654Documentation             RFC2629 through XSLT               August 2009
    16551655
    16561656
     
    17091709
    17101710
    1711 Documentation             RFC2629 through XSLT                 June 2009
     1711Documentation             RFC2629 through XSLT               August 2009
    17121712
    17131713
     
    17661766
    17671767
    1768 Documentation             RFC2629 through XSLT                 June 2009
     1768Documentation             RFC2629 through XSLT               August 2009
    17691769
    17701770
     
    18231823
    18241824
    1825 Documentation             RFC2629 through XSLT                 June 2009
     1825Documentation             RFC2629 through XSLT               August 2009
    18261826
    18271827
     
    18801880
    18811881
    1882 Documentation             RFC2629 through XSLT                 June 2009
     1882Documentation             RFC2629 through XSLT               August 2009
    18831883
    18841884
     
    19291929              <http://www.w3.org/TR/xhtml2>.
    19301930
     1931   [XML]      Bray, T., Paoli, J., Sperberg-McQueen, C., Maler, E., and
     1932              F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fifth
     1933
     1934
     1935
     1936Reschke                                                        [Page 34]
     1937
     1938
     1939Documentation             RFC2629 through XSLT               August 2009
     1940
     1941
     1942              Edition)", W3C REC-xml-20081126, November 2008,
     1943              <http://www.w3.org/TR/2008/REC-xml-20081126/>.
     1944
    19311945   [XSL-FO]   Berglund, A., "Extensible Stylesheet Language (XSL)
    19321946              Version 1.1", W3C REC-xsl11-20061205, Dec 2006,
    1933 
    1934 
    1935 
    1936 Reschke                                                        [Page 34]
    1937 
    1938 
    1939 Documentation             RFC2629 through XSLT                 June 2009
    1940 
    1941 
    19421947              <http://www.w3.org/TR/2006/REC-xsl11-20061205/>.
    19431948
     
    19451950         exsl.node-set.html>
    19461951
    1947    [2]   <http://bugzilla.mozilla.org/show_bug.cgi?id=193678>
    1948 
    1949    [3]   <https://addons.mozilla.org/firefox/2933/>
    1950 
    1951    [4]   <http://microformats.org/wiki/hcard>
    1952 
    1953    [5]   <http://www.w3.org/TR/2003/WD-xsl11-20031217/>
    1954 
    1955    [6]   <http://www.antennahouse.com/>
    1956 
    1957    [7]   <http://www.antennahouse.com/XSL20/axf-extension.htm>
    1958 
    1959    [8]   <http://xml.apache.org/fop/>
    1960 
    1961    [9]   <http://xep.xattic.com/>
    1962 
    1963    [10]  <http://xep.xattic.com/xep/spec.html>
    1964 
    1965    [11]  <http://www.thaiopensource.com/relaxng/jing.html>
    1966 
    1967    [12]  <http://dpcarlisle.blogspot.com/2007/05/
     1952   [2]   <http://www.microsoft.com/downloads/
     1953         details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41>
     1954
     1955   [3]   <https://addons.mozilla.org/de/firefox/addon/722>
     1956
     1957   [4]   <https://bugzilla.mozilla.org/show_bug.cgi?id=22942>
     1958
     1959   [5]   <http://bugzilla.mozilla.org/show_bug.cgi?id=193678>
     1960
     1961   [6]   <https://addons.mozilla.org/firefox/2933/>
     1962
     1963   [7]   <http://microformats.org/wiki/hcard>
     1964
     1965   [8]   <http://www.w3.org/TR/2003/WD-xsl11-20031217/>
     1966
     1967   [9]   <http://www.antennahouse.com/>
     1968
     1969   [10]  <http://www.antennahouse.com/XSL20/axf-extension.htm>
     1970
     1971   [11]  <http://xml.apache.org/fop/>
     1972
     1973   [12]  <http://xep.xattic.com/>
     1974
     1975   [13]  <http://xep.xattic.com/xep/spec.html>
     1976
     1977   [14]  <http://www.thaiopensource.com/relaxng/jing.html>
     1978
     1979   [15]  <http://dpcarlisle.blogspot.com/2007/05/
    19681980         exslt-node-set-function.html>
    19691981
     
    19791991
    19801992
    1981 
    1982 
    1983 
    1984 
    1985 
    1986 
    1987 
    1988 
    1989 
    1990 
    1991 
    1992 
    19931993Reschke                                                        [Page 35]
    19941994
    19951995
    1996 Documentation             RFC2629 through XSLT                 June 2009
     1996Documentation             RFC2629 through XSLT               August 2009
    19971997
    19981998
     
    20002000
    20012001   The RelaxNG schema ([RNC]) below can be used to validate input
    2002    documents (for instance, with Jing [11]).
     2002   documents (for instance, with Jing [14]).
    20032003
    20042004   _Note that this is work in progress, and doesn't yet cover all
     
    20512051
    20522052
    2053 Documentation             RFC2629 through XSLT                 June 2009
     2053Documentation             RFC2629 through XSLT               August 2009
    20542054
    20552055
     
    21082108
    21092109
    2110 Documentation             RFC2629 through XSLT                 June 2009
     2110Documentation             RFC2629 through XSLT               August 2009
    21112111
    21122112
     
    21652165
    21662166
    2167 Documentation             RFC2629 through XSLT                 June 2009
     2167Documentation             RFC2629 through XSLT               August 2009
    21682168
    21692169
     
    22222222
    22232223
    2224 Documentation             RFC2629 through XSLT                 June 2009
     2224Documentation             RFC2629 through XSLT               August 2009
    22252225
    22262226
     
    22792279
    22802280
    2281 Documentation             RFC2629 through XSLT                 June 2009
     2281Documentation             RFC2629 through XSLT               August 2009
    22822282
    22832283
     
    23362336
    23372337
    2338 Documentation             RFC2629 through XSLT                 June 2009
     2338Documentation             RFC2629 through XSLT               August 2009
    23392339
    23402340
     
    23932393
    23942394
    2395 Documentation             RFC2629 through XSLT                 June 2009
     2395Documentation             RFC2629 through XSLT               August 2009
    23962396
    23972397
     
    24502450
    24512451
    2452 Documentation             RFC2629 through XSLT                 June 2009
     2452Documentation             RFC2629 through XSLT               August 2009
    24532453
    24542454
     
    25072507
    25082508
    2509 Documentation             RFC2629 through XSLT                 June 2009
     2509Documentation             RFC2629 through XSLT               August 2009
    25102510
    25112511
     
    25642564
    25652565
    2566 Documentation             RFC2629 through XSLT                 June 2009
    2567 
    2568 
    2569 Appendix C.  License
     2566Documentation             RFC2629 through XSLT               August 2009
     2567
     2568
     2569Appendix C.  Examples
     2570
     2571C.1.  Using the 'Internal Subset'
     2572
     2573   The prolog of the XML document can both be used to refer to an
     2574   external DTD, and also to define internal entities (Section 2.8 of
     2575   [XML]):
     2576
     2577   <?xml version="1.0"?>
     2578   <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
     2579
     2580   <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
     2581
     2582     <!-- use "&MAY;" for a BCP 14 "MAY", see Section 10.3 -->
     2583     <!ENTITY MAY
     2584     "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>">
     2585
     2586     <!-- re-declare "&nbsp;" as code point 160 (non-breaking space) -->
     2587     <!-- you may need this for UAs that do not read external DTDs -->
     2588     <!ENTITY nbsp
     2589     "&#160;">
     2590
     2591     <!-- allow later RFC2616 reference using "&rfc2616;" -->
     2592     <!ENTITY rfc2616 PUBLIC ''
     2593     "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml">
     2594
     2595   ]>
     2596
     2597C.2.  Customization
     2598
     2599   The XSLT code can be customized by creating a custom XSLT file that
     2600   uses <xsl:import> to include the original code, and just overrides
     2601   particular rules.
     2602
     2603
     2604
     2605
     2606
     2607
     2608
     2609
     2610
     2611
     2612
     2613
     2614
     2615
     2616
     2617
     2618
     2619
     2620Reschke                                                        [Page 46]
     2621
     2622
     2623Documentation             RFC2629 through XSLT               August 2009
     2624
     2625
     2626   For instance, the code below overrides several attributes in
     2627   "rfc2629toFO.xslt", changing the color, spacing and font family for
     2628   headers.
     2629
     2630   <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     2631                  version="1.0">
     2632
     2633     <xsl:import href="rfc2629toFO.xslt"/>
     2634
     2635     <xsl:attribute-set name="h1">
     2636       <xsl:attribute name="color">darkblue</xsl:attribute>
     2637       <xsl:attribute name="font-family">sans-serif</xsl:attribute>
     2638       <xsl:attribute name="space-before">24pt</xsl:attribute>
     2639     </xsl:attribute-set>
     2640
     2641     <xsl:attribute-set name="h2">
     2642       <xsl:attribute name="color">darkblue</xsl:attribute>
     2643       <xsl:attribute name="font-family">sans-serif</xsl:attribute>
     2644       <xsl:attribute name="space-before">18pt</xsl:attribute>
     2645       <xsl:attribute name="space-after">3pt</xsl:attribute>
     2646     </xsl:attribute-set>
     2647
     2648     <xsl:attribute-set name="h3">
     2649       <xsl:attribute name="color">darkblue</xsl:attribute>
     2650       <xsl:attribute name="font-family">sans-serif</xsl:attribute>
     2651       <xsl:attribute name="space-before">16pt</xsl:attribute>
     2652       <xsl:attribute name="space-after">2pt</xsl:attribute>
     2653     </xsl:attribute-set>
     2654
     2655   </xsl:transform>
     2656
     2657      Note: the name for the attribute sets may change in the future as
     2658      more working is done with respect to customizability.  In any
     2659      case, overriding the settings in a separate file will be easier to
     2660      maintain.  Please contact the author if you find yourself trying
     2661      to override style definitions that currently do not use attribute
     2662      sets.
     2663
     2664      Note: the CSS style information used in "rfc2629.xslt" can be
     2665      overriden in a similar (but less granular) way: just overwrite the
     2666      template called "insertCss".  As for XSL-FO, the class names may
     2667      change in future.
     2668
     2669
     2670
     2671
     2672
     2673
     2674
     2675
     2676
     2677Reschke                                                        [Page 47]
     2678
     2679
     2680Documentation             RFC2629 through XSLT               August 2009
     2681
     2682
     2683Appendix D.  License
    25702684
    25712685   Copyright (c) 2006-2009, Julian Reschke
     
    26182732
    26192733
    2620 Reschke                                                        [Page 46]
    2621 
    2622 
    2623 Documentation             RFC2629 through XSLT                 June 2009
    2624 
    2625 
    2626 Appendix D.  Change Logs
    2627 
    2628 D.1.  Package
     2734Reschke                                                        [Page 48]
     2735
     2736
     2737Documentation             RFC2629 through XSLT               August 2009
     2738
     2739
     2740Appendix E.  Change Logs
     2741
     2742E.1.  Package
    26292743
    26302744   2006-01-01  Switch to BSD License.
     
    26442758      changes, and for the x:boilerplate element.
    26452759
    2646 D.2.  amazon-asin.xslt
     2760   2009-07-08  Support new boilerplate ordering in RFCs published since
     2761      July 2009.  Fix problems with one-column text tables.
     2762
     2763   2009-07-19  When possible, calculate the actual Expiry date for
     2764      Internet Drafts (full date must be available).
     2765
     2766   2009-08-01  For '$xml2rfc-ext-authors-section='end'", move the index
     2767      in front of the authors section.
     2768
     2769   2009-08-04  Consider /rfc/@ipr="pre5378Trust200902" when producing
     2770      RFCs, not IDs.
     2771
     2772E.2.  amazon-asin.xslt
    26472773
    26482774   2003-11-16  Initial release.
     
    26502776   2005-04-02  Fix two DTD issues.
    26512777
    2652 D.3.  check-references.xslt
     2778E.3.  check-references.xslt
    26532779
    26542780   2003-11-16  Initial release.
     
    26572783
    26582784   2005-01-01  Add experimental check for ID status.
     2785
     2786
     2787
     2788
     2789
     2790
     2791Reschke                                                        [Page 49]
     2792
     2793
     2794Documentation             RFC2629 through XSLT               August 2009
     2795
    26592796
    26602797   2005-04-01  Add fixes from Bill Fenner.
     
    26702807   2007-01-04  Use information online at <http://tools.ietf.org/> to
    26712808      retrieve Internet-Draft status information.
    2672 
    2673 
    2674 
    2675 
    2676 
    2677 Reschke                                                        [Page 47]
    2678 
    2679 
    2680 Documentation             RFC2629 through XSLT                 June 2009
    2681 
    26822809
    26832810   2007-06-16  Fix bug looking up ref type when inside change markup.
     
    26922819      x:maturity-level attribute.
    26932820
    2694 D.4.  gen-reference-graph.xslt
     2821E.4.  gen-reference-graph.xslt
    26952822
    26962823   2006-09-03  New.
    26972824
    2698    2007-06-07  Use Carlisle method [12] to define exslt:node-set in
     2825   2007-06-07  Use Carlisle method [15] to define exslt:node-set in
    26992826      msxsml (which means that the stylesheet can now be used with MSXML
    27002827      as well).
     
    27022829   2007-10-15  Use W3C data from tr.rdf as well (experimental).
    27032830
    2704 D.5.  rfc2629.xslt
     2831E.5.  rfc2629.xslt
    27052832
    27062833   2001-03-28  Code rearranged, generate numbered section anchors for
     
    27142841   2001-10-07  Made telephone number links active.
    27152842
     2843
     2844
     2845
     2846
     2847
     2848Reschke                                                        [Page 50]
     2849
     2850
     2851Documentation             RFC2629 through XSLT               August 2009
     2852
     2853
    27162854   2001-10-08  Support for vspace element.
    27172855
     
    27262864   2001-12-17  Support title attribute on references element
    27272865
    2728 
    2729 
    2730 
    2731 
    2732 
    2733 
    2734 Reschke                                                        [Page 48]
    2735 
    2736 
    2737 Documentation             RFC2629 through XSLT                 June 2009
    2738 
    2739 
    27402866   2002-01-05  Support for list/@style="@format"
    27412867
     
    27712897      parts.
    27722898
     2899
     2900
     2901
     2902
     2903
     2904
     2905Reschke                                                        [Page 51]
     2906
     2907
     2908Documentation             RFC2629 through XSLT               August 2009
     2909
     2910
    27732911   2002-04-08  Fixed reference numbering when references are split into
    27742912      separate sections.
     
    27822920   2002-04-21  Make numbered list inside numbered lists use alphanumeric
    27832921      numbering.
    2784 
    2785 
    2786 
    2787 
    2788 
    2789 
    2790 
    2791 Reschke                                                        [Page 49]
    2792 
    2793 
    2794 Documentation             RFC2629 through XSLT                 June 2009
    2795 
    27962922
    27972923   2002-05-05  Updated issue/editing support.
     
    28272953   2003-04-19  fixed counting of list numbers in "format %" styles (one
    28282954      counter per unique format string).  Added more spanx styles.
     2955
     2956
     2957
     2958
     2959
     2960
     2961
     2962Reschke                                                        [Page 52]
     2963
     2964
     2965Documentation             RFC2629 through XSLT               August 2009
     2966
    28292967
    28302968   2003-05-02  experimental texttable support
     
    28432981      number paragraphs in unnumbered sections. update boilerplate
    28442982      texts. support for "iprnotified" PI. bugfix list numbering. strip
    2845 
    2846 
    2847 
    2848 Reschke                                                        [Page 50]
    2849 
    2850 
    2851 Documentation             RFC2629 through XSLT                 June 2009
    2852 
    2853 
    28542983      whitespace when building tel: URIs.
    28552984
     
    28823011
    28833012   2003-08-09  Generate HTML lang tag.
     3013
     3014
     3015
     3016
     3017
     3018
     3019Reschke                                                        [Page 53]
     3020
     3021
     3022Documentation             RFC2629 through XSLT               August 2009
     3023
    28843024
    28853025   2003-08-10  Map spanx/verb to HTML "samp" element.  Fix author name
     
    28973037      (borders, thead continuation).
    28983038
    2899 
    2900 
    2901 
    2902 
    2903 
    2904 
    2905 Reschke                                                        [Page 51]
    2906 
    2907 
    2908 Documentation             RFC2629 through XSLT                 June 2009
    2909 
    2910 
    29113039   2003-08-18  Add workaround for MSXML4 node-set and Mozilla node-set
    29123040      issues (fallback just displays are warning).
     
    29413069      001088.html>.
    29423070
     3071
     3072
     3073
     3074
     3075
     3076Reschke                                                        [Page 54]
     3077
     3078
     3079Documentation             RFC2629 through XSLT               August 2009
     3080
     3081
    29433082   2004-03-11  Add "(if approved)" to "updates" and "obsoletes" unless
    29443083      the document has an RFC number.
     
    29543093   2004-04-14  Fix references TOC generation when there are no
    29553094      references.
    2956 
    2957 
    2958 
    2959 
    2960 
    2961 
    2962 Reschke                                                        [Page 52]
    2963 
    2964 
    2965 Documentation             RFC2629 through XSLT                 June 2009
    2966 
    29673095
    29683096   2004-04-24  Fix RFC3667 output, see
     
    29983126   2004-09-21  Enhance checking of artwork width.
    29993127
     3128
     3129
     3130
     3131
     3132
     3133Reschke                                                        [Page 55]
     3134
     3135
     3136Documentation             RFC2629 through XSLT               August 2009
     3137
     3138
    30003139   2004-09-26  Add check for unused references.  Uppercase letters in
    30013140      list style letters when nested into another list.
     
    30103149
    30113150   2004-11-03  Enhanced placement of iref anchors.
    3012 
    3013 
    3014 
    3015 
    3016 
    3017 
    3018 
    3019 Reschke                                                        [Page 53]
    3020 
    3021 
    3022 Documentation             RFC2629 through XSLT                 June 2009
    3023 
    30243151
    30253152   2004-11-06  Index: display irefs that appeared (with primary=true)
     
    30593186      "Author's Adresses" fix.
    30603187
     3188
     3189
     3190Reschke                                                        [Page 56]
     3191
     3192
     3193Documentation             RFC2629 through XSLT               August 2009
     3194
     3195
    30613196   2005-02-25  Align section number format with xml2rfc1.29.
    30623197
     
    30683203      (fenner@research.att.com)
    30693204
    3070 
    3071 
    3072 
    3073 
    3074 
    3075 
    3076 Reschke                                                        [Page 54]
    3077 
    3078 
    3079 Documentation             RFC2629 through XSLT                 June 2009
    3080 
    3081 
    30823205   2005-04-11  Cleanup author display. hCard related fixes.
    30833206
     
    31183241      status" for non-RFC documents).  Start work on experimental
    31193242      extension for simplified internal links.
     3243
     3244
     3245
     3246
     3247Reschke                                                        [Page 57]
     3248
     3249
     3250Documentation             RFC2629 through XSLT               August 2009
     3251
    31203252
    31213253   2006-03-19  Tweaks to IESG Copyright stuff; support submissionType
     
    31263258      namespace "http://purl.org/net/xml2rfc/ext".
    31273259
    3128 
    3129 
    3130 
    3131 
    3132 
    3133 Reschke                                                        [Page 55]
    3134 
    3135 
    3136 Documentation             RFC2629 through XSLT                 June 2009
    3137 
    3138 
    31393260   2006-03-27  Moved "simple reference" extension into namespace
    31403261      "http://purl.org/net/xml2rfc/ext" and add documentation.  HTML
     
    31763297      of just fragments.
    31773298
     3299
     3300
     3301
     3302
     3303
     3304Reschke                                                        [Page 58]
     3305
     3306
     3307Documentation             RFC2629 through XSLT               August 2009
     3308
     3309
    31783310   2006-08-30  Reduce textual differences between HTML output and what
    31793311      xml2rfc produces in TXT output mode (section refs/reference
     
    31853317      references for deleted references.  Allow inclusion of references
    31863318      into the index (through include-references-in-index extension).
    3187 
    3188 
    3189 
    3190 Reschke                                                        [Page 56]
    3191 
    3192 
    3193 Documentation             RFC2629 through XSLT                 June 2009
    3194 
    3195 
    31963319      Fix a bug that caused the newer version of the IETF boilerplate to
    31973320      be produced rather than the pre-RFC3667 one.  Update to RFC4287
     
    32303353   2007-05-04  Do not generate anchors for edits in deleted sections.
    32313354      Enhance HTML conformance.
     3355
     3356
     3357
     3358
     3359
     3360
     3361Reschke                                                        [Page 59]
     3362
     3363
     3364Documentation             RFC2629 through XSLT               August 2009
     3365
    32323366
    32333367   2007-05-19  Enhance diagnostics when using Saxon (needs Saxon's "-l"
     
    32413375      contain a file extension.
    32423376
    3243 
    3244 
    3245 
    3246 
    3247 Reschke                                                        [Page 57]
    3248 
    3249 
    3250 Documentation             RFC2629 through XSLT                 June 2009
    3251 
    3252 
    32533377   2007-06-26  Workaround author/@initials values without trailing dot,
    32543378      as in xml2rfc.tcl.
     
    32863410   2008-03-01  Use line numbers in diagnostics in Saxon8/9 as well.
    32873411
     3412
     3413
     3414
     3415
     3416
     3417
     3418Reschke                                                        [Page 60]
     3419
     3420
     3421Documentation             RFC2629 through XSLT               August 2009
     3422
     3423
    32883424   2008-03-02  Fix a bug in the logic choosing the boilerplate,
    32893425      resulting in obsolete text being inserted into IDs.
     
    32963432   2008-07-06  Add x:abnf-char-sequence.
    32973433
    3298 
    3299 
    3300 
    3301 
    3302 
    3303 
    3304 Reschke                                                        [Page 58]
    3305 
    3306 
    3307 Documentation             RFC2629 through XSLT                 June 2009
    3308 
    3309 
    33103434   2008-08-21  Add x:note.
    33113435
     
    33273451   2009-04-09  Upgrade to DC-HTML from RFC 2731 (affects head/@profile).
    33283452
    3329 D.6.  rfc2629toFO.xslt
     3453   2009-07-08  Remove table/@summary in output; the value getting
     3454      inserted was just repeating stuff that appeared in the preamble.
     3455
     3456   2009-08-01  Implement table alignment (HTML output only for now).
     3457
     3458E.6.  rfc2629toFO.xslt
    33303459
    33313460   2003-11-16  Initial release.
     
    33393468      generation by using XEP (postprocessors) will convert.
    33403469
     3470
     3471
     3472
     3473
     3474
     3475Reschke                                                        [Page 61]
     3476
     3477
     3478Documentation             RFC2629 through XSLT               August 2009
     3479
     3480
    33413481   2004-04-20  Add experimental cref support.
    33423482
     
    33553495      whitespace handling in artwork.
    33563496
    3357 
    3358 
    3359 
    3360 
    3361 Reschke                                                        [Page 59]
    3362 
    3363 
    3364 Documentation             RFC2629 through XSLT                 June 2009
    3365 
    3366 
    33673497   2004-11-27  Irefs in artwork generate monospaced entries in index.
    33683498
     
    33913521      double-sided printing.
    33923522
    3393 D.7.  xsl11toAn.xslt
     3523   2009-08-01  Remove surplus empty pages when not generating double-
     3524      sided output.
     3525
     3526
     3527
     3528
     3529
     3530
     3531
     3532Reschke                                                        [Page 62]
     3533
     3534
     3535Documentation             RFC2629 through XSLT               August 2009
     3536
     3537
     3538E.7.  xsl11toAn.xslt
    33943539
    33953540   2004-05-17  Initial release.
     
    33973542   2006-06-02  Use XSL 1.1 WD Feb 2006.
    33983543
    3399 D.8.  xsl11toFop.xslt
     3544E.8.  xsl11toFop.xslt
    34003545
    34013546   2004-05-17  Initial release.
     
    34033548   2006-06-02  Use XSL 1.1 WD Feb 2006.
    34043549
    3405 D.9.  xsl11toFop-0.93.xslt
     3550E.9.  xsl11toFop-0.93.xslt
    34063551
    34073552   2008-03-15  Add a workaround to the fo:inline workaround (sigh).
    34083553
    3409 D.10.  xsl11toXep.xslt
    3410 
    3411 
    3412 
    3413 
    3414 
    3415 
    3416 
    3417 
    3418 Reschke                                                        [Page 60]
    3419 
    3420 
    3421 Documentation             RFC2629 through XSLT                 June 2009
    3422 
     3554E.10.  xsl11toXep.xslt
    34233555
    34243556   2004-05-17  Initial release.
     
    34553587
    34563588
    3457 
    3458 
    3459 
    3460 
    3461 
    3462 
    3463 
    3464 
    3465 
    3466 
    3467 
    3468 
    3469 
    3470 
    3471 
    3472 
    3473 
    3474 
    3475 Reschke                                                        [Page 61]
    3476 
    3477 
    3478 Documentation             RFC2629 through XSLT                 June 2009
     3589Reschke                                                        [Page 63]
     3590
     3591
     3592Documentation             RFC2629 through XSLT               August 2009
    34793593
    34803594
     
    35303644
    35313645
    3532 Reschke                                                        [Page 62]
    3533 
    3534 
    3535 Documentation             RFC2629 through XSLT                 June 2009
     3646Reschke                                                        [Page 64]
     3647
     3648
     3649Documentation             RFC2629 through XSLT               August 2009
    35363650
    35373651
     
    35803694   F
    35813695      Firefox
    3582          1.*/2.*  14
     3696         1.*/2.*  15
    35833697         3.*  14
    35843698      footer PI pseudo-attribute  6
     
    35873701
    35883702
    3589 Reschke                                                        [Page 63]
    3590 
    3591 
    3592 Documentation             RFC2629 through XSLT                 June 2009
     3703Reschke                                                        [Page 65]
     3704
     3705
     3706Documentation             RFC2629 through XSLT               August 2009
    35933707
    35943708
     
    36443758
    36453759
    3646 Reschke                                                        [Page 64]
    3647 
    3648 
    3649 Documentation             RFC2629 through XSLT                 June 2009
     3760Reschke                                                        [Page 66]
     3761
     3762
     3763Documentation             RFC2629 through XSLT               August 2009
    36503764
    36513765
    36523766   M
    36533767      Microsoft Help  19
    3654       Mozilla  14
     3768      Mozilla  14-15
    36553769      MSXML3  14
    36563770      MSXML4  14
     
    36583772   N
    36593773      needLines PI pseudo-attribute  7
     3774      NoScript  14
    36603775      note Extension Element  25, 36
    36613776
     
    36973812         background  6
    36983813         comments  6
     3814
     3815
     3816
     3817Reschke                                                        [Page 67]
     3818
     3819
     3820Documentation             RFC2629 through XSLT               August 2009
     3821
     3822
    36993823         compact  6
    3700 
    3701 
    3702 
    3703 Reschke                                                        [Page 65]
    3704 
    3705 
    3706 Documentation             RFC2629 through XSLT                 June 2009
    3707 
    3708 
    37093824         duplex  8
    37103825         editing  6
     
    37543869      rfc.references anchor  13
    37553870      rfc.references.n anchor  13
     3871
     3872
     3873
     3874Reschke                                                        [Page 68]
     3875
     3876
     3877Documentation             RFC2629 through XSLT               August 2009
     3878
     3879
    37563880      rfc.section.n anchor  13
    3757 
    3758 
    3759 
    3760 Reschke                                                        [Page 66]
    3761 
    3762 
    3763 Documentation             RFC2629 through XSLT                 June 2009
    3764 
    3765 
    37663881      rfc.section.n.p.m anchor  13
    37673882      rfc.status anchor  13
     
    38113926      xml2rfc-header parameter  6
    38123927      xml2rfc-inline parameter  6
     3928
     3929
     3930
     3931Reschke                                                        [Page 69]
     3932
     3933
     3934Documentation             RFC2629 through XSLT               August 2009
     3935
     3936
    38133937      xml2rfc-iprnotified parameter  6
    3814 
    3815 
    3816 
    3817 Reschke                                                        [Page 67]
    3818 
    3819 
    3820 Documentation             RFC2629 through XSLT                 June 2009
    3821 
    3822 
    38233938      xml2rfc-linkmailto parameter  6
    38243939      xml2rfc-private parameter  6
     
    38713986
    38723987
    3873 
    3874 Reschke                                                        [Page 68]
    3875 
    3876 
    3877 Documentation             RFC2629 through XSLT                 June 2009
     3988Reschke                                                        [Page 70]
     3989
     3990
     3991Documentation             RFC2629 through XSLT               August 2009
    38783992
    38793993
     
    39294043
    39304044
    3931 Reschke                                                        [Page 69]
    3932 
    3933 
     4045Reschke                                                        [Page 71]
     4046
     4047
  • rfc2629xslt/rfc2629xslt.xml

    r599 r662  
    3030        </author>
    3131     
    32     <date month="June" year="2009"/>
     32    <date month="August" year="2009"/>
    3333
    3434    <keyword>RFC2629</keyword>
     
    6969<t>
    7070  <spanx style="verb">rfc2629.xslt</spanx> supports both all RFC2629 grammar elements and the extensions
    71   implemented in xml2rfc 1.21.
     71  implemented in xml2rfc 1.33.
    7272</t>
    7373<section title="Extension elements">
     
    105105java -cp saxon.jar com.icl.saxon.StyleSheet source.xml rfc2629.xslt \
    106106  xml2rfc-toc=yes xml2rfc-ext-support-rfc2731=no > result.html
    107 </artwork>
    108 </figure>
     107</artwork></figure>
    109108<figure>
    110109<preamble>Using XSLT parameters (xsltproc):</preamble>
     
    232231  <c>rfc</c>
    233232  <c>include<iref item="include PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="include"/></c>
    234   <c>incompatible with XML/XSLT processing model</c>
     233  <c>incompatible with XML/XSLT processing model, please use external entities instead</c>
    235234
    236235  <c>rfc</c>
     
    373372  The following XSLT engines are believed to work well:
    374373  <list style="symbols">
    375     <t><iref item="MSXML3"/><iref item="MSXML4"/>MSXML3 and MSXML4 (<eref target="http://msdn.microsoft.com/xml"/>; these processors
    376     do not support exsl:node-set(), but have a similar proprietary extension)</t>
    377     <t><iref item="Saxon"/>Saxon (<eref target="http://saxon.sourceforge.net/"/>)</t>
    378     <t><iref item="Xalan"/>Xalan (<eref target="http://xml.apache.org/xalan-j/"/>)</t>
    379     <t><iref item="xsltproc"/>xsltproc (libxslt) (<eref target="http://xmlsoft.org/XSLT/"/>, make sure that you
     374    <t>Windows: <iref item="MSXML3"/><iref item="MSXML4"/>MSXML3 and MSXML4 (<eref target="http://msdn.microsoft.com/xml"/>;
     375      command line processor "msxsl" is available from <eref target="http://www.microsoft.com/downloads/details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41">Microsoft Download Center</eref>)</t>
     376    <t>Java: <iref item="Saxon"/>Saxon (<eref target="http://saxon.sourceforge.net/"/>)</t>
     377    <t>Java: <iref item="Xalan"/>Xalan (<eref target="http://xml.apache.org/xalan-j/"/>)</t>
     378    <t>C/C++: <iref item="xsltproc"/>xsltproc (libxslt) (<eref target="http://xmlsoft.org/XSLT/"/>, make sure that you
    380379    have a current version)</t>
    381380  </list>
     
    383382</section>
    384383
    385 <section title="In-Browser Engines">
     384<section title="In-Browser Engines" anchor="xslt.engines.browser">
    386385<t>
    387386  The following browsers seem to work fine:
    388387  <list style="symbols">
    389     <t><iref item="Internet Explorer 5.5"/>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</t>
    390     <t><iref item="Internet Explorer 6"/>Internet Explorer 6</t>
    391     <t><iref item="Internet Explorer 7"/>Internet Explorer 7</t>
    392     <t><iref item="Internet Explorer 8"/>Internet Explorer 8</t>
    393     <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.0</t>
    394     <t><iref item="Safari"/><iref item="Safari" subitem="3.*"/>Safari 3 (starting with version 3.0.4)</t>
    395     <t><iref item="Google Chrome"/>Google Chrome (beta available)</t>
    396     <t><iref item="Opera"/>Opera 10 (alpha version available)</t>
     388    <x:lt>
     389      <t><iref item="Internet Explorer 5.5"/>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</t>
     390    </x:lt>
     391    <x:lt>
     392      <t><iref item="Internet Explorer 6"/><iref item="Internet Explorer 7"/><iref item="Internet Explorer 8"/>Internet Explorer 6 and newer</t>
     393    </x:lt>
     394    <x:lt>
     395      <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.0 and newer</t>
     396      <t>
     397        <list style="symbols">
     398          <t>Be aware that XSLT execution can be suppressed using <iref item="NoScript"/><eref target="https://addons.mozilla.org/de/firefox/addon/722">NoScript</eref></t>
     399          <t>Firefox does not load external DTDs, see <eref target="https://bugzilla.mozilla.org/show_bug.cgi?id=22942">Mozilla Bug 22942</eref>, thus entities
     400          like &amp;nbsp; need to be declared in the internal subset (<xref target="examples.internalsubset"/>)</t>
     401        </list>
     402      </t>
     403    </x:lt>
     404    <x:lt>
     405      <t><iref item="Safari"/><iref item="Safari" subitem="3.*"/>Safari 3 (starting with version 3.0.4)</t>
     406    </x:lt>
     407    <x:lt>
     408      <t><iref item="Google Chrome"/>Google Chrome (beta available)</t>
     409    </x:lt>
     410    <x:lt>
     411      <t><iref item="Opera"/>Opera 10 (beta version available)</t>
     412    </x:lt>
    397413  </list>
    398414</t>
     
    581597  some popular extensions aren't standardized yet, the translation produces
    582598  a generic output (hopefully) conforming to <xref target="XSL-FO"/>.
    583   Specific backends (<spanx style="verb">xsl11toFop.xslt</spanx>,
     599  Specific backends (<spanx style="verb">xsl11toFop-0.95xslt</spanx>,
    584600  <spanx style="verb">xsl11toXep.xslt</spanx>, <spanx style="verb">xsl11toAn.xslt</spanx>)
    585601  then provide post-processing for the individual processors.
     
    632648<artwork type="example">
    633649saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo
    634 saxon tmp.fo xsl11toFop.xslt > rfc2629.fo
     650saxon tmp.fo xsl11toFop-0.95.xslt > rfc2629.fo
    635651</artwork>
    636652</figure>
     
    16811697  <seriesInfo name='RFC' value='4897' />
    16821698</reference>
     1699
     1700<reference anchor="XML" target="http://www.w3.org/TR/2008/REC-xml-20081126/">
     1701  <front>
     1702    <title>Extensible Markup Language (XML) 1.0 (Fifth Edition)</title>
     1703    <author initials="T." surname="Bray" fullname="Tim Bray">
     1704      <organization>Textuality and Netscape</organization>
     1705      <address>
     1706        <email>tbray@textuality.com</email>
     1707      </address>
     1708    </author>
     1709    <author initials="J." surname="Paoli" fullname="Jean Paoli">
     1710      <organization>Microsoft</organization>
     1711      <address>
     1712        <email>jeanpa@microsoft.com</email>
     1713      </address>
     1714    </author>
     1715    <author initials="C.M." surname="Sperberg-McQueen" fullname="C. M. Sperberg-McQueen">
     1716      <organization>W3C</organization>
     1717      <address>
     1718        <email>cmsmcq@w3.org</email>
     1719      </address>
     1720    </author>
     1721    <author initials="E." surname="Maler" fullname="Eve Maler">
     1722      <organization>Sun Microsystems</organization>
     1723      <address>
     1724        <email>eve.maler@east.sun.com</email>
     1725      </address>
     1726    </author>
     1727    <author initials="F." surname="Yergeau" fullname="Francois Yergeau">
     1728      <organization/>
     1729    </author>
     1730    <date day="26" month="November" year="2008"/>
     1731  </front>
     1732  <seriesInfo name="W3C" value="REC-xml-20081126"/>
     1733</reference>
    16831734</references>
    16841735
     
    21722223  </section>
    21732224 
     2225  <section title="Examples" anchor="examples">
     2226
     2227  <section title="Using the 'Internal Subset'" anchor="examples.internalsubset">
     2228  <t>
     2229    The prolog of the XML document can both be used to refer to an external
     2230    DTD, and also to define internal entities (<xref target="XML" x:fmt="of" x:sec="2.8" x:rel="#sec-prolog-dtd"/>):
     2231  </t>
     2232  <figure><artwork type="example">
     2233&lt;?xml version="1.0"?>
     2234&lt;?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
     2235
     2236&lt;!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
     2237
     2238  &lt;!-- <spanx>use "&amp;MAY;" for a BCP 14 "MAY", see <xref target="ext.element.bcp14"/></spanx> -->
     2239  &lt;!ENTITY MAY
     2240  "&lt;bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY&lt;/bcp14>">
     2241
     2242  &lt;!-- <spanx>re-declare "&amp;nbsp;" as code point 160 (non-breaking space)</spanx> -->
     2243  &lt;!-- <spanx>you may need this for UAs that do not read external DTDs</spanx> -->
     2244  &lt;!ENTITY nbsp
     2245  "&amp;#160;">
     2246
     2247  &lt;!-- <spanx>allow later RFC2616 reference using "&amp;rfc2616;"</spanx> -->
     2248  &lt;!ENTITY rfc2616 PUBLIC ''
     2249  "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml">
     2250
     2251]>
     2252</artwork></figure>
     2253 
     2254  </section>
     2255
     2256  <section title="Customization" anchor="examples.customizing">
     2257  <t>
     2258    The XSLT code can be customized by creating a custom XSLT file that
     2259    uses &lt;xsl:import> to include the original code, and just overrides
     2260    particular rules.
     2261  </t>
     2262  <figure>
     2263  <preamble>For instance, the code below overrides several attributes in
     2264  <spanx style="verb">rfc2629toFO.xslt</spanx>, changing the color, spacing and font family for
     2265  headers.</preamble>
     2266  <artwork type="example">
     2267&lt;xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     2268               version="1.0">
     2269
     2270  &lt;xsl:import href="rfc2629toFO.xslt"/>
     2271 
     2272  &lt;xsl:attribute-set name="h1">
     2273    &lt;xsl:attribute name="color">darkblue&lt;/xsl:attribute>
     2274    &lt;xsl:attribute name="font-family">sans-serif&lt;/xsl:attribute>
     2275    &lt;xsl:attribute name="space-before">24pt&lt;/xsl:attribute>
     2276  &lt;/xsl:attribute-set>
     2277 
     2278  &lt;xsl:attribute-set name="h2">
     2279    &lt;xsl:attribute name="color">darkblue&lt;/xsl:attribute>
     2280    &lt;xsl:attribute name="font-family">sans-serif&lt;/xsl:attribute>
     2281    &lt;xsl:attribute name="space-before">18pt&lt;/xsl:attribute>
     2282    &lt;xsl:attribute name="space-after">3pt&lt;/xsl:attribute>
     2283  &lt;/xsl:attribute-set>
     2284 
     2285  &lt;xsl:attribute-set name="h3">
     2286    &lt;xsl:attribute name="color">darkblue&lt;/xsl:attribute>
     2287    &lt;xsl:attribute name="font-family">sans-serif&lt;/xsl:attribute>
     2288    &lt;xsl:attribute name="space-before">16pt&lt;/xsl:attribute>
     2289    &lt;xsl:attribute name="space-after">2pt&lt;/xsl:attribute>
     2290  &lt;/xsl:attribute-set>
     2291
     2292&lt;/xsl:transform>
     2293</artwork></figure>
     2294<x:note>
     2295  <t>
     2296    <x:h>Note:</x:h> the name for the attribute sets may change in the future
     2297    as more working is done with respect to customizability. In any case,
     2298    overriding the settings in a separate file will be easier to maintain.
     2299    Please contact the author if you find yourself trying to override style
     2300    definitions that currently do not use attribute sets.
     2301  </t>
     2302  <t>
     2303    <x:h>Note:</x:h> the CSS style information used in <spanx style="verb">rfc2629.xslt</spanx>
     2304    can be overriden in a similar (but less granular) way: just overwrite the
     2305    template called "insertCss". As for XSL-FO, the class names may change in
     2306    future.
     2307  </t>
     2308</x:note>
     2309
     2310
     2311  </section>
     2312
     2313  </section>
     2314 
    21742315  <section title="License" anchor="license">
    21752316  <t>
     
    22192360    Experimental support for February 2009 boilerplate changes, and for
    22202361    the x:boilerplate element.
     2362</t>
     2363<t hangText="2009-07-08">
     2364    Support new boilerplate ordering in RFCs published since July 2009.
     2365    Fix problems with one-column text tables.
     2366</t>
     2367<t hangText="2009-07-19">
     2368    When possible, calculate the actual Expiry date for Internet Drafts
     2369    (full date must be available).
     2370</t>
     2371<t hangText="2009-08-01">
     2372    For '$xml2rfc-ext-authors-section='end'", move the index in front of the
     2373    authors section.
     2374</t>
     2375<t hangText="2009-08-04">
     2376    Consider /rfc/@ipr="pre5378Trust200902" when producing RFCs, not IDs.
    22212377</t>
    22222378      </list></t>
     
    28993055  Upgrade to DC-HTML from RFC 2731 (affects head/@profile).
    29003056</t>
     3057<t hangText="2009-07-08">
     3058  Remove table/@summary in output; the value getting inserted was just
     3059  repeating stuff that appeared in the preamble.
     3060</t>
     3061<t hangText="2009-08-01">
     3062  Implement table alignment (HTML output only for now).
     3063</t>
    29013064      </list></t>
    29023065    </section>
     
    29753138    Fix spacing in headers; add support for formatting for double-sided printing.
    29763139</t>
     3140<t hangText="2009-08-01">
     3141    Remove surplus empty pages when not generating double-sided output.
     3142</t>
    29773143     </list></t>
    29783144    </section>
  • rfc2629xslt/testcase.html

    r599 r662  
    156156  border-width: 1px;
    157157}
     158table.left {
     159  margin-right: auto;
     160}
     161table.right {
     162  margin-left: auto;
     163}
     164table.center {
     165  margin-left: auto;
     166  margin-right: auto;
     167}
    158168caption {
    159169  caption-side: bottom;
     
    234244  margin-left: 0em;
    235245  margin-right: 0em;
     246}
     247.avoidbreak {
     248  page-break-inside: avoid;
    236249}
    237250
     
    333346  }
    334347  @top-right {
    335        content: "May 2009";
     348       content: "August 2009";
    336349  }
    337350  @top-center {
     
    360373    }
    361374}
    362 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" title="12 Other" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.439, 2009-06-09 18:43:39, 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">May 2009</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">example from xml2rc README</a></li><li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">no column titles</a></li><li class="tocline1">3.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.5">referencing tables</a></li><li class="tocline1">3.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.6">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><li class="tocline1">4.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.5">SVG</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;spanx&gt; element</a></li><li class="tocline1">5.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref to named &lt;t&gt; element inside list</a></li><li class="tocline1">5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref to named &lt;cref&gt; element</a></li><li class="tocline1">5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref to named &lt;t&gt; element inside list</a></li><li class="tocline1">5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with no auto-formatting</a></li><li class="tocline1">5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">xref with content and auto-formatting</a></li><li class="tocline1">5.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.10">xref with content and no formatting</a></li><li class="tocline1">5.11&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.11">xref with content and 'none' formatting</a></li><li class="tocline1">5.12&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.12">xref with no content and anchor formatting</a></li><li class="tocline1">5.13&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.13">eref with no content</a></li><li class="tocline1">5.14&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.14">eref with content</a></li><li class="tocline1">5.15&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.15">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.section.12">Other</a><ul class="toc"><li class="tocline1">12.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.1">Comments in Text</a></li></ul></li><li class="tocline0">13.&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"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></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;example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table summary="So,&#xA;           putting it all together, we have, e.g.," class="tt full" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table summary="The table below should appear with no titles." class="tt full" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table summary="The table below should appear with column titles (one being non-empty)." class="tt full" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a>&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.5"><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"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table></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>  +--+
     375</style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" title="12 Other" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.447, 2009-08-04 19:54:03, 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">August 2009</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">example from xml2rc README</a></li><li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">no column titles</a></li><li class="tocline1">3.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.5">referencing tables</a></li><li class="tocline1">3.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.6">table captions</a></li><li class="tocline1">3.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.7">single column</a></li><li class="tocline1">3.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.8">table alignment</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><li class="tocline1">4.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.5">SVG</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="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.2">xref to named &lt;t&gt; element</a></li><li class="tocline1">5.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;spanx&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 to named &lt;cref&gt; element</a></li><li class="tocline1">5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref to named &lt;t&gt; element inside list</a></li><li class="tocline1">5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with no auto-formatting</a></li><li class="tocline1">5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with content and auto-formatting</a></li><li class="tocline1">5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">xref with content and no formatting</a></li><li class="tocline1">5.10&nbsp;&nbsp;&nbsp;<a href="#formatting.none">xref with content and 'none' formatting</a></li><li class="tocline1">5.11&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.11">xref with no content and anchor formatting</a></li><li class="tocline1">5.12&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.12">eref with no content</a></li><li class="tocline1">5.13&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.13">eref with content</a></li><li class="tocline1">5.14&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.14">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.section.12">Other</a><ul class="toc"><li class="tocline1">12.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.12.1">Comments in Text</a></li></ul></li><li class="tocline0">13.&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 class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td>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 class="tt none center" cellpadding="3" cellspacing="0"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></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 class="tt headers center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>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;example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a>&nbsp;referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a>&nbsp;table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.5"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table></div><h2 id="rfc.section.3.7"><a href="#rfc.section.3.7">3.7</a>&nbsp;single column</h2><div id="rfc.table.u.4"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">title</th></tr></thead><tbody><tr><td>1</td></tr><tr><td>2</td></tr></tbody></table></div><h2 id="rfc.section.3.8"><a href="#rfc.section.3.8">3.8</a>&nbsp;table alignment</h2><div id="rfc.table.u.5"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th class="left">left</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table></div><div id="rfc.table.u.6"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">center</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table></div><div id="rfc.table.u.7"><table class="tt full right" cellpadding="3" cellspacing="0"><thead><tr><th class="left">right</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table></div><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">default</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table></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>  +--+
    363376  |  |
    364377  +--+
     
    368381</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)
    369382   </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><h2 id="rfc.section.4.5"><a href="#rfc.section.4.5">4.5</a>&nbsp;SVG</h2><p id="rfc.section.4.5.p.1">Inclusion of SVG:</p><div id="rfc.figure.u.8"></div><p><object data="testcase.svg" type="image/svg+xml" width="476" height="332">  Fallback content for UAs that do not support SVG.
    370 </object></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">With content: see <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><p id="rfc.section.5.3.p.2">Without content: see <a href="#xref.with.no.content.first.sentence">Paragraph&nbsp;1</a>.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a>&nbsp;xref to named &lt;spanx&gt; element</h2><p id="rfc.section.5.4.p.1"> <em id="spanx.anchor">With content</em>: see <a href="#spanx.anchor">this sentence</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a>&nbsp;xref to named &lt;t&gt; element inside list</h2><p id="rfc.section.5.5.p.1">With content: see <a href="#listelement.anchor">first element in list below</a>.</p><p id="rfc.section.5.5.p.2"> </p><dl><dt id="listelement.anchor">test</dt><dd>Test</dd></dl><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a>&nbsp;xref to named &lt;cref&gt; element</h2><p id="rfc.section.5.6.p.1">With content: see <a href="#comment-test">test comment</a>.</p><p id="rfc.section.5.6.p.2">Without content: see <a href="#comment-test">Comment&nbsp;comment-test</a>.</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a>&nbsp;xref to named &lt;t&gt; element inside list</h2><p id="rfc.section.5.7.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.8"><a href="#rfc.section.5.8">5.8</a>&nbsp;xref with no auto-formatting</h2><p id="rfc.section.5.8.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.9"><a href="#rfc.section.5.9">5.9</a>&nbsp;xref with content and auto-formatting</h2><p id="rfc.section.5.9.p.1">This is a subsection of References (<a href="#refs" title="References">Section&nbsp;5</a>).</p><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a>&nbsp;xref with content and no formatting</h2><p id="rfc.section.5.10.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.11"><a href="#rfc.section.5.11">5.11</a>&nbsp;xref with content and 'none' formatting</h2><p id="rfc.section.5.11.p.1">Here we are referring to <a href="#RFC2026">RFC 2026</a>, without emitting extra formatting.</p><h2 id="rfc.section.5.12"><a href="#rfc.section.5.12">5.12</a>&nbsp;xref with no content and anchor formatting</h2><p id="rfc.section.5.12.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.4"><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.13"><a href="#rfc.section.5.13">5.13</a>&nbsp;eref with no content</h2><p id="rfc.section.5.13.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.14"><a href="#rfc.section.5.14">5.14</a>&nbsp;eref with content</h2><p id="rfc.section.5.14.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.15"><a href="#rfc.section.5.15">5.15</a>&nbsp;iref inside paragraph</h2><p id="rfc.section.5.15.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="#comment-test">comment-test</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.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source, but embedded markup: <&gt;.">[<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.9"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p>  <pre>012345678901234567890123456789012345678901234567890123456789012345678
     383</object></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;<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.1.p.1"> <a href="#refs" title="References">Section&nbsp;5</a> is the parent section.</p></div><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a>&nbsp;xref to named &lt;t&gt; element</h2><p id="rfc.section.5.2.p.1">With content: see <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><p id="rfc.section.5.2.p.2">Without content: see <a href="#xref.with.no.content.first.sentence">Paragraph&nbsp;1</a>.</p><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a>&nbsp;xref to named &lt;spanx&gt; element</h2><p id="rfc.section.5.3.p.1"> <em id="spanx.anchor">With content</em>: see <a href="#spanx.anchor">this sentence</a>.</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">With content: see <a href="#listelement.anchor">first element in list below</a>.</p><p id="rfc.section.5.4.p.2"> </p><dl><dt id="listelement.anchor">test</dt><dd>Test</dd></dl><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a>&nbsp;xref to named &lt;cref&gt; element</h2><p id="rfc.section.5.5.p.1">With content: see <a href="#comment-test">test comment</a>.</p><p id="rfc.section.5.5.p.2">Without content: see <a href="#comment-test">Comment&nbsp;comment-test</a>.</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a>&nbsp;xref to named &lt;t&gt; element inside list</h2><p id="rfc.section.5.6.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.7"><a href="#rfc.section.5.7">5.7</a>&nbsp;xref with no auto-formatting</h2><p id="rfc.section.5.7.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.8"><a href="#rfc.section.5.8">5.8</a>&nbsp;xref with content and auto-formatting</h2><p id="rfc.section.5.8.p.1">This is a subsection of References (<a href="#refs" title="References">Section&nbsp;5</a>).</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a>&nbsp;xref with content and no formatting</h2><p id="rfc.section.5.9.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.10"><a href="#rfc.section.5.10">5.10</a>&nbsp;<a id="formatting.none" href="#formatting.none">xref with content and 'none' formatting</a></h2><p id="rfc.section.5.10.p.1">Here we are referring to <a href="#RFC2026">RFC 2026</a>, without emitting extra formatting.</p><p id="rfc.section.5.10.p.2">Here we are referring to <a href="#formatting.none">this Section</a>, without emitting extra formatting.</p><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a>&nbsp;xref with no content and anchor formatting</h2><p id="rfc.section.5.11.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.4"><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.12"><a href="#rfc.section.5.12">5.12</a>&nbsp;eref with no content</h2><p id="rfc.section.5.12.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.13"><a href="#rfc.section.5.13">5.13</a>&nbsp;eref with content</h2><p id="rfc.section.5.13.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.14"><a href="#rfc.section.5.14">5.14</a>&nbsp;iref inside paragraph</h2><p id="rfc.section.5.14.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="#comment-test">comment-test</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.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source, but embedded markup: <&gt;.">[<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.9"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p>  <pre>012345678901234567890123456789012345678901234567890123456789012345678
    371384</pre> <div id="rfc.figure.u.10"></div> <p>This shouldn't.</p>  <pre>0123456789012345678901234567890123456789012345678901234567890123456789
    372385</pre> <div id="rfc.figure.u.11"></div><pre>(IN TEXT OUTPUT INDENTED BY 10)
     
    402415  &#9492;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9472;&#9496;
    403416  </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.17"></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
    404 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: Appendix ERROR: Anchor 'a-target-that-isnt-defined' not found in testcase.xml. (at line 745) of <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.18"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"
     417</pre><p id="rfc.section.10.6.p.4">With a broken anchor: Appendix ERROR: Anchor 'a-target-that-isnt-defined' not found in testcase.xml. (at line 771) of <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.18"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"
    405418case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    406419case-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
     
    416429      </dt><dd>No anchor, no source.</dd><dt id="rfc.comment.2">
    417430        [rfc.comment.2]
    418       </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.15</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.10</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.11</a>, <a class="iref" href="#rfc.xref.RFC2026.4">5.12</a>, <a class="iref" href="#RFC2026"><b>13</b></a></li><li class="indline1"><em>RFC2396</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2396.1">5.12</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>13</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>13</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>
     431      </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"><div class="avoidbreak"><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></div><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.14</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.9</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.10</a>, <a class="iref" href="#rfc.xref.RFC2026.4">5.11</a>, <a class="iref" href="#RFC2026"><b>13</b></a></li><li class="indline1"><em>RFC2396</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2396.1">5.11</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>13</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>13</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

    r588 r662  
    3131        </author>
    3232     
    33     <date month="May" year="2009"/>
     33    <date month="August" year="2009"/>
    3434    <keyword>RFC2629</keyword>
    3535    <keyword>test case</keyword>
     
    375375</section>
    376376
     377
     378<section title="single column">
     379<texttable>
     380<ttcol>title</ttcol>
     381<c>1</c>
     382<c>2</c>
     383</texttable>
     384</section>
     385
     386<section title="table alignment">
     387<texttable align="left">
     388<ttcol>left</ttcol>
     389<c>1</c>
     390</texttable>
     391<texttable align="center">
     392<ttcol>center</ttcol>
     393<c>1</c>
     394</texttable>
     395<texttable align="right">
     396<ttcol>right</ttcol>
     397<c>1</c>
     398</texttable>
     399<texttable>
     400<ttcol>default</ttcol>
     401<c>1</c>
     402</texttable>
     403</section>
     404
    377405</section>
    378406
     
    457485<section title="References" anchor="refs">
    458486
    459 <section title="xref with no content">
    460 <t>
    461 We are in <xref target="refs" />.
    462 </t>
    463 </section>
    464 
    465487<section title="xref with no content" anchor="xref.with.no.content">
    466488<t anchor="xref.with.no.content.first.sentence">
     
    533555</section>
    534556
    535 <section title="xref with content and 'none' formatting">
     557<section title="xref with content and 'none' formatting" anchor="formatting.none">
    536558<t>
    537559Here we are referring to <xref target="RFC2026" format="none">RFC 2026</xref>,
     560without emitting extra formatting.
     561</t>
     562<t>
     563Here we are referring to <xref target="formatting.none" format="none">this Section</xref>,
    538564without emitting extra formatting.
    539565</t>
Note: See TracChangeset for help on using the changeset viewer.