Changeset 227 for rfc2629xslt


Ignore:
Timestamp:
Mar 1, 2008, 4:52:33 AM (12 years ago)
Author:
julian.reschke@…
Message:

Update to latest version of rfc2629.xslt (matching xml2rfc 1.33).

Location:
rfc2629xslt
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r213 r227  
    3434               
    3535                xmlns:ed="http://greenbytes.de/2002/rfcedit"
     36                xmlns:date="http://exslt.org/dates-and-times"
    3637                xmlns:exslt="http://exslt.org/common"
    3738                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
     
    4142                xmlns:xhtml="http://www.w3.org/1999/xhtml"
    4243
    43                 exclude-result-prefixes="ed exslt msxsl myns saxon x xhtml"
     44                exclude-result-prefixes="date ed exslt msxsl myns saxon x xhtml"
    4445                >
    4546
     
    240241<!-- choose whether or not to do mailto links -->
    241242 
    242  <xsl:param name="xml2rfc-linkmailto"
    243    select="substring-after(
    244        translate(/processing-instruction('rfc')[contains(.,'linkmailto=')], concat($quote-chars,' '), ''),
    245          'linkmailto=')"
    246  />
     243<xsl:param name="xml2rfc-linkmailto"
     244  select="substring-after(
     245      translate(/processing-instruction('rfc')[contains(.,'linkmailto=')], concat($quote-chars,' '), ''),
     246        'linkmailto=')"
     247/>
    247248
    248249
    249250<!-- iprnotified switch -->
    250251 
    251  <xsl:param name="xml2rfc-iprnotified"
    252    select="substring-after(
    253        translate(/processing-instruction('rfc')[contains(.,'iprnotified=')], concat($quote-chars,' '), ''),
    254          'iprnotified=')"
    255  />
    256 
     252<xsl:param name="xml2rfc-iprnotified"
     253  select="substring-after(
     254      translate(/processing-instruction('rfc')[contains(.,'iprnotified=')], concat($quote-chars,' '), ''),
     255        'iprnotified=')"
     256/>
    257257
    258258<!-- URL templates for RFCs and Internet Drafts. -->
     
    324324    (
    325325      (/rfc/@number &gt; 4671) or
    326       (/rfc/front/date/@year &gt; 2006) or
    327       (/rfc/front/date/@year &gt; 2005 and (/rfc/front/date/@month='November' or /rfc/front/date/@month='December'))
     326      ($xml2rfc-ext-pub-year &gt; 2006) or
     327      ($xml2rfc-ext-pub-year &gt; 2005 and $xml2rfc-ext-pub-month-numeric >= 11)
    328328    )
    329329  )" />
     330
     331<xsl:variable name="ipr-2007-08" select="(
     332  $ipr-rfc4748 and
     333    (
     334      (/rfc/@number &gt; 5000
     335        and /rfc/@number != 5020
     336        and /rfc/@number != 5021
     337        and /rfc/@number != 5034
     338        and /rfc/@number != 5052
     339        and /rfc/@number != 5065
     340        and /rfc/@number != 5094) or
     341      ($xml2rfc-ext-pub-year &gt; 2008) or
     342      (not(/rfc/@number) and $xml2rfc-ext-pub-year &gt; 2007 and $xml2rfc-ext-pub-month-numeric >= 9)
     343    )
     344  )" />
     345
     346<!-- funding switch --> 
     347<xsl:variable name="funding0" select="(
     348  /rfc/@number &gt; 2499) or
     349  (not(/rfc/@number) and /rfc/@docName and $xml2rfc-ext-pub-year &gt;= 1999
     350  )" />
     351 
     352<xsl:variable name="funding1" select="(
     353  /rfc/@number &gt; 4320) or
     354  (not(/rfc/@number) and /rfc/@docName and $xml2rfc-ext-pub-year &gt;= 2006
     355  )" />
     356
     357<xsl:variable name="funding2" select="$ipr-2007-08"/>
    330358
    331359<!-- will document have an index -->
     
    483511    <xsl:when test="not(contains($content,'&#10;'))">
    484512      <xsl:if test="string-length($content) > 69">
    485         <xsl:message>artwork line too long: <xsl:value-of select="$content"/></xsl:message>
     513        <xsl:call-template name="warning">
     514          <xsl:with-param name="inline" select="'no'"/>
     515          <xsl:with-param name="msg">artwork line too long: '<xsl:value-of select="$content"/>' (<xsl:value-of select="string-length($content)"/> characters)</xsl:with-param>
     516        </xsl:call-template>
    486517      </xsl:if>
    487518    </xsl:when>
     
    490521      <xsl:variable name="end" select="substring-after($content,'&#10;')"/>
    491522      <xsl:if test="string-length($start) > 69">
    492         <xsl:message>WARNING: artwork line too long: <xsl:value-of select="$start"/><xsl:call-template name="lineno"/></xsl:message>
     523        <xsl:call-template name="warning">
     524          <xsl:with-param name="inline" select="'no'"/>
     525          <xsl:with-param name="msg">artwork line too long: '<xsl:value-of select="$start"/>' (<xsl:value-of select="string-length($start)"/> characters)</xsl:with-param>
     526        </xsl:call-template>
    493527      </xsl:if>
    494528      <xsl:call-template name="check-artwork-width">
     
    12111245      <xsl:if test="front/date/@year != '' and front/date/@year != '???'">
    12121246        <xsl:text>, </xsl:text>
    1213         <xsl:if test="front/date/@month and (front/date/@month!='???' and front/date/@month!='')"><xsl:value-of select="front/date/@month" />&#0160;</xsl:if>
     1247        <xsl:if test="front/date/@month!=''"><xsl:value-of select="front/date/@month" />&#0160;</xsl:if>
    12141248        <xsl:value-of select="front/date/@year" />
    12151249      </xsl:if>
     
    13911425            <xsl:otherwise/>
    13921426          </xsl:choose>
    1393           <xsl:variable name="month"><xsl:call-template name="get-month-as-num"/></xsl:variable>
    1394           <meta name="DC.Date.Issued" scheme="ISO8601" content="{/rfc/front/date/@year}-{$month}" />
     1427          <meta name="DC.Date.Issued" scheme="ISO8601" content="{$xml2rfc-ext-pub-year}-{$xml2rfc-ext-pub-month-numeric}" />
    13951428 
    13961429          <xsl:if test="/rfc/@obsoletes!=''">
     
    21152148  </xsl:for-each>
    21162149  <myns:item>
    2117     <xsl:value-of select="concat(date/@month,' ',date/@year)" />
     2150    <xsl:if test="$xml2rfc-ext-pub-month!=''">
     2151      <xsl:value-of select="$xml2rfc-ext-pub-month" />
     2152      <xsl:if test="$xml2rfc-ext-pub-day!='' and /rfc/@ipr and not(/rfc/@number)">
     2153        <xsl:text> </xsl:text>
     2154        <xsl:value-of select="$xml2rfc-ext-pub-day" />
     2155        <xsl:text>,</xsl:text>
     2156      </xsl:if>
     2157    </xsl:if>
     2158    <xsl:value-of select="concat(' ',$xml2rfc-ext-pub-year)" />
    21182159  </myns:item>
    21192160</xsl:template>
     
    21632204
    21642205<xsl:template name="expirydate">
    2165   <xsl:variable name="date" select="/rfc/front/date" />
    21662206  <xsl:choose>
    2167       <xsl:when test="$date/@month='January'">July <xsl:value-of select="$date/@year" /></xsl:when>
    2168       <xsl:when test="$date/@month='February'">August <xsl:value-of select="$date/@year" /></xsl:when>
    2169       <xsl:when test="$date/@month='March'">September <xsl:value-of select="$date/@year" /></xsl:when>
    2170       <xsl:when test="$date/@month='April'">October <xsl:value-of select="$date/@year" /></xsl:when>
    2171       <xsl:when test="$date/@month='May'">November <xsl:value-of select="$date/@year" /></xsl:when>
    2172       <xsl:when test="$date/@month='June'">December <xsl:value-of select="$date/@year" /></xsl:when>
    2173       <xsl:when test="$date/@month='July'">January <xsl:value-of select="$date/@year + 1" /></xsl:when>
    2174       <xsl:when test="$date/@month='August'">February <xsl:value-of select="$date/@year + 1" /></xsl:when>
    2175       <xsl:when test="$date/@month='September'">March <xsl:value-of select="$date/@year + 1" /></xsl:when>
    2176       <xsl:when test="$date/@month='October'">April <xsl:value-of select="$date/@year + 1" /></xsl:when>
    2177       <xsl:when test="$date/@month='November'">May <xsl:value-of select="$date/@year + 1" /></xsl:when>
    2178       <xsl:when test="$date/@month='December'">June <xsl:value-of select="$date/@year + 1" /></xsl:when>
    2179         <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
    2180      </xsl:choose>
     2207    <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2208    <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2209    <xsl:when test="$xml2rfc-ext-pub-month='March'">September <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2210    <xsl:when test="$xml2rfc-ext-pub-month='April'">October <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2211    <xsl:when test="$xml2rfc-ext-pub-month='May'">November <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2212    <xsl:when test="$xml2rfc-ext-pub-month='June'">December <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2213    <xsl:when test="$xml2rfc-ext-pub-month='July'">January <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2214    <xsl:when test="$xml2rfc-ext-pub-month='August'">February <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2215    <xsl:when test="$xml2rfc-ext-pub-month='September'">March <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2216    <xsl:when test="$xml2rfc-ext-pub-month='October'">April <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2217    <xsl:when test="$xml2rfc-ext-pub-month='November'">May <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2218    <xsl:when test="$xml2rfc-ext-pub-month='December'">June <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2219      <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
     2220   </xsl:choose>
    21812221</xsl:template>
    21822222
    21832223<xsl:template name="get-month-as-num">
    2184   <xsl:variable name="date" select="/rfc/front/date" />
     2224  <xsl:param name="month" />
    21852225  <xsl:choose>
    2186       <xsl:when test="$date/@month='January'">01</xsl:when>
    2187       <xsl:when test="$date/@month='February'">02</xsl:when>
    2188       <xsl:when test="$date/@month='March'">03</xsl:when>
    2189       <xsl:when test="$date/@month='April'">04</xsl:when>
    2190       <xsl:when test="$date/@month='May'">05</xsl:when>
    2191       <xsl:when test="$date/@month='June'">06</xsl:when>
    2192       <xsl:when test="$date/@month='July'">07</xsl:when>
    2193       <xsl:when test="$date/@month='August'">08</xsl:when>
    2194       <xsl:when test="$date/@month='September'">09</xsl:when>
    2195       <xsl:when test="$date/@month='October'">10</xsl:when>
    2196       <xsl:when test="$date/@month='November'">11</xsl:when>
    2197       <xsl:when test="$date/@month='December'">12</xsl:when>
    2198         <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
    2199      </xsl:choose>
     2226    <xsl:when test="$month='January'">01</xsl:when>
     2227    <xsl:when test="$month='February'">02</xsl:when>
     2228    <xsl:when test="$month='March'">03</xsl:when>
     2229    <xsl:when test="$month='April'">04</xsl:when>
     2230    <xsl:when test="$month='May'">05</xsl:when>
     2231    <xsl:when test="$month='June'">06</xsl:when>
     2232    <xsl:when test="$month='July'">07</xsl:when>
     2233    <xsl:when test="$month='August'">08</xsl:when>
     2234    <xsl:when test="$month='September'">09</xsl:when>
     2235    <xsl:when test="$month='October'">10</xsl:when>
     2236    <xsl:when test="$month='November'">11</xsl:when>
     2237    <xsl:when test="$month='December'">12</xsl:when>
     2238    <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
     2239  </xsl:choose>
     2240</xsl:template>
     2241
     2242<xsl:template name="get-month-as-name">
     2243  <xsl:param name="month"/>
     2244  <xsl:choose>
     2245    <xsl:when test="$month=1">January</xsl:when>
     2246    <xsl:when test="$month=2">February</xsl:when>
     2247    <xsl:when test="$month=3">March</xsl:when>
     2248    <xsl:when test="$month=4">April</xsl:when>
     2249    <xsl:when test="$month=5">May</xsl:when>
     2250    <xsl:when test="$month=6">June</xsl:when>
     2251    <xsl:when test="$month=7">July</xsl:when>
     2252    <xsl:when test="$month=8">August</xsl:when>
     2253    <xsl:when test="$month=9">September</xsl:when>
     2254    <xsl:when test="$month=10">October</xsl:when>
     2255    <xsl:when test="$month=11">November</xsl:when>
     2256    <xsl:when test="$month=12">December</xsl:when>
     2257    <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
     2258   </xsl:choose>
    22002259</xsl:template>
    22012260
     
    22452304        <t>
    22462305          <xsl:choose>
     2306            <xsl:when test="$ipr-2007-08"/>
    22472307            <xsl:when test="$ipr-rfc4748">
    2248               Copyright &#169; The IETF Trust (<xsl:value-of select="/rfc/front/date/@year" />).
     2308              Copyright &#169; The IETF Trust (<xsl:value-of select="$xml2rfc-ext-pub-year" />).
    22492309            </xsl:when>
    22502310            <xsl:otherwise>
    2251               Copyright &#169; The Internet Society (<xsl:value-of select="/rfc/front/date/@year" />).
     2311              Copyright &#169; The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year" />).
    22522312            </xsl:otherwise>
    22532313          </xsl:choose>
     
    22902350      <section title="Full Copyright Statement" anchor="{$anchor-prefix}.copyright" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    22912351        <t>
    2292           Copyright &#169; The Internet Society (<xsl:value-of select="/rfc/front/date/@year" />). All Rights Reserved.
     2352          Copyright &#169; The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year" />). All Rights Reserved.
    22932353        </t>
    22942354        <t>
     
    23882448  </section>
    23892449 
    2390   <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2391     <t>
    2392       Funding for the RFC Editor function is provided by the IETF
    2393       Administrative Support Activity (IASA).
    2394     </t>
    2395   </section>
     2450  <xsl:choose>
     2451    <xsl:when test="$funding2"/>
     2452    <xsl:when test="$funding1 and /rfc/@number">
     2453      <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2454        <t>
     2455          Funding for the RFC Editor function is provided by the IETF
     2456          Administrative Support Activity (IASA).
     2457        </t>
     2458      </section>
     2459    </xsl:when>
     2460    <xsl:when test="$funding0 and /rfc/@number">
     2461      <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2462        <t>
     2463          Funding for the RFC Editor function is currently provided by
     2464          the Internet Society.
     2465        </t>
     2466      </section>
     2467    </xsl:when>
     2468    <xsl:otherwise/>
     2469  </xsl:choose>
    23962470
    23972471</xsl:template>
     
    25942668  background-color: gray;
    25952669  width: 50%;
    2596 }
     2670}<xsl:if test="/rfc/@obsoletes | /rfc/@updates">
     2671td.header a {
     2672  color: white;
     2673}</xsl:if>
    25972674td.reference {
    25982675  vertical-align: top;
     
    33583435  </section>
    33593436
    3360   <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
    3361   <t>
    3362     <xsl:choose>
    3363       <xsl:when test="$ipr-rfc4748">
    3364         Copyright &#169; The IETF Trust (<xsl:value-of select="/rfc/front/date/@year" />).  All Rights Reserved.
    3365       </xsl:when>
    3366       <xsl:otherwise>
    3367         Copyright &#169; The Internet Society (<xsl:value-of select="/rfc/front/date/@year" />).  All Rights Reserved.
    3368       </xsl:otherwise>
    3369     </xsl:choose>
    3370   </t>
    3371   </section>
     3437  <xsl:choose>
     3438    <xsl:when test="$ipr-2007-08"/>
     3439    <xsl:when test="$ipr-rfc4748">
     3440      <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
     3441        <t>
     3442          Copyright &#169; The IETF Trust (<xsl:value-of select="$xml2rfc-ext-pub-year" />).  All Rights Reserved.
     3443        </t>
     3444      </section>
     3445    </xsl:when>
     3446    <xsl:otherwise>
     3447      <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
     3448        <t>
     3449          Copyright &#169; The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year" />).  All Rights Reserved.
     3450      </t>
     3451      </section>
     3452    </xsl:otherwise>
     3453  </xsl:choose>
    33723454 
    33733455</xsl:template>
     
    47024784    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    47034785    <!-- when RCS keyword substitution in place, add version info -->
    4704     <xsl:if test="contains('$Revision: 1.358 $',':')">
    4705       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.358 $', 'Revision: '),'$','')),', ')" />
     4786    <xsl:if test="contains('$Revision: 1.362 $',':')">
     4787      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.362 $', 'Revision: '),'$','')),', ')" />
    47064788    </xsl:if>
    4707     <xsl:if test="contains('$Date: 2008-02-17 16:03:10 $',':')">
    4708       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-02-17 16:03:10 $', 'Date: '),'$','')),', ')" />
     4789    <xsl:if test="contains('$Date: 2008-02-29 17:10:19 $',':')">
     4790      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-02-29 17:10:19 $', 'Date: '),'$','')),', ')" />
    47094791    </xsl:if>
    47104792    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
     
    47144796
    47154797<xsl:template name="get-header-right">
    4716   <xsl:value-of select="concat(/rfc/front/date/@month,' ',/rfc/front/date/@year)" />
     4798  <xsl:value-of select="concat($xml2rfc-ext-pub-month, ' ', $xml2rfc-ext-pub-year)" />
    47174799</xsl:template>
    47184800
     
    48714953</xsl:template>
    48724954
     4955<!-- date handling -->
     4956
     4957<msxsl:script language="JScript" implements-prefix="date">
     4958  this['year'] = function (x) {
     4959    if (x) {throw "not supported"};
     4960    return (new Date()).getFullYear();
     4961  }
     4962
     4963  this['month-in-year'] = function (x) {
     4964    if (x) {throw "not supported"};
     4965    return 1 + (new Date()).getMonth();
     4966  }
     4967
     4968  this['day-in-month'] = function (x) {
     4969    if (x) {throw "not supported"};
     4970    return (new Date()).getDate();
     4971  }
     4972</msxsl:script>
     4973
     4974<xsl:variable name="may-default-dates">
     4975  <xsl:choose>
     4976    <xsl:when test="function-available('date:year') and function-available('date:month-in-year') and date:day-in-month()">
     4977      <xsl:variable name="year-specified" select="/rfc/front/date/@year and /rfc/front/date/@year!=''"/>
     4978      <xsl:variable name="month-specified" select="/rfc/front/date/@month and /rfc/front/date/@month!=''"/>
     4979      <xsl:variable name="day-specified" select="/rfc/front/date/@day and /rfc/front/date/@day!=''"/>
     4980      <xsl:variable name="system-month">
     4981        <xsl:call-template name="get-month-as-name">
     4982          <xsl:with-param name="month" select="date:month-in-year()"/>
     4983        </xsl:call-template>
     4984      </xsl:variable>
     4985      <xsl:choose>
     4986        <xsl:when test="$year-specified and /rfc/front/date/@year!=date:year()">Specified year <xsl:value-of select="/rfc/front/date/@year"/> does not match system date (<xsl:value-of select="date:year()"/>)</xsl:when>
     4987        <xsl:when test="$month-specified and /rfc/front/date/@month!=$system-month">Specified month <xsl:value-of select="/rfc/front/date/@month"/> does not match system date (<xsl:value-of select="$system-month"/>)</xsl:when>
     4988        <xsl:when test="$day-specified and /rfc/front/date/@day!=date:day-in-month()">Specified day does not match system date</xsl:when>
     4989        <xsl:when test="not($year-specified) and ($month-specified or $day-specified)">Can't default year when month or day is specified</xsl:when>
     4990        <xsl:when test="not($month-specified) and $day-specified">Can't default month when day is specified</xsl:when>
     4991        <xsl:otherwise>yes</xsl:otherwise>
     4992      </xsl:choose>
     4993    </xsl:when>
     4994    <!-- may, but won't -->
     4995    <xsl:otherwise>yes</xsl:otherwise>
     4996  </xsl:choose>
     4997</xsl:variable>
     4998
     4999<xsl:param name="xml2rfc-ext-pub-year">
     5000  <xsl:choose>
     5001    <xsl:when test="/rfc/front/date/@year and /rfc/front/date/@year!=''">
     5002      <xsl:value-of select="/rfc/front/date/@year"/>
     5003    </xsl:when>
     5004    <xsl:when test="function-available('date:year')">
     5005      <xsl:if test="/rfc/front/date/@month and /rfc/front/date/@month!=''">
     5006        <xsl:call-template name="error">
     5007          <xsl:with-param name="msg" select="'defaulting publication year although month was specified'"/>
     5008        </xsl:call-template>
     5009      </xsl:if>
     5010      <xsl:if test="/rfc/front/date/@day and /rfc/front/date/@day!=''">
     5011        <xsl:call-template name="error">
     5012          <xsl:with-param name="msg" select="'defaulting publication year although day was specified'"/>
     5013        </xsl:call-template>
     5014      </xsl:if>
     5015      <xsl:value-of select="date:year()"/>
     5016    </xsl:when>
     5017    <xsl:otherwise>
     5018      <xsl:call-template name="error">
     5019        <xsl:with-param name="msg" select="'/rfc/front/date/@year missing (and XSLT processor cannot compute the system date)'"/>
     5020      </xsl:call-template>
     5021    </xsl:otherwise>
     5022  </xsl:choose>
     5023</xsl:param>
     5024
     5025<xsl:param name="xml2rfc-ext-pub-month">
     5026  <xsl:choose>
     5027    <xsl:when test="/rfc/front/date/@month and /rfc/front/date/@month!=''">
     5028      <xsl:value-of select="/rfc/front/date/@month"/>
     5029    </xsl:when>
     5030    <xsl:when test="function-available('date:month-in-year') and $may-default-dates='yes'">
     5031      <xsl:call-template name="get-month-as-name">
     5032        <xsl:with-param name="month" select="date:month-in-year()"/>
     5033      </xsl:call-template>
     5034    </xsl:when>
     5035    <xsl:when test="function-available('date:month-in-year') and $may-default-dates!='yes'">
     5036      <xsl:call-template name="warning">
     5037        <xsl:with-param name="inline" select="'no'"/>
     5038        <xsl:with-param name="msg" select="$may-default-dates"/>
     5039      </xsl:call-template>
     5040    </xsl:when>
     5041    <xsl:otherwise>
     5042      <xsl:call-template name="error">
     5043        <xsl:with-param name="msg" select="'/rfc/front/date/@month missing (and XSLT processor cannot compute the system date)'"/>
     5044      </xsl:call-template>
     5045    </xsl:otherwise>
     5046  </xsl:choose>
     5047</xsl:param>
     5048
     5049<xsl:param name="xml2rfc-ext-pub-month-numeric">
     5050  <xsl:call-template name="get-month-as-num">
     5051    <xsl:with-param name="month" select="$xml2rfc-ext-pub-month" />
     5052  </xsl:call-template>
     5053</xsl:param>
     5054
     5055<xsl:param name="xml2rfc-ext-pub-day">
     5056  <xsl:choose>
     5057    <xsl:when test="/rfc/front/date/@day and /rfc/front/date/@day!=''">
     5058      <xsl:value-of select="/rfc/front/date/@day"/>
     5059    </xsl:when>
     5060    <xsl:when test="function-available('date:day-in-month') and $may-default-dates='yes'">
     5061      <xsl:value-of select="date:day-in-month()"/>
     5062    </xsl:when>
     5063    <xsl:otherwise /> <!-- harmless, we just don't have it -->
     5064  </xsl:choose>
     5065</xsl:param>
     5066
    48735067</xsl:stylesheet>
  • rfc2629xslt/rfc2629toXHTML.xslt

    r213 r227  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    22<!--Auto-generated from rfc2629.xslt through HTMLtoXHTML.xslt-->
    3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ed="http://greenbytes.de/2002/rfcedit" xmlns:exslt="http://exslt.org/common" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" xmlns:saxon="http://icl.com/saxon" xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="ed exslt msxsl myns saxon x xhtml">
     3<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ed="http://greenbytes.de/2002/rfcedit" xmlns:date="http://exslt.org/dates-and-times" xmlns:exslt="http://exslt.org/common" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" xmlns:saxon="http://icl.com/saxon" xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="date ed exslt msxsl myns saxon x xhtml">
    44
    55<xsl:strip-space elements="back front list middle rfc section"/>               
     
    115115<!-- choose whether or not to do mailto links -->
    116116 
    117  <xsl:param name="xml2rfc-linkmailto" select="substring-after(         translate(/processing-instruction('rfc')[contains(.,'linkmailto=')], concat($quote-chars,' '), ''),           'linkmailto=')"/>
     117<xsl:param name="xml2rfc-linkmailto" select="substring-after(        translate(/processing-instruction('rfc')[contains(.,'linkmailto=')], concat($quote-chars,' '), ''),          'linkmailto=')"/>
    118118
    119119
    120120<!-- iprnotified switch -->
    121121 
    122  <xsl:param name="xml2rfc-iprnotified" select="substring-after(         translate(/processing-instruction('rfc')[contains(.,'iprnotified=')], concat($quote-chars,' '), ''),           'iprnotified=')"/>
    123 
     122<xsl:param name="xml2rfc-iprnotified" select="substring-after(        translate(/processing-instruction('rfc')[contains(.,'iprnotified=')], concat($quote-chars,' '), ''),          'iprnotified=')"/>
    124123
    125124<!-- URL templates for RFCs and Internet Drafts. -->
     
    168167<xsl:variable name="ipr-rfc3667" select="(   /rfc/@number &gt; 3708) or   not(     (/rfc/@ipr = 'full2026') or     (/rfc/@ipr = 'noDerivativeWorks2026') or     (/rfc/@ipr = 'noDerivativeWorksNow') or     (/rfc/@ipr = 'none') or     (/rfc/@ipr = '') or     not(/rfc/@ipr)   )"/>
    169168
    170 <xsl:variable name="ipr-rfc4748" select="(   $ipr-rfc3667 and     (       (/rfc/@number &gt; 4671) or       (/rfc/front/date/@year &gt; 2006) or       (/rfc/front/date/@year &gt; 2005 and (/rfc/front/date/@month='November' or /rfc/front/date/@month='December'))     )   )"/>
     169<xsl:variable name="ipr-rfc4748" select="(   $ipr-rfc3667 and     (       (/rfc/@number &gt; 4671) or       ($xml2rfc-ext-pub-year &gt; 2006) or       ($xml2rfc-ext-pub-year &gt; 2005 and $xml2rfc-ext-pub-month-numeric &gt;= 11)     )   )"/>
     170
     171<xsl:variable name="ipr-2007-08" select="(   $ipr-rfc4748 and     (       (/rfc/@number &gt; 5000         and /rfc/@number != 5020         and /rfc/@number != 5021         and /rfc/@number != 5034         and /rfc/@number != 5052         and /rfc/@number != 5065         and /rfc/@number != 5094) or       ($xml2rfc-ext-pub-year &gt; 2008) or       (not(/rfc/@number) and $xml2rfc-ext-pub-year &gt; 2007 and $xml2rfc-ext-pub-month-numeric &gt;= 9)     )   )"/>
     172
     173<!-- funding switch --> 
     174<xsl:variable name="funding0" select="(   /rfc/@number &gt; 2499) or   (not(/rfc/@number) and /rfc/@docName and $xml2rfc-ext-pub-year &gt;= 1999   )"/>
     175 
     176<xsl:variable name="funding1" select="(   /rfc/@number &gt; 4320) or   (not(/rfc/@number) and /rfc/@docName and $xml2rfc-ext-pub-year &gt;= 2006   )"/>
     177
     178<xsl:variable name="funding2" select="$ipr-2007-08"/>
    171179
    172180<!-- will document have an index -->
     
    324332    <xsl:when test="not(contains($content,'&#xA;'))">
    325333      <xsl:if test="string-length($content) &gt; 69">
    326         <xsl:message>artwork line too long: <xsl:value-of select="$content"/></xsl:message>
     334        <xsl:call-template name="warning">
     335          <xsl:with-param name="inline" select="'no'"/>
     336          <xsl:with-param name="msg">artwork line too long: '<xsl:value-of select="$content"/>' (<xsl:value-of select="string-length($content)"/> characters)</xsl:with-param>
     337        </xsl:call-template>
    327338      </xsl:if>
    328339    </xsl:when>
     
    331342      <xsl:variable name="end" select="substring-after($content,'&#xA;')"/>
    332343      <xsl:if test="string-length($start) &gt; 69">
    333         <xsl:message>WARNING: artwork line too long: <xsl:value-of select="$start"/><xsl:call-template name="lineno"/></xsl:message>
     344        <xsl:call-template name="warning">
     345          <xsl:with-param name="inline" select="'no'"/>
     346          <xsl:with-param name="msg">artwork line too long: '<xsl:value-of select="$start"/>' (<xsl:value-of select="string-length($start)"/> characters)</xsl:with-param>
     347        </xsl:call-template>
    334348      </xsl:if>
    335349      <xsl:call-template name="check-artwork-width">
     
    10521066      <xsl:if test="front/date/@year != '' and front/date/@year != '???'">
    10531067        <xsl:text>, </xsl:text>
    1054         <xsl:if test="front/date/@month and (front/date/@month!='???' and front/date/@month!='')"><xsl:value-of select="front/date/@month"/> </xsl:if>
     1068        <xsl:if test="front/date/@month!=''"><xsl:value-of select="front/date/@month"/> </xsl:if>
    10551069        <xsl:value-of select="front/date/@year"/>
    10561070      </xsl:if>
     
    12321246            <xsl:otherwise/>
    12331247          </xsl:choose>
    1234           <xsl:variable name="month"><xsl:call-template name="get-month-as-num"/></xsl:variable>
    1235           <meta name="DC.Date.Issued" scheme="ISO8601" content="{/rfc/front/date/@year}-{$month}"/>
     1248          <meta name="DC.Date.Issued" scheme="ISO8601" content="{$xml2rfc-ext-pub-year}-{$xml2rfc-ext-pub-month-numeric}"/>
    12361249 
    12371250          <xsl:if test="/rfc/@obsoletes!=''">
     
    19561969  </xsl:for-each>
    19571970  <myns:item>
    1958     <xsl:value-of select="concat(date/@month,' ',date/@year)"/>
     1971    <xsl:if test="$xml2rfc-ext-pub-month!=''">
     1972      <xsl:value-of select="$xml2rfc-ext-pub-month"/>
     1973      <xsl:if test="$xml2rfc-ext-pub-day!='' and /rfc/@ipr and not(/rfc/@number)">
     1974        <xsl:text> </xsl:text>
     1975        <xsl:value-of select="$xml2rfc-ext-pub-day"/>
     1976        <xsl:text>,</xsl:text>
     1977      </xsl:if>
     1978    </xsl:if>
     1979    <xsl:value-of select="concat(' ',$xml2rfc-ext-pub-year)"/>
    19591980  </myns:item>
    19601981</xsl:template>
     
    20042025
    20052026<xsl:template name="expirydate">
    2006   <xsl:variable name="date" select="/rfc/front/date"/>
    2007   <xsl:choose>
    2008       <xsl:when test="$date/@month='January'">July <xsl:value-of select="$date/@year"/></xsl:when>
    2009       <xsl:when test="$date/@month='February'">August <xsl:value-of select="$date/@year"/></xsl:when>
    2010       <xsl:when test="$date/@month='March'">September <xsl:value-of select="$date/@year"/></xsl:when>
    2011       <xsl:when test="$date/@month='April'">October <xsl:value-of select="$date/@year"/></xsl:when>
    2012       <xsl:when test="$date/@month='May'">November <xsl:value-of select="$date/@year"/></xsl:when>
    2013       <xsl:when test="$date/@month='June'">December <xsl:value-of select="$date/@year"/></xsl:when>
    2014       <xsl:when test="$date/@month='July'">January <xsl:value-of select="$date/@year + 1"/></xsl:when>
    2015       <xsl:when test="$date/@month='August'">February <xsl:value-of select="$date/@year + 1"/></xsl:when>
    2016       <xsl:when test="$date/@month='September'">March <xsl:value-of select="$date/@year + 1"/></xsl:when>
    2017       <xsl:when test="$date/@month='October'">April <xsl:value-of select="$date/@year + 1"/></xsl:when>
    2018       <xsl:when test="$date/@month='November'">May <xsl:value-of select="$date/@year + 1"/></xsl:when>
    2019       <xsl:when test="$date/@month='December'">June <xsl:value-of select="$date/@year + 1"/></xsl:when>
    2020         <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
    2021      </xsl:choose>
     2027  <xsl:choose>
     2028    <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2029    <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2030    <xsl:when test="$xml2rfc-ext-pub-month='March'">September <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2031    <xsl:when test="$xml2rfc-ext-pub-month='April'">October <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2032    <xsl:when test="$xml2rfc-ext-pub-month='May'">November <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2033    <xsl:when test="$xml2rfc-ext-pub-month='June'">December <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2034    <xsl:when test="$xml2rfc-ext-pub-month='July'">January <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2035    <xsl:when test="$xml2rfc-ext-pub-month='August'">February <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2036    <xsl:when test="$xml2rfc-ext-pub-month='September'">March <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2037    <xsl:when test="$xml2rfc-ext-pub-month='October'">April <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2038    <xsl:when test="$xml2rfc-ext-pub-month='November'">May <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2039    <xsl:when test="$xml2rfc-ext-pub-month='December'">June <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2040      <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
     2041   </xsl:choose>
    20222042</xsl:template>
    20232043
    20242044<xsl:template name="get-month-as-num">
    2025   <xsl:variable name="date" select="/rfc/front/date"/>
    2026   <xsl:choose>
    2027       <xsl:when test="$date/@month='January'">01</xsl:when>
    2028       <xsl:when test="$date/@month='February'">02</xsl:when>
    2029       <xsl:when test="$date/@month='March'">03</xsl:when>
    2030       <xsl:when test="$date/@month='April'">04</xsl:when>
    2031       <xsl:when test="$date/@month='May'">05</xsl:when>
    2032       <xsl:when test="$date/@month='June'">06</xsl:when>
    2033       <xsl:when test="$date/@month='July'">07</xsl:when>
    2034       <xsl:when test="$date/@month='August'">08</xsl:when>
    2035       <xsl:when test="$date/@month='September'">09</xsl:when>
    2036       <xsl:when test="$date/@month='October'">10</xsl:when>
    2037       <xsl:when test="$date/@month='November'">11</xsl:when>
    2038       <xsl:when test="$date/@month='December'">12</xsl:when>
    2039         <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
    2040      </xsl:choose>
     2045  <xsl:param name="month"/>
     2046  <xsl:choose>
     2047    <xsl:when test="$month='January'">01</xsl:when>
     2048    <xsl:when test="$month='February'">02</xsl:when>
     2049    <xsl:when test="$month='March'">03</xsl:when>
     2050    <xsl:when test="$month='April'">04</xsl:when>
     2051    <xsl:when test="$month='May'">05</xsl:when>
     2052    <xsl:when test="$month='June'">06</xsl:when>
     2053    <xsl:when test="$month='July'">07</xsl:when>
     2054    <xsl:when test="$month='August'">08</xsl:when>
     2055    <xsl:when test="$month='September'">09</xsl:when>
     2056    <xsl:when test="$month='October'">10</xsl:when>
     2057    <xsl:when test="$month='November'">11</xsl:when>
     2058    <xsl:when test="$month='December'">12</xsl:when>
     2059    <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
     2060  </xsl:choose>
     2061</xsl:template>
     2062
     2063<xsl:template name="get-month-as-name">
     2064  <xsl:param name="month"/>
     2065  <xsl:choose>
     2066    <xsl:when test="$month=1">January</xsl:when>
     2067    <xsl:when test="$month=2">February</xsl:when>
     2068    <xsl:when test="$month=3">March</xsl:when>
     2069    <xsl:when test="$month=4">April</xsl:when>
     2070    <xsl:when test="$month=5">May</xsl:when>
     2071    <xsl:when test="$month=6">June</xsl:when>
     2072    <xsl:when test="$month=7">July</xsl:when>
     2073    <xsl:when test="$month=8">August</xsl:when>
     2074    <xsl:when test="$month=9">September</xsl:when>
     2075    <xsl:when test="$month=10">October</xsl:when>
     2076    <xsl:when test="$month=11">November</xsl:when>
     2077    <xsl:when test="$month=12">December</xsl:when>
     2078    <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
     2079   </xsl:choose>
    20412080</xsl:template>
    20422081
     
    20862125        <t>
    20872126          <xsl:choose>
     2127            <xsl:when test="$ipr-2007-08"/>
    20882128            <xsl:when test="$ipr-rfc4748">
    2089               Copyright © The IETF Trust (<xsl:value-of select="/rfc/front/date/@year"/>).
     2129              Copyright © The IETF Trust (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).
    20902130            </xsl:when>
    20912131            <xsl:otherwise>
    2092               Copyright © The Internet Society (<xsl:value-of select="/rfc/front/date/@year"/>).
     2132              Copyright © The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).
    20932133            </xsl:otherwise>
    20942134          </xsl:choose>
     
    21312171      <section title="Full Copyright Statement" anchor="{$anchor-prefix}.copyright" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    21322172        <t>
    2133           Copyright © The Internet Society (<xsl:value-of select="/rfc/front/date/@year"/>). All Rights Reserved.
     2173          Copyright © The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year"/>). All Rights Reserved.
    21342174        </t>
    21352175        <t>
     
    22292269  </section>
    22302270 
    2231   <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2232     <t>
    2233       Funding for the RFC Editor function is provided by the IETF
    2234       Administrative Support Activity (IASA).
    2235     </t>
    2236   </section>
     2271  <xsl:choose>
     2272    <xsl:when test="$funding2"/>
     2273    <xsl:when test="$funding1 and /rfc/@number">
     2274      <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2275        <t>
     2276          Funding for the RFC Editor function is provided by the IETF
     2277          Administrative Support Activity (IASA).
     2278        </t>
     2279      </section>
     2280    </xsl:when>
     2281    <xsl:when test="$funding0 and /rfc/@number">
     2282      <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2283        <t>
     2284          Funding for the RFC Editor function is currently provided by
     2285          the Internet Society.
     2286        </t>
     2287      </section>
     2288    </xsl:when>
     2289    <xsl:otherwise/>
     2290  </xsl:choose>
    22372291
    22382292</xsl:template>
     
    24352489  background-color: gray;
    24362490  width: 50%;
    2437 }
     2491}<xsl:if test="/rfc/@obsoletes | /rfc/@updates">
     2492td.header a {
     2493  color: white;
     2494}</xsl:if>
    24382495td.reference {
    24392496  vertical-align: top;
     
    31993256  </section>
    32003257
    3201   <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
    3202   <t>
    3203     <xsl:choose>
    3204       <xsl:when test="$ipr-rfc4748">
    3205         Copyright © The IETF Trust (<xsl:value-of select="/rfc/front/date/@year"/>).  All Rights Reserved.
    3206       </xsl:when>
    3207       <xsl:otherwise>
    3208         Copyright © The Internet Society (<xsl:value-of select="/rfc/front/date/@year"/>).  All Rights Reserved.
    3209       </xsl:otherwise>
    3210     </xsl:choose>
    3211   </t>
    3212   </section>
     3258  <xsl:choose>
     3259    <xsl:when test="$ipr-2007-08"/>
     3260    <xsl:when test="$ipr-rfc4748">
     3261      <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
     3262        <t>
     3263          Copyright © The IETF Trust (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).  All Rights Reserved.
     3264        </t>
     3265      </section>
     3266    </xsl:when>
     3267    <xsl:otherwise>
     3268      <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
     3269        <t>
     3270          Copyright © The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).  All Rights Reserved.
     3271      </t>
     3272      </section>
     3273    </xsl:otherwise>
     3274  </xsl:choose>
    32133275 
    32143276</xsl:template>
     
    45434605    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    45444606    <!-- when RCS keyword substitution in place, add version info -->
    4545     <xsl:if test="contains('$Revision: 1.358 $',':')">
    4546       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.358 $', 'Revision: '),'$','')),', ')"/>
     4607    <xsl:if test="contains('$Revision: 1.362 $',':')">
     4608      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.362 $', 'Revision: '),'$','')),', ')"/>
    45474609    </xsl:if>
    4548     <xsl:if test="contains('$Date: 2008-02-17 16:03:10 $',':')">
    4549       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-02-17 16:03:10 $', 'Date: '),'$','')),', ')"/>
     4610    <xsl:if test="contains('$Date: 2008-02-29 17:10:19 $',':')">
     4611      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-02-29 17:10:19 $', 'Date: '),'$','')),', ')"/>
    45504612    </xsl:if>
    45514613    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
     
    45554617
    45564618<xsl:template name="get-header-right">
    4557   <xsl:value-of select="concat(/rfc/front/date/@month,' ',/rfc/front/date/@year)"/>
     4619  <xsl:value-of select="concat($xml2rfc-ext-pub-month, ' ', $xml2rfc-ext-pub-year)"/>
    45584620</xsl:template>
    45594621
     
    47124774</xsl:template>
    47134775
     4776<!-- date handling -->
     4777
     4778<msxsl:script language="JScript" implements-prefix="date">
     4779  this['year'] = function (x) {
     4780    if (x) {throw "not supported"};
     4781    return (new Date()).getFullYear();
     4782  }
     4783
     4784  this['month-in-year'] = function (x) {
     4785    if (x) {throw "not supported"};
     4786    return 1 + (new Date()).getMonth();
     4787  }
     4788
     4789  this['day-in-month'] = function (x) {
     4790    if (x) {throw "not supported"};
     4791    return (new Date()).getDate();
     4792  }
     4793</msxsl:script>
     4794
     4795<xsl:variable name="may-default-dates">
     4796  <xsl:choose>
     4797    <xsl:when test="function-available('date:year') and function-available('date:month-in-year') and date:day-in-month()">
     4798      <xsl:variable name="year-specified" select="/rfc/front/date/@year and /rfc/front/date/@year!=''"/>
     4799      <xsl:variable name="month-specified" select="/rfc/front/date/@month and /rfc/front/date/@month!=''"/>
     4800      <xsl:variable name="day-specified" select="/rfc/front/date/@day and /rfc/front/date/@day!=''"/>
     4801      <xsl:variable name="system-month">
     4802        <xsl:call-template name="get-month-as-name">
     4803          <xsl:with-param name="month" select="date:month-in-year()"/>
     4804        </xsl:call-template>
     4805      </xsl:variable>
     4806      <xsl:choose>
     4807        <xsl:when test="$year-specified and /rfc/front/date/@year!=date:year()">Specified year <xsl:value-of select="/rfc/front/date/@year"/> does not match system date (<xsl:value-of select="date:year()"/>)</xsl:when>
     4808        <xsl:when test="$month-specified and /rfc/front/date/@month!=$system-month">Specified month <xsl:value-of select="/rfc/front/date/@month"/> does not match system date (<xsl:value-of select="$system-month"/>)</xsl:when>
     4809        <xsl:when test="$day-specified and /rfc/front/date/@day!=date:day-in-month()">Specified day does not match system date</xsl:when>
     4810        <xsl:when test="not($year-specified) and ($month-specified or $day-specified)">Can't default year when month or day is specified</xsl:when>
     4811        <xsl:when test="not($month-specified) and $day-specified">Can't default month when day is specified</xsl:when>
     4812        <xsl:otherwise>yes</xsl:otherwise>
     4813      </xsl:choose>
     4814    </xsl:when>
     4815    <!-- may, but won't -->
     4816    <xsl:otherwise>yes</xsl:otherwise>
     4817  </xsl:choose>
     4818</xsl:variable>
     4819
     4820<xsl:param name="xml2rfc-ext-pub-year">
     4821  <xsl:choose>
     4822    <xsl:when test="/rfc/front/date/@year and /rfc/front/date/@year!=''">
     4823      <xsl:value-of select="/rfc/front/date/@year"/>
     4824    </xsl:when>
     4825    <xsl:when test="function-available('date:year')">
     4826      <xsl:if test="/rfc/front/date/@month and /rfc/front/date/@month!=''">
     4827        <xsl:call-template name="error">
     4828          <xsl:with-param name="msg" select="'defaulting publication year although month was specified'"/>
     4829        </xsl:call-template>
     4830      </xsl:if>
     4831      <xsl:if test="/rfc/front/date/@day and /rfc/front/date/@day!=''">
     4832        <xsl:call-template name="error">
     4833          <xsl:with-param name="msg" select="'defaulting publication year although day was specified'"/>
     4834        </xsl:call-template>
     4835      </xsl:if>
     4836      <xsl:value-of select="date:year()"/>
     4837    </xsl:when>
     4838    <xsl:otherwise>
     4839      <xsl:call-template name="error">
     4840        <xsl:with-param name="msg" select="'/rfc/front/date/@year missing (and XSLT processor cannot compute the system date)'"/>
     4841      </xsl:call-template>
     4842    </xsl:otherwise>
     4843  </xsl:choose>
     4844</xsl:param>
     4845
     4846<xsl:param name="xml2rfc-ext-pub-month">
     4847  <xsl:choose>
     4848    <xsl:when test="/rfc/front/date/@month and /rfc/front/date/@month!=''">
     4849      <xsl:value-of select="/rfc/front/date/@month"/>
     4850    </xsl:when>
     4851    <xsl:when test="function-available('date:month-in-year') and $may-default-dates='yes'">
     4852      <xsl:call-template name="get-month-as-name">
     4853        <xsl:with-param name="month" select="date:month-in-year()"/>
     4854      </xsl:call-template>
     4855    </xsl:when>
     4856    <xsl:when test="function-available('date:month-in-year') and $may-default-dates!='yes'">
     4857      <xsl:call-template name="warning">
     4858        <xsl:with-param name="inline" select="'no'"/>
     4859        <xsl:with-param name="msg" select="$may-default-dates"/>
     4860      </xsl:call-template>
     4861    </xsl:when>
     4862    <xsl:otherwise>
     4863      <xsl:call-template name="error">
     4864        <xsl:with-param name="msg" select="'/rfc/front/date/@month missing (and XSLT processor cannot compute the system date)'"/>
     4865      </xsl:call-template>
     4866    </xsl:otherwise>
     4867  </xsl:choose>
     4868</xsl:param>
     4869
     4870<xsl:param name="xml2rfc-ext-pub-month-numeric">
     4871  <xsl:call-template name="get-month-as-num">
     4872    <xsl:with-param name="month" select="$xml2rfc-ext-pub-month"/>
     4873  </xsl:call-template>
     4874</xsl:param>
     4875
     4876<xsl:param name="xml2rfc-ext-pub-day">
     4877  <xsl:choose>
     4878    <xsl:when test="/rfc/front/date/@day and /rfc/front/date/@day!=''">
     4879      <xsl:value-of select="/rfc/front/date/@day"/>
     4880    </xsl:when>
     4881    <xsl:when test="function-available('date:day-in-month') and $may-default-dates='yes'">
     4882      <xsl:value-of select="date:day-in-month()"/>
     4883    </xsl:when>
     4884    <xsl:otherwise/> <!-- harmless, we just don't have it -->
     4885  </xsl:choose>
     4886</xsl:param>
     4887
    47144888</xsl:stylesheet>
  • rfc2629xslt/rfc2629xslt.html

    r213 r227  
    353353    }
    354354}
    355 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF via XSL-FO" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C License" href="#rfc.section.C"><link rel="Appendix" title="D Change Logs" href="#rfc.section.D"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.358, 2008-02-17 16:03:10, XSLT vendor: SAXON 6.5.3 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">February 2008</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.2">In-Browser Engines</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5&nbsp;&nbsp;&nbsp;<a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF via XSL-FO</a><ul class="toc"><li class="tocline1">9.1&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li class="tocline1">10.6&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li class="tocline1">10.7&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li class="tocline1">10.8&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li class="tocline1">10.9&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li class="tocline1">10.10&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li class="tocline1">10.11&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li class="tocline1">10.12&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li class="tocline1">10.13&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li class="tocline1">10.14&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li class="tocline1">10.15&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li class="tocline1">10.16&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li class="tocline1">10.17&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li class="tocline1">10.18&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">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section&nbsp;2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section&nbsp;3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section&nbsp;4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section&nbsp;5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section&nbsp;6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section&nbsp;7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section&nbsp;8</a>),</li><li>outputting PDF through XSL-FO (<a href="#output.pdf" title="Transforming to PDF via XSL-FO">Section&nbsp;9</a>) and</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;11</a>).</li></ul><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.21.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;Extension elements</h2><p id="rfc.section.2.1.p.1">In addition, <samp>rfc2629.xslt</samp> supports a set of extension elements, using elements and attributes in the namespace "http://greenbytes.de/2002/rfcedit". They are used for </p><ul><li>simple issue tracking and change tracking and</li><li>adding additional metadata to the generated documents (such as HTML LINK elements to related documents, see <a href="#html.link" title="Standard HTML LINK elements">Section&nbsp;6.2</a>).</li></ul><p id="rfc.section.2.1.p.2">Note that these extensions are experimental. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p>  <pre class="text">&lt;?rfc toc="yes"?&gt;
     355</style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF via XSL-FO" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C License" href="#rfc.section.C"><link rel="Appendix" title="D Change Logs" href="#rfc.section.D"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.362, 2008-02-29 17:10:19, XSLT vendor: SAXON 6.5.3 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">February 2008</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#anchors">Anchors</a></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.2">In-Browser Engines</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2&nbsp;&nbsp;&nbsp;<a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4&nbsp;&nbsp;&nbsp;<a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5&nbsp;&nbsp;&nbsp;<a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#output.pdf">Transforming to PDF via XSL-FO</a><ul class="toc"><li class="tocline1">9.1&nbsp;&nbsp;&nbsp;<a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2&nbsp;&nbsp;&nbsp;<a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#ext.element.anchor-alias">&lt;anchor-alias&gt; element</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#ext.element.bcp14">&lt;bcp14&gt; element</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#ext.element.bb">&lt;bb&gt; element</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#ext.element.bc">&lt;bc&gt; element</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#ext.element.blockquote">&lt;blockquote&gt; element</a></li><li class="tocline1">10.6&nbsp;&nbsp;&nbsp;<a href="#ext.element.bt">&lt;bt&gt; element</a></li><li class="tocline1">10.7&nbsp;&nbsp;&nbsp;<a href="#ext.element.dfn">&lt;dfn&gt; element</a></li><li class="tocline1">10.8&nbsp;&nbsp;&nbsp;<a href="#ext.element.h">&lt;h&gt; element</a></li><li class="tocline1">10.9&nbsp;&nbsp;&nbsp;<a href="#ext.element.length-of">&lt;length-of&gt; element</a></li><li class="tocline1">10.10&nbsp;&nbsp;&nbsp;<a href="#ext.element.link">&lt;link&gt; element</a></li><li class="tocline1">10.11&nbsp;&nbsp;&nbsp;<a href="#ext.element.lt">&lt;lt&gt; element</a></li><li class="tocline1">10.12&nbsp;&nbsp;&nbsp;<a href="#ext.element.q">&lt;q&gt; element</a></li><li class="tocline1">10.13&nbsp;&nbsp;&nbsp;<a href="#ext.element.ref">&lt;ref&gt; element</a></li><li class="tocline1">10.14&nbsp;&nbsp;&nbsp;<a href="#ext.element.source">&lt;source&gt; element</a></li><li class="tocline1">10.15&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.iref">Extensions to Xml2rfc &lt;iref&gt; element</a></li><li class="tocline1">10.16&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.list">Extensions to Xml2rfc &lt;list&gt; element</a></li><li class="tocline1">10.17&nbsp;&nbsp;&nbsp;<a href="#ext-rfc2629.section">Extensions to Xml2rfc &lt;section&gt; element</a></li><li class="tocline1">10.18&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">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section&nbsp;2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section&nbsp;3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section&nbsp;4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section&nbsp;5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section&nbsp;6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section&nbsp;7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section&nbsp;8</a>),</li><li>outputting PDF through XSL-FO (<a href="#output.pdf" title="Transforming to PDF via XSL-FO">Section&nbsp;9</a>) and</li><li>various utilities (<a href="#utilities" title="Utilities">Section&nbsp;11</a>).</li></ul><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;<a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.21.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a>&nbsp;Extension elements</h2><p id="rfc.section.2.1.p.1">In addition, <samp>rfc2629.xslt</samp> supports a set of extension elements, using elements and attributes in the namespace "http://greenbytes.de/2002/rfcedit". They are used for </p><ul><li>simple issue tracking and change tracking and</li><li>adding additional metadata to the generated documents (such as HTML LINK elements to related documents, see <a href="#html.link" title="Standard HTML LINK elements">Section&nbsp;6.2</a>).</li></ul><p id="rfc.section.2.1.p.2">Note that these extensions are experimental. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;<a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p>  <pre class="text">&lt;?rfc toc="yes"?&gt;
    356356&lt;?rfc-ext support-rfc2731="no"?&gt;
    357357</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 \
     
    787787    empty
    788788  }
    789 </pre><hr class="noprint"><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a>&nbsp;Implementation Notes</h1><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;Recognized type attributes for &lt;artwork&gt; element</h2><p id="rfc.section.B.1.p.1">Specific values in the &lt;artwork&gt; element's "type" attribute are recognized and cause a different visual style to be used:</p><div id="rfc.table.u.9"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Media Type</th><th>Comment</th></tr></thead><tbody><tr><td>abnf</td><td>ABNF as per <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a></td></tr><tr><td>abnf2616</td><td>ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td>application/relax-ng-compact-syntax</td><td>Relax NG Compact Syntax as per <a href="#RNC" id="rfc.xref.RNC.2"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a></td></tr><tr><td>application/xml-dtd</td><td>XML DTD</td></tr><tr><td>message/http; msgtype="request"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td>message/http; msgtype="response"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a>&nbsp;<a id="license" href="#license">License</a></h1><p id="rfc.section.C.p.1">Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a>&nbsp;Change Logs</h1><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd></dl><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of &lt;<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>&gt;.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at &lt;<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>&gt; to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd></dl><h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see &lt;<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>&gt;). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see &lt;<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>&gt;.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see &lt;<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>&gt;.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see &lt;<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>&gt;.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &amp;#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add &lt;link&gt; element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (&lt;<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>&gt;) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into &lt;back&gt;.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate &lt;CITE&gt; elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move &lt;dt&gt; style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty &lt;dt&gt; elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in &lt;appendix&gt; elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to &lt;iref&gt; handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for &lt;x:lt&gt;.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (&lt;<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>&gt;) to head element. Add warning for misplaced &lt;t&gt; elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow &lt;eref&gt; below &lt;cref&gt;.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd></dl><h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd></dl><h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a>&nbsp;xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a>&nbsp;xsl11toFop.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.9"><a href="#rfc.section.D.9">D.9</a>&nbsp;xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">allow-markup-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.28">A</a></li><li class="indline1">Anchors&nbsp;&nbsp;<ul class="ind"><li class="indline1">rfc.abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">author HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.3"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.7">A</a></li><li class="indline1">bc Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.4"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bcp14 Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.2"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">blockquote Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.5"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1">bt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.6"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">DCMI properties&nbsp;&nbsp;<ul class="ind"><li class="indline1">Creator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.1">6.4</a></li><li class="indline1">Date.Issued&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1">Description.Abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">Identifier&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Relation.Replaces&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.7">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">dfn Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.d.9">A</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">anchor-alias&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.16">A</a></li><li class="indline1">assign-section-number&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.17">A</a></li><li class="indline1">bb&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.18">A</a></li><li class="indline1">bc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.19">A</a></li><li class="indline1">bcp14&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.20">A</a></li><li class="indline1">blockquote&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.21">A</a></li><li class="indline1">bt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">dfn&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">h&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">length-of&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">link&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">lt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">q&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">ref&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">source&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">span&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">x&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.32">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox&nbsp;&nbsp;<ul class="ind"><li class="indline1">1.*/2.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1">6.3</a></li><li class="indline1">Grammar&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.2"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.12"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.h.13">A</a></li><li class="indline1">header PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1"><em>HTML</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.5</a>, <a class="iref" href="#rfc.xref.HTML.3">10.7</a>, <a class="iref" href="#rfc.xref.HTML.4">10.12</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">alternate&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">generator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.9">6.4</a></li><li class="indline1">include PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-references-in-index PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.8">6.2</a></li><li class="indline1">inline PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.2"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.3"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.4"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.n.1">3.2</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.3">5.2</a><ul class="ind"><li class="indline1">9.5&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters&nbsp;&nbsp;<ul class="ind"><li class="indline1">xml2rfc-background&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.40">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-justification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">xml2rfc-footer&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.31">3.1</a></li></ul></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">private PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes&nbsp;&nbsp;<ul class="ind"><li class="indline1">allow-markup-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.39">3.3</a></li><li class="indline1">authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.41">3.3</a></li><li class="indline1">background&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">editing&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">include&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.32">3.2</a></li><li class="indline1">include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">inline&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.33">3.2</a></li><li class="indline1">parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">private&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">slides&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">strict&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">subcompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocindent&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">tocompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.30">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.q.1"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">ref Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.21"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.r.23">A</a></li><li class="indline1">Relation.Replaces DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.20">6.4</a></li><li class="indline1">RELAX NG Compact Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.22"><b>A</b></a></li><li class="indline1">rfc.abstract anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.1">4</a></li><li class="indline1">rfc.authors anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.copyright anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyrightnotice anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.figure.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.5">4</a>, <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.figure.u.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.index anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.7">4</a></li><li class="indline1">rfc.ipr anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.iref.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.note.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.references anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.section.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n.p.m anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.status anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.toc anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.xref.name.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">10.2</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.18</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.18</a></li></ul></li><li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em>&nbsp;&nbsp;<a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1"><em>RNC</em>&nbsp;&nbsp;<a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.13"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.12"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.s.14">A</a></li><li class="indline1">span Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.15">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">support-rfc2731 PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.27">A</a></li><li class="indline1">Xalan&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.24">5.1</a></li><li class="indline1"><em>XHTML2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XHTML2.1">10.8</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.26">6</a></li><li class="indline1">xml2rfc-background parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.17">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-footer parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-toc parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-topblock parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1"><em>XSL-FO</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.25">5.1</a><ul class="ind"><li class="indline1">passing parameters&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html>
     789</pre><hr class="noprint"><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a>&nbsp;Implementation Notes</h1><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a>&nbsp;Recognized type attributes for &lt;artwork&gt; element</h2><p id="rfc.section.B.1.p.1">Specific values in the &lt;artwork&gt; element's "type" attribute are recognized and cause a different visual style to be used:</p><div id="rfc.table.u.9"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Media Type</th><th>Comment</th></tr></thead><tbody><tr><td>abnf</td><td>ABNF as per <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a></td></tr><tr><td>abnf2616</td><td>ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td>application/relax-ng-compact-syntax</td><td>Relax NG Compact Syntax as per <a href="#RNC" id="rfc.xref.RNC.2"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a></td></tr><tr><td>application/xml-dtd</td><td>XML DTD</td></tr><tr><td>message/http; msgtype="request"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td>message/http; msgtype="response"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a>&nbsp;<a id="license" href="#license">License</a></h1><p id="rfc.section.C.p.1">Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a>&nbsp;Change Logs</h1><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a>&nbsp;Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd></dl><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a>&nbsp;amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a>&nbsp;check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of &lt;<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>&gt;.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at &lt;<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>&gt; to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd></dl><h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a>&nbsp;gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a>&nbsp;rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see &lt;<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>&gt;). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see &lt;<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>&gt;.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see &lt;<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>&gt;.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see &lt;<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>&gt;.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &amp;#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add &lt;link&gt; element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (&lt;<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>&gt;) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into &lt;back&gt;.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate &lt;CITE&gt; elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move &lt;dt&gt; style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty &lt;dt&gt; elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in &lt;appendix&gt; elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to &lt;iref&gt; handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for &lt;x:lt&gt;.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (&lt;<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>&gt;) to head element. Add warning for misplaced &lt;t&gt; elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow &lt;eref&gt; below &lt;cref&gt;.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd></dl><h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a>&nbsp;rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd></dl><h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a>&nbsp;xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a>&nbsp;xsl11toFop.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.9"><a href="#rfc.section.D.9">D.9</a>&nbsp;xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">allow-markup-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.28">A</a></li><li class="indline1">Anchors&nbsp;&nbsp;<ul class="ind"><li class="indline1">rfc.abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">author HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.3"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.7">A</a></li><li class="indline1">bc Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.4"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bcp14 Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.2"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">blockquote Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.5"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1">bt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.b.6"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">DCMI properties&nbsp;&nbsp;<ul class="ind"><li class="indline1">Creator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.1">6.4</a></li><li class="indline1">Date.Issued&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1">Description.Abstract&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">Identifier&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Relation.Replaces&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.7">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">dfn Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.d.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.d.9">A</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">anchor-alias&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.16">A</a></li><li class="indline1">assign-section-number&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.17">A</a></li><li class="indline1">bb&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.18">A</a></li><li class="indline1">bc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.19">A</a></li><li class="indline1">bcp14&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.20">A</a></li><li class="indline1">blockquote&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.21">A</a></li><li class="indline1">bt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">dfn&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">h&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">length-of&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">link&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">lt&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">q&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">ref&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">source&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">span&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">x&nbsp;&nbsp;<a class="iref" href="#rfc.iref.e.32">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox&nbsp;&nbsp;<ul class="ind"><li class="indline1">1.*/2.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.1">6.3</a></li><li class="indline1">Grammar&nbsp;&nbsp;<a class="iref" href="#rfc.iref.g.2"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.12"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.h.13">A</a></li><li class="indline1">header PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1"><em>HTML</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.5</a>, <a class="iref" href="#rfc.xref.HTML.3">10.7</a>, <a class="iref" href="#rfc.xref.HTML.4">10.12</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">alternate&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements&nbsp;&nbsp;<ul class="ind"><li class="indline1">generator&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords&nbsp;&nbsp;<a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.9">6.4</a></li><li class="indline1">include PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-references-in-index PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.8">6.2</a></li><li class="indline1">inline PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.i.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.2"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.3"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.l.4"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4&nbsp;&nbsp;<a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.n.1">3.2</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.3">5.2</a><ul class="ind"><li class="indline1">9.5&nbsp;&nbsp;<a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters&nbsp;&nbsp;<ul class="ind"><li class="indline1">xml2rfc-background&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.40">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-justification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">xml2rfc-footer&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.31">3.1</a></li></ul></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">private PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes&nbsp;&nbsp;<ul class="ind"><li class="indline1">allow-markup-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.39">3.3</a></li><li class="indline1">authors-section&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.41">3.3</a></li><li class="indline1">background&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">editing&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">include&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.32">3.2</a></li><li class="indline1">include-references-in-index&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">inline&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.33">3.2</a></li><li class="indline1">parse-xml-in-artwork&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">private&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">sec-no-trailing-dots&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">slides&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">sortrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">strict&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">subcompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">support-rfc2731&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">symrefs&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">toc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">tocdepth&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocindent&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">tocompact&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">topblock&nbsp;&nbsp;<a class="iref" href="#rfc.iref.p.30">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.q.1"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">ref Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.21"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.r.23">A</a></li><li class="indline1">Relation.Replaces DCMI property&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.20">6.4</a></li><li class="indline1">RELAX NG Compact Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.22"><b>A</b></a></li><li class="indline1">rfc.abstract anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.1">4</a></li><li class="indline1">rfc.authors anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.copyright anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyrightnotice anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.figure.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.5">4</a>, <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.figure.u.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.index anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.7">4</a></li><li class="indline1">rfc.ipr anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.iref.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.note.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.references anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.section.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n.p.m anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.status anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.toc anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.xref.name.n anchor&nbsp;&nbsp;<a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1"><em>RFC2119</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2119.1">10.2</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.18</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.18</a></li></ul></li><li class="indline1"><em>RFC2616</em>&nbsp;&nbsp;<a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em>&nbsp;&nbsp;<a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1"><em>RNC</em>&nbsp;&nbsp;<a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.*&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.13"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.12"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.s.14">A</a></li><li class="indline1">span Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.15">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">support-rfc2731 PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute&nbsp;&nbsp;<a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.27">A</a></li><li class="indline1">Xalan&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.24">5.1</a></li><li class="indline1"><em>XHTML2</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XHTML2.1">10.8</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.26">6</a></li><li class="indline1">xml2rfc-background parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.17">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-footer parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-toc parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-topblock parameter&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1"><em>XSL-FO</em>&nbsp;&nbsp;<a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.25">5.1</a><ul class="ind"><li class="indline1">passing parameters&nbsp;&nbsp;<a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html>
  • rfc2629xslt/rfc2629xslt.txt

    r213 r227  
    44RFC2629 through XSLT                                          J. Reschke
    55                                                              greenbytes
    6                                                        February 17, 2008
     6                                                           February 2008
    77
    88
     
    29192919   2008-02-17  Extensions: add x:span and x:length-of.
    29202920
     2921   2008-02-20  Add new RFC boilerplate (as changed in 2007-08).
     2922
     2923   2008-02-27  Improve diagnostics for artwork width problems; add
     2924      defaulting of publication dates (requires XSLT processor
     2925      supporting exslt:date, or msxml).
     2926
     2927   2008-02-29  Enhance CSS for link elements in the front header, update
     2928      rules for generating "Acknowledgment" statement.
     2929
    29212930D.6.  rfc2629toFO.xslt
    29222931
     
    29472956      whitespace handling in artwork.
    29482957
     2958
     2959
     2960
     2961
     2962Reschke                                                        [Page 52]
     2963
     2964
     2965Documentation             RFC2629 through XSLT             February 2008
     2966
     2967
    29492968   2004-11-27  Irefs in artwork generate monospaced entries in index.
    29502969
     
    29542973   2005-02-05  Bring in sync with cosmetic changes in rfc2629.xslt.
    29552974
    2956 
    2957 
    2958 
    2959 
    2960 
    2961 
    2962 Reschke                                                        [Page 52]
    2963 
    2964 
    2965 Documentation             RFC2629 through XSLT             February 2008
    2966 
    2967 
    29682975   2005-05-07  Minor fix for change tracking in document title.  Support
    29692976      for table styles.
     
    30013008
    30023009   2006-06-02  Use XSL 1.1 WD Feb 2006.
    3003 
    3004 
    3005 
    3006 
    3007 
    3008 
    3009 
    30103010
    30113011
  • rfc2629xslt/rfc2629xslt.xml

    r213 r227  
    25162516  Extensions: add x:span and x:length-of.
    25172517</t>
     2518<t hangText="2008-02-20">
     2519  Add new RFC boilerplate (as changed in 2007-08).
     2520</t>
     2521<t hangText="2008-02-27">
     2522  Improve diagnostics for artwork width problems; add defaulting of publication
     2523  dates (requires XSLT processor supporting exslt:date, or msxml).
     2524</t>
     2525<t hangText="2008-02-29">
     2526  Enhance CSS for link elements in the front header, update rules for
     2527  generating "Acknowledgment" statement.
     2528</t>
    25182529      </list></t>
    25192530    </section>
  • rfc2629xslt/testcase.html

    r213 r227  
    188188  background-color: gray;
    189189  width: 50%;
     190}
     191td.header a {
     192  color: white;
    190193}
    191194td.reference {
     
    366369    }
    367370}
    368 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.358, 2008-02-17 16:03:10, XSLT vendor: SAXON 6.5.3 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">December 2007</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">referencing tables</a></li><li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">table captions</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li></ul></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">xref with no content</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;t&gt; element</a></li><li class="tocline1">5.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.4">xref to named &lt;t&gt; element inside list</a></li><li class="tocline1">5.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref with no auto-formatting</a></li><li class="tocline1">5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref with content and auto-formatting</a></li><li class="tocline1">5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with content and no formatting</a></li><li class="tocline1">5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with no content and anchor formatting</a></li><li class="tocline1">5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">eref with no content</a></li><li class="tocline1">5.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.10">eref with content</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Comments</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li></ul></li><li class="tocline0">11.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a>&nbsp;no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a>&nbsp;with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a>&nbsp;Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a>&nbsp;list without style</h2><dl class="empty"><dd>One</dd><dd>Two</dd><dd>Three</dd></dl><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a>&nbsp;list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table summary="The list of valid keywords are:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td>try to enforce the ID-nits conventions and DTD validity</td><td>a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td>include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td>bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td>when producing a txt/nroff file, try to conserve vertical whitespace</td><td>ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td>if compact is "yes", then setting this to "no" will make things a little less compact</td><td>dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td>an integer hint indicating how many contiguous lines are needed at this point in the output</td><td>eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td></td><td></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table summary="The table below should appear with no borders." class="tt none" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table summary="The table below should appear with borders just around the headers." class="tt headers" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p>  <pre>  +--+
     371</style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.362, 2008-02-29 17:10:19, XSLT vendor: SAXON 6.5.3 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">December 2007</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1.&nbsp;&nbsp;&nbsp;<a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3&nbsp;&nbsp;&nbsp;<a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.2">spanx</a></li><li class="tocline0">3.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.3">referencing tables</a></li><li class="tocline1">3.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.3.4">table captions</a></li></ul></li><li class="tocline0">4.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.4.4">Whitespace around figures</a></li></ul></li><li class="tocline0">5.&nbsp;&nbsp;&nbsp;<a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.1">xref with no content</a></li><li class="tocline1">5.2&nbsp;&nbsp;&nbsp;<a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.3">xref to named &lt;t&gt; element</a></li><li class="tocline1">5.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.4">xref to named &lt;t&gt; element inside list</a></li><li class="tocline1">5.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.5">xref with no auto-formatting</a></li><li class="tocline1">5.6&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.6">xref with content and auto-formatting</a></li><li class="tocline1">5.7&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.7">xref with content and no formatting</a></li><li class="tocline1">5.8&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.8">xref with no content and anchor formatting</a></li><li class="tocline1">5.9&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.9">eref with no content</a></li><li class="tocline1">5.10&nbsp;&nbsp;&nbsp;<a href="#rfc.section.5.10">eref with content</a></li></ul></li><li class="tocline0">6.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.8">Comments</a></li><li class="tocline0">9.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10.&nbsp;&nbsp;&nbsp;<a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5&nbsp;&nbsp;&nbsp;<a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6&nbsp;&nbsp;&nbsp;<a href="#computed.reference.targets">Computed Reference Targets</a></li></ul></li><li class="tocline0">11.&nbsp;&nbsp;&nbsp;<a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12.&nbsp;&nbsp;&nbsp;<a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a>&nbsp;<a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a>&nbsp;hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a>&nbsp;numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a>&nbsp;<a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a>&nbsp;no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a>&nbsp;with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a>&nbsp;Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a>&nbsp;list without style</h2><dl class="empty"><dd>One</dd><dd>Two</dd><dd>Three</dd></dl><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a>&nbsp;list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a>&nbsp;spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a>&nbsp;Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table summary="The list of valid keywords are:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td>try to enforce the ID-nits conventions and DTD validity</td><td>a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td>include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td>bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td>when producing a txt/nroff file, try to conserve vertical whitespace</td><td>ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td>if compact is "yes", then setting this to "no" will make things a little less compact</td><td>dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td>an integer hint indicating how many contiguous lines are needed at this point in the output</td><td>eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td></td><td></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a>&nbsp;no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table summary="The table below should appear with no borders." class="tt none" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a>&nbsp;borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table summary="The table below should appear with borders just around the headers." class="tt headers" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a>&nbsp;referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table&nbsp;1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a>&nbsp;table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a>&nbsp;Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a>&nbsp;with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p>  <pre>  +--+
    369372  |  |
    370373  +--+
Note: See TracChangeset for help on using the changeset viewer.