Changeset 662 for rfc2629xslt
- Timestamp:
- 05/08/09 13:56:13 (13 years ago)
- Location:
- rfc2629xslt
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629.xslt
r599 r662 381 381 <xsl:variable name="ipr-2009-02" select="( 382 382 $ipr-2008-11 and ($xml2rfc-ext-pub-year >= 2010 or ($xml2rfc-ext-pub-year >= 2009 and $xml2rfc-ext-pub-month-numeric >= 02)) 383 )" /> 384 385 <!-- see http://mailman.rfc-editor.org/pipermail/rfc-interest/2009-June/001373.html --> 386 <xsl:variable name="abstract-first" select="( 387 /rfc/@number and ( 388 $xml2rfc-ext-pub-year >= 2010 or ($xml2rfc-ext-pub-year >= 2009 and $xml2rfc-ext-pub-month-numeric >= 07) 389 ) 383 390 )" /> 384 391 … … 706 713 <xsl:template match="back"> 707 714 708 <!-- add references section first, no matter where it appears in the709 source document -->710 <!-- as of April 2004, process from middle section711 <xsl:apply-templates select="references" />712 -->713 714 715 <!-- add editorial comments --> 715 716 <xsl:if test="//cref and $xml2rfc-comments='yes' and $xml2rfc-inline!='yes'"> … … 725 726 <xsl:apply-templates select="*[not(self::references) and not(self::ed:replace and .//references)]" /> 726 727 728 <!-- insert the index if index entries exist --> 729 <!-- note it always comes before the authors section --> 730 <xsl:if test="$has-index"> 731 <xsl:call-template name="insertIndex" /> 732 </xsl:if> 733 734 <!-- Authors section is the absolute last thing, except for copyright stuff --> 727 735 <xsl:if test="$xml2rfc-ext-authors-section='end'"> 728 736 <xsl:call-template name="insertAuthors" /> … … 746 754 </xsl:if> 747 755 748 <!-- insert the index if index entries exist -->749 <xsl:if test="$has-index">750 <xsl:call-template name="insertIndex" />751 </xsl:if>752 753 756 </xsl:template> 754 757 … … 863 866 </xsl:choose> 864 867 865 <xsl:if test="not($xml2rfc-private)"> 866 867 <!-- Get status info formatted as per RFC2629--> 868 <xsl:variable name="preamble"> 869 <xsl:call-template name="insertPreamble" /> 870 </xsl:variable> 871 872 <!-- emit it --> 873 <xsl:choose> 874 <xsl:when test="function-available('exslt:node-set')"> 875 <xsl:apply-templates select="exslt:node-set($preamble)" /> 876 </xsl:when> 877 <xsl:otherwise> 878 <xsl:call-template name="error"> 879 <xsl:with-param name="msg" select="$node-set-warning"/> 880 </xsl:call-template> 881 </xsl:otherwise> 882 </xsl:choose> 868 <xsl:if test="not($xml2rfc-private) and not($abstract-first)"> 869 <xsl:call-template name="emit-ietf-preamble"/> 883 870 </xsl:if> 884 871 … … 889 876 <xsl:apply-templates select="ed:replace[.//note]" /> 890 877 878 <xsl:if test="not($xml2rfc-private) and $abstract-first"> 879 <xsl:call-template name="emit-ietf-preamble"/> 880 </xsl:if> 881 891 882 <xsl:if test="$xml2rfc-toc='yes'"> 892 883 <xsl:apply-templates select="/" mode="toc" /> … … 896 887 </xsl:template> 897 888 889 <xsl:template name="emit-ietf-preamble"> 890 <!-- Get status info formatted as per RFC2629--> 891 <xsl:variable name="preamble"> 892 <xsl:call-template name="insertPreamble" /> 893 </xsl:variable> 894 895 <!-- emit it --> 896 <xsl:choose> 897 <xsl:when test="function-available('exslt:node-set')"> 898 <xsl:apply-templates select="exslt:node-set($preamble)" /> 899 </xsl:when> 900 <xsl:otherwise> 901 <xsl:call-template name="error"> 902 <xsl:with-param name="msg" select="$node-set-warning"/> 903 </xsl:call-template> 904 </xsl:otherwise> 905 </xsl:choose> 906 </xsl:template> 898 907 899 908 <xsl:template match="iref"> … … 1569 1578 <xsl:otherwise/> 1570 1579 </xsl:choose> 1571 <meta name="DC.Date.Issued" scheme="ISO8601" content="{$xml2rfc-ext-pub-year}-{$xml2rfc-ext-pub-month-numeric}" /> 1580 <meta name="DC.Date.Issued" scheme="ISO8601"> 1581 <xsl:attribute name="content"> 1582 <xsl:value-of select="concat($xml2rfc-ext-pub-year,'-',$xml2rfc-ext-pub-month-numeric)"/> 1583 <xsl:if test="$xml2rfc-ext-pub-day != '' and not(/rfc/@number)"> 1584 <xsl:value-of select="concat('-',format-number($xml2rfc-ext-pub-day,'00'))"/> 1585 </xsl:if> 1586 </xsl:attribute> 1587 </meta> 1572 1588 1573 1589 <xsl:if test="/rfc/@obsoletes!=''"> … … 1742 1758 </xsl:if> 1743 1759 <xsl:choose> 1744 <xsl:when test="$sectionNumber='1' ">1760 <xsl:when test="$sectionNumber='1' or $sectionNumber='A'"> 1745 1761 <!-- pagebreak, this the first section --> 1746 1762 <xsl:attribute name="class">np</xsl:attribute> … … 1754 1770 <xsl:call-template name="insertInsDelClass" /> 1755 1771 1756 <xsl:if test="$sectionNumber!='' ">1772 <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))"> 1757 1773 <a href="#{$anchor-prefix}.section.{$sectionNumber}"> 1758 1774 <xsl:call-template name="emit-section-number"> … … 1899 1915 </xsl:call-template> 1900 1916 </xsl:when> 1901 1917 1902 1918 <!-- Section links --> 1903 1919 <xsl:when test="$node/self::section or $node/self::appendix"> 1904 <xsl:apply-templates/> 1905 <xsl:text> (</xsl:text> 1906 <a href="#{@target}"> 1907 <!-- insert id when a backlink to this xref is needed in the index --> 1908 <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"> 1909 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1910 </xsl:if> 1911 <xsl:call-template name="render-section-ref"> 1912 <xsl:with-param name="from" select="."/> 1913 <xsl:with-param name="to" select="$node"/> 1914 </xsl:call-template> 1915 </a> 1916 <xsl:text>)</xsl:text> 1920 <xsl:choose> 1921 <xsl:when test="@format='none'"> 1922 <a href="#{@target}"> 1923 <!-- insert id when a backlink to this xref is needed in the index --> 1924 <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"> 1925 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1926 </xsl:if> 1927 <xsl:apply-templates/> 1928 </a> 1929 </xsl:when> 1930 <xsl:otherwise> 1931 <xsl:apply-templates/> 1932 <xsl:text> (</xsl:text> 1933 <a href="#{@target}"> 1934 <!-- insert id when a backlink to this xref is needed in the index --> 1935 <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"> 1936 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1937 </xsl:if> 1938 <xsl:call-template name="render-section-ref"> 1939 <xsl:with-param name="from" select="."/> 1940 <xsl:with-param name="to" select="$node"/> 1941 </xsl:call-template> 1942 </a> 1943 <xsl:text>)</xsl:text> 1944 </xsl:otherwise> 1945 </xsl:choose> 1917 1946 </xsl:when> 1918 1947 … … 2430 2459 <xsl:template name="expirydate"> 2431 2460 <xsl:choose> 2461 <xsl:when test="$xml2rfc-ext-pub-day >= 1"> 2462 <xsl:call-template name="normalize-date"> 2463 <xsl:with-param name="year" select="$xml2rfc-ext-pub-year"/> 2464 <xsl:with-param name="month" select="$xml2rfc-ext-pub-month-numeric"/> 2465 <xsl:with-param name="day" select="$xml2rfc-ext-pub-day + 185"/> 2466 </xsl:call-template> 2467 </xsl:when> 2432 2468 <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when> 2433 2469 <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when> … … 2446 2482 </xsl:template> 2447 2483 2484 <xsl:template name="normalize-date"> 2485 <xsl:param name="year"/> 2486 <xsl:param name="month"/> 2487 <xsl:param name="day"/> 2488 2489 <xsl:variable name="isleap" select="(($year mod 4) = 0 and ($year mod 100 != 0)) or ($year mod 400) = 0" /> 2490 2491 <!--<xsl:message> 2492 <xsl:value-of select="concat($year,' ',$month,' ',$day)"/> 2493 </xsl:message>--> 2494 2495 <xsl:variable name="dim"> 2496 <xsl:choose> 2497 <xsl:when test="$month=1 or $month=3 or $month=5 or $month=7 or $month=8 or $month=10 or $month=12">31</xsl:when> 2498 <xsl:when test="$month=2 and $isleap">29</xsl:when> 2499 <xsl:when test="$month=2 and not($isleap)">28</xsl:when> 2500 <xsl:otherwise>30</xsl:otherwise> 2501 </xsl:choose> 2502 </xsl:variable> 2503 2504 <xsl:choose> 2505 <xsl:when test="$day > $dim and $month=12"> 2506 <xsl:call-template name="normalize-date"> 2507 <xsl:with-param name="year" select="$year + 1"/> 2508 <xsl:with-param name="month" select="1"/> 2509 <xsl:with-param name="day" select="$day - $dim"/> 2510 </xsl:call-template> 2511 </xsl:when> 2512 <xsl:when test="$day > $dim"> 2513 <xsl:call-template name="normalize-date"> 2514 <xsl:with-param name="year" select="$year"/> 2515 <xsl:with-param name="month" select="$month + 1"/> 2516 <xsl:with-param name="day" select="$day - $dim"/> 2517 </xsl:call-template> 2518 </xsl:when> 2519 <xsl:otherwise> 2520 <xsl:call-template name="get-month-as-name"> 2521 <xsl:with-param name="month" select="$month"/> 2522 </xsl:call-template> 2523 <xsl:value-of select="concat(' ',$day,', ',$year)"/> 2524 </xsl:otherwise> 2525 </xsl:choose> 2526 2527 </xsl:template> 2528 2448 2529 <xsl:template name="get-month-as-num"> 2449 2530 <xsl:param name="month" /> … … 2507 2588 <xsl:call-template name="insert-conditional-hrule"/> 2508 2589 2509 <h1 id="{$anchor-prefix}.authors"> 2510 <xsl:call-template name="insert-conditional-pagebreak"/> 2511 <xsl:if test="$number != ''"> 2512 <a href="#{$anchor-prefix}.section.{$number}" id="{$anchor-prefix}.section.{$number}"><xsl:value-of select="$number"/>.</a> 2513 <xsl:text> </xsl:text> 2514 </xsl:if> 2515 <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a> 2516 </h1> 2517 2518 <xsl:apply-templates select="/rfc/front/author" /> 2590 <div class="avoidbreak"> 2591 <h1 id="{$anchor-prefix}.authors"> 2592 <xsl:call-template name="insert-conditional-pagebreak"/> 2593 <xsl:if test="$number != ''"> 2594 <a href="#{$anchor-prefix}.section.{$number}" id="{$anchor-prefix}.section.{$number}"><xsl:value-of select="$number"/>.</a> 2595 <xsl:text> </xsl:text> 2596 </xsl:if> 2597 <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a> 2598 </h1> 2599 2600 <xsl:apply-templates select="/rfc/front/author" /> 2601 </div> 2519 2602 </xsl:if> 2520 2603 </xsl:template> … … 2867 2950 border-width: 1px; 2868 2951 } 2952 table.left { 2953 margin-right: auto; 2954 } 2955 table.right { 2956 margin-left: auto; 2957 } 2958 table.center { 2959 margin-left: auto; 2960 margin-right: auto; 2961 } 2869 2962 caption { 2870 2963 caption-side: bottom; … … 2945 3038 margin-left: 0em; 2946 3039 margin-right: 0em; 3040 } 3041 .avoidbreak { 3042 page-break-inside: avoid; 2947 3043 } 2948 3044 </xsl:if><xsl:if test="//x:bcp14">.bcp14 { … … 3783 3879 3784 3880 <!-- special case: RFC5378 escape applies to RFCs as well --> 3785 <!-- <xsl:if test="/rfc/@ipr = 'pre5378Trust200902'"> 3881 <!-- currently only applied to RFCs, need to discuss for IDs --> 3882 <xsl:if test="/rfc/@number and /rfc/@ipr = 'pre5378Trust200902'"> 3786 3883 <t> 3787 3884 This document may contain material from IETF Documents or IETF Contributions published or … … 3794 3891 other than English. 3795 3892 </t> 3796 </xsl:if> -->3893 </xsl:if> 3797 3894 3798 3895 </section> … … 3868 3965 </xsl:otherwise> 3869 3966 </xsl:choose> 3870 <xsl:if test="$number != '' ">3967 <xsl:if test="$number != '' and not(contains($number,'unnumbered-'))"> 3871 3968 <xsl:call-template name="emit-section-number"> 3872 3969 <xsl:with-param name="no" select="$number"/> … … 3893 3990 <xsl:template match="back" mode="toc"> 3894 3991 3895 <!-- <xsl:apply-templates select="references" mode="toc" /> -->3896 3897 3992 <xsl:if test="//cref and $xml2rfc-comments='yes' and $xml2rfc-inline!='yes'"> 3898 3993 <li> … … 3908 4003 </xsl:if> 3909 4004 <xsl:apply-templates select="*[not(self::references)]" mode="toc" /> 4005 4006 <!-- insert the index if index entries exist --> 4007 <xsl:if test="$has-index"> 4008 <li> 4009 <xsl:call-template name="insert-toc-line"> 4010 <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/> 4011 <xsl:with-param name="title" select="'Index'"/> 4012 </xsl:call-template> 4013 </li> 4014 </xsl:if> 3910 4015 3911 4016 <xsl:if test="$xml2rfc-ext-authors-section='end'"> … … 3923 4028 </xsl:if> 3924 4029 3925 <!-- insert the index if index entries exist -->3926 <xsl:if test="//iref">3927 <li>3928 <xsl:call-template name="insert-toc-line">3929 <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>3930 <xsl:with-param name="title" select="'Index'"/>3931 </xsl:call-template>3932 </li>3933 </xsl:if>3934 3935 4030 </xsl:template> 3936 4031 … … 5051 5146 <xsl:template name="sectionnumberAndEdits"> 5052 5147 <xsl:choose> 5053 <xsl:when test="ancestor::ed:del">del-<xsl:number count="ed:del//section" level="any"/></xsl:when> 5054 <xsl:when test="@x:fixed-section-number"> 5148 <xsl:when test="ancestor::ed:del"> 5149 <xsl:text>del-</xsl:text> 5150 <xsl:number count="ed:del//section" level="any"/> 5151 </xsl:when> 5152 <xsl:when test="@x:fixed-section-number and @x:fixed-section-number!=''"> 5055 5153 <xsl:value-of select="@x:fixed-section-number"/> 5154 </xsl:when> 5155 <xsl:when test="@x:fixed-section-number and @x:fixed-section-number=''"> 5156 <xsl:text>unnumbered-</xsl:text> 5157 <xsl:number count="section[@x:fixed-section-number='']" level="any"/> 5056 5158 </xsl:when> 5057 5159 <xsl:when test="self::section and parent::ed:ins and local-name(../..)='replace'"> … … 5155 5257 5156 5258 <div id="{$anch}"> 5259 5157 5260 <xsl:if test="@anchor!=''"> 5158 5261 <div id="{@anchor}"/> … … 5167 5270 <xsl:otherwise>full</xsl:otherwise> 5168 5271 </xsl:choose> 5272 <xsl:choose> 5273 <xsl:when test="@align='left'"> left</xsl:when> 5274 <xsl:when test="@align='right'"> right</xsl:when> 5275 <xsl:when test="@align='center' or not(@align) or @align=''"> center</xsl:when> 5276 <xsl:otherwise/> 5277 </xsl:choose> 5278 5169 5279 </xsl:variable> 5170 5280 5171 <table summary="{preamble}" class="{$style}" cellpadding="3" cellspacing="0"> 5172 5281 <table class="{$style}" cellpadding="3" cellspacing="0"> 5173 5282 <xsl:if test="(@title!='' or @anchor!='') and not(@suppress-title='true')"> 5174 5283 <xsl:variable name="n"><xsl:number level="any" count="texttable[(@title!='' or @anchor!='') and not(@suppress-title='true')]" /></xsl:variable> … … 5187 5296 <xsl:variable name="columns" select="count(ttcol)" /> 5188 5297 <xsl:variable name="fields" select="c | ed:replace/ed:ins/c | ed:replace/ed:del/c" /> 5189 <xsl:for-each select="$fields[ (position() mod $columns) = 1]">5298 <xsl:for-each select="$fields[$columns=1 or (position() mod $columns) = 1]"> 5190 5299 <tr> 5191 5300 <xsl:for-each select=". | following-sibling::c[position() < $columns]"> … … 5334 5443 <xsl:template match="/*/middle//section[not(myns:unnumbered) and not(ancestor::section)]" mode="links"> 5335 5444 <xsl:variable name="sectionNumber"><xsl:call-template name="get-section-number" /></xsl:variable> 5336 <link rel="Chapter" title="{$sectionNumber} {@title}" href="#{$anchor-prefix}.section.{$sectionNumber}" /> 5445 <xsl:variable name="title"> 5446 <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))"> 5447 <xsl:value-of select="$sectionNumber"/> 5448 <xsl:text> </xsl:text> 5449 </xsl:if> 5450 <xsl:value-of select="@title"/> 5451 </xsl:variable> 5452 <link rel="Chapter" title="{$title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/> 5337 5453 <xsl:apply-templates mode="links" /> 5338 5454 </xsl:template> … … 5340 5456 <xsl:template match="/*/back//section[not(myns:unnumbered) and not(ancestor::section)]" mode="links"> 5341 5457 <xsl:variable name="sectionNumber"><xsl:call-template name="get-section-number" /></xsl:variable> 5342 <link rel="Appendix" title="{$sectionNumber} {@title}" href="#{$anchor-prefix}.section.{$sectionNumber}" /> 5458 <xsl:variable name="title"> 5459 <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))"> 5460 <xsl:value-of select="$sectionNumber"/> 5461 <xsl:text> </xsl:text> 5462 </xsl:if> 5463 <xsl:value-of select="@title"/> 5464 </xsl:variable> 5465 <link rel="Appendix" title="{$title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/> 5343 5466 <xsl:apply-templates mode="links" /> 5344 5467 </xsl:template> … … 5418 5541 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 5419 5542 <!-- when RCS keyword substitution in place, add version info --> 5420 <xsl:if test="contains('$Revision: 1.4 39$',':')">5421 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.4 39$', 'Revision: '),'$','')),', ')" />5543 <xsl:if test="contains('$Revision: 1.447 $',':')"> 5544 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.447 $', 'Revision: '),'$','')),', ')" /> 5422 5545 </xsl:if> 5423 <xsl:if test="contains('$Date: 2009-0 6-09 18:43:39$',':')">5424 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-0 6-09 18:43:39$', 'Date: '),'$','')),', ')" />5546 <xsl:if test="contains('$Date: 2009-08-04 19:54:03 $',':')"> 5547 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-08-04 19:54:03 $', 'Date: '),'$','')),', ')" /> 5425 5548 </xsl:if> 5426 5549 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> … … 5454 5577 <xsl:variable name="anchor" select="@anchor"/> 5455 5578 <xsl:choose> 5456 <xsl:when test="@x:fixed-section-number ">5579 <xsl:when test="@x:fixed-section-number and @x:fixed-section-number!=''"> 5457 5580 <xsl:value-of select="@x:fixed-section-number"/> 5581 </xsl:when> 5582 <xsl:when test="@x:fixed-section-number and @x:fixed-section-number=''"> 5583 <xsl:text>unnumbered-</xsl:text> 5584 <xsl:number count="section[@x:fixed-section-number='']" level="any"/> 5458 5585 </xsl:when> 5459 5586 <xsl:when test="$has-edits or ancestor::*/@x:fixed-section-number"> -
rfc2629xslt/rfc2629toFO.xslt
r588 r662 242 242 243 243 <xsl:template match="back"> 244 245 <!-- add references section first, no matter where it appears in the 246 source document --> 247 <!-- <xsl:apply-templates select="references" /> --> 248 249 <xsl:if test="$xml2rfc-ext-authors-section!='end'"> 250 <xsl:call-template name="insertAuthors" /> 251 </xsl:if> 252 253 <!-- add all other top-level sections under <back> --> 254 <xsl:apply-templates select="*[not(self::references)]" /> 255 256 <xsl:if test="$xml2rfc-ext-authors-section='end'"> 257 <xsl:call-template name="insertAuthors" /> 258 </xsl:if> 259 260 <xsl:if test="not($xml2rfc-private)"> 261 <!-- copyright statements --> 262 <xsl:variable name="copyright"><xsl:call-template name="insertCopyright" /></xsl:variable> 263 264 <!-- emit it --> 265 <xsl:choose> 266 <xsl:when test="function-available('exslt:node-set')"> 267 <xsl:apply-templates select="exslt:node-set($copyright)/node()" /> 268 </xsl:when> 269 <xsl:otherwise> <!--proceed with fingers crossed--> 270 <xsl:variable name="temp" select="$copyright"/> 271 <xsl:apply-templates select="$temp/node()" /> 272 </xsl:otherwise> 273 </xsl:choose> 274 </xsl:if> 275 244 <!-- done in parent template --> 276 245 </xsl:template> 277 246 … … 340 309 <fo:block font-size="80%"><xsl:value-of select="/rfc/@docName" /></fo:block> 341 310 </xsl:if> 342 </fo:block>311 </fo:block> 343 312 344 <!-- Get status info formatted as per RFC2629--> 345 <xsl:if test="not($xml2rfc-private)"> 346 <xsl:variable name="preamble"><xsl:call-template name="insertPreamble" /></xsl:variable> 347 348 <!-- emit it --> 349 <xsl:choose> 350 <xsl:when test="function-available('exslt:node-set')"> 351 <xsl:apply-templates select="exslt:node-set($preamble)/node()" /> 352 </xsl:when> 353 <xsl:otherwise> 354 <xsl:variable name="temp" select="$preamble"/> 355 <xsl:apply-templates select="$temp/node()" /> 356 </xsl:otherwise> 357 </xsl:choose> 313 <xsl:if test="not($xml2rfc-private) and not($abstract-first)"> 314 <xsl:call-template name="emit-ietf-preamble"/> 358 315 </xsl:if> 359 316 … … 361 318 <xsl:apply-templates select="abstract" /> 362 319 <xsl:apply-templates select="note" /> 320 321 <xsl:if test="not($xml2rfc-private) and $abstract-first"> 322 <xsl:call-template name="emit-ietf-preamble"/> 323 </xsl:if> 363 324 364 325 <xsl:if test="$xml2rfc-toc='yes'"> … … 662 623 <xsl:template match="middle"> 663 624 <xsl:apply-templates /> 664 <xsl:apply-templates select="../back/references" />665 625 </xsl:template> 666 626 … … 830 790 <xsl:when test="count(/*/back/references)=1"> 831 791 <fo:block id="{$anchor-prefix}.references" xsl:use-attribute-sets="h1 newpage"> 832 <xsl:call-template name="get-section-number"/>   792 <xsl:variable name="sectionNumber"> 793 <xsl:call-template name="get-section-number"/> 794 </xsl:variable> 795 <xsl:call-template name="emit-section-number"> 796 <xsl:with-param name="no" select="$sectionNumber"/> 797 </xsl:call-template> 798 <xsl:text>  </xsl:text> 833 799 <xsl:choose> 834 800 <xsl:when test="@title!=''"><xsl:value-of select="@title"/></xsl:when> … … 839 805 <xsl:otherwise> 840 806 <fo:block id="{$anchor-prefix}.references.{$name}" xsl:use-attribute-sets="h2"> 841 <xsl:call-template name="get-section-number"/>   807 <xsl:variable name="sectionNumber"> 808 <xsl:call-template name="get-section-number"/> 809 </xsl:variable> 810 <xsl:call-template name="emit-section-number"> 811 <xsl:with-param name="no" select="$sectionNumber"/> 812 </xsl:call-template> 813 <xsl:text>  </xsl:text> 842 814 <xsl:choose> 843 815 <xsl:when test="@title!=''"><xsl:value-of select="@title"/></xsl:when> … … 961 933 <xsl:variable name="lang"><xsl:call-template name="get-lang"/></xsl:variable> 962 934 963 <fo:page-sequence master-reference="sequence" language="{$lang}" force-page-count="even">935 <fo:page-sequence master-reference="sequence" language="{$lang}"> 964 936 <xsl:if test="$xml2rfc-ext-duplex='yes'"> 965 937 <xsl:attribute name="force-page-count">even</xsl:attribute> … … 970 942 971 943 <fo:flow flow-name="xsl-region-body"> 972 <xsl:apply-templates /> 944 945 <!-- process front & middle section, but not back --> 946 <xsl:apply-templates /> 947 948 <!-- because it requires multiple page masters --> 949 <!-- references first --> 950 <xsl:apply-templates select="back/references" /> 951 952 <xsl:if test="$xml2rfc-ext-authors-section!='end'"> 953 <xsl:call-template name="insertAuthors" /> 954 </xsl:if> 955 956 <!-- add all other top-level sections under <back> --> 957 <xsl:apply-templates select="back/*[not(self::references)]" /> 958 973 959 </fo:flow> 974 960 </fo:page-sequence> … … 986 972 </fo:page-sequence> 987 973 </xsl:if> 974 975 <xsl:if test="$xml2rfc-ext-authors-section='end' or (not($xml2rfc-private) and not($no-copylong))"> 976 <fo:page-sequence master-reference="sequence" language="{$lang}"> 977 <xsl:if test="$xml2rfc-ext-duplex='yes'"> 978 <xsl:attribute name="force-page-count">even</xsl:attribute> 979 </xsl:if> 980 981 <xsl:call-template name="insertHeader" /> 982 <xsl:call-template name="insertFooter" /> 983 984 <fo:flow flow-name="xsl-region-body"> 985 986 <xsl:if test="$xml2rfc-ext-authors-section='end'"> 987 <xsl:call-template name="insertAuthors" /> 988 </xsl:if> 989 990 <xsl:if test="not($xml2rfc-private)"> 991 <!-- copyright statements --> 992 <xsl:variable name="copyright"> 993 <xsl:call-template name="insertCopyright" /> 994 </xsl:variable> 995 996 <!-- emit it --> 997 <xsl:choose> 998 <xsl:when test="function-available('exslt:node-set')"> 999 <xsl:apply-templates select="exslt:node-set($copyright)/node()" /> 1000 </xsl:when> 1001 <xsl:otherwise> <!--proceed with fingers crossed--> 1002 <xsl:variable name="temp" select="$copyright"/> 1003 <xsl:apply-templates select="$temp/node()" /> 1004 </xsl:otherwise> 1005 </xsl:choose> 1006 </xsl:if> 1007 1008 </fo:flow> 1009 </fo:page-sequence> 1010 </xsl:if> 988 1011 989 1012 </fo:root> … … 1006 1029 <xsl:call-template name="add-anchor" /> 1007 1030 1008 <xsl:if test="$sectionNumber!='' ">1031 <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))"> 1009 1032 <xsl:call-template name="emit-section-number"> 1010 1033 <xsl:with-param name="no" select="$sectionNumber"/> … … 1158 1181 </fo:basic-link> 1159 1182 </xsl:when> 1183 1160 1184 <xsl:when test="$node/self::section or $node/self::appendix"> 1161 <xsl:apply-templates/> 1162 <xsl:text> (</xsl:text> 1163 <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link"> 1164 <!-- insert id when a backlink to this xref is needed in the index --> 1165 <xsl:variable name="ireftargets" select="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"/> 1166 <xsl:if test="$ireftargets"> 1167 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1168 </xsl:if> 1169 <xsl:for-each select="$ireftargets"> 1170 <fo:wrapper index-key="{concat('item=',@item,',subitem=',@subitem)}" /> 1171 </xsl:for-each> 1172 <xsl:call-template name="render-section-ref"> 1173 <xsl:with-param name="from" select="."/> 1174 <xsl:with-param name="to" select="$node"/> 1175 </xsl:call-template> 1176 </fo:basic-link> 1177 <xsl:text>)</xsl:text> 1185 <xsl:choose> 1186 <xsl:when test="@format='none'"> 1187 <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link"> 1188 <!-- insert id when a backlink to this xref is needed in the index --> 1189 <xsl:variable name="ireftargets" select="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"/> 1190 <xsl:if test="$ireftargets"> 1191 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1192 </xsl:if> 1193 <xsl:for-each select="$ireftargets"> 1194 <fo:wrapper index-key="{concat('item=',@item,',subitem=',@subitem)}" /> 1195 </xsl:for-each> 1196 <xsl:apply-templates/> 1197 </fo:basic-link> 1198 </xsl:when> 1199 <xsl:otherwise> 1200 <xsl:apply-templates/> 1201 <xsl:text> (</xsl:text> 1202 <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link"> 1203 <!-- insert id when a backlink to this xref is needed in the index --> 1204 <xsl:variable name="ireftargets" select="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"/> 1205 <xsl:if test="$ireftargets"> 1206 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1207 </xsl:if> 1208 <xsl:for-each select="$ireftargets"> 1209 <fo:wrapper index-key="{concat('item=',@item,',subitem=',@subitem)}" /> 1210 </xsl:for-each> 1211 <xsl:call-template name="render-section-ref"> 1212 <xsl:with-param name="from" select="."/> 1213 <xsl:with-param name="to" select="$node"/> 1214 </xsl:call-template> 1215 </fo:basic-link> 1216 <xsl:text>)</xsl:text> 1217 </xsl:otherwise> 1218 </xsl:choose> 1178 1219 </xsl:when> 1220 1179 1221 <xsl:otherwise> 1180 1222 <fo:basic-link internal-destination="{$target}" xsl:use-attribute-sets="internal-link"> … … 1711 1753 <xsl:template match="back" mode="toc"> 1712 1754 1713 < !-- <xsl:apply-templates select="references" mode="toc" /> -->1755 <xsl:apply-templates select="references" mode="toc" /> 1714 1756 1715 1757 <xsl:if test="$xml2rfc-ext-authors-section!='end'"> … … 1718 1760 1719 1761 <xsl:apply-templates select="*[not(self::references)]" mode="toc" /> 1762 1763 <!-- insert the index if index entries exist --> 1764 <xsl:if test="$has-index"> 1765 <xsl:call-template name="insert-toc-line"> 1766 <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/> 1767 <xsl:with-param name="title" select="'Index'"/> 1768 </xsl:call-template> 1769 </xsl:if> 1720 1770 1721 1771 <xsl:if test="$xml2rfc-ext-authors-section='end'"> … … 1731 1781 </xsl:if> 1732 1782 1733 <!-- insert the index if index entries exist -->1734 <xsl:if test="$has-index">1735 <xsl:call-template name="insert-toc-line">1736 <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>1737 <xsl:with-param name="title" select="'Index'"/>1738 </xsl:call-template>1739 </xsl:if>1740 1741 1783 </xsl:template> 1742 1784 … … 1866 1908 <xsl:when test="$depth = 0"> 1867 1909 <fo:block space-before="1em" font-weight="bold" text-align-last="justify"> 1868 <xsl:if test="$number!='' ">1910 <xsl:if test="$number!='' and not(contains($number,'unnumbered-'))"> 1869 1911 <xsl:value-of select="$number" /> 1870 1912 <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if> … … 1878 1920 <xsl:when test="$depth = 1"> 1879 1921 <fo:block space-before="0.5em" text-align-last="justify"> 1880 <xsl:if test="$number!='' ">1922 <xsl:if test="$number!='' and not(contains($number,'unnumbered-'))"> 1881 1923 <xsl:value-of select="$number" /> 1882 1924 <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if> … … 1891 1933 <fo:block text-align-last="justify"> 1892 1934 <xsl:text>  </xsl:text> 1893 <xsl:if test="$number!='' ">1935 <xsl:if test="$number!='' and not(contains($number,'unnumbered-'))"> 1894 1936 <xsl:value-of select="$number" /> 1895 1937 <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if> … … 2104 2146 <fo:bookmark internal-destination="{$anchor-prefix}.section.{$sectionNumber}"> 2105 2147 <fo:bookmark-title> 2106 <xsl:value-of select="$sectionNumber"/> 2107 <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if> 2108 <xsl:value-of select="concat(' ',@title)"/> 2148 <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))"> 2149 <xsl:value-of select="$sectionNumber"/> 2150 <xsl:if test="$xml2rfc-ext-sec-no-trailing-dots='yes'">.</xsl:if> 2151 <xsl:text> </xsl:text> 2152 </xsl:if> 2153 <xsl:value-of select="@title"/> 2109 2154 </fo:bookmark-title> 2110 2155 <xsl:apply-templates mode="bookmarks"/> … … 2121 2166 <xsl:template match="back" mode="bookmarks"> 2122 2167 2168 <xsl:call-template name="references-bookmarks" /> 2169 2123 2170 <xsl:if test="$xml2rfc-ext-authors-section!='end'"> 2124 2171 <xsl:apply-templates select="/rfc/front" mode="bookmarks" /> … … 2126 2173 2127 2174 <xsl:apply-templates select="*[not(self::references)]" mode="bookmarks" /> 2175 2176 <!-- insert the index if index entries exist --> 2177 <xsl:if test="$has-index"> 2178 <fo:bookmark internal-destination="{concat($anchor-prefix,'.index')}"> 2179 <fo:bookmark-title>Index</fo:bookmark-title> 2180 </fo:bookmark> 2181 </xsl:if> 2128 2182 2129 2183 <xsl:if test="$xml2rfc-ext-authors-section='end'"> … … 2138 2192 </xsl:if> 2139 2193 2140 <!-- insert the index if index entries exist -->2141 <xsl:if test="$has-index">2142 <fo:bookmark internal-destination="{concat($anchor-prefix,'.index')}">2143 <fo:bookmark-title>Index</fo:bookmark-title>2144 </fo:bookmark>2145 </xsl:if>2146 2194 </xsl:template> 2147 2195 … … 2169 2217 <xsl:template match="middle" mode="bookmarks"> 2170 2218 <xsl:apply-templates mode="bookmarks" /> 2171 <xsl:call-template name="references-bookmarks" />2172 2219 </xsl:template> 2173 2220 … … 2361 2408 </xsl:if> 2362 2409 <xsl:variable name="columns" select="count(ttcol)" /> 2363 <xsl:for-each select="c[ (position() mod $columns) = 1]">2410 <xsl:for-each select="c[$columns=1 or (position() mod $columns) = 1]"> 2364 2411 <fo:table-row> 2365 2412 <xsl:for-each select=". | following-sibling::c[position() < $columns]"> -
rfc2629xslt/rfc2629toXHTML.xslt
r599 r662 182 182 183 183 <xsl:variable name="ipr-2009-02" select="( $ipr-2008-11 and ($xml2rfc-ext-pub-year >= 2010 or ($xml2rfc-ext-pub-year >= 2009 and $xml2rfc-ext-pub-month-numeric >= 02)) )"/> 184 185 <!-- see http://mailman.rfc-editor.org/pipermail/rfc-interest/2009-June/001373.html --> 186 <xsl:variable name="abstract-first" select="( /rfc/@number and ( $xml2rfc-ext-pub-year >= 2010 or ($xml2rfc-ext-pub-year >= 2009 and $xml2rfc-ext-pub-month-numeric >= 07) ) )"/> 184 187 185 188 <!-- funding switch --> … … 500 503 <xsl:template match="back"> 501 504 502 <!-- add references section first, no matter where it appears in the503 source document -->504 <!-- as of April 2004, process from middle section505 <xsl:apply-templates select="references" />506 -->507 508 505 <!-- add editorial comments --> 509 506 <xsl:if test="//cref and $xml2rfc-comments='yes' and $xml2rfc-inline!='yes'"> … … 519 516 <xsl:apply-templates select="*[not(self::references) and not(self::ed:replace and .//references)]"/> 520 517 518 <!-- insert the index if index entries exist --> 519 <!-- note it always comes before the authors section --> 520 <xsl:if test="$has-index"> 521 <xsl:call-template name="insertIndex"/> 522 </xsl:if> 523 524 <!-- Authors section is the absolute last thing, except for copyright stuff --> 521 525 <xsl:if test="$xml2rfc-ext-authors-section='end'"> 522 526 <xsl:call-template name="insertAuthors"/> … … 540 544 </xsl:if> 541 545 542 <!-- insert the index if index entries exist -->543 <xsl:if test="$has-index">544 <xsl:call-template name="insertIndex"/>545 </xsl:if>546 547 546 </xsl:template> 548 547 … … 657 656 </xsl:choose> 658 657 659 <xsl:if test="not($xml2rfc-private)"> 660 661 <!-- Get status info formatted as per RFC2629--> 662 <xsl:variable name="preamble"> 663 <xsl:call-template name="insertPreamble"/> 664 </xsl:variable> 665 666 <!-- emit it --> 667 <xsl:choose> 668 <xsl:when test="function-available('exslt:node-set')"> 669 <xsl:apply-templates select="exslt:node-set($preamble)"/> 670 </xsl:when> 671 <xsl:otherwise> 672 <xsl:call-template name="error"> 673 <xsl:with-param name="msg" select="$node-set-warning"/> 674 </xsl:call-template> 675 </xsl:otherwise> 676 </xsl:choose> 658 <xsl:if test="not($xml2rfc-private) and not($abstract-first)"> 659 <xsl:call-template name="emit-ietf-preamble"/> 677 660 </xsl:if> 678 661 … … 683 666 <xsl:apply-templates select="ed:replace[.//note]"/> 684 667 668 <xsl:if test="not($xml2rfc-private) and $abstract-first"> 669 <xsl:call-template name="emit-ietf-preamble"/> 670 </xsl:if> 671 685 672 <xsl:if test="$xml2rfc-toc='yes'"> 686 673 <xsl:apply-templates select="/" mode="toc"/> … … 690 677 </xsl:template> 691 678 679 <xsl:template name="emit-ietf-preamble"> 680 <!-- Get status info formatted as per RFC2629--> 681 <xsl:variable name="preamble"> 682 <xsl:call-template name="insertPreamble"/> 683 </xsl:variable> 684 685 <!-- emit it --> 686 <xsl:choose> 687 <xsl:when test="function-available('exslt:node-set')"> 688 <xsl:apply-templates select="exslt:node-set($preamble)"/> 689 </xsl:when> 690 <xsl:otherwise> 691 <xsl:call-template name="error"> 692 <xsl:with-param name="msg" select="$node-set-warning"/> 693 </xsl:call-template> 694 </xsl:otherwise> 695 </xsl:choose> 696 </xsl:template> 692 697 693 698 <xsl:template match="iref"> … … 1363 1368 <xsl:otherwise/> 1364 1369 </xsl:choose> 1365 <meta name="DC.Date.Issued" scheme="ISO8601" content="{$xml2rfc-ext-pub-year}-{$xml2rfc-ext-pub-month-numeric}"/> 1370 <meta name="DC.Date.Issued" scheme="ISO8601"> 1371 <xsl:attribute name="content"> 1372 <xsl:value-of select="concat($xml2rfc-ext-pub-year,'-',$xml2rfc-ext-pub-month-numeric)"/> 1373 <xsl:if test="$xml2rfc-ext-pub-day != '' and not(/rfc/@number)"> 1374 <xsl:value-of select="concat('-',format-number($xml2rfc-ext-pub-day,'00'))"/> 1375 </xsl:if> 1376 </xsl:attribute> 1377 </meta> 1366 1378 1367 1379 <xsl:if test="/rfc/@obsoletes!=''"> … … 1536 1548 </xsl:if> 1537 1549 <xsl:choose> 1538 <xsl:when test="$sectionNumber='1' ">1550 <xsl:when test="$sectionNumber='1' or $sectionNumber='A'"> 1539 1551 <!-- pagebreak, this the first section --> 1540 1552 <xsl:attribute name="class">np</xsl:attribute> … … 1548 1560 <xsl:call-template name="insertInsDelClass"/> 1549 1561 1550 <xsl:if test="$sectionNumber!='' ">1562 <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))"> 1551 1563 <a xmlns="http://www.w3.org/1999/xhtml" href="#{$anchor-prefix}.section.{$sectionNumber}"> 1552 1564 <xsl:call-template name="emit-section-number"> … … 1693 1705 </xsl:call-template> 1694 1706 </xsl:when> 1695 1707 1696 1708 <!-- Section links --> 1697 1709 <xsl:when test="$node/self::section or $node/self::appendix"> 1698 <xsl:apply-templates/> 1699 <xsl:text> (</xsl:text> 1700 <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}"> 1701 <!-- insert id when a backlink to this xref is needed in the index --> 1702 <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"> 1703 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1704 </xsl:if> 1705 <xsl:call-template name="render-section-ref"> 1706 <xsl:with-param name="from" select="."/> 1707 <xsl:with-param name="to" select="$node"/> 1708 </xsl:call-template> 1709 </a> 1710 <xsl:text>)</xsl:text> 1710 <xsl:choose> 1711 <xsl:when test="@format='none'"> 1712 <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}"> 1713 <!-- insert id when a backlink to this xref is needed in the index --> 1714 <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"> 1715 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1716 </xsl:if> 1717 <xsl:apply-templates/> 1718 </a> 1719 </xsl:when> 1720 <xsl:otherwise> 1721 <xsl:apply-templates/> 1722 <xsl:text> (</xsl:text> 1723 <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}"> 1724 <!-- insert id when a backlink to this xref is needed in the index --> 1725 <xsl:if test="//iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and ../@anchor=$target]"> 1726 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1727 </xsl:if> 1728 <xsl:call-template name="render-section-ref"> 1729 <xsl:with-param name="from" select="."/> 1730 <xsl:with-param name="to" select="$node"/> 1731 </xsl:call-template> 1732 </a> 1733 <xsl:text>)</xsl:text> 1734 </xsl:otherwise> 1735 </xsl:choose> 1711 1736 </xsl:when> 1712 1737 … … 2224 2249 <xsl:template name="expirydate"> 2225 2250 <xsl:choose> 2251 <xsl:when test="$xml2rfc-ext-pub-day >= 1"> 2252 <xsl:call-template name="normalize-date"> 2253 <xsl:with-param name="year" select="$xml2rfc-ext-pub-year"/> 2254 <xsl:with-param name="month" select="$xml2rfc-ext-pub-month-numeric"/> 2255 <xsl:with-param name="day" select="$xml2rfc-ext-pub-day + 185"/> 2256 </xsl:call-template> 2257 </xsl:when> 2226 2258 <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when> 2227 2259 <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when> … … 2240 2272 </xsl:template> 2241 2273 2274 <xsl:template name="normalize-date"> 2275 <xsl:param name="year"/> 2276 <xsl:param name="month"/> 2277 <xsl:param name="day"/> 2278 2279 <xsl:variable name="isleap" select="(($year mod 4) = 0 and ($year mod 100 != 0)) or ($year mod 400) = 0"/> 2280 2281 <!--<xsl:message> 2282 <xsl:value-of select="concat($year,' ',$month,' ',$day)"/> 2283 </xsl:message>--> 2284 2285 <xsl:variable name="dim"> 2286 <xsl:choose> 2287 <xsl:when test="$month=1 or $month=3 or $month=5 or $month=7 or $month=8 or $month=10 or $month=12">31</xsl:when> 2288 <xsl:when test="$month=2 and $isleap">29</xsl:when> 2289 <xsl:when test="$month=2 and not($isleap)">28</xsl:when> 2290 <xsl:otherwise>30</xsl:otherwise> 2291 </xsl:choose> 2292 </xsl:variable> 2293 2294 <xsl:choose> 2295 <xsl:when test="$day > $dim and $month=12"> 2296 <xsl:call-template name="normalize-date"> 2297 <xsl:with-param name="year" select="$year + 1"/> 2298 <xsl:with-param name="month" select="1"/> 2299 <xsl:with-param name="day" select="$day - $dim"/> 2300 </xsl:call-template> 2301 </xsl:when> 2302 <xsl:when test="$day > $dim"> 2303 <xsl:call-template name="normalize-date"> 2304 <xsl:with-param name="year" select="$year"/> 2305 <xsl:with-param name="month" select="$month + 1"/> 2306 <xsl:with-param name="day" select="$day - $dim"/> 2307 </xsl:call-template> 2308 </xsl:when> 2309 <xsl:otherwise> 2310 <xsl:call-template name="get-month-as-name"> 2311 <xsl:with-param name="month" select="$month"/> 2312 </xsl:call-template> 2313 <xsl:value-of select="concat(' ',$day,', ',$year)"/> 2314 </xsl:otherwise> 2315 </xsl:choose> 2316 2317 </xsl:template> 2318 2242 2319 <xsl:template name="get-month-as-num"> 2243 2320 <xsl:param name="month"/> … … 2301 2378 <xsl:call-template name="insert-conditional-hrule"/> 2302 2379 2303 <h1 xmlns="http://www.w3.org/1999/xhtml" id="{$anchor-prefix}.authors"> 2304 <xsl:call-template name="insert-conditional-pagebreak"/> 2305 <xsl:if test="$number != ''"> 2306 <a href="#{$anchor-prefix}.section.{$number}" id="{$anchor-prefix}.section.{$number}"><xsl:value-of select="$number"/>.</a> 2307 <xsl:text> </xsl:text> 2308 </xsl:if> 2309 <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a> 2310 </h1> 2311 2312 <xsl:apply-templates select="/rfc/front/author"/> 2380 <div xmlns="http://www.w3.org/1999/xhtml" class="avoidbreak"> 2381 <h1 id="{$anchor-prefix}.authors"> 2382 <xsl:call-template name="insert-conditional-pagebreak"/> 2383 <xsl:if test="$number != ''"> 2384 <a href="#{$anchor-prefix}.section.{$number}" id="{$anchor-prefix}.section.{$number}"><xsl:value-of select="$number"/>.</a> 2385 <xsl:text> </xsl:text> 2386 </xsl:if> 2387 <a href="#{$anchor-prefix}.authors"><xsl:call-template name="get-authors-section-title"/></a> 2388 </h1> 2389 2390 <xsl:apply-templates select="/rfc/front/author"/> 2391 </div> 2313 2392 </xsl:if> 2314 2393 </xsl:template> … … 2661 2740 border-width: 1px; 2662 2741 } 2742 table.left { 2743 margin-right: auto; 2744 } 2745 table.right { 2746 margin-left: auto; 2747 } 2748 table.center { 2749 margin-left: auto; 2750 margin-right: auto; 2751 } 2663 2752 caption { 2664 2753 caption-side: bottom; … … 2739 2828 margin-left: 0em; 2740 2829 margin-right: 0em; 2830 } 2831 .avoidbreak { 2832 page-break-inside: avoid; 2741 2833 } 2742 2834 </xsl:if><xsl:if test="//x:bcp14">.bcp14 { … … 3572 3664 3573 3665 <!-- special case: RFC5378 escape applies to RFCs as well --> 3574 <!-- <xsl:if test="/rfc/@ipr = 'pre5378Trust200902'"> 3666 <!-- currently only applied to RFCs, need to discuss for IDs --> 3667 <xsl:if test="/rfc/@number and /rfc/@ipr = 'pre5378Trust200902'"> 3575 3668 <t> 3576 3669 This document may contain material from IETF Documents or IETF Contributions published or … … 3583 3676 other than English. 3584 3677 </t> 3585 </xsl:if> -->3678 </xsl:if> 3586 3679 3587 3680 </section> … … 3657 3750 </xsl:otherwise> 3658 3751 </xsl:choose> 3659 <xsl:if test="$number != '' ">3752 <xsl:if test="$number != '' and not(contains($number,'unnumbered-'))"> 3660 3753 <xsl:call-template name="emit-section-number"> 3661 3754 <xsl:with-param name="no" select="$number"/> … … 3682 3775 <xsl:template match="back" mode="toc"> 3683 3776 3684 <!-- <xsl:apply-templates select="references" mode="toc" /> -->3685 3686 3777 <xsl:if test="//cref and $xml2rfc-comments='yes' and $xml2rfc-inline!='yes'"> 3687 3778 <li xmlns="http://www.w3.org/1999/xhtml"> … … 3697 3788 </xsl:if> 3698 3789 <xsl:apply-templates select="*[not(self::references)]" mode="toc"/> 3790 3791 <!-- insert the index if index entries exist --> 3792 <xsl:if test="$has-index"> 3793 <li xmlns="http://www.w3.org/1999/xhtml"> 3794 <xsl:call-template name="insert-toc-line"> 3795 <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/> 3796 <xsl:with-param name="title" select="'Index'"/> 3797 </xsl:call-template> 3798 </li> 3799 </xsl:if> 3699 3800 3700 3801 <xsl:if test="$xml2rfc-ext-authors-section='end'"> … … 3712 3813 </xsl:if> 3713 3814 3714 <!-- insert the index if index entries exist -->3715 <xsl:if test="//iref">3716 <li xmlns="http://www.w3.org/1999/xhtml">3717 <xsl:call-template name="insert-toc-line">3718 <xsl:with-param name="target" select="concat($anchor-prefix,'.index')"/>3719 <xsl:with-param name="title" select="'Index'"/>3720 </xsl:call-template>3721 </li>3722 </xsl:if>3723 3724 3815 </xsl:template> 3725 3816 … … 4839 4930 <xsl:template name="sectionnumberAndEdits"> 4840 4931 <xsl:choose> 4841 <xsl:when test="ancestor::ed:del">del-<xsl:number count="ed:del//section" level="any"/></xsl:when> 4842 <xsl:when test="@x:fixed-section-number"> 4932 <xsl:when test="ancestor::ed:del"> 4933 <xsl:text>del-</xsl:text> 4934 <xsl:number count="ed:del//section" level="any"/> 4935 </xsl:when> 4936 <xsl:when test="@x:fixed-section-number and @x:fixed-section-number!=''"> 4843 4937 <xsl:value-of select="@x:fixed-section-number"/> 4938 </xsl:when> 4939 <xsl:when test="@x:fixed-section-number and @x:fixed-section-number=''"> 4940 <xsl:text>unnumbered-</xsl:text> 4941 <xsl:number count="section[@x:fixed-section-number='']" level="any"/> 4844 4942 </xsl:when> 4845 4943 <xsl:when test="self::section and parent::ed:ins and local-name(../..)='replace'"> … … 4943 5041 4944 5042 <div xmlns="http://www.w3.org/1999/xhtml" id="{$anch}"> 5043 4945 5044 <xsl:if test="@anchor!=''"> 4946 5045 <div id="{@anchor}"/> … … 4955 5054 <xsl:otherwise>full</xsl:otherwise> 4956 5055 </xsl:choose> 5056 <xsl:choose> 5057 <xsl:when test="@align='left'"> left</xsl:when> 5058 <xsl:when test="@align='right'"> right</xsl:when> 5059 <xsl:when test="@align='center' or not(@align) or @align=''"> center</xsl:when> 5060 <xsl:otherwise/> 5061 </xsl:choose> 5062 4957 5063 </xsl:variable> 4958 5064 4959 <table summary="{preamble}" class="{$style}" cellpadding="3" cellspacing="0"> 4960 5065 <table class="{$style}" cellpadding="3" cellspacing="0"> 4961 5066 <xsl:if test="(@title!='' or @anchor!='') and not(@suppress-title='true')"> 4962 5067 <xsl:variable name="n"><xsl:number level="any" count="texttable[(@title!='' or @anchor!='') and not(@suppress-title='true')]"/></xsl:variable> … … 4975 5080 <xsl:variable name="columns" select="count(ttcol)"/> 4976 5081 <xsl:variable name="fields" select="c | ed:replace/ed:ins/c | ed:replace/ed:del/c"/> 4977 <xsl:for-each select="$fields[ (position() mod $columns) = 1]">5082 <xsl:for-each select="$fields[$columns=1 or (position() mod $columns) = 1]"> 4978 5083 <tr> 4979 5084 <xsl:for-each select=". | following-sibling::c[position() < $columns]"> … … 5122 5227 <xsl:template match="/*/middle//section[not(myns:unnumbered) and not(ancestor::section)]" mode="links"> 5123 5228 <xsl:variable name="sectionNumber"><xsl:call-template name="get-section-number"/></xsl:variable> 5124 <link xmlns="http://www.w3.org/1999/xhtml" rel="Chapter" title="{$sectionNumber} {@title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/> 5229 <xsl:variable name="title"> 5230 <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))"> 5231 <xsl:value-of select="$sectionNumber"/> 5232 <xsl:text> </xsl:text> 5233 </xsl:if> 5234 <xsl:value-of select="@title"/> 5235 </xsl:variable> 5236 <link xmlns="http://www.w3.org/1999/xhtml" rel="Chapter" title="{$title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/> 5125 5237 <xsl:apply-templates mode="links"/> 5126 5238 </xsl:template> … … 5128 5240 <xsl:template match="/*/back//section[not(myns:unnumbered) and not(ancestor::section)]" mode="links"> 5129 5241 <xsl:variable name="sectionNumber"><xsl:call-template name="get-section-number"/></xsl:variable> 5130 <link xmlns="http://www.w3.org/1999/xhtml" rel="Appendix" title="{$sectionNumber} {@title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/> 5242 <xsl:variable name="title"> 5243 <xsl:if test="$sectionNumber!='' and not(contains($sectionNumber,'unnumbered-'))"> 5244 <xsl:value-of select="$sectionNumber"/> 5245 <xsl:text> </xsl:text> 5246 </xsl:if> 5247 <xsl:value-of select="@title"/> 5248 </xsl:variable> 5249 <link xmlns="http://www.w3.org/1999/xhtml" rel="Appendix" title="{$title}" href="#{$anchor-prefix}.section.{$sectionNumber}"/> 5131 5250 <xsl:apply-templates mode="links"/> 5132 5251 </xsl:template> … … 5206 5325 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 5207 5326 <!-- when RCS keyword substitution in place, add version info --> 5208 <xsl:if test="contains('$Revision: 1.4 39$',':')">5209 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.4 39$', 'Revision: '),'$','')),', ')"/>5327 <xsl:if test="contains('$Revision: 1.447 $',':')"> 5328 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.447 $', 'Revision: '),'$','')),', ')"/> 5210 5329 </xsl:if> 5211 <xsl:if test="contains('$Date: 2009-0 6-09 18:43:39$',':')">5212 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-0 6-09 18:43:39$', 'Date: '),'$','')),', ')"/>5330 <xsl:if test="contains('$Date: 2009-08-04 19:54:03 $',':')"> 5331 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-08-04 19:54:03 $', 'Date: '),'$','')),', ')"/> 5213 5332 </xsl:if> 5214 5333 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/> … … 5242 5361 <xsl:variable name="anchor" select="@anchor"/> 5243 5362 <xsl:choose> 5244 <xsl:when test="@x:fixed-section-number ">5363 <xsl:when test="@x:fixed-section-number and @x:fixed-section-number!=''"> 5245 5364 <xsl:value-of select="@x:fixed-section-number"/> 5365 </xsl:when> 5366 <xsl:when test="@x:fixed-section-number and @x:fixed-section-number=''"> 5367 <xsl:text>unnumbered-</xsl:text> 5368 <xsl:number count="section[@x:fixed-section-number='']" level="any"/> 5246 5369 </xsl:when> 5247 5370 <xsl:when test="$has-edits or ancestor::*/@x:fixed-section-number"> -
rfc2629xslt/rfc2629xslt.html
r599 r662 152 152 border-width: 1px; 153 153 } 154 table.left { 155 margin-right: auto; 156 } 157 table.right { 158 margin-left: auto; 159 } 160 table.center { 161 margin-left: auto; 162 margin-right: auto; 163 } 154 164 caption { 155 165 caption-side: bottom; … … 227 237 margin-left: 0em; 228 238 margin-right: 0em; 239 } 240 .avoidbreak { 241 page-break-inside: avoid; 229 242 } 230 243 … … 323 336 } 324 337 @top-right { 325 content: " June2009";338 content: "August 2009"; 326 339 } 327 340 @top-center { … … 350 363 } 351 364 } 352 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C License" href="#rfc.section.C"><link rel="Appendix" title="D Change Logs" href="#rfc.section.D"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.439, 2009-06-09 18:43:39, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 through XSLT</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">June 2009</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2. <a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1 <a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3. <a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4. <a href="#anchors">Anchors</a></li><li class="tocline0">5. <a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1 <a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2 <a href="#rfc.section.5.2">In-Browser Engines</a></li></ul></li><li class="tocline0">6. <a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1 <a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2 <a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3 <a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4 <a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5 <a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7. <a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8. <a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9. <a href="#output.pdf">Transforming to PDF</a><ul class="toc"><li class="tocline1">9.1 <a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1 <a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2 <a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2 <a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10. <a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#ext.element.abnf-char-sequence"><abnf-char-sequence> element</a></li><li class="tocline1">10.2 <a href="#ext.element.anchor-alias"><anchor-alias> element</a></li><li class="tocline1">10.3 <a href="#ext.element.bcp14"><bcp14> element</a></li><li class="tocline1">10.4 <a href="#ext.element.bb"><bb> element</a></li><li class="tocline1">10.5 <a href="#ext.element.bc"><bc> element</a></li><li class="tocline1">10.6 <a href="#ext.element.blockquote"><blockquote> element</a></li><li class="tocline1">10.7 <a href="#ext.element.boilerplate"><boilerplate> element</a></li><li class="tocline1">10.8 <a href="#ext.element.bt"><bt> element</a></li><li class="tocline1">10.9 <a href="#ext.element.dfn"><dfn> element</a></li><li class="tocline1">10.10 <a href="#ext.element.h"><h> element</a></li><li class="tocline1">10.11 <a href="#ext.element.highlight"><highlight> element</a></li><li class="tocline1">10.12 <a href="#ext.element.length-of"><length-of> element</a></li><li class="tocline1">10.13 <a href="#ext.element.link"><link> element</a></li><li class="tocline1">10.14 <a href="#ext.element.lt"><lt> element</a></li><li class="tocline1">10.15 <a href="#ext.element.note"><note> element</a></li><li class="tocline1">10.16 <a href="#ext.element.parse-xml"><parse-xml> element</a></li><li class="tocline1">10.17 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.18 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.19 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.20 <a href="#ext.element.sup"><sup> element</a></li><li class="tocline1">10.21 <a href="#ext-rfc2629.artwork">Extensions to Xml2rfc <artwork> element</a></li><li class="tocline1">10.22 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.23 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.24 <a href="#ext-rfc2629.rfc">Extensions to Xml2rfc <rfc> element</a></li><li class="tocline1">10.25 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.26 <a href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></li></ul></li><li class="tocline0">11. <a href="#utilities">Utilities</a><ul class="toc"><li class="tocline1">11.1 <a href="#checking-references">Checking References</a></li><li class="tocline1">11.2 <a href="#rfc.section.11.2">Generating Graphs from References</a></li><li class="tocline1">11.3 <a href="#rfc.section.11.3">Producing reference entries for books</a></li><li class="tocline1">11.4 <a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li class="tocline1">11.5 <a href="#extract-artwork">Extracting artwork</a></li><li class="tocline1">11.6 <a href="#grddl">GRRDL</a></li></ul></li><li class="tocline0">12. <a href="#rfc.references">Informative References</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0">A. <a href="#grammar">RELAX NG Compact Schema</a></li><li class="tocline0">B. <a href="#rfc.section.B">Implementation Notes</a><ul class="toc"><li class="tocline1">B.1 <a href="#rfc.section.B.1">Recognized type attributes for <artwork> element</a></li></ul></li><li class="tocline0">C. <a href="#license">License</a></li><li class="tocline0">D. <a href="#rfc.section.D">Change Logs</a><ul class="toc"><li class="tocline1">D.1 <a href="#rfc.section.D.1">Package</a></li><li class="tocline1">D.2 <a href="#rfc.section.D.2">amazon-asin.xslt</a></li><li class="tocline1">D.3 <a href="#rfc.section.D.3">check-references.xslt</a></li><li class="tocline1">D.4 <a href="#rfc.section.D.4">gen-reference-graph.xslt</a></li><li class="tocline1">D.5 <a href="#rfc.section.D.5">rfc2629.xslt</a></li><li class="tocline1">D.6 <a href="#rfc.section.D.6">rfc2629toFO.xslt</a></li><li class="tocline1">D.7 <a href="#rfc.section.D.7">xsl11toAn.xslt</a></li><li class="tocline1">D.8 <a href="#rfc.section.D.8">xsl11toFop.xslt</a></li><li class="tocline1">D.9 <a href="#rfc.section.D.9">xsl11toFop-0.93.xslt</a></li><li class="tocline1">D.10 <a href="#rfc.section.D.10">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section 2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section 3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section 4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section 5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section 6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section 7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section 8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section 9</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section 10</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section 11</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at <<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>>.</p><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> <a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.21.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> Extension elements</h2><p id="rfc.section.2.1.p.1"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section 10</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p> <pre class="text"><?rfc toc="yes"?>365 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C Examples" href="#rfc.section.C"><link rel="Appendix" title="D License" href="#rfc.section.D"><link rel="Appendix" title="E Change Logs" href="#rfc.section.E"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.447, 2009-08-04 19:54:03, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 through XSLT</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">August 2009</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2. <a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1 <a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3. <a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4. <a href="#anchors">Anchors</a></li><li class="tocline0">5. <a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1 <a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2 <a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li class="tocline0">6. <a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1 <a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2 <a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3 <a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4 <a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5 <a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7. <a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8. <a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9. <a href="#output.pdf">Transforming to PDF</a><ul class="toc"><li class="tocline1">9.1 <a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1 <a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2 <a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2 <a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10. <a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#ext.element.abnf-char-sequence"><abnf-char-sequence> element</a></li><li class="tocline1">10.2 <a href="#ext.element.anchor-alias"><anchor-alias> element</a></li><li class="tocline1">10.3 <a href="#ext.element.bcp14"><bcp14> element</a></li><li class="tocline1">10.4 <a href="#ext.element.bb"><bb> element</a></li><li class="tocline1">10.5 <a href="#ext.element.bc"><bc> element</a></li><li class="tocline1">10.6 <a href="#ext.element.blockquote"><blockquote> element</a></li><li class="tocline1">10.7 <a href="#ext.element.boilerplate"><boilerplate> element</a></li><li class="tocline1">10.8 <a href="#ext.element.bt"><bt> element</a></li><li class="tocline1">10.9 <a href="#ext.element.dfn"><dfn> element</a></li><li class="tocline1">10.10 <a href="#ext.element.h"><h> element</a></li><li class="tocline1">10.11 <a href="#ext.element.highlight"><highlight> element</a></li><li class="tocline1">10.12 <a href="#ext.element.length-of"><length-of> element</a></li><li class="tocline1">10.13 <a href="#ext.element.link"><link> element</a></li><li class="tocline1">10.14 <a href="#ext.element.lt"><lt> element</a></li><li class="tocline1">10.15 <a href="#ext.element.note"><note> element</a></li><li class="tocline1">10.16 <a href="#ext.element.parse-xml"><parse-xml> element</a></li><li class="tocline1">10.17 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.18 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.19 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.20 <a href="#ext.element.sup"><sup> element</a></li><li class="tocline1">10.21 <a href="#ext-rfc2629.artwork">Extensions to Xml2rfc <artwork> element</a></li><li class="tocline1">10.22 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.23 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.24 <a href="#ext-rfc2629.rfc">Extensions to Xml2rfc <rfc> element</a></li><li class="tocline1">10.25 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.26 <a href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></li></ul></li><li class="tocline0">11. <a href="#utilities">Utilities</a><ul class="toc"><li class="tocline1">11.1 <a href="#checking-references">Checking References</a></li><li class="tocline1">11.2 <a href="#rfc.section.11.2">Generating Graphs from References</a></li><li class="tocline1">11.3 <a href="#rfc.section.11.3">Producing reference entries for books</a></li><li class="tocline1">11.4 <a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li class="tocline1">11.5 <a href="#extract-artwork">Extracting artwork</a></li><li class="tocline1">11.6 <a href="#grddl">GRRDL</a></li></ul></li><li class="tocline0">12. <a href="#rfc.references">Informative References</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0">A. <a href="#grammar">RELAX NG Compact Schema</a></li><li class="tocline0">B. <a href="#rfc.section.B">Implementation Notes</a><ul class="toc"><li class="tocline1">B.1 <a href="#rfc.section.B.1">Recognized type attributes for <artwork> element</a></li></ul></li><li class="tocline0">C. <a href="#examples">Examples</a><ul class="toc"><li class="tocline1">C.1 <a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li class="tocline1">C.2 <a href="#examples.customizing">Customization</a></li></ul></li><li class="tocline0">D. <a href="#license">License</a></li><li class="tocline0">E. <a href="#rfc.section.E">Change Logs</a><ul class="toc"><li class="tocline1">E.1 <a href="#rfc.section.E.1">Package</a></li><li class="tocline1">E.2 <a href="#rfc.section.E.2">amazon-asin.xslt</a></li><li class="tocline1">E.3 <a href="#rfc.section.E.3">check-references.xslt</a></li><li class="tocline1">E.4 <a href="#rfc.section.E.4">gen-reference-graph.xslt</a></li><li class="tocline1">E.5 <a href="#rfc.section.E.5">rfc2629.xslt</a></li><li class="tocline1">E.6 <a href="#rfc.section.E.6">rfc2629toFO.xslt</a></li><li class="tocline1">E.7 <a href="#rfc.section.E.7">xsl11toAn.xslt</a></li><li class="tocline1">E.8 <a href="#rfc.section.E.8">xsl11toFop.xslt</a></li><li class="tocline1">E.9 <a href="#rfc.section.E.9">xsl11toFop-0.93.xslt</a></li><li class="tocline1">E.10 <a href="#rfc.section.E.10">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section 2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section 3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section 4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section 5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section 6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section 7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section 8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section 9</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section 10</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section 11</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at <<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>>.</p><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> <a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.33.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> Extension elements</h2><p id="rfc.section.2.1.p.1"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section 10</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p> <pre class="text"><?rfc toc="yes"?> 353 366 <?rfc-ext support-rfc2731="no"?> 354 367 </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 \ 355 368 xml2rfc-toc=yes xml2rfc-ext-support-rfc2731=no > result.html 356 </pre> 369 </pre><div id="rfc.figure.u.3"></div> <p>Using XSLT parameters (xsltproc):</p> <pre class="text">xsltproc --param xml2rfc-toc '"yes"' \ 357 370 --param xml2rfc-ext-support-rfc2731 '"no"' \ 358 371 rfc2629.xslt source.xml > result.html 359 </pre> <p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p> <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> Supported xml2rfc-compatible PIs</h2><div id="rfc.table.u.1"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>background<div id="rfc.iref.b.1"></div><div id="rfc.iref.p.1"></div></td><td>xml2rfc-background<div id="rfc.iref.x.2"></div> <div id="rfc.iref.p.2"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>compact<div id="rfc.iref.c.1"></div><div id="rfc.iref.p.3"></div></td><td>xml2rfc-compact<div id="rfc.iref.x.3"></div> <div id="rfc.iref.p.4"></div></td><td>"no"</td><td>only applies to HTML output method when printing</td></tr><tr><td>rfc</td><td>comments<div id="rfc.iref.c.2"></div><div id="rfc.iref.p.5"></div></td><td>xml2rfc-comments<div id="rfc.iref.x.4"></div> <div id="rfc.iref.p.6"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>editing<div id="rfc.iref.e.1"></div><div id="rfc.iref.p.7"></div></td><td>xml2rfc-editing<div id="rfc.iref.x.5"></div> <div id="rfc.iref.p.8"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>footer<div id="rfc.iref.f.1"></div><div id="rfc.iref.p.9"></div></td><td>xml2rfc-footer<div id="rfc.iref.x.6"></div> <div id="rfc.iref.p.10"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>header<div id="rfc.iref.h.1"></div><div id="rfc.iref.p.11"></div></td><td>xml2rfc-header<div id="rfc.iref.x.7"></div> <div id="rfc.iref.p.12"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>inline<div id="rfc.iref.i.1"></div><div id="rfc.iref.p.13"></div></td><td>xml2rfc-inline<div id="rfc.iref.x.8"></div> <div id="rfc.iref.p.14"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>iprnotified<div id="rfc.iref.i.2"></div><div id="rfc.iref.p.15"></div></td><td>xml2rfc-iprnotified<div id="rfc.iref.x.9"></div> <div id="rfc.iref.p.16"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>linkmailto<div id="rfc.iref.l.1"></div><div id="rfc.iref.p.17"></div></td><td>xml2rfc-linkmailto<div id="rfc.iref.x.10"></div> <div id="rfc.iref.p.18"></div></td><td>"yes"</td><td></td></tr><tr><td>rfc</td><td>private<div id="rfc.iref.p.19"></div><div id="rfc.iref.p.20"></div></td><td>xml2rfc-private<div id="rfc.iref.x.11"></div> <div id="rfc.iref.p.21"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>rfcedstyle<div id="rfc.iref.r.1"></div><div id="rfc.iref.p.22"></div></td><td>xml2rfc-rfcedstyle<div id="rfc.iref.x.12"></div> <div id="rfc.iref.p.23"></div></td><td>(not set)</td><td>(limited support)</td></tr><tr><td>rfc</td><td>sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.24"></div></td><td>xml2rfc-sortrefs<div id="rfc.iref.x.13"></div> <div id="rfc.iref.p.25"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>symrefs<div id="rfc.iref.s.2"></div><div id="rfc.iref.p.26"></div></td><td>xml2rfc-symrefs<div id="rfc.iref.x.14"></div> <div id="rfc.iref.p.27"></div></td><td>"yes"</td><td>The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</td></tr><tr><td>rfc</td><td>toc<div id="rfc.iref.t.1"></div><div id="rfc.iref.p.28"></div></td><td>xml2rfc-toc<div id="rfc.iref.x.15"></div> <div id="rfc.iref.p.29"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>tocdepth<div id="rfc.iref.t.2"></div><div id="rfc.iref.p.30"></div></td><td>xml2rfc-tocdepth<div id="rfc.iref.x.16"></div> <div id="rfc.iref.p.31"></div></td><td>99</td><td></td></tr><tr><td>rfc</td><td>topblock<div id="rfc.iref.t.3"></div><div id="rfc.iref.p.32"></div></td><td>xml2rfc-topblock<div id="rfc.iref.x.17"></div> <div id="rfc.iref.p.33"></div></td><td>"yes"</td><td></td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> Unsupported xml2rfc-compatible PIs</h2><div id="rfc.table.u.2"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.34"></div></td><td>incompatible with XML/XSLT processing model</td></tr><tr><td>rfc</td><td>needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.35"></div></td><td></td></tr><tr><td>rfc</td><td>slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.36"></div></td><td></td></tr><tr><td>rfc</td><td>strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.37"></div></td><td></td></tr><tr><td>rfc</td><td>subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.38"></div></td><td></td></tr><tr><td>rfc</td><td>tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.39"></div></td><td>(defaults to "yes")</td></tr><tr><td>rfc</td><td>tocompact<div id="rfc.iref.t.5"></div><div id="rfc.iref.p.40"></div></td><td></td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> Extension PIs</h2><div id="rfc.table.u.3"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>description</th></tr></thead><tbody><tr><td>rfc-ext</td><td>allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.41"></div></td><td>xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.18"></div> <div id="rfc.iref.p.42"></div></td><td>"no"</td><td>Enables support for specific elements inside abstract elements (using this extension makes the document incompatible to the RFC2629bis DTD; see description of conversion XSLT in <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section 11.4</a>).</td></tr><tr><td>rfc-ext</td><td>authors-section<div id="rfc.iref.a.2"></div><div id="rfc.iref.p.43"></div></td><td>xml2rfc-ext-authors-section<div id="rfc.iref.x.19"></div> <div id="rfc.iref.p.44"></div></td><td></td><td>When "end", place the authors section at the end (just before the copyright statements). This seems to be the preferred order in the newest RFCs.</td></tr><tr><td>rfc-ext</td><td>duplex<div id="rfc.iref.d.1"></div><div id="rfc.iref.p.45"></div></td><td>xml2rfc-ext-duplex<div id="rfc.iref.x.20"></div> <div id="rfc.iref.p.46"></div></td><td>no</td><td>When set to "yes", format the PDF output for doublesided printing.</td></tr><tr><td>rfc-ext</td><td>include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.47"></div></td><td>xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.21"></div> <div id="rfc.iref.p.48"></div></td><td></td><td>When set to "yes", index entries are generated for all references.</td></tr><tr><td>rfc-ext</td><td>justification<div id="rfc.iref.j.1"></div><div id="rfc.iref.p.49"></div></td><td>xml2rfc-ext-justification<div id="rfc.iref.x.22"></div> <div id="rfc.iref.p.50"></div></td><td>"never"</td><td>"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</td></tr><tr><td>rfc-ext</td><td>parse-xml-in-artwork<div id="rfc.iref.p.51"></div><div id="rfc.iref.p.52"></div></td><td>xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.23"></div> <div id="rfc.iref.p.53"></div></td><td>"no"</td><td>May be used to enable parsing of XML content in figures (MSXML only).</td></tr><tr><td>rfc-ext</td><td>support-rfc2731<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.54"></div></td><td>xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.24"></div> <div id="rfc.iref.p.55"></div></td><td>"yes"</td><td>Decides whether the HTML transformation should generate META tags according <a href="#rfc2731.properties" title="Dublin Core (RFC2731) metadata">Section 6.4</a>.</td></tr><tr><td>rfc-ext</td><td>sec-no-trailing-dots<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.56"></div></td><td>xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.25"></div> <div id="rfc.iref.p.57"></div></td><td></td><td>When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the newest RFCs.</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> <a id="anchors" href="#anchors">Anchors</a></h1><p id="rfc.section.4.p.1">The transformation automatically generates anchors that are supposed to be stable and predictable and that can be used to identify specific parts of the document. Anchors are generated both in HTML and XSL-FO content (but the latter will only be used for PDF output when the XSL-FO engine supports producing PDF anchors).</p><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table summary="The following anchors get auto-generated:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Anchor name</th><th>Description</th></tr></thead><tbody><tr><td>rfc.abstract <div id="rfc.iref.r.2"></div><div id="rfc.iref.a.3"></div></td><td>Abstract</td></tr><tr><td>rfc.authors <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.4"></div></td><td>Authors section</td></tr><tr><td>rfc.copyright <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.5"></div></td><td>Copyright section</td></tr><tr><td>rfc.copyrightnotice <div id="rfc.iref.r.5"></div><div id="rfc.iref.a.6"></div></td><td>Copyright notice</td></tr><tr><td>rfc.figure.<em>n</em> <div id="rfc.iref.r.6"></div><div id="rfc.iref.a.7"></div></td><td>Figures (titled)</td></tr><tr><td>rfc.figure.u.<em>n</em> <div id="rfc.iref.r.7"></div><div id="rfc.iref.a.8"></div></td><td>Figures (untitled)</td></tr><tr><td>rfc.index <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.9"></div></td><td>Index</td></tr><tr><td>rfc.ipr <div id="rfc.iref.r.9"></div><div id="rfc.iref.a.10"></div></td><td>Intellectual Property</td></tr><tr><td>rfc.iref.<em>n</em> <div id="rfc.iref.r.10"></div><div id="rfc.iref.a.11"></div></td><td>Internal references</td></tr><tr><td>rfc.note.<em>n</em> <div id="rfc.iref.r.11"></div><div id="rfc.iref.a.12"></div></td><td>Notes (from front section)</td></tr><tr><td>rfc.references <div id="rfc.iref.r.12"></div><div id="rfc.iref.a.13"></div></td><td>References</td></tr><tr><td>rfc.references.<em>n</em> <div id="rfc.iref.r.13"></div><div id="rfc.iref.a.14"></div></td><td>Additional references</td></tr><tr><td>rfc.section.<em>n</em> <div id="rfc.iref.r.14"></div><div id="rfc.iref.a.15"></div></td><td>Section <em>n</em></td></tr><tr><td>rfc.section.<em>n</em>.p.<em>m</em> <div id="rfc.iref.r.15"></div><div id="rfc.iref.a.16"></div></td><td>Section <em>n</em>, paragraph <em>m</em></td></tr><tr><td>rfc.status <div id="rfc.iref.r.16"></div><div id="rfc.iref.a.17"></div></td><td>Status of memo</td></tr><tr><td>rfc.table.<em>n</em> <div id="rfc.iref.r.17"></div><div id="rfc.iref.a.18"></div></td><td>Tables (titled)</td></tr><tr><td>rfc.table.u.<em>n</em> <div id="rfc.iref.r.18"></div><div id="rfc.iref.a.19"></div></td><td>Tables (untitled)</td></tr><tr><td>rfc.toc <div id="rfc.iref.r.19"></div><div id="rfc.iref.a.20"></div></td><td>Table of contents</td></tr><tr><td>rfc.xref.<em>name</em>.<em>n</em> <div id="rfc.iref.r.20"></div><div id="rfc.iref.a.21"></div></td><td>References to reference <em>n</em> to <em>name</em></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="xslt.engines" href="#xslt.engines">Supported XSLT engines</a></h1><p id="rfc.section.5.p.1">The transformation requires a non-standard extension function (see <a href="http://www.exslt.org/exsl/functions/node-set/exsl.node-set.html">exsl:node-set</a>) which is however widely available. XSLT processors that do not support this extension (or a functional equivalent) currently are not supported.</p><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> Standalone Engines</h2><p id="rfc.section.5.1.p.1">The following XSLT engines are believed to work well: </p><ul><li><span id="rfc.iref.m.1"></span><span id="rfc.iref.m.2"></span>MSXML3 and MSXML4 (<<a href="http://msdn.microsoft.com/xml">http://msdn.microsoft.com/xml</a>>; these processors do not support exsl:node-set(), but have a similar proprietary extension)</li><li><span id="rfc.iref.s.8"></span>Saxon (<<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>>)</li><li><span id="rfc.iref.x.26"></span>Xalan (<<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>>)</li><li><span id="rfc.iref.x.27"></span>xsltproc (libxslt) (<<a href="http://xmlsoft.org/XSLT/">http://xmlsoft.org/XSLT/</a>>, make sure that you have a current version)</li></ul><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> In-Browser Engines</h2><p id="rfc.section.5.2.p.1">The following browsers seem to work fine: </p><ul><li><span id="rfc.iref.i.5"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</li><li><span id="rfc.iref.i.6"></span>Internet Explorer 6</li><li><span id="rfc.iref.i.7"></span>Internet Explorer 7</li><li><span id="rfc.iref.i.8"></span>Internet Explorer 8</li><li id="firefox3"><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.0</li><li><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</li><li><span id="rfc.iref.g.1"></span>Google Chrome (beta available)</li><li><span id="rfc.iref.o.1"></span>Opera 10 (alpha version available)</li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li id="firefox12"><span id="rfc.iref.m.4"></span><span id="rfc.iref.f.3"></span>Firefox 1.*/2.*: (missing extension function - see change request at Mozilla BugZilla <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</a>)</li><li id="opera"><span id="rfc.iref.o.2"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725).</li><li>Opera 9.5 and 9.6: transformation appears to work, but CSS isn't getting applied (reported to Opera as bug 337388 on 2008-06-12).</li><li id="safari"><span id="rfc.iref.s.11"></span>Safari 2.* supports client-side XSLT as of MacOS X 10.4, but misses required extension functions. A problem with stylesheets producing non-ASCII output (such as NBSP characters) has been fixed as of OSX 10.4.4. Both problems have been reported through Apple's bug tracking system, see <<a href="http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html">http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html</a>> and <<a href="http://bugs.webkit.org/show_bug.cgi?id=4079">http://bugs.webkit.org/show_bug.cgi?id=4079</a>>.</li></ul><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> <a id="output.html" href="#output.html">Transforming to HTML</a></h1><p id="rfc.section.6.p.1">Transformation to HTML can be done inside the browser if it supports XSLT. To enable this, add the following processing instruction to the start of the source file:</p><div id="rfc.iref.x.28"></div><div id="rfc.figure.u.4"></div><pre class="text"> <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>360 </pre><p id="rfc.section.6.p.3">(and ensure that <samp>rfc2629.xslt</samp> is present).</p><h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a> HTML compliance</h2><p id="rfc.section.6.1.p.1">The transformation result is supposed to conform to the HTML 4.01 strict DTD <a href="#HTML" id="rfc.xref.HTML.1"><cite title="HTML 4.01 Specification">[HTML]</cite></a>. This can be checked using the W3C's online validator at <<a href="http://validator.w3.org">http://validator.w3.org</a>><span id="rfc.iref.h.2"></span>.</p><h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a> <a id="html.link" href="#html.link">Standard HTML LINK elements</a></h2><p id="rfc.section.6.2.p.1">LINK elements exist since HTML 2.0. They can be used to embed content-independant links inside the document. Unfortunately, only few user agents support this element. Firefox users may want to check the <a href="https://addons.mozilla.org/firefox/2933/">Link Widgets</a> extension.</p><div id="rfc.table.u.5"><p>The following LINK elements are produced:</p><table summary="The following LINK elements are produced:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>LINK type</th><th>description</th></tr></thead><tbody><tr><td>alternate<div id="rfc.iref.a.22"></div><div id="rfc.iref.h.3"></div></td><td>for RFCs, a link to the authorative ASCII version on the IETF web site</td></tr><tr><td>appendic<div id="rfc.iref.a.23"></div><div id="rfc.iref.h.4"></div></td><td>pointer to all top-level appendics</td></tr><tr><td>author<div id="rfc.iref.a.24"></div><div id="rfc.iref.h.5"></div></td><td>pointer to "authors" section</td></tr><tr><td>chapter<div id="rfc.iref.c.3"></div><div id="rfc.iref.h.6"></div></td><td>pointer to all top-level sections</td></tr><tr><td>contents<div id="rfc.iref.c.4"></div><div id="rfc.iref.h.7"></div></td><td>pointer to table of contents</td></tr><tr><td>copyright<div id="rfc.iref.c.5"></div><div id="rfc.iref.h.8"></div></td><td>pointer to copyright statement</td></tr><tr><td>index<div id="rfc.iref.i.9"></div><div id="rfc.iref.h.9"></div></td><td>pointer to index</td></tr></tbody></table></div><div id="rfc.figure.u.5"></div> <p>The figure below shows how Mozilla Firefox 1.0 displays the Site Navigation Bar for rfc2396.xml.</p> <p><img src="rfc2629xslt-fig1.png" alt="
(LINK elements displayed in Mozilla Firefox for RFC2396.xml)
" height="235" width="509"></p> <h2 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a> Standard HTML metadata</h2><div id="rfc.table.u.6"><p>The following standard HTML META elements are produced:</p><table summary="The following standard HTML META elements are produced:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>generator<div id="rfc.iref.g.2"></div><div id="rfc.iref.h.10"></div></td><td>from XSLT engine version and stylesheet version</td></tr><tr><td>keywords<div id="rfc.iref.k.1"></div><div id="rfc.iref.h.11"></div></td><td>from keyword elements in front section</td></tr></tbody></table></div><h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a> <a id="rfc2731.properties" href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></h2><p id="rfc.section.6.4.p.1">Unless turned off using the "rfc-ext support-rfc2731" processing instruction, the transformation will generate metadata according to <a href="#RFC2731" id="rfc.xref.RFC2731.1"><cite title="Encoding Dublin Core Metadata in HTML">[RFC2731]</cite></a> and <a href="#DC-HTML" id="rfc.xref.DC-HTML.1"><cite title="Expressing Dublin Core metadata using HTML/XHTML meta and link elements">[DC-HTML]</cite></a>.</p><div id="rfc.table.u.7"><p>The following DCMI properties are produced:</p><table summary="The following DCMI properties are produced:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>DC.Creator<div id="rfc.iref.c.6"></div><div id="rfc.iref.d.2"></div></td><td>from author information in front section</td></tr><tr><td>DC.Date.Issued<div id="rfc.iref.d.3"></div><div id="rfc.iref.d.4"></div></td><td>from date information in front section</td></tr><tr><td>DC.Description.Abstract<div id="rfc.iref.d.5"></div><div id="rfc.iref.d.6"></div></td><td>from abstract</td></tr><tr><td>DC.Identifier<div id="rfc.iref.i.10"></div><div id="rfc.iref.d.7"></div></td><td>document URN <a href="#RFC2648" id="rfc.xref.RFC2648.1"><cite title="A URN Namespace for IETF Documents">[RFC2648]</cite></a> from "docName" attribute</td></tr><tr><td>DC.isPartOf<div id="rfc.iref.i.11"></div><div id="rfc.iref.d.8"></div></td><td>RFC ISSN (for RFCs)</td></tr><tr><td>DC.Relation.Replaces<div id="rfc.iref.r.21"></div><div id="rfc.iref.d.9"></div></td><td>from "obsoletes" attribute</td></tr></tbody></table></div><h2 id="rfc.section.6.5"><a href="#rfc.section.6.5">6.5</a> <a id="hcard" href="#hcard">Experimental hCard support</a></h2><p id="rfc.section.6.5.p.1">The generated author information is formatted in <a href="http://microformats.org/wiki/hcard">hCard</a> format.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a> <a id="output.xhtml" href="#output.xhtml">Transforming to XHTML</a></h1><p id="rfc.section.7.p.1">Transforming to XHTML requires slightly different XSLT output options and is implemented by the derived transformation script <samp>rfc2629toXHTML.xslt</samp>.</p><dl class="empty"><dd> <b>Note:</b> Microsoft Internet Explorer does <em>not</em> support XHTML. Therefore it usually makes more sense to generate plain old HTML.</dd></dl><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a> <a id="output.chm" href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></h1><p id="rfc.section.8.p.1"> <span id="rfc.iref.c.7"></span> <span id="rfc.iref.m.5"></span> To generate a CHM file using Microsoft's HTML Help Compiler (hhc), three files are required in addition to the HTML file. </p><ol><li>hhc - table of contents file (HTML)</li><li>hhk - index file (HTML)</li><li>hhp - project file (plain text)</li></ol><p id="rfc.section.8.p.2">The three files are generated with three specific transformations, each requiring the additional XSLT parameter "basename" to specify the filename prefix.</p><div id="rfc.figure.u.6"></div> <p>Example:</p> <pre class="text">saxon rfc2616.xml rfc2629toHhp.xslt basename=rfc2616 > rfc2616.hhp372 </pre> <p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p> <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> Supported xml2rfc-compatible PIs</h2><div id="rfc.table.u.1"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>background<div id="rfc.iref.b.1"></div><div id="rfc.iref.p.1"></div></td><td>xml2rfc-background<div id="rfc.iref.x.2"></div> <div id="rfc.iref.p.2"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>compact<div id="rfc.iref.c.1"></div><div id="rfc.iref.p.3"></div></td><td>xml2rfc-compact<div id="rfc.iref.x.3"></div> <div id="rfc.iref.p.4"></div></td><td>"no"</td><td>only applies to HTML output method when printing</td></tr><tr><td>rfc</td><td>comments<div id="rfc.iref.c.2"></div><div id="rfc.iref.p.5"></div></td><td>xml2rfc-comments<div id="rfc.iref.x.4"></div> <div id="rfc.iref.p.6"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>editing<div id="rfc.iref.e.1"></div><div id="rfc.iref.p.7"></div></td><td>xml2rfc-editing<div id="rfc.iref.x.5"></div> <div id="rfc.iref.p.8"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>footer<div id="rfc.iref.f.1"></div><div id="rfc.iref.p.9"></div></td><td>xml2rfc-footer<div id="rfc.iref.x.6"></div> <div id="rfc.iref.p.10"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>header<div id="rfc.iref.h.1"></div><div id="rfc.iref.p.11"></div></td><td>xml2rfc-header<div id="rfc.iref.x.7"></div> <div id="rfc.iref.p.12"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>inline<div id="rfc.iref.i.1"></div><div id="rfc.iref.p.13"></div></td><td>xml2rfc-inline<div id="rfc.iref.x.8"></div> <div id="rfc.iref.p.14"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>iprnotified<div id="rfc.iref.i.2"></div><div id="rfc.iref.p.15"></div></td><td>xml2rfc-iprnotified<div id="rfc.iref.x.9"></div> <div id="rfc.iref.p.16"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>linkmailto<div id="rfc.iref.l.1"></div><div id="rfc.iref.p.17"></div></td><td>xml2rfc-linkmailto<div id="rfc.iref.x.10"></div> <div id="rfc.iref.p.18"></div></td><td>"yes"</td><td></td></tr><tr><td>rfc</td><td>private<div id="rfc.iref.p.19"></div><div id="rfc.iref.p.20"></div></td><td>xml2rfc-private<div id="rfc.iref.x.11"></div> <div id="rfc.iref.p.21"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>rfcedstyle<div id="rfc.iref.r.1"></div><div id="rfc.iref.p.22"></div></td><td>xml2rfc-rfcedstyle<div id="rfc.iref.x.12"></div> <div id="rfc.iref.p.23"></div></td><td>(not set)</td><td>(limited support)</td></tr><tr><td>rfc</td><td>sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.24"></div></td><td>xml2rfc-sortrefs<div id="rfc.iref.x.13"></div> <div id="rfc.iref.p.25"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>symrefs<div id="rfc.iref.s.2"></div><div id="rfc.iref.p.26"></div></td><td>xml2rfc-symrefs<div id="rfc.iref.x.14"></div> <div id="rfc.iref.p.27"></div></td><td>"yes"</td><td>The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</td></tr><tr><td>rfc</td><td>toc<div id="rfc.iref.t.1"></div><div id="rfc.iref.p.28"></div></td><td>xml2rfc-toc<div id="rfc.iref.x.15"></div> <div id="rfc.iref.p.29"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>tocdepth<div id="rfc.iref.t.2"></div><div id="rfc.iref.p.30"></div></td><td>xml2rfc-tocdepth<div id="rfc.iref.x.16"></div> <div id="rfc.iref.p.31"></div></td><td>99</td><td></td></tr><tr><td>rfc</td><td>topblock<div id="rfc.iref.t.3"></div><div id="rfc.iref.p.32"></div></td><td>xml2rfc-topblock<div id="rfc.iref.x.17"></div> <div id="rfc.iref.p.33"></div></td><td>"yes"</td><td></td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> Unsupported xml2rfc-compatible PIs</h2><div id="rfc.table.u.2"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.34"></div></td><td>incompatible with XML/XSLT processing model, please use external entities instead</td></tr><tr><td>rfc</td><td>needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.35"></div></td><td></td></tr><tr><td>rfc</td><td>slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.36"></div></td><td></td></tr><tr><td>rfc</td><td>strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.37"></div></td><td></td></tr><tr><td>rfc</td><td>subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.38"></div></td><td></td></tr><tr><td>rfc</td><td>tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.39"></div></td><td>(defaults to "yes")</td></tr><tr><td>rfc</td><td>tocompact<div id="rfc.iref.t.5"></div><div id="rfc.iref.p.40"></div></td><td></td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> Extension PIs</h2><div id="rfc.table.u.3"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>description</th></tr></thead><tbody><tr><td>rfc-ext</td><td>allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.41"></div></td><td>xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.18"></div> <div id="rfc.iref.p.42"></div></td><td>"no"</td><td>Enables support for specific elements inside abstract elements (using this extension makes the document incompatible to the RFC2629bis DTD; see description of conversion XSLT in <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section 11.4</a>).</td></tr><tr><td>rfc-ext</td><td>authors-section<div id="rfc.iref.a.2"></div><div id="rfc.iref.p.43"></div></td><td>xml2rfc-ext-authors-section<div id="rfc.iref.x.19"></div> <div id="rfc.iref.p.44"></div></td><td></td><td>When "end", place the authors section at the end (just before the copyright statements). This seems to be the preferred order in the newest RFCs.</td></tr><tr><td>rfc-ext</td><td>duplex<div id="rfc.iref.d.1"></div><div id="rfc.iref.p.45"></div></td><td>xml2rfc-ext-duplex<div id="rfc.iref.x.20"></div> <div id="rfc.iref.p.46"></div></td><td>no</td><td>When set to "yes", format the PDF output for doublesided printing.</td></tr><tr><td>rfc-ext</td><td>include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.47"></div></td><td>xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.21"></div> <div id="rfc.iref.p.48"></div></td><td></td><td>When set to "yes", index entries are generated for all references.</td></tr><tr><td>rfc-ext</td><td>justification<div id="rfc.iref.j.1"></div><div id="rfc.iref.p.49"></div></td><td>xml2rfc-ext-justification<div id="rfc.iref.x.22"></div> <div id="rfc.iref.p.50"></div></td><td>"never"</td><td>"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</td></tr><tr><td>rfc-ext</td><td>parse-xml-in-artwork<div id="rfc.iref.p.51"></div><div id="rfc.iref.p.52"></div></td><td>xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.23"></div> <div id="rfc.iref.p.53"></div></td><td>"no"</td><td>May be used to enable parsing of XML content in figures (MSXML only).</td></tr><tr><td>rfc-ext</td><td>support-rfc2731<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.54"></div></td><td>xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.24"></div> <div id="rfc.iref.p.55"></div></td><td>"yes"</td><td>Decides whether the HTML transformation should generate META tags according <a href="#rfc2731.properties" title="Dublin Core (RFC2731) metadata">Section 6.4</a>.</td></tr><tr><td>rfc-ext</td><td>sec-no-trailing-dots<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.56"></div></td><td>xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.25"></div> <div id="rfc.iref.p.57"></div></td><td></td><td>When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the newest RFCs.</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> <a id="anchors" href="#anchors">Anchors</a></h1><p id="rfc.section.4.p.1">The transformation automatically generates anchors that are supposed to be stable and predictable and that can be used to identify specific parts of the document. Anchors are generated both in HTML and XSL-FO content (but the latter will only be used for PDF output when the XSL-FO engine supports producing PDF anchors).</p><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>Anchor name</th><th>Description</th></tr></thead><tbody><tr><td>rfc.abstract <div id="rfc.iref.r.2"></div><div id="rfc.iref.a.3"></div></td><td>Abstract</td></tr><tr><td>rfc.authors <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.4"></div></td><td>Authors section</td></tr><tr><td>rfc.copyright <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.5"></div></td><td>Copyright section</td></tr><tr><td>rfc.copyrightnotice <div id="rfc.iref.r.5"></div><div id="rfc.iref.a.6"></div></td><td>Copyright notice</td></tr><tr><td>rfc.figure.<em>n</em> <div id="rfc.iref.r.6"></div><div id="rfc.iref.a.7"></div></td><td>Figures (titled)</td></tr><tr><td>rfc.figure.u.<em>n</em> <div id="rfc.iref.r.7"></div><div id="rfc.iref.a.8"></div></td><td>Figures (untitled)</td></tr><tr><td>rfc.index <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.9"></div></td><td>Index</td></tr><tr><td>rfc.ipr <div id="rfc.iref.r.9"></div><div id="rfc.iref.a.10"></div></td><td>Intellectual Property</td></tr><tr><td>rfc.iref.<em>n</em> <div id="rfc.iref.r.10"></div><div id="rfc.iref.a.11"></div></td><td>Internal references</td></tr><tr><td>rfc.note.<em>n</em> <div id="rfc.iref.r.11"></div><div id="rfc.iref.a.12"></div></td><td>Notes (from front section)</td></tr><tr><td>rfc.references <div id="rfc.iref.r.12"></div><div id="rfc.iref.a.13"></div></td><td>References</td></tr><tr><td>rfc.references.<em>n</em> <div id="rfc.iref.r.13"></div><div id="rfc.iref.a.14"></div></td><td>Additional references</td></tr><tr><td>rfc.section.<em>n</em> <div id="rfc.iref.r.14"></div><div id="rfc.iref.a.15"></div></td><td>Section <em>n</em></td></tr><tr><td>rfc.section.<em>n</em>.p.<em>m</em> <div id="rfc.iref.r.15"></div><div id="rfc.iref.a.16"></div></td><td>Section <em>n</em>, paragraph <em>m</em></td></tr><tr><td>rfc.status <div id="rfc.iref.r.16"></div><div id="rfc.iref.a.17"></div></td><td>Status of memo</td></tr><tr><td>rfc.table.<em>n</em> <div id="rfc.iref.r.17"></div><div id="rfc.iref.a.18"></div></td><td>Tables (titled)</td></tr><tr><td>rfc.table.u.<em>n</em> <div id="rfc.iref.r.18"></div><div id="rfc.iref.a.19"></div></td><td>Tables (untitled)</td></tr><tr><td>rfc.toc <div id="rfc.iref.r.19"></div><div id="rfc.iref.a.20"></div></td><td>Table of contents</td></tr><tr><td>rfc.xref.<em>name</em>.<em>n</em> <div id="rfc.iref.r.20"></div><div id="rfc.iref.a.21"></div></td><td>References to reference <em>n</em> to <em>name</em></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="xslt.engines" href="#xslt.engines">Supported XSLT engines</a></h1><p id="rfc.section.5.p.1">The transformation requires a non-standard extension function (see <a href="http://www.exslt.org/exsl/functions/node-set/exsl.node-set.html">exsl:node-set</a>) which is however widely available. XSLT processors that do not support this extension (or a functional equivalent) currently are not supported.</p><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> Standalone Engines</h2><p id="rfc.section.5.1.p.1">The following XSLT engines are believed to work well: </p><ul><li>Windows: <span id="rfc.iref.m.1"></span><span id="rfc.iref.m.2"></span>MSXML3 and MSXML4 (<<a href="http://msdn.microsoft.com/xml">http://msdn.microsoft.com/xml</a>>; command line processor "msxsl" is available from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41">Microsoft Download Center</a>)</li><li>Java: <span id="rfc.iref.s.8"></span>Saxon (<<a href="http://saxon.sourceforge.net/">http://saxon.sourceforge.net/</a>>)</li><li>Java: <span id="rfc.iref.x.26"></span>Xalan (<<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>>)</li><li>C/C++: <span id="rfc.iref.x.27"></span>xsltproc (libxslt) (<<a href="http://xmlsoft.org/XSLT/">http://xmlsoft.org/XSLT/</a>>, make sure that you have a current version)</li></ul><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="xslt.engines.browser" href="#xslt.engines.browser">In-Browser Engines</a></h2><p id="rfc.section.5.2.p.1">The following browsers seem to work fine: </p><ul><li><p><span id="rfc.iref.i.5"></span>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</p></li><li><p><span id="rfc.iref.i.6"></span><span id="rfc.iref.i.7"></span><span id="rfc.iref.i.8"></span>Internet Explorer 6 and newer</p></li><li><div id="firefox3"><p><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.0 and newer</p></div><p> </p><ul><li>Be aware that XSLT execution can be suppressed using <span id="rfc.iref.n.2"></span><a href="https://addons.mozilla.org/de/firefox/addon/722">NoScript</a></li><li>Firefox does not load external DTDs, see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=22942">Mozilla Bug 22942</a>, thus entities like &nbsp; need to be declared in the internal subset (<a href="#examples.internalsubset" title="Using the 'Internal Subset'">Appendix C.1</a>)</li></ul></li><li><p><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</p></li><li><p><span id="rfc.iref.g.1"></span>Google Chrome (beta available)</p></li><li><p><span id="rfc.iref.o.1"></span>Opera 10 (beta version available)</p></li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li id="firefox12"><span id="rfc.iref.m.4"></span><span id="rfc.iref.f.3"></span>Firefox 1.*/2.*: (missing extension function - see change request at Mozilla BugZilla <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</a>)</li><li id="opera"><span id="rfc.iref.o.2"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725).</li><li>Opera 9.5 and 9.6: transformation appears to work, but CSS isn't getting applied (reported to Opera as bug 337388 on 2008-06-12).</li><li id="safari"><span id="rfc.iref.s.11"></span>Safari 2.* supports client-side XSLT as of MacOS X 10.4, but misses required extension functions. A problem with stylesheets producing non-ASCII output (such as NBSP characters) has been fixed as of OSX 10.4.4. Both problems have been reported through Apple's bug tracking system, see <<a href="http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html">http://drakken.dbc.mtview.ca.us/pipermail/xml2rfc/2005-May/002073.html</a>> and <<a href="http://bugs.webkit.org/show_bug.cgi?id=4079">http://bugs.webkit.org/show_bug.cgi?id=4079</a>>.</li></ul><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> <a id="output.html" href="#output.html">Transforming to HTML</a></h1><p id="rfc.section.6.p.1">Transformation to HTML can be done inside the browser if it supports XSLT. To enable this, add the following processing instruction to the start of the source file:</p><div id="rfc.iref.x.28"></div><div id="rfc.figure.u.4"></div><pre class="text"> <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?> 373 </pre><p id="rfc.section.6.p.3">(and ensure that <samp>rfc2629.xslt</samp> is present).</p><h2 id="rfc.section.6.1"><a href="#rfc.section.6.1">6.1</a> HTML compliance</h2><p id="rfc.section.6.1.p.1">The transformation result is supposed to conform to the HTML 4.01 strict DTD <a href="#HTML" id="rfc.xref.HTML.1"><cite title="HTML 4.01 Specification">[HTML]</cite></a>. This can be checked using the W3C's online validator at <<a href="http://validator.w3.org">http://validator.w3.org</a>><span id="rfc.iref.h.2"></span>.</p><h2 id="rfc.section.6.2"><a href="#rfc.section.6.2">6.2</a> <a id="html.link" href="#html.link">Standard HTML LINK elements</a></h2><p id="rfc.section.6.2.p.1">LINK elements exist since HTML 2.0. They can be used to embed content-independant links inside the document. Unfortunately, only few user agents support this element. Firefox users may want to check the <a href="https://addons.mozilla.org/firefox/2933/">Link Widgets</a> extension.</p><div id="rfc.table.u.5"><p>The following LINK elements are produced:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>LINK type</th><th>description</th></tr></thead><tbody><tr><td>alternate<div id="rfc.iref.a.22"></div><div id="rfc.iref.h.3"></div></td><td>for RFCs, a link to the authorative ASCII version on the IETF web site</td></tr><tr><td>appendic<div id="rfc.iref.a.23"></div><div id="rfc.iref.h.4"></div></td><td>pointer to all top-level appendics</td></tr><tr><td>author<div id="rfc.iref.a.24"></div><div id="rfc.iref.h.5"></div></td><td>pointer to "authors" section</td></tr><tr><td>chapter<div id="rfc.iref.c.3"></div><div id="rfc.iref.h.6"></div></td><td>pointer to all top-level sections</td></tr><tr><td>contents<div id="rfc.iref.c.4"></div><div id="rfc.iref.h.7"></div></td><td>pointer to table of contents</td></tr><tr><td>copyright<div id="rfc.iref.c.5"></div><div id="rfc.iref.h.8"></div></td><td>pointer to copyright statement</td></tr><tr><td>index<div id="rfc.iref.i.9"></div><div id="rfc.iref.h.9"></div></td><td>pointer to index</td></tr></tbody></table></div><div id="rfc.figure.u.5"></div> <p>The figure below shows how Mozilla Firefox 1.0 displays the Site Navigation Bar for rfc2396.xml.</p> <p><img src="rfc2629xslt-fig1.png" alt="
(LINK elements displayed in Mozilla Firefox for RFC2396.xml)
" height="235" width="509"></p> <h2 id="rfc.section.6.3"><a href="#rfc.section.6.3">6.3</a> Standard HTML metadata</h2><div id="rfc.table.u.6"><p>The following standard HTML META elements are produced:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>generator<div id="rfc.iref.g.2"></div><div id="rfc.iref.h.10"></div></td><td>from XSLT engine version and stylesheet version</td></tr><tr><td>keywords<div id="rfc.iref.k.1"></div><div id="rfc.iref.h.11"></div></td><td>from keyword elements in front section</td></tr></tbody></table></div><h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a> <a id="rfc2731.properties" href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></h2><p id="rfc.section.6.4.p.1">Unless turned off using the "rfc-ext support-rfc2731" processing instruction, the transformation will generate metadata according to <a href="#RFC2731" id="rfc.xref.RFC2731.1"><cite title="Encoding Dublin Core Metadata in HTML">[RFC2731]</cite></a> and <a href="#DC-HTML" id="rfc.xref.DC-HTML.1"><cite title="Expressing Dublin Core metadata using HTML/XHTML meta and link elements">[DC-HTML]</cite></a>.</p><div id="rfc.table.u.7"><p>The following DCMI properties are produced:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>DC.Creator<div id="rfc.iref.c.6"></div><div id="rfc.iref.d.2"></div></td><td>from author information in front section</td></tr><tr><td>DC.Date.Issued<div id="rfc.iref.d.3"></div><div id="rfc.iref.d.4"></div></td><td>from date information in front section</td></tr><tr><td>DC.Description.Abstract<div id="rfc.iref.d.5"></div><div id="rfc.iref.d.6"></div></td><td>from abstract</td></tr><tr><td>DC.Identifier<div id="rfc.iref.i.10"></div><div id="rfc.iref.d.7"></div></td><td>document URN <a href="#RFC2648" id="rfc.xref.RFC2648.1"><cite title="A URN Namespace for IETF Documents">[RFC2648]</cite></a> from "docName" attribute</td></tr><tr><td>DC.isPartOf<div id="rfc.iref.i.11"></div><div id="rfc.iref.d.8"></div></td><td>RFC ISSN (for RFCs)</td></tr><tr><td>DC.Relation.Replaces<div id="rfc.iref.r.21"></div><div id="rfc.iref.d.9"></div></td><td>from "obsoletes" attribute</td></tr></tbody></table></div><h2 id="rfc.section.6.5"><a href="#rfc.section.6.5">6.5</a> <a id="hcard" href="#hcard">Experimental hCard support</a></h2><p id="rfc.section.6.5.p.1">The generated author information is formatted in <a href="http://microformats.org/wiki/hcard">hCard</a> format.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a> <a id="output.xhtml" href="#output.xhtml">Transforming to XHTML</a></h1><p id="rfc.section.7.p.1">Transforming to XHTML requires slightly different XSLT output options and is implemented by the derived transformation script <samp>rfc2629toXHTML.xslt</samp>.</p><dl class="empty"><dd> <b>Note:</b> Microsoft Internet Explorer does <em>not</em> support XHTML. Therefore it usually makes more sense to generate plain old HTML.</dd></dl><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a> <a id="output.chm" href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></h1><p id="rfc.section.8.p.1"> <span id="rfc.iref.c.7"></span> <span id="rfc.iref.m.5"></span> To generate a CHM file using Microsoft's HTML Help Compiler (hhc), three files are required in addition to the HTML file. </p><ol><li>hhc - table of contents file (HTML)</li><li>hhk - index file (HTML)</li><li>hhp - project file (plain text)</li></ol><p id="rfc.section.8.p.2">The three files are generated with three specific transformations, each requiring the additional XSLT parameter "basename" to specify the filename prefix.</p><div id="rfc.figure.u.6"></div> <p>Example:</p> <pre class="text">saxon rfc2616.xml rfc2629toHhp.xslt basename=rfc2616 > rfc2616.hhp 361 374 saxon rfc2616.xml rfc2629toHhc.xslt basename=rfc2616 > rfc2616.hhc 362 375 saxon rfc2616.xml rfc2629toHhk.xslt basename=rfc2616 > rfc2616.hhk 363 376 hhc rfc2616.hhp 364 </pre> <hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> <a id="output.pdf" href="#output.pdf">Transforming to PDF</a></h1><h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a> <a id="output.pdf.fop" href="#output.pdf.fop">Via XSL-FO</a></h2><p id="rfc.section.9.1.p.1">Transformation to XSL-FO <a href="#XSL-FO" id="rfc.xref.XSL-FO.1"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a> format is available through <samp>rfc2629toFO.xslt</samp> (which includes <samp>rfc2629.xslt</samp>, so keep both in the same folder).</p><p id="rfc.section.9.1.p.2">Compared to HTML user agents, XSL-FO engines unfortunately either come as open source (for instance, <span id="rfc.iref.a.25"></span>Apache FOP) or feature-complete (for instance, <span id="rfc.iref.a.26"></span> AntennaHouse XSL Formatter), but not both at the same time.</p><p id="rfc.section.9.1.p.3">As Apache FOP needs special workarounds (page breaking, table layout), and some popular extensions aren't standardized yet, the translation produces a generic output (hopefully) conforming to <a href="#XSL-FO" id="rfc.xref.XSL-FO.2"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a>. Specific backends (<samp>xsl11toFop .xslt</samp>, <samp>xsl11toXep.xslt</samp>, <samp>xsl11toAn.xslt</samp>) then provide post-processing for the individual processors.</p><div class="note"> <p> <b>Note:</b> the output is currently targeted at Apache FOP 0.95.</p> </div><h3 id="rfc.section.9.1.1"><a href="#rfc.section.9.1.1">9.1.1</a> Extension feature matrix</h3><div id="rfc.table.u.8"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th></th><th class="center" style="width: 20%;">PDF anchors</th><th class="center" style="width: 20%;">PDF bookmarks</th><th class="center" style="width: 20%;">PDF document information</th><th class="center" style="width: 20%;">Index cleanup</th></tr></thead><tbody><tr><td><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/">XSL 1.1 WD</a></td><td class="center">no, but can be auto-generated from "id" attributes</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12873">yes</a></td><td class="center">no, but uses XEP output extensions</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12534">yes</a></td></tr><tr><td><a href="http://www.antennahouse.com/">Antenna House XSL formatter</a></td><td class="center">no</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XEP document info)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (just page duplicate elimination, from XSL 1.1 page index)</td></tr><tr><td><a href="http://xml.apache.org/fop/">Apache FOP</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#named-destinations">yes</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#bookmarks">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xmlgraphics.apache.org/fop/0.95/metadata.html#xmp-in-fo">yes</a></td><td class="center">no</td></tr><tr><td><a href="http://xep.xattic.com/">RenderX XEP</a></td><td class="center">no</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a></td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 page index)</td></tr></tbody></table></div><h3 id="rfc.section.9.1.2"><a href="#rfc.section.9.1.2">9.1.2</a> Example: producing output for Apache FOP</h3><div id="rfc.figure.u.7"></div> <p>Example:</p> <pre class="text">saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo365 saxon tmp.fo xsl11toFop .xslt > rfc2629.fo377 </pre> <hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> <a id="output.pdf" href="#output.pdf">Transforming to PDF</a></h1><h2 id="rfc.section.9.1"><a href="#rfc.section.9.1">9.1</a> <a id="output.pdf.fop" href="#output.pdf.fop">Via XSL-FO</a></h2><p id="rfc.section.9.1.p.1">Transformation to XSL-FO <a href="#XSL-FO" id="rfc.xref.XSL-FO.1"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a> format is available through <samp>rfc2629toFO.xslt</samp> (which includes <samp>rfc2629.xslt</samp>, so keep both in the same folder).</p><p id="rfc.section.9.1.p.2">Compared to HTML user agents, XSL-FO engines unfortunately either come as open source (for instance, <span id="rfc.iref.a.25"></span>Apache FOP) or feature-complete (for instance, <span id="rfc.iref.a.26"></span> AntennaHouse XSL Formatter), but not both at the same time.</p><p id="rfc.section.9.1.p.3">As Apache FOP needs special workarounds (page breaking, table layout), and some popular extensions aren't standardized yet, the translation produces a generic output (hopefully) conforming to <a href="#XSL-FO" id="rfc.xref.XSL-FO.2"><cite title="Extensible Stylesheet Language (XSL) Version 1.1">[XSL-FO]</cite></a>. Specific backends (<samp>xsl11toFop-0.95xslt</samp>, <samp>xsl11toXep.xslt</samp>, <samp>xsl11toAn.xslt</samp>) then provide post-processing for the individual processors.</p><div class="note"> <p> <b>Note:</b> the output is currently targeted at Apache FOP 0.95.</p> </div><h3 id="rfc.section.9.1.1"><a href="#rfc.section.9.1.1">9.1.1</a> Extension feature matrix</h3><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th></th><th class="center" style="width: 20%;">PDF anchors</th><th class="center" style="width: 20%;">PDF bookmarks</th><th class="center" style="width: 20%;">PDF document information</th><th class="center" style="width: 20%;">Index cleanup</th></tr></thead><tbody><tr><td><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/">XSL 1.1 WD</a></td><td class="center">no, but can be auto-generated from "id" attributes</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12873">yes</a></td><td class="center">no, but uses XEP output extensions</td><td class="center"><a href="http://www.w3.org/TR/2003/WD-xsl11-20031217/#d0e12534">yes</a></td></tr><tr><td><a href="http://www.antennahouse.com/">Antenna House XSL formatter</a></td><td class="center">no</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (from XEP document info)</td><td class="center"><a href="http://www.antennahouse.com/XSL20/axf-extension.htm">yes</a> (just page duplicate elimination, from XSL 1.1 page index)</td></tr><tr><td><a href="http://xml.apache.org/fop/">Apache FOP</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#named-destinations">yes</a></td><td class="center"><a href="http://xml.apache.org/fop/extensions.html#bookmarks">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xmlgraphics.apache.org/fop/0.95/metadata.html#xmp-in-fo">yes</a></td><td class="center">no</td></tr><tr><td><a href="http://xep.xattic.com/">RenderX XEP</a></td><td class="center">no</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 bookmarks)</td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a></td><td class="center"><a href="http://xep.xattic.com/xep/spec.html">yes</a> (from XSL 1.1 page index)</td></tr></tbody></table></div><h3 id="rfc.section.9.1.2"><a href="#rfc.section.9.1.2">9.1.2</a> Example: producing output for Apache FOP</h3><div id="rfc.figure.u.7"></div> <p>Example:</p> <pre class="text">saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo 378 saxon tmp.fo xsl11toFop-0.95.xslt > rfc2629.fo 366 379 </pre> <h2 id="rfc.section.9.2"><a href="#rfc.section.9.2">9.2</a> <a id="output.pdf.html" href="#output.pdf.html">Via X(HTML)</a></h2><p id="rfc.section.9.2.p.1">PDF output can also be produced directly from (X)HTML. One simple approach is to rely on the browser's printing function, and to use a printer driver that produces PDF. Depending on the brower's CSS capabilities, the output will behave properly with respect to table breaks etc.</p><p id="rfc.section.9.2.p.2">An alternative is PrinceXML (see <<a href="http://www.princexml.com/">http://www.princexml.com/</a>>), which can produce PDF directly from (X)HTML input, based on the CSS printing information.</p><div id="rfc.figure.u.8"></div> <p>For instance, PDF output with text justification turned on can be produced with:</p> <pre class="text">saxon input.xml rfc2629toXHTML.xslt xml2rfc-ext-justification=print \ 367 380 > output.xhtml … … 395 408 rel="Bookmark" 396 409 title="IETF WEBDAV Working Group" 397 href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/></pre> <div id="rfc.iref.e.15"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a> <a id="ext.element.lt" href="#ext.element.lt"><lt> element</a></h2><p id="rfc.section.10.14.p.1">Used for grouping multiple <t> elements into a single list item.</p><div id="rfc.iref.e.16"></div><div id="rfc.iref.n. 2"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext.element.note" href="#ext.element.note"><note> element</a></h2><p id="rfc.section.10.15.p.1">Can be used to add a note, usually indented by a few characters. It should contain one or more <t> child elements.</p><div id="rfc.iref.e.17"></div><div id="rfc.iref.p.58"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext.element.parse-xml" href="#ext.element.parse-xml"><parse-xml> element</a></h2><p id="rfc.section.10.16.p.1">This element instructs the processor to parse the contents as XML and to warn when there's a problem (requires either MSXML or Saxon8 or newer).</p><div id="rfc.iref.e.18"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext.element.q" href="#ext.element.q"><q> element</a></h2><p id="rfc.section.10.17.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.19"></div><div id="rfc.iref.r.22"></div><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext.element.ref" href="#ext.element.ref"><ref> element</a></h2><p id="rfc.section.10.18.p.1">This element is a simplified variant of the <xref> element, in that no "target" attribute needs to be specified, instead the text contents acts as identifier. That in itself wouldn't be terribly useful, but together with the <<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>>, it allows referring to other parts of the document with minimal additional markup.</p><p id="rfc.section.10.18.p.2">For instance, given an alias definition such as</p><div id="rfc.figure.u.12"></div> <pre class="text"> <section title="Test" anchor="test">410 href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/></pre> <div id="rfc.iref.e.15"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a> <a id="ext.element.lt" href="#ext.element.lt"><lt> element</a></h2><p id="rfc.section.10.14.p.1">Used for grouping multiple <t> elements into a single list item.</p><div id="rfc.iref.e.16"></div><div id="rfc.iref.n.3"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext.element.note" href="#ext.element.note"><note> element</a></h2><p id="rfc.section.10.15.p.1">Can be used to add a note, usually indented by a few characters. It should contain one or more <t> child elements.</p><div id="rfc.iref.e.17"></div><div id="rfc.iref.p.58"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext.element.parse-xml" href="#ext.element.parse-xml"><parse-xml> element</a></h2><p id="rfc.section.10.16.p.1">This element instructs the processor to parse the contents as XML and to warn when there's a problem (requires either MSXML or Saxon8 or newer).</p><div id="rfc.iref.e.18"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext.element.q" href="#ext.element.q"><q> element</a></h2><p id="rfc.section.10.17.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.19"></div><div id="rfc.iref.r.22"></div><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext.element.ref" href="#ext.element.ref"><ref> element</a></h2><p id="rfc.section.10.18.p.1">This element is a simplified variant of the <xref> element, in that no "target" attribute needs to be specified, instead the text contents acts as identifier. That in itself wouldn't be terribly useful, but together with the <<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>>, it allows referring to other parts of the document with minimal additional markup.</p><p id="rfc.section.10.18.p.2">For instance, given an alias definition such as</p><div id="rfc.figure.u.12"></div> <pre class="text"> <section title="Test" anchor="test"> 398 411 <x:anchor-alias value="alias1"/> 399 412 <x:anchor-alias value="alias 2"/> … … 466 479 </pre><p id="rfc.section.11.3.p.3">Note that the resulting XML usually requires checking, in this case Amazon's database is playing tricks with Marshall's name...</p><h2 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a> <a id="clean-for-dtd" href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></h2><p id="rfc.section.11.4.p.1"> <samp>clean-for-DTD.xslt</samp> can be used to down-convert some extensions to a format that is supported by the base xml2rfc distribution. Note that these extensions are experimental (feedback appreciated).</p><p id="rfc.section.11.4.p.2">The following mappings are done: </p><ul><li><iref> elements inside <artwork> elements are moved in front of the enclosing <figure> element.</li><li><xref> elements inside <artwork> are expanded just like in regular text (that is, the markup is stripped, but the element is replaced by the applicable replacement text).</li><li><x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>> elements get stripped.</li><li><x:<a href="#ext.element.bcp14" class="smpl">bcp14</a>> elements get stripped.</li><li><x:<a href="#ext.element.bb" class="smpl">bb</a>>, <x:<a href="#ext.element.bc" class="smpl">bc</a>> and <x:<a href="#ext.element.bt" class="smpl">bt</a>> elements get stripped.</li><li><x:<a href="#ext.element.blockquote" class="smpl">blockquote</a>> elements get converted to indented text (through a <list> element).</li><li><x:<a href="#ext.element.dfn" class="smpl">dfn</a>> elements get stripped.</li><li><x:<a href="#ext.element.h" class="smpl">h</a>> elements get stripped.</li><li><x:<a href="#ext.element.link" class="smpl">link</a>> elements get stripped.</li><li><x:<a href="#ext.element.note" class="smpl">note</a>> elements get converted to indented text (through a <list> element).</li><li><x:<a href="#ext.element.q" class="smpl">q</a>> elements get stripped, with apostrophes added around the text.</li><li><x:<a href="#ext.element.ref" class="smpl">ref</a>> elements get replaced by <xref> elements, targetting either the anchor or another anchor with matching <x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>> child element.</li></ul><h2 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a> <a id="extract-artwork" href="#extract-artwork">Extracting artwork</a></h2><p id="rfc.section.11.5.p.1">With <samp>extract-artwork.xslt</samp>, artwork elements named through the "name" attribute can be extracted. This can be used to automatically check their syntax (for instance, when ABNFs appear within a figure element).</p><div id="rfc.figure.u.19"></div><p>For instance:</p> <pre class="text">saxon rfc3986.xml extract-artwork.xslt name=uri.abnf 467 480 </pre> <p id="rfc.section.11.5.p.3">In addition, artwork of a specific type can be extracted, such as with:</p><div id="rfc.figure.u.20"></div> <pre class="text">saxon rfc3986.xml extract-artwork.xslt type=abnf 468 </pre> <h2 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a> <a id="grddl" href="#grddl">GRRDL</a></h2><p id="rfc.section.11.6.p.1"> <samp>rfc2629grddl.xslt</samp> extracts RDF information. This is experimental work-in-progress. See <<a href="http://www.w3.org/TR/grddl/">http://www.w3.org/TR/grddl/</a>> for more information.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> Informative References</h1><table summary="Informative References"> <tr><td class="reference"><b id="BCP97">[BCP97]</b></td><td class="top"><a href="mailto:klensin+ietf@jck.com">Klensin, J.</a> and <a href="mailto:hartmans-ietf@mit.edu" title="MIT">S. Hartman</a>, “<a href="http://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>”, BCP 97, RFC 4897, June 2007.</td></tr><tr><td class="reference"><b id="DC-HTML">[DC-HTML]</b></td><td class="top"><a href="mailto:pete.johnston@eduserv.org.uk" title="Eduserv Foundation">Johnston, P.</a> and <a href="mailto:andy.powell@eduserv.org.uk" title="Eduserv Foundation">A. Powell</a>, “<a href="http://dublincore.org/documents/2008/08/04/dc-html/">Expressing Dublin Core metadata using HTML/XHTML meta and link elements</a>”, Dublin Core Metadata Initiative, August 2008, <<a href="http://dublincore.org/documents/2008/08/04/dc-html/">http://dublincore.org/documents/2008/08/04/dc-html/</a>>.</td></tr><tr><td class="reference"><b id="HTML">[HTML]</b></td><td class="top"><a href="mailto:dsr@w3.org" title="W3C">Raggett, D.</a>, Hors, A., and I. Jacobs, “<a href="http://www.w3.org/TR/html401/">HTML 4.01 Specification</a>”, W3C REC-html401-19991224, December 1999, <<a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a>>.</td></tr><tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>”, BCP 9, RFC 2026, October 1996.</td></tr><tr><td class="reference"><b id="RFC2119">[RFC2119]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP 14, RFC 2119, March 1997.</td></tr><tr><td class="reference"><b id="RFC2616">[RFC2616]</b></td><td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine, Information and Computer Science">Fielding, R.T.</a>, <a href="mailto:jg@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation, Western Research Laboratory">Mogul, J.C.</a>, <a href="mailto:frystyk@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Nielsen, H.F.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.J.</a>, and <a href="mailto:timbl@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2616, June 1999.</td></tr><tr><td class="reference"><b id="RFC2629">[RFC2629]</b></td><td class="top"><a href="mailto:mrose@not.invisible.net" title="Invisible Worlds, Inc.">Rose, M.T.</a>, “<a href="http://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>”, RFC 2629, June 1999.</td></tr><tr><td class="reference"><b id="RFC2648">[RFC2648]</b></td><td class="top"><a href="mailto:jayhawk@att.com" title="AT&T">Moats, R.</a>, “<a href="http://tools.ietf.org/html/rfc2648">A URN Namespace for IETF Documents</a>”, RFC 2648, August 1999.</td></tr><tr><td class="reference"><b id="RFC2731">[RFC2731]</b></td><td class="top"><a href="mailto:jak@ckm.ucsf.edu" title="University of California, San Francisco, Center for Knowledge Management">Kunze, J.A.</a>, “<a href="http://tools.ietf.org/html/rfc2731">Encoding Dublin Core Metadata in HTML</a>”, RFC 2731, December 1999.</td></tr><tr><td class="reference"><b id="RFC5234">[RFC5234]</b></td><td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD 68, RFC 5234, January 2008.</td></tr><tr><td class="reference"><b id="RNC">[RNC]</b></td><td class="top"><a href="mailto:jjc@jclark.com">Clark, J.</a>, “<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">RELAX NG Compact Syntax</a>”, OASIS, Nov 2002, <<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/relax-ng/compact-20021121.html</a>>.</td></tr><tr><td class="reference"><b id="XHTML2">[XHTML2]</b></td><td class="top">Axelsson, J., Birbeck, M., Dubinko, M., Epperson, B., Ishikawa, M., McCarron, S., Navarro, A., and S. Pemberton, “<a href="http://www.w3.org/TR/xhtml2">XHTML™ 2.0</a>”, W3C WD-xhtml2-20060726, July 2006, <<a href="http://www.w3.org/TR/xhtml2">http://www.w3.org/TR/xhtml2</a>>.</td></tr><tr><td class="reference"><b id="XSL-FO">[XSL-FO]</b></td><td class="top"><a href="mailto:alrb@us.ibm.com" title="IBM">Berglund, A.</a>, “<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">Extensible Stylesheet Language (XSL) Version 1.1</a>”, W3C REC-xsl11-20061205, Dec 2006, <<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">http://www.w3.org/TR/2006/REC-xsl11-20061205/</a>>.</td></tr></table><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><div id="rfc.iref.g.3"></div><div id="rfc.iref.s.14"></div><div id="rfc.iref.r.23"></div><h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a> <a id="grammar" href="#grammar">RELAX NG Compact Schema</a></h1><p id="rfc.section.A.p.1">The RelaxNG schema (<a href="#RNC" id="rfc.xref.RNC.1"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a>) below can be used to validate input documents (for instance, with <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a>).</p><p id="rfc.section.A.p.2"> <em>Note that this is work in progress, and doesn't yet cover all extensions completely.</em> </p><div id="rfc.figure.u.21"></div> <pre class="inline"><em># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</em>481 </pre> <h2 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a> <a id="grddl" href="#grddl">GRRDL</a></h2><p id="rfc.section.11.6.p.1"> <samp>rfc2629grddl.xslt</samp> extracts RDF information. This is experimental work-in-progress. See <<a href="http://www.w3.org/TR/grddl/">http://www.w3.org/TR/grddl/</a>> for more information.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> Informative References</h1><table summary="Informative References"> <tr><td class="reference"><b id="BCP97">[BCP97]</b></td><td class="top"><a href="mailto:klensin+ietf@jck.com">Klensin, J.</a> and <a href="mailto:hartmans-ietf@mit.edu" title="MIT">S. Hartman</a>, “<a href="http://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>”, BCP 97, RFC 4897, June 2007.</td></tr><tr><td class="reference"><b id="DC-HTML">[DC-HTML]</b></td><td class="top"><a href="mailto:pete.johnston@eduserv.org.uk" title="Eduserv Foundation">Johnston, P.</a> and <a href="mailto:andy.powell@eduserv.org.uk" title="Eduserv Foundation">A. Powell</a>, “<a href="http://dublincore.org/documents/2008/08/04/dc-html/">Expressing Dublin Core metadata using HTML/XHTML meta and link elements</a>”, Dublin Core Metadata Initiative, August 2008, <<a href="http://dublincore.org/documents/2008/08/04/dc-html/">http://dublincore.org/documents/2008/08/04/dc-html/</a>>.</td></tr><tr><td class="reference"><b id="HTML">[HTML]</b></td><td class="top"><a href="mailto:dsr@w3.org" title="W3C">Raggett, D.</a>, Hors, A., and I. Jacobs, “<a href="http://www.w3.org/TR/html401/">HTML 4.01 Specification</a>”, W3C REC-html401-19991224, December 1999, <<a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a>>.</td></tr><tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>”, BCP 9, RFC 2026, October 1996.</td></tr><tr><td class="reference"><b id="RFC2119">[RFC2119]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP 14, RFC 2119, March 1997.</td></tr><tr><td class="reference"><b id="RFC2616">[RFC2616]</b></td><td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine, Information and Computer Science">Fielding, R.T.</a>, <a href="mailto:jg@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation, Western Research Laboratory">Mogul, J.C.</a>, <a href="mailto:frystyk@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Nielsen, H.F.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.J.</a>, and <a href="mailto:timbl@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2616, June 1999.</td></tr><tr><td class="reference"><b id="RFC2629">[RFC2629]</b></td><td class="top"><a href="mailto:mrose@not.invisible.net" title="Invisible Worlds, Inc.">Rose, M.T.</a>, “<a href="http://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>”, RFC 2629, June 1999.</td></tr><tr><td class="reference"><b id="RFC2648">[RFC2648]</b></td><td class="top"><a href="mailto:jayhawk@att.com" title="AT&T">Moats, R.</a>, “<a href="http://tools.ietf.org/html/rfc2648">A URN Namespace for IETF Documents</a>”, RFC 2648, August 1999.</td></tr><tr><td class="reference"><b id="RFC2731">[RFC2731]</b></td><td class="top"><a href="mailto:jak@ckm.ucsf.edu" title="University of California, San Francisco, Center for Knowledge Management">Kunze, J.A.</a>, “<a href="http://tools.ietf.org/html/rfc2731">Encoding Dublin Core Metadata in HTML</a>”, RFC 2731, December 1999.</td></tr><tr><td class="reference"><b id="RFC5234">[RFC5234]</b></td><td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD 68, RFC 5234, January 2008.</td></tr><tr><td class="reference"><b id="RNC">[RNC]</b></td><td class="top"><a href="mailto:jjc@jclark.com">Clark, J.</a>, “<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">RELAX NG Compact Syntax</a>”, OASIS, Nov 2002, <<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/relax-ng/compact-20021121.html</a>>.</td></tr><tr><td class="reference"><b id="XHTML2">[XHTML2]</b></td><td class="top">Axelsson, J., Birbeck, M., Dubinko, M., Epperson, B., Ishikawa, M., McCarron, S., Navarro, A., and S. Pemberton, “<a href="http://www.w3.org/TR/xhtml2">XHTML™ 2.0</a>”, W3C WD-xhtml2-20060726, July 2006, <<a href="http://www.w3.org/TR/xhtml2">http://www.w3.org/TR/xhtml2</a>>.</td></tr><tr><td class="reference"><b id="XML">[XML]</b></td><td class="top"><a href="mailto:tbray@textuality.com" title="Textuality and Netscape">Bray, T.</a>, <a href="mailto:jeanpa@microsoft.com" title="Microsoft">Paoli, J.</a>, <a href="mailto:cmsmcq@w3.org" title="W3C">Sperberg-McQueen, C.M.</a>, <a href="mailto:eve.maler@east.sun.com" title="Sun Microsystems">Maler, E.</a>, and F. Yergeau, “<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">Extensible Markup Language (XML) 1.0 (Fifth Edition)</a>”, W3C REC-xml-20081126, November 2008, <<a href="http://www.w3.org/TR/2008/REC-xml-20081126/">http://www.w3.org/TR/2008/REC-xml-20081126/</a>>.</td></tr><tr><td class="reference"><b id="XSL-FO">[XSL-FO]</b></td><td class="top"><a href="mailto:alrb@us.ibm.com" title="IBM">Berglund, A.</a>, “<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">Extensible Stylesheet Language (XSL) Version 1.1</a>”, W3C REC-xsl11-20061205, Dec 2006, <<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">http://www.w3.org/TR/2006/REC-xsl11-20061205/</a>>.</td></tr></table><hr class="noprint"><div class="avoidbreak"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address></div><hr class="noprint"><div id="rfc.iref.g.3"></div><div id="rfc.iref.s.14"></div><div id="rfc.iref.r.23"></div><h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a> <a id="grammar" href="#grammar">RELAX NG Compact Schema</a></h1><p id="rfc.section.A.p.1">The RelaxNG schema (<a href="#RNC" id="rfc.xref.RNC.1"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a>) below can be used to validate input documents (for instance, with <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a>).</p><p id="rfc.section.A.p.2"> <em>Note that this is work in progress, and doesn't yet cover all extensions completely.</em> </p><div id="rfc.figure.u.21"></div> <pre class="inline"><em># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</em> 469 482 470 483 <em># Define our extension namespace</em> … … 830 843 } 831 844 832 <em id="x_note"><span id="rfc.iref.n. 3"></span><span id="rfc.iref.e.38"></span># Note (see <a href="#ext.element.note" title="<note> element">Section 10.15</a>)</em>845 <em id="x_note"><span id="rfc.iref.n.4"></span><span id="rfc.iref.e.38"></span># Note (see <a href="#ext.element.note" title="<note> element">Section 10.15</a>)</em> 833 846 <a href="#x_note" class="smpl">x_note</a> = 834 847 element x:note { … … 891 904 rdf_content = 892 905 ( TEXT | element * { rdf_content })* 893 </pre><hr class="noprint"><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a> Implementation Notes</h1><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a> Recognized type attributes for <artwork> element</h2><p id="rfc.section.B.1.p.1">Specific values in the <artwork> 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> <a id="license" href="#license">License</a></h1><p id="rfc.section.C.p.1">Copyright (c) 2006-2009, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a> Change Logs</h1><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a> Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd><dt>2008-07-18</dt><dd>Experimental support for inlined rdf:Description elements (ignored by the formatter, extracted by rfc2629grddl).</dd><dt>2008-12-04</dt><dd>Update to xml2rfc v1.34pre2.</dd><dt>2009-02-24</dt><dd>Experimental support for February 2009 boilerplate changes, and for the x:boilerplate element.</dd></dl><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a> amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a> check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>>.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>> to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd><dt>2008-06-14</dt><dd>Enhance output when draft was updated, and then published as RFC.</dd><dt>2008-07-12</dt><dd>Add XSLT2-based link target checking.</dd><dt>2008-08-10</dt><dd>Change keywords for "intended-level" to proposed/draft/internet, optionall extract intended level from /rfc/@x:maturity-level attribute.</dd></dl><h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a> 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> rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see <<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>>). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>>.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>>.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see <<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>>.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add <link> element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (<<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>>) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into <back>.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate <CITE> elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move <dt> style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty <dt> elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in <appendix> elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to <iref> handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for <x:lt>.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (<<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>>) to head element. Add warning for misplaced <t> elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow <eref> below <cref>.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd><dt>2008-03-01</dt><dd>Use line numbers in diagnostics in Saxon8/9 as well.</dd><dt>2008-03-02</dt><dd>Fix a bug in the logic choosing the boilerplate, resulting in obsolete text being inserted into IDs.</dd><dt>2008-04-01</dt><dd>Add support for superscript element.</dd><dt>2008-06-28</dt><dd>Add sanity checks for email addresses, allow multiple email elements.</dd><dt>2008-07-06</dt><dd>Add x:abnf-char-sequence.</dd><dt>2008-08-21</dt><dd>Add x:note.</dd><dt>2008-09-06</dt><dd>Add experimental support for SVG images.</dd><dt>2008-09-17</dt><dd>Add experimental support for x:author. Fix xref/@format=none.</dd><dt>2008-10-10</dt><dd>Fix a huge bug, causing text content after an XML comment to be ignored.</dd><dt>2009-02-24</dt><dd>Use table/caption when needed.</dd><dt>2009-03-07</dt><dd>Fix bug that caused text to disappear in the output in presence of processing instructions.</dd><dt>2009-03-12</dt><dd>Make inlined comments bookmarkable.</dd><dt>2009-04-09</dt><dd>Upgrade to DC-HTML from RFC 2731 (affects head/@profile).</dd></dl><h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a> rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd><dt>2009-04-08</dt><dd>Fix spacing in headers; add support for formatting for double-sided printing.</dd></dl><h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a> xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a> xsl11toFop.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.9"><a href="#rfc.section.D.9">D.9</a> xsl11toFop-0.93.xslt</h2><dl><dt>2008-03-15</dt><dd>Add a workaround to the fo:inline workaround (sigh).</dd></dl><h2 id="rfc.section.D.10"><a href="#rfc.section.D.10">D.10</a> xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">abnf-char-sequence Extension Element <a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">allow-markup-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element <a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element <a class="iref" href="#rfc.iref.a.28"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.a.30">A</a></li><li class="indline1">Anchors <ul class="ind"><li class="indline1">rfc.abstract <a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors <a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright <a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice <a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n <a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n <a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index <a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr <a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n <a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n <a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references <a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n <a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m <a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status <a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc <a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n <a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter <a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP <a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element <a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element <a class="iref" href="#rfc.iref.a.31">A</a></li><li class="indline1">author HTML LINK element <a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute <a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute <a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element <a class="iref" href="#rfc.iref.b.3"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bc Extension Element <a class="iref" href="#rfc.iref.b.4"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">bcp14 Extension Element <a class="iref" href="#rfc.iref.b.2"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1"><em>BCP97</em> <a class="iref" href="#rfc.xref.BCP97.1">11.1</a>, <a class="iref" href="#BCP97"><b>12</b></a></li><li class="indline1">blockquote Extension Element <a class="iref" href="#rfc.iref.b.5"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li><li class="indline1">boilerplate Extension Element <a class="iref" href="#rfc.iref.b.6"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.b.12">A</a></li><li class="indline1">bt Extension Element <a class="iref" href="#rfc.iref.b.7"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.b.13">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element <a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format <a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute <a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute <a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element <a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element <a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property <a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property <a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1"><em>DC-HTML</em> <a class="iref" href="#rfc.xref.DC-HTML.1">6.4</a>, <a class="iref" href="#DC-HTML"><b>12</b></a></li><li class="indline1">DCMI properties <ul class="ind"><li class="indline1">Creator <a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">Date.Issued <a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">Description.Abstract <a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Identifier <a class="iref" href="#rfc.iref.d.7">6.4</a></li><li class="indline1">isPartOf <a class="iref" href="#rfc.iref.d.8">6.4</a></li><li class="indline1">Relation.Replaces <a class="iref" href="#rfc.iref.d.9">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property <a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">dfn Extension Element <a class="iref" href="#rfc.iref.d.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.d.11">A</a></li><li class="indline1">duplex PI pseudo-attribute <a class="iref" href="#rfc.iref.d.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute <a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements <ul class="ind"><li class="indline1">abnf-char-sequence <a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">anchor-alias <a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">bb <a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">bc <a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">bcp14 <a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">blockquote <a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">boilerplate <a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">bt <a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">dfn <a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">h <a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">highlight <a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">include-author <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">length-of <a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">link <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.36">A</a></li><li class="indline1">lt <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.37">A</a></li><li class="indline1">note <a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.38">A</a></li><li class="indline1">parse-xml <a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.39">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.18"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.e.40">A</a></li><li class="indline1">rdf:Description <a class="iref" href="#rfc.iref.e.46">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.19"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.e.41">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.20"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.e.42">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.44">A</a></li><li class="indline1">sup <a class="iref" href="#rfc.iref.e.21"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.e.43">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.45">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox <ul class="ind"><li class="indline1">1.*/2.* <a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.* <a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute <a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element <a class="iref" href="#rfc.iref.g.2">6.3</a></li><li class="indline1">Google Chrome <a class="iref" href="#rfc.iref.g.1">5.2</a></li><li class="indline1">Grammar <a class="iref" href="#rfc.iref.g.3"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element <a class="iref" href="#rfc.iref.h.12"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.h.14">A</a></li><li class="indline1">header PI pseudo-attribute <a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1">highlight Extension Element <a class="iref" href="#rfc.iref.h.13"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.h.15">A</a></li><li class="indline1"><em>HTML</em> <a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.6</a>, <a class="iref" href="#rfc.xref.HTML.3">10.9</a>, <a class="iref" href="#rfc.xref.HTML.4">10.17</a>, <a class="iref" href="#rfc.xref.HTML.5">10.20</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance <a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements <ul class="ind"><li class="indline1">alternate <a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix <a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author <a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter <a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents <a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright <a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index <a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements <ul class="ind"><li class="indline1">generator <a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords <a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property <a class="iref" href="#rfc.iref.i.10">6.4</a></li><li class="indline1">include PI pseudo-attribute <a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-author Extension Element <a class="iref" href="#rfc.iref.i.12">A</a></li><li class="indline1">include-references-in-index PI pseudo-attribute <a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element <a class="iref" href="#rfc.iref.i.9">6.2</a></li><li class="indline1">inline PI pseudo-attribute <a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5 <a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6 <a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7 <a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">Internet Explorer 8 <a class="iref" href="#rfc.iref.i.8">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute <a class="iref" href="#rfc.iref.i.2">3.1</a></li><li class="indline1">isPartOf DCMI property <a class="iref" href="#rfc.iref.i.11">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute <a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element <a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element <a class="iref" href="#rfc.iref.l.2"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element <a class="iref" href="#rfc.iref.l.3"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute <a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element <a class="iref" href="#rfc.iref.l.4"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help <a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla <a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3 <a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4 <a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute <a class="iref" href="#rfc.iref.n.1">3.2</a></li><li class="indline1">note Extension Element <a class="iref" href="#rfc.iref.n.2"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.n.3">A</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera <a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters <ul class="ind"><li class="indline1">xml2rfc-background <a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments <a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact <a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing <a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section <a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-duplex <a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index <a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">xml2rfc-ext-justification <a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.57">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 <a class="iref" href="#rfc.iref.p.55">3.3</a></li><li class="indline1">xml2rfc-footer <a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header <a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline <a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified <a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto <a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private <a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-rfcedstyle <a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-sortrefs <a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-symrefs <a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-toc <a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-tocdepth <a class="iref" href="#rfc.iref.p.31">3.1</a></li><li class="indline1">xml2rfc-topblock <a class="iref" href="#rfc.iref.p.33">3.1</a></li></ul></li><li class="indline1">parse-xml Extension Element <a class="iref" href="#rfc.iref.p.58"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.p.59">A</a></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">private PI pseudo-attribute <a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes <ul class="ind"><li class="indline1">allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.41">3.3</a></li><li class="indline1">authors-section <a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">background <a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments <a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact <a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">duplex <a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">editing <a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer <a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header <a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification <a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">include <a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">include-references-in-index <a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">inline <a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified <a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto <a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines <a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">private <a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">rfcedstyle <a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.56">3.3</a></li><li class="indline1">slides <a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">sortrefs <a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">strict <a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">subcompact <a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">support-rfc2731 <a class="iref" href="#rfc.iref.p.54">3.3</a></li><li class="indline1">symrefs <a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">toc <a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocdepth <a class="iref" href="#rfc.iref.p.30">3.1</a></li><li class="indline1">tocindent <a class="iref" href="#rfc.iref.p.39">3.2</a></li><li class="indline1">tocompact <a class="iref" href="#rfc.iref.p.40">3.2</a></li><li class="indline1">topblock <a class="iref" href="#rfc.iref.p.32">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element <a class="iref" href="#rfc.iref.q.1"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">rdf:Description Extension Element <a class="iref" href="#rfc.iref.r.25">A</a></li><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.22"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.r.24">A</a></li><li class="indline1">Relation.Replaces DCMI property <a class="iref" href="#rfc.iref.r.21">6.4</a></li><li class="indline1">RELAX NG Compact Schema <a class="iref" href="#rfc.iref.r.23"><b>A</b></a></li><li class="indline1">rfc.abstract anchor <a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.authors anchor <a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyright anchor <a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.copyrightnotice anchor <a class="iref" href="#rfc.iref.r.5">4</a></li><li class="indline1">rfc.figure.n anchor <a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.figure.u.n anchor <a class="iref" href="#rfc.iref.r.7">4</a>, <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.index anchor <a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.ipr anchor <a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.iref.n anchor <a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.note.n anchor <a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references anchor <a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.references.n anchor <a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n anchor <a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.section.n.p.m anchor <a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.status anchor <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.toc anchor <a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1">rfc.xref.name.n anchor <a class="iref" href="#rfc.iref.r.20">4</a></li><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">10.24</a>, <a class="iref" href="#RFC2026"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 4.1</em> <a class="iref" href="#rfc.xref.RFC2026.1">10.24</a></li></ul></li><li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">10.3</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.26</a>, <a class="iref" href="#RFC2119"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 5</em> <a class="iref" href="#rfc.xref.RFC2119.2">10.26</a></li></ul></li><li class="indline1"><em>RFC2616</em> <a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em> <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em> <a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em> <a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em> <a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em> <a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1">rfcedstyle PI pseudo-attribute <a class="iref" href="#rfc.iref.r.1">3.1</a></li><li class="indline1"><em>RNC</em> <a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari <a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.* <a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon <a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema <a class="iref" href="#rfc.iref.s.14"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute <a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute <a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element <a class="iref" href="#rfc.iref.s.12"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.s.15">A</a></li><li class="indline1">span Extension Element <a class="iref" href="#rfc.iref.s.17">A</a></li><li class="indline1">strict PI pseudo-attribute <a class="iref" href="#rfc.iref.s.4">3.2</a></li><li class="indline1">subcompact PI pseudo-attribute <a class="iref" href="#rfc.iref.s.5">3.2</a></li><li class="indline1">sup Extension Element <a class="iref" href="#rfc.iref.s.13"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.s.16">A</a></li><li class="indline1">support-rfc2731 PI pseudo-attribute <a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute <a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute <a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute <a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute <a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute <a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element <a class="iref" href="#rfc.iref.x.29">A</a></li><li class="indline1">Xalan <a class="iref" href="#rfc.iref.x.26">5.1</a></li><li class="indline1"><em>XHTML2</em> <a class="iref" href="#rfc.xref.XHTML2.1">10.10</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI <a class="iref" href="#rfc.iref.x.28">6</a></li><li class="indline1">xml2rfc-background parameter <a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter <a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter <a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter <a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter <a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-duplex <a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter <a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter <a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter <a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter <a class="iref" href="#rfc.iref.x.25">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter <a class="iref" href="#rfc.iref.x.24">3.3</a></li><li class="indline1">xml2rfc-footer parameter <a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter <a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter <a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter <a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter <a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter <a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-rfcedstyle parameter <a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter <a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter <a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-toc parameter <a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter <a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1">xml2rfc-topblock parameter <a class="iref" href="#rfc.iref.x.17">3.1</a></li><li class="indline1"><em>XSL-FO</em> <a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc <a class="iref" href="#rfc.iref.x.27">5.1</a><ul class="ind"><li class="indline1">passing parameters <a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html> 906 </pre><hr class="noprint"><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a> Implementation Notes</h1><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a> Recognized type attributes for <artwork> element</h2><p id="rfc.section.B.1.p.1">Specific values in the <artwork> element's "type" attribute are recognized and cause a different visual style to be used:</p><div id="rfc.table.u.9"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th>Media Type</th><th>Comment</th></tr></thead><tbody><tr><td>abnf</td><td>ABNF as per <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a></td></tr><tr><td>abnf2616</td><td>ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td>application/relax-ng-compact-syntax</td><td>Relax NG Compact Syntax as per <a href="#RNC" id="rfc.xref.RNC.2"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a></td></tr><tr><td>application/xml-dtd</td><td>XML DTD</td></tr><tr><td>message/http; msgtype="request"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td>message/http; msgtype="response"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a> <a id="examples" href="#examples">Examples</a></h1><h2 id="rfc.section.C.1"><a href="#rfc.section.C.1">C.1</a> <a id="examples.internalsubset" href="#examples.internalsubset">Using the 'Internal Subset'</a></h2><p id="rfc.section.C.1.p.1">The prolog of the XML document can both be used to refer to an external DTD, and also to define internal entities (<a href="http://www.w3.org/TR/2008/REC-xml-20081126/#sec-prolog-dtd">Section 2.8</a> of <a href="#XML" id="rfc.xref.XML.1"><cite title="Extensible Markup Language (XML) 1.0 (Fifth Edition)">[XML]</cite></a>):</p><div id="rfc.figure.u.22"></div><pre class="text"><?xml version="1.0"?> 907 <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?> 908 909 <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [ 910 911 <!-- <em>use "&MAY;" for a BCP 14 "MAY", see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.3</a></em> --> 912 <!ENTITY MAY 913 "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>"> 914 915 <!-- <em>re-declare "&nbsp;" as code point 160 (non-breaking space)</em> --> 916 <!-- <em>you may need this for UAs that do not read external DTDs</em> --> 917 <!ENTITY nbsp 918 "&#160;"> 919 920 <!-- <em>allow later RFC2616 reference using "&rfc2616;"</em> --> 921 <!ENTITY rfc2616 PUBLIC '' 922 "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml"> 923 924 ]> 925 </pre><h2 id="rfc.section.C.2"><a href="#rfc.section.C.2">C.2</a> <a id="examples.customizing" href="#examples.customizing">Customization</a></h2><p id="rfc.section.C.2.p.1">The XSLT code can be customized by creating a custom XSLT file that uses <xsl:import> to include the original code, and just overrides particular rules.</p><div id="rfc.figure.u.23"></div> <p>For instance, the code below overrides several attributes in <samp>rfc2629toFO.xslt</samp>, changing the color, spacing and font family for headers.</p> <pre class="text"><xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 926 version="1.0"> 927 928 <xsl:import href="rfc2629toFO.xslt"/> 929 930 <xsl:attribute-set name="h1"> 931 <xsl:attribute name="color">darkblue</xsl:attribute> 932 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 933 <xsl:attribute name="space-before">24pt</xsl:attribute> 934 </xsl:attribute-set> 935 936 <xsl:attribute-set name="h2"> 937 <xsl:attribute name="color">darkblue</xsl:attribute> 938 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 939 <xsl:attribute name="space-before">18pt</xsl:attribute> 940 <xsl:attribute name="space-after">3pt</xsl:attribute> 941 </xsl:attribute-set> 942 943 <xsl:attribute-set name="h3"> 944 <xsl:attribute name="color">darkblue</xsl:attribute> 945 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 946 <xsl:attribute name="space-before">16pt</xsl:attribute> 947 <xsl:attribute name="space-after">2pt</xsl:attribute> 948 </xsl:attribute-set> 949 950 </xsl:transform> 951 </pre><div class="note"> <p> <b>Note:</b> the name for the attribute sets may change in the future as more working is done with respect to customizability. In any case, overriding the settings in a separate file will be easier to maintain. Please contact the author if you find yourself trying to override style definitions that currently do not use attribute sets.</p> <p> <b>Note:</b> the CSS style information used in <samp>rfc2629.xslt</samp> can be overriden in a similar (but less granular) way: just overwrite the template called "insertCss". As for XSL-FO, the class names may change in future.</p> </div><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a> <a id="license" href="#license">License</a></h1><p id="rfc.section.D.p.1">Copyright (c) 2006-2009, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.D.p.2">All rights reserved.</p><p id="rfc.section.D.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.D.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.E" class="np"><a href="#rfc.section.E">E.</a> Change Logs</h1><h2 id="rfc.section.E.1"><a href="#rfc.section.E.1">E.1</a> Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd><dt>2008-07-18</dt><dd>Experimental support for inlined rdf:Description elements (ignored by the formatter, extracted by rfc2629grddl).</dd><dt>2008-12-04</dt><dd>Update to xml2rfc v1.34pre2.</dd><dt>2009-02-24</dt><dd>Experimental support for February 2009 boilerplate changes, and for the x:boilerplate element.</dd><dt>2009-07-08</dt><dd>Support new boilerplate ordering in RFCs published since July 2009. Fix problems with one-column text tables.</dd><dt>2009-07-19</dt><dd>When possible, calculate the actual Expiry date for Internet Drafts (full date must be available).</dd><dt>2009-08-01</dt><dd>For '$xml2rfc-ext-authors-section='end'", move the index in front of the authors section.</dd><dt>2009-08-04</dt><dd>Consider /rfc/@ipr="pre5378Trust200902" when producing RFCs, not IDs.</dd></dl><h2 id="rfc.section.E.2"><a href="#rfc.section.E.2">E.2</a> amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.E.3"><a href="#rfc.section.E.3">E.3</a> check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>>.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>> to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd><dt>2008-06-14</dt><dd>Enhance output when draft was updated, and then published as RFC.</dd><dt>2008-07-12</dt><dd>Add XSLT2-based link target checking.</dd><dt>2008-08-10</dt><dd>Change keywords for "intended-level" to proposed/draft/internet, optionall extract intended level from /rfc/@x:maturity-level attribute.</dd></dl><h2 id="rfc.section.E.4"><a href="#rfc.section.E.4">E.4</a> gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.E.5"><a href="#rfc.section.E.5">E.5</a> rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see <<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>>). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>>.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>>.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see <<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>>.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add <link> element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (<<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>>) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into <back>.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate <CITE> elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move <dt> style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty <dt> elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in <appendix> elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to <iref> handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for <x:lt>.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (<<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>>) to head element. Add warning for misplaced <t> elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow <eref> below <cref>.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd><dt>2008-03-01</dt><dd>Use line numbers in diagnostics in Saxon8/9 as well.</dd><dt>2008-03-02</dt><dd>Fix a bug in the logic choosing the boilerplate, resulting in obsolete text being inserted into IDs.</dd><dt>2008-04-01</dt><dd>Add support for superscript element.</dd><dt>2008-06-28</dt><dd>Add sanity checks for email addresses, allow multiple email elements.</dd><dt>2008-07-06</dt><dd>Add x:abnf-char-sequence.</dd><dt>2008-08-21</dt><dd>Add x:note.</dd><dt>2008-09-06</dt><dd>Add experimental support for SVG images.</dd><dt>2008-09-17</dt><dd>Add experimental support for x:author. Fix xref/@format=none.</dd><dt>2008-10-10</dt><dd>Fix a huge bug, causing text content after an XML comment to be ignored.</dd><dt>2009-02-24</dt><dd>Use table/caption when needed.</dd><dt>2009-03-07</dt><dd>Fix bug that caused text to disappear in the output in presence of processing instructions.</dd><dt>2009-03-12</dt><dd>Make inlined comments bookmarkable.</dd><dt>2009-04-09</dt><dd>Upgrade to DC-HTML from RFC 2731 (affects head/@profile).</dd><dt>2009-07-08</dt><dd>Remove table/@summary in output; the value getting inserted was just repeating stuff that appeared in the preamble.</dd><dt>2009-08-01</dt><dd>Implement table alignment (HTML output only for now).</dd></dl><h2 id="rfc.section.E.6"><a href="#rfc.section.E.6">E.6</a> rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd><dt>2009-04-08</dt><dd>Fix spacing in headers; add support for formatting for double-sided printing.</dd><dt>2009-08-01</dt><dd>Remove surplus empty pages when not generating double-sided output.</dd></dl><h2 id="rfc.section.E.7"><a href="#rfc.section.E.7">E.7</a> xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.E.8"><a href="#rfc.section.E.8">E.8</a> xsl11toFop.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.E.9"><a href="#rfc.section.E.9">E.9</a> xsl11toFop-0.93.xslt</h2><dl><dt>2008-03-15</dt><dd>Add a workaround to the fo:inline workaround (sigh).</dd></dl><h2 id="rfc.section.E.10"><a href="#rfc.section.E.10">E.10</a> xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">abnf-char-sequence Extension Element <a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">allow-markup-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element <a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element <a class="iref" href="#rfc.iref.a.28"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.a.30">A</a></li><li class="indline1">Anchors <ul class="ind"><li class="indline1">rfc.abstract <a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors <a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright <a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice <a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n <a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n <a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index <a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr <a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n <a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n <a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references <a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n <a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m <a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status <a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc <a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n <a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter <a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP <a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element <a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element <a class="iref" href="#rfc.iref.a.31">A</a></li><li class="indline1">author HTML LINK element <a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute <a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute <a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element <a class="iref" href="#rfc.iref.b.3"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bc Extension Element <a class="iref" href="#rfc.iref.b.4"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">bcp14 Extension Element <a class="iref" href="#rfc.iref.b.2"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1"><em>BCP97</em> <a class="iref" href="#rfc.xref.BCP97.1">11.1</a>, <a class="iref" href="#BCP97"><b>12</b></a></li><li class="indline1">blockquote Extension Element <a class="iref" href="#rfc.iref.b.5"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li><li class="indline1">boilerplate Extension Element <a class="iref" href="#rfc.iref.b.6"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.b.12">A</a></li><li class="indline1">bt Extension Element <a class="iref" href="#rfc.iref.b.7"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.b.13">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element <a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format <a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute <a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute <a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element <a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element <a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property <a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property <a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1"><em>DC-HTML</em> <a class="iref" href="#rfc.xref.DC-HTML.1">6.4</a>, <a class="iref" href="#DC-HTML"><b>12</b></a></li><li class="indline1">DCMI properties <ul class="ind"><li class="indline1">Creator <a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">Date.Issued <a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">Description.Abstract <a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Identifier <a class="iref" href="#rfc.iref.d.7">6.4</a></li><li class="indline1">isPartOf <a class="iref" href="#rfc.iref.d.8">6.4</a></li><li class="indline1">Relation.Replaces <a class="iref" href="#rfc.iref.d.9">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property <a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">dfn Extension Element <a class="iref" href="#rfc.iref.d.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.d.11">A</a></li><li class="indline1">duplex PI pseudo-attribute <a class="iref" href="#rfc.iref.d.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute <a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements <ul class="ind"><li class="indline1">abnf-char-sequence <a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">anchor-alias <a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">bb <a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">bc <a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">bcp14 <a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">blockquote <a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">boilerplate <a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">bt <a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">dfn <a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">h <a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">highlight <a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">include-author <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">length-of <a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">link <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.36">A</a></li><li class="indline1">lt <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.37">A</a></li><li class="indline1">note <a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.38">A</a></li><li class="indline1">parse-xml <a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.39">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.18"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.e.40">A</a></li><li class="indline1">rdf:Description <a class="iref" href="#rfc.iref.e.46">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.19"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.e.41">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.20"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.e.42">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.44">A</a></li><li class="indline1">sup <a class="iref" href="#rfc.iref.e.21"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.e.43">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.45">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox <ul class="ind"><li class="indline1">1.*/2.* <a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.* <a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute <a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element <a class="iref" href="#rfc.iref.g.2">6.3</a></li><li class="indline1">Google Chrome <a class="iref" href="#rfc.iref.g.1">5.2</a></li><li class="indline1">Grammar <a class="iref" href="#rfc.iref.g.3"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element <a class="iref" href="#rfc.iref.h.12"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.h.14">A</a></li><li class="indline1">header PI pseudo-attribute <a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1">highlight Extension Element <a class="iref" href="#rfc.iref.h.13"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.h.15">A</a></li><li class="indline1"><em>HTML</em> <a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.6</a>, <a class="iref" href="#rfc.xref.HTML.3">10.9</a>, <a class="iref" href="#rfc.xref.HTML.4">10.17</a>, <a class="iref" href="#rfc.xref.HTML.5">10.20</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance <a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements <ul class="ind"><li class="indline1">alternate <a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix <a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author <a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter <a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents <a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright <a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index <a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements <ul class="ind"><li class="indline1">generator <a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords <a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property <a class="iref" href="#rfc.iref.i.10">6.4</a></li><li class="indline1">include PI pseudo-attribute <a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-author Extension Element <a class="iref" href="#rfc.iref.i.12">A</a></li><li class="indline1">include-references-in-index PI pseudo-attribute <a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element <a class="iref" href="#rfc.iref.i.9">6.2</a></li><li class="indline1">inline PI pseudo-attribute <a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5 <a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6 <a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7 <a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">Internet Explorer 8 <a class="iref" href="#rfc.iref.i.8">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute <a class="iref" href="#rfc.iref.i.2">3.1</a></li><li class="indline1">isPartOf DCMI property <a class="iref" href="#rfc.iref.i.11">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute <a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element <a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element <a class="iref" href="#rfc.iref.l.2"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element <a class="iref" href="#rfc.iref.l.3"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute <a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element <a class="iref" href="#rfc.iref.l.4"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help <a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla <a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3 <a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4 <a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute <a class="iref" href="#rfc.iref.n.1">3.2</a></li><li class="indline1">NoScript <a class="iref" href="#rfc.iref.n.2">5.2</a></li><li class="indline1">note Extension Element <a class="iref" href="#rfc.iref.n.3"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.n.4">A</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera <a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters <ul class="ind"><li class="indline1">xml2rfc-background <a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments <a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact <a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing <a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section <a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-duplex <a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index <a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">xml2rfc-ext-justification <a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.57">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 <a class="iref" href="#rfc.iref.p.55">3.3</a></li><li class="indline1">xml2rfc-footer <a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header <a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline <a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified <a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto <a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private <a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-rfcedstyle <a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-sortrefs <a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-symrefs <a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-toc <a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-tocdepth <a class="iref" href="#rfc.iref.p.31">3.1</a></li><li class="indline1">xml2rfc-topblock <a class="iref" href="#rfc.iref.p.33">3.1</a></li></ul></li><li class="indline1">parse-xml Extension Element <a class="iref" href="#rfc.iref.p.58"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.p.59">A</a></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">private PI pseudo-attribute <a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes <ul class="ind"><li class="indline1">allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.41">3.3</a></li><li class="indline1">authors-section <a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">background <a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments <a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact <a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">duplex <a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">editing <a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer <a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header <a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification <a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">include <a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">include-references-in-index <a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">inline <a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified <a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto <a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines <a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">private <a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">rfcedstyle <a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.56">3.3</a></li><li class="indline1">slides <a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">sortrefs <a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">strict <a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">subcompact <a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">support-rfc2731 <a class="iref" href="#rfc.iref.p.54">3.3</a></li><li class="indline1">symrefs <a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">toc <a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocdepth <a class="iref" href="#rfc.iref.p.30">3.1</a></li><li class="indline1">tocindent <a class="iref" href="#rfc.iref.p.39">3.2</a></li><li class="indline1">tocompact <a class="iref" href="#rfc.iref.p.40">3.2</a></li><li class="indline1">topblock <a class="iref" href="#rfc.iref.p.32">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element <a class="iref" href="#rfc.iref.q.1"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">rdf:Description Extension Element <a class="iref" href="#rfc.iref.r.25">A</a></li><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.22"><b>10.18</b></a>, <a class="iref" href="#rfc.iref.r.24">A</a></li><li class="indline1">Relation.Replaces DCMI property <a class="iref" href="#rfc.iref.r.21">6.4</a></li><li class="indline1">RELAX NG Compact Schema <a class="iref" href="#rfc.iref.r.23"><b>A</b></a></li><li class="indline1">rfc.abstract anchor <a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.authors anchor <a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyright anchor <a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.copyrightnotice anchor <a class="iref" href="#rfc.iref.r.5">4</a></li><li class="indline1">rfc.figure.n anchor <a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.figure.u.n anchor <a class="iref" href="#rfc.iref.r.7">4</a>, <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.index anchor <a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.ipr anchor <a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.iref.n anchor <a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.note.n anchor <a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references anchor <a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.references.n anchor <a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n anchor <a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.section.n.p.m anchor <a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.status anchor <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.toc anchor <a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1">rfc.xref.name.n anchor <a class="iref" href="#rfc.iref.r.20">4</a></li><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">10.24</a>, <a class="iref" href="#RFC2026"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 4.1</em> <a class="iref" href="#rfc.xref.RFC2026.1">10.24</a></li></ul></li><li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">10.3</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.26</a>, <a class="iref" href="#RFC2119"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 5</em> <a class="iref" href="#rfc.xref.RFC2119.2">10.26</a></li></ul></li><li class="indline1"><em>RFC2616</em> <a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em> <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em> <a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em> <a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em> <a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em> <a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1">rfcedstyle PI pseudo-attribute <a class="iref" href="#rfc.iref.r.1">3.1</a></li><li class="indline1"><em>RNC</em> <a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari <a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.* <a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon <a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema <a class="iref" href="#rfc.iref.s.14"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute <a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute <a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element <a class="iref" href="#rfc.iref.s.12"><b>10.19</b></a>, <a class="iref" href="#rfc.iref.s.15">A</a></li><li class="indline1">span Extension Element <a class="iref" href="#rfc.iref.s.17">A</a></li><li class="indline1">strict PI pseudo-attribute <a class="iref" href="#rfc.iref.s.4">3.2</a></li><li class="indline1">subcompact PI pseudo-attribute <a class="iref" href="#rfc.iref.s.5">3.2</a></li><li class="indline1">sup Extension Element <a class="iref" href="#rfc.iref.s.13"><b>10.20</b></a>, <a class="iref" href="#rfc.iref.s.16">A</a></li><li class="indline1">support-rfc2731 PI pseudo-attribute <a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute <a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute <a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute <a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute <a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute <a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element <a class="iref" href="#rfc.iref.x.29">A</a></li><li class="indline1">Xalan <a class="iref" href="#rfc.iref.x.26">5.1</a></li><li class="indline1"><em>XHTML2</em> <a class="iref" href="#rfc.xref.XHTML2.1">10.10</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1"><em>XML</em> <a class="iref" href="#XML"><b>12</b></a>, <a class="iref" href="#rfc.xref.XML.1">C.1</a><ul class="ind"><li class="indline1"><em>Section 2.8</em> <a class="iref" href="#rfc.xref.XML.1">C.1</a></li></ul></li><li class="indline1">xml-stylesheet PI <a class="iref" href="#rfc.iref.x.28">6</a></li><li class="indline1">xml2rfc-background parameter <a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter <a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter <a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter <a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter <a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-duplex <a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter <a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter <a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter <a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter <a class="iref" href="#rfc.iref.x.25">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter <a class="iref" href="#rfc.iref.x.24">3.3</a></li><li class="indline1">xml2rfc-footer parameter <a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter <a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter <a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter <a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter <a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter <a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-rfcedstyle parameter <a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter <a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter <a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-toc parameter <a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter <a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1">xml2rfc-topblock parameter <a class="iref" href="#rfc.iref.x.17">3.1</a></li><li class="indline1"><em>XSL-FO</em> <a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc <a class="iref" href="#rfc.iref.x.27">5.1</a><ul class="ind"><li class="indline1">passing parameters <a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html> -
rfc2629xslt/rfc2629xslt.txt
r599 r662 4 4 RFC2629 through XSLT J. Reschke 5 5 greenbytes 6 June 10, 20096 August 4, 2009 7 7 8 8 … … 56 56 57 57 58 Documentation RFC2629 through XSLT June200958 Documentation RFC2629 through XSLT August 2009 59 59 60 60 … … 83 83 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 45 84 84 B.1. Recognized type attributes for <artwork> element . . . . 45 85 Appendix C. License .. . . . . . . . . . . . . . . . . . . . . . 4686 Appendix D. Change Logs . . . . . . . . . . . . . . . . . . . . . 4787 D.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 4788 D.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 4789 D.3. check-references.xslt . . . . . . . . . . . . . . . . . . 4790 D.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 4891 D.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 4892 D.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 5993 D.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 6094 D.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 6095 D.9. xsl11toFop-0.93.xslt . . . . . . . . . . . . . . . . . . 6096 D.10. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 6097 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6298 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 7099 100 101 85 Appendix C. Examples . . . . . . . . . . . . . . . . . . . . . . 46 86 C.1. Using the 'Internal Subset' . . . . . . . . . . . . . . . 46 87 C.2. Customization . . . . . . . . . . . . . . . . . . . . . . 46 88 Appendix D. License . . . . . . . . . . . . . . . . . . . . . . . 48 89 Appendix E. Change Logs . . . . . . . . . . . . . . . . . . . . . 49 90 E.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 49 91 E.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 49 92 E.3. check-references.xslt . . . . . . . . . . . . . . . . . . 49 93 E.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 50 94 E.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 50 95 E.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 61 96 E.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 63 97 E.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 63 98 E.9. xsl11toFop-0.93.xslt . . . . . . . . . . . . . . . . . . 63 99 E.10. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 63 100 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 101 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 72 102 102 103 103 … … 113 113 114 114 115 Documentation RFC2629 through XSLT June2009115 Documentation RFC2629 through XSLT August 2009 116 116 117 117 … … 170 170 171 171 172 Documentation RFC2629 through XSLT June2009172 Documentation RFC2629 through XSLT August 2009 173 173 174 174 … … 176 176 177 177 "rfc2629.xslt" supports both all RFC2629 grammar elements and the 178 extensions implemented in xml2rfc 1. 21.178 extensions implemented in xml2rfc 1.33. 179 179 180 180 2.1. Extension elements … … 227 227 228 228 229 Documentation RFC2629 through XSLT June2009229 Documentation RFC2629 through XSLT August 2009 230 230 231 231 … … 284 284 285 285 286 Documentation RFC2629 through XSLT June2009286 Documentation RFC2629 through XSLT August 2009 287 287 288 288 … … 341 341 342 342 343 Documentation RFC2629 through XSLT June2009343 Documentation RFC2629 through XSLT August 2009 344 344 345 345 … … 365 365 3.2. Unsupported xml2rfc-compatible PIs 366 366 367 +-------- --+------------------+-------------------------------------+368 | PI | PI | comment|369 | target | pseudo-attribute ||370 +-------- --+------------------+-------------------------------------+371 | rfc | include | incompatible with XML/XSLT|372 | | | processing model|373 | | ||374 | rfc | needLines ||375 | | ||376 | rfc | slides ||377 | | ||378 | rfc | strict ||379 | | ||380 | rfc | subcompact ||381 | | ||382 | rfc | tocindent | (defaults to "yes")|383 | | ||384 | rfc | tocompact ||385 +----------+------------------+-------------------------------------+386 367 +--------+------------------+---------------------------------------+ 368 | PI | PI | comment | 369 | target | pseudo-attribute | | 370 +--------+------------------+---------------------------------------+ 371 | rfc | include | incompatible with XML/XSLT processing | 372 | | | model, please use external entities | 373 | | | instead | 374 | | | | 375 | rfc | needLines | | 376 | | | | 377 | rfc | slides | | 378 | | | | 379 | rfc | strict | | 380 | | | | 381 | rfc | subcompact | | 382 | | | | 383 | rfc | tocindent | (defaults to "yes") | 384 | | | | 385 | rfc | tocompact | | 386 +--------+------------------+---------------------------------------+ 387 387 388 388 … … 398 398 399 399 400 Documentation RFC2629 through XSLT June2009400 Documentation RFC2629 through XSLT August 2009 401 401 402 402 … … 455 455 456 456 457 Documentation RFC2629 through XSLT June2009457 Documentation RFC2629 through XSLT August 2009 458 458 459 459 … … 512 512 513 513 514 Documentation RFC2629 through XSLT June2009514 Documentation RFC2629 through XSLT August 2009 515 515 516 516 … … 569 569 570 570 571 Documentation RFC2629 through XSLT June2009571 Documentation RFC2629 through XSLT August 2009 572 572 573 573 … … 626 626 627 627 628 Documentation RFC2629 through XSLT June2009628 Documentation RFC2629 through XSLT August 2009 629 629 630 630 … … 683 683 684 684 685 Documentation RFC2629 through XSLT June2009685 Documentation RFC2629 through XSLT August 2009 686 686 687 687 … … 740 740 741 741 742 Documentation RFC2629 through XSLT June2009742 Documentation RFC2629 through XSLT August 2009 743 743 744 744 … … 754 754 The following XSLT engines are believed to work well: 755 755 756 o MSXML3 and MSXML4 (<http://msdn.microsoft.com/xml>; these757 processors do not support exsl:node-set(), but have a similar758 proprietary extension)759 760 o Saxon (<http://saxon.sourceforge.net/>)761 762 o Xalan (<http://xml.apache.org/xalan-j/>)763 764 o xsltproc (libxslt) (<http://xmlsoft.org/XSLT/>, make sure that you765 have a current version)756 o Windows: MSXML3 and MSXML4 (<http://msdn.microsoft.com/xml>; 757 command line processor "msxsl" is available from Microsoft 758 Download Center [2]) 759 760 o Java: Saxon (<http://saxon.sourceforge.net/>) 761 762 o Java: Xalan (<http://xml.apache.org/xalan-j/>) 763 764 o C/C++: xsltproc (libxslt) (<http://xmlsoft.org/XSLT/>, make sure 765 that you have a current version) 766 766 767 767 5.2. In-Browser Engines … … 771 771 o Internet Explorer 5.5 (Windows version, if MSXML3 is installed) 772 772 773 o Internet Explorer 6 774 775 o Internet Explorer 7 776 777 o Internet Explorer 8 778 779 o Firefox 3.0 773 o Internet Explorer 6 and newer 774 775 o Firefox 3.0 and newer 776 777 778 * Be aware that XSLT execution can be suppressed using 779 NoScript [3] 780 781 * Firefox does not load external DTDs, see Mozilla Bug 22942 [4], 782 thus entities like need to be declared in the internal 783 subset (Appendix C.1) 780 784 781 785 o Safari 3 (starting with version 3.0.4) … … 783 787 o Google Chrome (beta available) 784 788 785 o Opera 10 ( alpha version available)789 o Opera 10 (beta version available) 786 790 787 791 The following browsers are known not to work properly: 788 792 793 794 795 796 Reschke [Page 14] 797 798 799 Documentation RFC2629 through XSLT August 2009 800 801 789 802 o Firefox 1.*/2.*: (missing extension function - see change request 790 at Mozilla BugZilla 193678 [2]) 791 792 793 794 795 796 Reschke [Page 14] 797 798 799 Documentation RFC2629 through XSLT June 2009 800 803 at Mozilla BugZilla 193678 [5]) 801 804 802 805 o Opera 9.21: execution fails, potentially to a somewhat complex … … 848 851 849 852 850 851 852 853 853 Reschke [Page 15] 854 854 855 855 856 Documentation RFC2629 through XSLT June2009856 Documentation RFC2629 through XSLT August 2009 857 857 858 858 … … 878 878 content-independant links inside the document. Unfortunately, only 879 879 few user agents support this element. Firefox users may want to 880 check the Link Widgets [ 3] extension.880 check the Link Widgets [6] extension. 881 881 882 882 The following LINK elements are produced: … … 911 911 912 912 913 Documentation RFC2629 through XSLT June2009913 Documentation RFC2629 through XSLT August 2009 914 914 915 915 … … 954 954 6.5. Experimental hCard support 955 955 956 The generated author information is formatted in hCard [ 4] format.956 The generated author information is formatted in hCard [7] format. 957 957 958 958 … … 968 968 969 969 970 Documentation RFC2629 through XSLT June2009970 Documentation RFC2629 through XSLT August 2009 971 971 972 972 … … 1025 1025 1026 1026 1027 Documentation RFC2629 through XSLT June20091027 Documentation RFC2629 through XSLT August 2009 1028 1028 1029 1029 … … 1082 1082 1083 1083 1084 Documentation RFC2629 through XSLT June20091084 Documentation RFC2629 through XSLT August 2009 1085 1085 1086 1086 … … 1101 1101 layout), and some popular extensions aren't standardized yet, the 1102 1102 translation produces a generic output (hopefully) conforming to 1103 [XSL-FO]. Specific backends ("xsl11toFop .xslt", "xsl11toXep.xslt",1104 "xsl11to An.xslt") then provide post-processing for the individual1105 processors.1103 [XSL-FO]. Specific backends ("xsl11toFop-0.95xslt", 1104 "xsl11toXep.xslt", "xsl11toAn.xslt") then provide post-processing for 1105 the individual processors. 1106 1106 1107 1107 Note: the output is currently targeted at Apache FOP 0.95. … … 1115 1115 +------------+-------------+------------+-------------+-------------+ 1116 1116 | XSL 1.1 | no, but can | yes | no, but | yes | 1117 | WD [ 5] | be | | uses XEP | |1117 | WD [8] | be | | uses XEP | | 1118 1118 | | auto-genera | | output | | 1119 1119 | | ted from | | extensions | | … … 1121 1121 | | attributes | | | | 1122 1122 | | | | | | 1123 | Antenna | no | yes [7] | yes [7] | yes [7]|1123 | Antenna | no | yes [10] | yes [10] | yes [10] | 1124 1124 | House XSL | | (from XSL | (from XEP | (just page | 1125 1125 | formatter | | 1.1 | document | duplicate | 1126 | [ 6] | | bookmarks) | info) | elimination |1126 | [9] | | bookmarks) | info) | elimination | 1127 1127 | | | | | , from XSL | 1128 1128 | | | | | 1.1 page | … … 1130 1130 | | | | | | 1131 1131 | Apache | yes | yes (from | yes | no | 1132 | FOP [ 8]| | XSL 1.1 | | |1132 | FOP [11] | | XSL 1.1 | | | 1133 1133 | | | bookmarks) | | | 1134 1134 | | | | | | … … 1139 1139 1140 1140 1141 Documentation RFC2629 through XSLT June20091142 1143 1144 | RenderX | no | yes [1 0] | yes [10] | yes [10] |1145 | XEP [ 9]| | (from XSL | | (from XSL |1141 Documentation RFC2629 through XSLT August 2009 1142 1143 1144 | RenderX | no | yes [13] | yes [13] | yes [13] | 1145 | XEP [12] | | (from XSL | | (from XSL | 1146 1146 | | | 1.1 | | 1.1 page | 1147 1147 | | | bookmarks) | | index) | … … 1153 1153 1154 1154 saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo 1155 saxon tmp.fo xsl11toFop .xslt > rfc2629.fo1155 saxon tmp.fo xsl11toFop-0.95.xslt > rfc2629.fo 1156 1156 1157 1157 9.2. Via X(HTML) … … 1196 1196 1197 1197 1198 Documentation RFC2629 through XSLT June20091198 Documentation RFC2629 through XSLT August 2009 1199 1199 1200 1200 … … 1253 1253 1254 1254 1255 Documentation RFC2629 through XSLT June20091255 Documentation RFC2629 through XSLT August 2009 1256 1256 1257 1257 … … 1310 1310 1311 1311 1312 Documentation RFC2629 through XSLT June20091312 Documentation RFC2629 through XSLT August 2009 1313 1313 1314 1314 … … 1367 1367 1368 1368 1369 Documentation RFC2629 through XSLT June20091369 Documentation RFC2629 through XSLT August 2009 1370 1370 1371 1371 … … 1424 1424 1425 1425 1426 Documentation RFC2629 through XSLT June20091426 Documentation RFC2629 through XSLT August 2009 1427 1427 1428 1428 … … 1481 1481 1482 1482 1483 Documentation RFC2629 through XSLT June20091483 Documentation RFC2629 through XSLT August 2009 1484 1484 1485 1485 … … 1538 1538 1539 1539 1540 Documentation RFC2629 through XSLT June20091540 Documentation RFC2629 through XSLT August 2009 1541 1541 1542 1542 … … 1595 1595 1596 1596 1597 Documentation RFC2629 through XSLT June20091597 Documentation RFC2629 through XSLT August 2009 1598 1598 1599 1599 … … 1652 1652 1653 1653 1654 Documentation RFC2629 through XSLT June20091654 Documentation RFC2629 through XSLT August 2009 1655 1655 1656 1656 … … 1709 1709 1710 1710 1711 Documentation RFC2629 through XSLT June20091711 Documentation RFC2629 through XSLT August 2009 1712 1712 1713 1713 … … 1766 1766 1767 1767 1768 Documentation RFC2629 through XSLT June20091768 Documentation RFC2629 through XSLT August 2009 1769 1769 1770 1770 … … 1823 1823 1824 1824 1825 Documentation RFC2629 through XSLT June20091825 Documentation RFC2629 through XSLT August 2009 1826 1826 1827 1827 … … 1880 1880 1881 1881 1882 Documentation RFC2629 through XSLT June20091882 Documentation RFC2629 through XSLT August 2009 1883 1883 1884 1884 … … 1929 1929 <http://www.w3.org/TR/xhtml2>. 1930 1930 1931 [XML] Bray, T., Paoli, J., Sperberg-McQueen, C., Maler, E., and 1932 F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fifth 1933 1934 1935 1936 Reschke [Page 34] 1937 1938 1939 Documentation RFC2629 through XSLT August 2009 1940 1941 1942 Edition)", W3C REC-xml-20081126, November 2008, 1943 <http://www.w3.org/TR/2008/REC-xml-20081126/>. 1944 1931 1945 [XSL-FO] Berglund, A., "Extensible Stylesheet Language (XSL) 1932 1946 Version 1.1", W3C REC-xsl11-20061205, Dec 2006, 1933 1934 1935 1936 Reschke [Page 34]1937 1938 1939 Documentation RFC2629 through XSLT June 20091940 1941 1942 1947 <http://www.w3.org/TR/2006/REC-xsl11-20061205/>. 1943 1948 … … 1945 1950 exsl.node-set.html> 1946 1951 1947 [2] <http://bugzilla.mozilla.org/show_bug.cgi?id=193678> 1948 1949 [3] <https://addons.mozilla.org/firefox/2933/> 1950 1951 [4] <http://microformats.org/wiki/hcard> 1952 1953 [5] <http://www.w3.org/TR/2003/WD-xsl11-20031217/> 1954 1955 [6] <http://www.antennahouse.com/> 1956 1957 [7] <http://www.antennahouse.com/XSL20/axf-extension.htm> 1958 1959 [8] <http://xml.apache.org/fop/> 1960 1961 [9] <http://xep.xattic.com/> 1962 1963 [10] <http://xep.xattic.com/xep/spec.html> 1964 1965 [11] <http://www.thaiopensource.com/relaxng/jing.html> 1966 1967 [12] <http://dpcarlisle.blogspot.com/2007/05/ 1952 [2] <http://www.microsoft.com/downloads/ 1953 details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41> 1954 1955 [3] <https://addons.mozilla.org/de/firefox/addon/722> 1956 1957 [4] <https://bugzilla.mozilla.org/show_bug.cgi?id=22942> 1958 1959 [5] <http://bugzilla.mozilla.org/show_bug.cgi?id=193678> 1960 1961 [6] <https://addons.mozilla.org/firefox/2933/> 1962 1963 [7] <http://microformats.org/wiki/hcard> 1964 1965 [8] <http://www.w3.org/TR/2003/WD-xsl11-20031217/> 1966 1967 [9] <http://www.antennahouse.com/> 1968 1969 [10] <http://www.antennahouse.com/XSL20/axf-extension.htm> 1970 1971 [11] <http://xml.apache.org/fop/> 1972 1973 [12] <http://xep.xattic.com/> 1974 1975 [13] <http://xep.xattic.com/xep/spec.html> 1976 1977 [14] <http://www.thaiopensource.com/relaxng/jing.html> 1978 1979 [15] <http://dpcarlisle.blogspot.com/2007/05/ 1968 1980 exslt-node-set-function.html> 1969 1981 … … 1979 1991 1980 1992 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1993 Reschke [Page 35] 1994 1994 1995 1995 1996 Documentation RFC2629 through XSLT June20091996 Documentation RFC2629 through XSLT August 2009 1997 1997 1998 1998 … … 2000 2000 2001 2001 The RelaxNG schema ([RNC]) below can be used to validate input 2002 documents (for instance, with Jing [1 1]).2002 documents (for instance, with Jing [14]). 2003 2003 2004 2004 _Note that this is work in progress, and doesn't yet cover all … … 2051 2051 2052 2052 2053 Documentation RFC2629 through XSLT June20092053 Documentation RFC2629 through XSLT August 2009 2054 2054 2055 2055 … … 2108 2108 2109 2109 2110 Documentation RFC2629 through XSLT June20092110 Documentation RFC2629 through XSLT August 2009 2111 2111 2112 2112 … … 2165 2165 2166 2166 2167 Documentation RFC2629 through XSLT June20092167 Documentation RFC2629 through XSLT August 2009 2168 2168 2169 2169 … … 2222 2222 2223 2223 2224 Documentation RFC2629 through XSLT June20092224 Documentation RFC2629 through XSLT August 2009 2225 2225 2226 2226 … … 2279 2279 2280 2280 2281 Documentation RFC2629 through XSLT June20092281 Documentation RFC2629 through XSLT August 2009 2282 2282 2283 2283 … … 2336 2336 2337 2337 2338 Documentation RFC2629 through XSLT June20092338 Documentation RFC2629 through XSLT August 2009 2339 2339 2340 2340 … … 2393 2393 2394 2394 2395 Documentation RFC2629 through XSLT June20092395 Documentation RFC2629 through XSLT August 2009 2396 2396 2397 2397 … … 2450 2450 2451 2451 2452 Documentation RFC2629 through XSLT June20092452 Documentation RFC2629 through XSLT August 2009 2453 2453 2454 2454 … … 2507 2507 2508 2508 2509 Documentation RFC2629 through XSLT June20092509 Documentation RFC2629 through XSLT August 2009 2510 2510 2511 2511 … … 2564 2564 2565 2565 2566 Documentation RFC2629 through XSLT June 2009 2567 2568 2569 Appendix C. License 2566 Documentation RFC2629 through XSLT August 2009 2567 2568 2569 Appendix C. Examples 2570 2571 C.1. Using the 'Internal Subset' 2572 2573 The prolog of the XML document can both be used to refer to an 2574 external DTD, and also to define internal entities (Section 2.8 of 2575 [XML]): 2576 2577 <?xml version="1.0"?> 2578 <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?> 2579 2580 <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [ 2581 2582 <!-- use "&MAY;" for a BCP 14 "MAY", see Section 10.3 --> 2583 <!ENTITY MAY 2584 "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>"> 2585 2586 <!-- re-declare " " as code point 160 (non-breaking space) --> 2587 <!-- you may need this for UAs that do not read external DTDs --> 2588 <!ENTITY nbsp 2589 " "> 2590 2591 <!-- allow later RFC2616 reference using "&rfc2616;" --> 2592 <!ENTITY rfc2616 PUBLIC '' 2593 "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml"> 2594 2595 ]> 2596 2597 C.2. Customization 2598 2599 The XSLT code can be customized by creating a custom XSLT file that 2600 uses <xsl:import> to include the original code, and just overrides 2601 particular rules. 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 Reschke [Page 46] 2621 2622 2623 Documentation RFC2629 through XSLT August 2009 2624 2625 2626 For instance, the code below overrides several attributes in 2627 "rfc2629toFO.xslt", changing the color, spacing and font family for 2628 headers. 2629 2630 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 2631 version="1.0"> 2632 2633 <xsl:import href="rfc2629toFO.xslt"/> 2634 2635 <xsl:attribute-set name="h1"> 2636 <xsl:attribute name="color">darkblue</xsl:attribute> 2637 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2638 <xsl:attribute name="space-before">24pt</xsl:attribute> 2639 </xsl:attribute-set> 2640 2641 <xsl:attribute-set name="h2"> 2642 <xsl:attribute name="color">darkblue</xsl:attribute> 2643 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2644 <xsl:attribute name="space-before">18pt</xsl:attribute> 2645 <xsl:attribute name="space-after">3pt</xsl:attribute> 2646 </xsl:attribute-set> 2647 2648 <xsl:attribute-set name="h3"> 2649 <xsl:attribute name="color">darkblue</xsl:attribute> 2650 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2651 <xsl:attribute name="space-before">16pt</xsl:attribute> 2652 <xsl:attribute name="space-after">2pt</xsl:attribute> 2653 </xsl:attribute-set> 2654 2655 </xsl:transform> 2656 2657 Note: the name for the attribute sets may change in the future as 2658 more working is done with respect to customizability. In any 2659 case, overriding the settings in a separate file will be easier to 2660 maintain. Please contact the author if you find yourself trying 2661 to override style definitions that currently do not use attribute 2662 sets. 2663 2664 Note: the CSS style information used in "rfc2629.xslt" can be 2665 overriden in a similar (but less granular) way: just overwrite the 2666 template called "insertCss". As for XSL-FO, the class names may 2667 change in future. 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 Reschke [Page 47] 2678 2679 2680 Documentation RFC2629 through XSLT August 2009 2681 2682 2683 Appendix D. License 2570 2684 2571 2685 Copyright (c) 2006-2009, Julian Reschke … … 2618 2732 2619 2733 2620 Reschke [Page 4 6]2621 2622 2623 Documentation RFC2629 through XSLT June20092624 2625 2626 Appendix D. Change Logs2627 2628 D.1. Package2734 Reschke [Page 48] 2735 2736 2737 Documentation RFC2629 through XSLT August 2009 2738 2739 2740 Appendix E. Change Logs 2741 2742 E.1. Package 2629 2743 2630 2744 2006-01-01 Switch to BSD License. … … 2644 2758 changes, and for the x:boilerplate element. 2645 2759 2646 D.2. amazon-asin.xslt 2760 2009-07-08 Support new boilerplate ordering in RFCs published since 2761 July 2009. Fix problems with one-column text tables. 2762 2763 2009-07-19 When possible, calculate the actual Expiry date for 2764 Internet Drafts (full date must be available). 2765 2766 2009-08-01 For '$xml2rfc-ext-authors-section='end'", move the index 2767 in front of the authors section. 2768 2769 2009-08-04 Consider /rfc/@ipr="pre5378Trust200902" when producing 2770 RFCs, not IDs. 2771 2772 E.2. amazon-asin.xslt 2647 2773 2648 2774 2003-11-16 Initial release. … … 2650 2776 2005-04-02 Fix two DTD issues. 2651 2777 2652 D.3. check-references.xslt2778 E.3. check-references.xslt 2653 2779 2654 2780 2003-11-16 Initial release. … … 2657 2783 2658 2784 2005-01-01 Add experimental check for ID status. 2785 2786 2787 2788 2789 2790 2791 Reschke [Page 49] 2792 2793 2794 Documentation RFC2629 through XSLT August 2009 2795 2659 2796 2660 2797 2005-04-01 Add fixes from Bill Fenner. … … 2670 2807 2007-01-04 Use information online at <http://tools.ietf.org/> to 2671 2808 retrieve Internet-Draft status information. 2672 2673 2674 2675 2676 2677 Reschke [Page 47]2678 2679 2680 Documentation RFC2629 through XSLT June 20092681 2682 2809 2683 2810 2007-06-16 Fix bug looking up ref type when inside change markup. … … 2692 2819 x:maturity-level attribute. 2693 2820 2694 D.4. gen-reference-graph.xslt2821 E.4. gen-reference-graph.xslt 2695 2822 2696 2823 2006-09-03 New. 2697 2824 2698 2007-06-07 Use Carlisle method [1 2] to define exslt:node-set in2825 2007-06-07 Use Carlisle method [15] to define exslt:node-set in 2699 2826 msxsml (which means that the stylesheet can now be used with MSXML 2700 2827 as well). … … 2702 2829 2007-10-15 Use W3C data from tr.rdf as well (experimental). 2703 2830 2704 D.5. rfc2629.xslt2831 E.5. rfc2629.xslt 2705 2832 2706 2833 2001-03-28 Code rearranged, generate numbered section anchors for … … 2714 2841 2001-10-07 Made telephone number links active. 2715 2842 2843 2844 2845 2846 2847 2848 Reschke [Page 50] 2849 2850 2851 Documentation RFC2629 through XSLT August 2009 2852 2853 2716 2854 2001-10-08 Support for vspace element. 2717 2855 … … 2726 2864 2001-12-17 Support title attribute on references element 2727 2865 2728 2729 2730 2731 2732 2733 2734 Reschke [Page 48]2735 2736 2737 Documentation RFC2629 through XSLT June 20092738 2739 2740 2866 2002-01-05 Support for list/@style="@format" 2741 2867 … … 2771 2897 parts. 2772 2898 2899 2900 2901 2902 2903 2904 2905 Reschke [Page 51] 2906 2907 2908 Documentation RFC2629 through XSLT August 2009 2909 2910 2773 2911 2002-04-08 Fixed reference numbering when references are split into 2774 2912 separate sections. … … 2782 2920 2002-04-21 Make numbered list inside numbered lists use alphanumeric 2783 2921 numbering. 2784 2785 2786 2787 2788 2789 2790 2791 Reschke [Page 49]2792 2793 2794 Documentation RFC2629 through XSLT June 20092795 2796 2922 2797 2923 2002-05-05 Updated issue/editing support. … … 2827 2953 2003-04-19 fixed counting of list numbers in "format %" styles (one 2828 2954 counter per unique format string). Added more spanx styles. 2955 2956 2957 2958 2959 2960 2961 2962 Reschke [Page 52] 2963 2964 2965 Documentation RFC2629 through XSLT August 2009 2966 2829 2967 2830 2968 2003-05-02 experimental texttable support … … 2843 2981 number paragraphs in unnumbered sections. update boilerplate 2844 2982 texts. support for "iprnotified" PI. bugfix list numbering. strip 2845 2846 2847 2848 Reschke [Page 50]2849 2850 2851 Documentation RFC2629 through XSLT June 20092852 2853 2854 2983 whitespace when building tel: URIs. 2855 2984 … … 2882 3011 2883 3012 2003-08-09 Generate HTML lang tag. 3013 3014 3015 3016 3017 3018 3019 Reschke [Page 53] 3020 3021 3022 Documentation RFC2629 through XSLT August 2009 3023 2884 3024 2885 3025 2003-08-10 Map spanx/verb to HTML "samp" element. Fix author name … … 2897 3037 (borders, thead continuation). 2898 3038 2899 2900 2901 2902 2903 2904 2905 Reschke [Page 51]2906 2907 2908 Documentation RFC2629 through XSLT June 20092909 2910 2911 3039 2003-08-18 Add workaround for MSXML4 node-set and Mozilla node-set 2912 3040 issues (fallback just displays are warning). … … 2941 3069 001088.html>. 2942 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54] 3077 3078 3079 Documentation RFC2629 through XSLT August 2009 3080 3081 2943 3082 2004-03-11 Add "(if approved)" to "updates" and "obsoletes" unless 2944 3083 the document has an RFC number. … … 2954 3093 2004-04-14 Fix references TOC generation when there are no 2955 3094 references. 2956 2957 2958 2959 2960 2961 2962 Reschke [Page 52]2963 2964 2965 Documentation RFC2629 through XSLT June 20092966 2967 3095 2968 3096 2004-04-24 Fix RFC3667 output, see … … 2998 3126 2004-09-21 Enhance checking of artwork width. 2999 3127 3128 3129 3130 3131 3132 3133 Reschke [Page 55] 3134 3135 3136 Documentation RFC2629 through XSLT August 2009 3137 3138 3000 3139 2004-09-26 Add check for unused references. Uppercase letters in 3001 3140 list style letters when nested into another list. … … 3010 3149 3011 3150 2004-11-03 Enhanced placement of iref anchors. 3012 3013 3014 3015 3016 3017 3018 3019 Reschke [Page 53]3020 3021 3022 Documentation RFC2629 through XSLT June 20093023 3024 3151 3025 3152 2004-11-06 Index: display irefs that appeared (with primary=true) … … 3059 3186 "Author's Adresses" fix. 3060 3187 3188 3189 3190 Reschke [Page 56] 3191 3192 3193 Documentation RFC2629 through XSLT August 2009 3194 3195 3061 3196 2005-02-25 Align section number format with xml2rfc1.29. 3062 3197 … … 3068 3203 (fenner@research.att.com) 3069 3204 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54]3077 3078 3079 Documentation RFC2629 through XSLT June 20093080 3081 3082 3205 2005-04-11 Cleanup author display. hCard related fixes. 3083 3206 … … 3118 3241 status" for non-RFC documents). Start work on experimental 3119 3242 extension for simplified internal links. 3243 3244 3245 3246 3247 Reschke [Page 57] 3248 3249 3250 Documentation RFC2629 through XSLT August 2009 3251 3120 3252 3121 3253 2006-03-19 Tweaks to IESG Copyright stuff; support submissionType … … 3126 3258 namespace "http://purl.org/net/xml2rfc/ext". 3127 3259 3128 3129 3130 3131 3132 3133 Reschke [Page 55]3134 3135 3136 Documentation RFC2629 through XSLT June 20093137 3138 3139 3260 2006-03-27 Moved "simple reference" extension into namespace 3140 3261 "http://purl.org/net/xml2rfc/ext" and add documentation. HTML … … 3176 3297 of just fragments. 3177 3298 3299 3300 3301 3302 3303 3304 Reschke [Page 58] 3305 3306 3307 Documentation RFC2629 through XSLT August 2009 3308 3309 3178 3310 2006-08-30 Reduce textual differences between HTML output and what 3179 3311 xml2rfc produces in TXT output mode (section refs/reference … … 3185 3317 references for deleted references. Allow inclusion of references 3186 3318 into the index (through include-references-in-index extension). 3187 3188 3189 3190 Reschke [Page 56]3191 3192 3193 Documentation RFC2629 through XSLT June 20093194 3195 3196 3319 Fix a bug that caused the newer version of the IETF boilerplate to 3197 3320 be produced rather than the pre-RFC3667 one. Update to RFC4287 … … 3230 3353 2007-05-04 Do not generate anchors for edits in deleted sections. 3231 3354 Enhance HTML conformance. 3355 3356 3357 3358 3359 3360 3361 Reschke [Page 59] 3362 3363 3364 Documentation RFC2629 through XSLT August 2009 3365 3232 3366 3233 3367 2007-05-19 Enhance diagnostics when using Saxon (needs Saxon's "-l" … … 3241 3375 contain a file extension. 3242 3376 3243 3244 3245 3246 3247 Reschke [Page 57]3248 3249 3250 Documentation RFC2629 through XSLT June 20093251 3252 3253 3377 2007-06-26 Workaround author/@initials values without trailing dot, 3254 3378 as in xml2rfc.tcl. … … 3286 3410 2008-03-01 Use line numbers in diagnostics in Saxon8/9 as well. 3287 3411 3412 3413 3414 3415 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT August 2009 3422 3423 3288 3424 2008-03-02 Fix a bug in the logic choosing the boilerplate, 3289 3425 resulting in obsolete text being inserted into IDs. … … 3296 3432 2008-07-06 Add x:abnf-char-sequence. 3297 3433 3298 3299 3300 3301 3302 3303 3304 Reschke [Page 58]3305 3306 3307 Documentation RFC2629 through XSLT June 20093308 3309 3310 3434 2008-08-21 Add x:note. 3311 3435 … … 3327 3451 2009-04-09 Upgrade to DC-HTML from RFC 2731 (affects head/@profile). 3328 3452 3329 D.6. rfc2629toFO.xslt 3453 2009-07-08 Remove table/@summary in output; the value getting 3454 inserted was just repeating stuff that appeared in the preamble. 3455 3456 2009-08-01 Implement table alignment (HTML output only for now). 3457 3458 E.6. rfc2629toFO.xslt 3330 3459 3331 3460 2003-11-16 Initial release. … … 3339 3468 generation by using XEP (postprocessors) will convert. 3340 3469 3470 3471 3472 3473 3474 3475 Reschke [Page 61] 3476 3477 3478 Documentation RFC2629 through XSLT August 2009 3479 3480 3341 3481 2004-04-20 Add experimental cref support. 3342 3482 … … 3355 3495 whitespace handling in artwork. 3356 3496 3357 3358 3359 3360 3361 Reschke [Page 59]3362 3363 3364 Documentation RFC2629 through XSLT June 20093365 3366 3367 3497 2004-11-27 Irefs in artwork generate monospaced entries in index. 3368 3498 … … 3391 3521 double-sided printing. 3392 3522 3393 D.7. xsl11toAn.xslt 3523 2009-08-01 Remove surplus empty pages when not generating double- 3524 sided output. 3525 3526 3527 3528 3529 3530 3531 3532 Reschke [Page 62] 3533 3534 3535 Documentation RFC2629 through XSLT August 2009 3536 3537 3538 E.7. xsl11toAn.xslt 3394 3539 3395 3540 2004-05-17 Initial release. … … 3397 3542 2006-06-02 Use XSL 1.1 WD Feb 2006. 3398 3543 3399 D.8. xsl11toFop.xslt3544 E.8. xsl11toFop.xslt 3400 3545 3401 3546 2004-05-17 Initial release. … … 3403 3548 2006-06-02 Use XSL 1.1 WD Feb 2006. 3404 3549 3405 D.9. xsl11toFop-0.93.xslt3550 E.9. xsl11toFop-0.93.xslt 3406 3551 3407 3552 2008-03-15 Add a workaround to the fo:inline workaround (sigh). 3408 3553 3409 D.10. xsl11toXep.xslt 3410 3411 3412 3413 3414 3415 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT June 2009 3422 3554 E.10. xsl11toXep.xslt 3423 3555 3424 3556 2004-05-17 Initial release. … … 3455 3587 3456 3588 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 Reschke [Page 61] 3476 3477 3478 Documentation RFC2629 through XSLT June 2009 3589 Reschke [Page 63] 3590 3591 3592 Documentation RFC2629 through XSLT August 2009 3479 3593 3480 3594 … … 3530 3644 3531 3645 3532 Reschke [Page 6 2]3533 3534 3535 Documentation RFC2629 through XSLT June20093646 Reschke [Page 64] 3647 3648 3649 Documentation RFC2629 through XSLT August 2009 3536 3650 3537 3651 … … 3580 3694 F 3581 3695 Firefox 3582 1.*/2.* 1 43696 1.*/2.* 15 3583 3697 3.* 14 3584 3698 footer PI pseudo-attribute 6 … … 3587 3701 3588 3702 3589 Reschke [Page 6 3]3590 3591 3592 Documentation RFC2629 through XSLT June20093703 Reschke [Page 65] 3704 3705 3706 Documentation RFC2629 through XSLT August 2009 3593 3707 3594 3708 … … 3644 3758 3645 3759 3646 Reschke [Page 6 4]3647 3648 3649 Documentation RFC2629 through XSLT June20093760 Reschke [Page 66] 3761 3762 3763 Documentation RFC2629 through XSLT August 2009 3650 3764 3651 3765 3652 3766 M 3653 3767 Microsoft Help 19 3654 Mozilla 14 3768 Mozilla 14-15 3655 3769 MSXML3 14 3656 3770 MSXML4 14 … … 3658 3772 N 3659 3773 needLines PI pseudo-attribute 7 3774 NoScript 14 3660 3775 note Extension Element 25, 36 3661 3776 … … 3697 3812 background 6 3698 3813 comments 6 3814 3815 3816 3817 Reschke [Page 67] 3818 3819 3820 Documentation RFC2629 through XSLT August 2009 3821 3822 3699 3823 compact 6 3700 3701 3702 3703 Reschke [Page 65]3704 3705 3706 Documentation RFC2629 through XSLT June 20093707 3708 3709 3824 duplex 8 3710 3825 editing 6 … … 3754 3869 rfc.references anchor 13 3755 3870 rfc.references.n anchor 13 3871 3872 3873 3874 Reschke [Page 68] 3875 3876 3877 Documentation RFC2629 through XSLT August 2009 3878 3879 3756 3880 rfc.section.n anchor 13 3757 3758 3759 3760 Reschke [Page 66]3761 3762 3763 Documentation RFC2629 through XSLT June 20093764 3765 3766 3881 rfc.section.n.p.m anchor 13 3767 3882 rfc.status anchor 13 … … 3811 3926 xml2rfc-header parameter 6 3812 3927 xml2rfc-inline parameter 6 3928 3929 3930 3931 Reschke [Page 69] 3932 3933 3934 Documentation RFC2629 through XSLT August 2009 3935 3936 3813 3937 xml2rfc-iprnotified parameter 6 3814 3815 3816 3817 Reschke [Page 67]3818 3819 3820 Documentation RFC2629 through XSLT June 20093821 3822 3823 3938 xml2rfc-linkmailto parameter 6 3824 3939 xml2rfc-private parameter 6 … … 3871 3986 3872 3987 3873 3874 Reschke [Page 68] 3875 3876 3877 Documentation RFC2629 through XSLT June 2009 3988 Reschke [Page 70] 3989 3990 3991 Documentation RFC2629 through XSLT August 2009 3878 3992 3879 3993 … … 3929 4043 3930 4044 3931 Reschke [Page 69]3932 3933 4045 Reschke [Page 71] 4046 4047 -
rfc2629xslt/rfc2629xslt.xml
r599 r662 30 30 </author> 31 31 32 <date month=" June" year="2009"/>32 <date month="August" year="2009"/> 33 33 34 34 <keyword>RFC2629</keyword> … … 69 69 <t> 70 70 <spanx style="verb">rfc2629.xslt</spanx> supports both all RFC2629 grammar elements and the extensions 71 implemented in xml2rfc 1. 21.71 implemented in xml2rfc 1.33. 72 72 </t> 73 73 <section title="Extension elements"> … … 105 105 java -cp saxon.jar com.icl.saxon.StyleSheet source.xml rfc2629.xslt \ 106 106 xml2rfc-toc=yes xml2rfc-ext-support-rfc2731=no > result.html 107 </artwork> 108 </figure> 107 </artwork></figure> 109 108 <figure> 110 109 <preamble>Using XSLT parameters (xsltproc):</preamble> … … 232 231 <c>rfc</c> 233 232 <c>include<iref item="include PI pseudo-attribute"/><iref item="Processing Instruction pseudo attributes" subitem="include"/></c> 234 <c>incompatible with XML/XSLT processing model </c>233 <c>incompatible with XML/XSLT processing model, please use external entities instead</c> 235 234 236 235 <c>rfc</c> … … 373 372 The following XSLT engines are believed to work well: 374 373 <list style="symbols"> 375 <t> <iref item="MSXML3"/><iref item="MSXML4"/>MSXML3 and MSXML4 (<eref target="http://msdn.microsoft.com/xml"/>; these processors376 do not support exsl:node-set(), but have a similar proprietary extension)</t>377 <t> <iref item="Saxon"/>Saxon (<eref target="http://saxon.sourceforge.net/"/>)</t>378 <t> <iref item="Xalan"/>Xalan (<eref target="http://xml.apache.org/xalan-j/"/>)</t>379 <t> <iref item="xsltproc"/>xsltproc (libxslt) (<eref target="http://xmlsoft.org/XSLT/"/>, make sure that you374 <t>Windows: <iref item="MSXML3"/><iref item="MSXML4"/>MSXML3 and MSXML4 (<eref target="http://msdn.microsoft.com/xml"/>; 375 command line processor "msxsl" is available from <eref target="http://www.microsoft.com/downloads/details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41">Microsoft Download Center</eref>)</t> 376 <t>Java: <iref item="Saxon"/>Saxon (<eref target="http://saxon.sourceforge.net/"/>)</t> 377 <t>Java: <iref item="Xalan"/>Xalan (<eref target="http://xml.apache.org/xalan-j/"/>)</t> 378 <t>C/C++: <iref item="xsltproc"/>xsltproc (libxslt) (<eref target="http://xmlsoft.org/XSLT/"/>, make sure that you 380 379 have a current version)</t> 381 380 </list> … … 383 382 </section> 384 383 385 <section title="In-Browser Engines" >384 <section title="In-Browser Engines" anchor="xslt.engines.browser"> 386 385 <t> 387 386 The following browsers seem to work fine: 388 387 <list style="symbols"> 389 <t><iref item="Internet Explorer 5.5"/>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</t> 390 <t><iref item="Internet Explorer 6"/>Internet Explorer 6</t> 391 <t><iref item="Internet Explorer 7"/>Internet Explorer 7</t> 392 <t><iref item="Internet Explorer 8"/>Internet Explorer 8</t> 393 <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.0</t> 394 <t><iref item="Safari"/><iref item="Safari" subitem="3.*"/>Safari 3 (starting with version 3.0.4)</t> 395 <t><iref item="Google Chrome"/>Google Chrome (beta available)</t> 396 <t><iref item="Opera"/>Opera 10 (alpha version available)</t> 388 <x:lt> 389 <t><iref item="Internet Explorer 5.5"/>Internet Explorer 5.5 (Windows version, if MSXML3 is installed)</t> 390 </x:lt> 391 <x:lt> 392 <t><iref item="Internet Explorer 6"/><iref item="Internet Explorer 7"/><iref item="Internet Explorer 8"/>Internet Explorer 6 and newer</t> 393 </x:lt> 394 <x:lt> 395 <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.0 and newer</t> 396 <t> 397 <list style="symbols"> 398 <t>Be aware that XSLT execution can be suppressed using <iref item="NoScript"/><eref target="https://addons.mozilla.org/de/firefox/addon/722">NoScript</eref></t> 399 <t>Firefox does not load external DTDs, see <eref target="https://bugzilla.mozilla.org/show_bug.cgi?id=22942">Mozilla Bug 22942</eref>, thus entities 400 like &nbsp; need to be declared in the internal subset (<xref target="examples.internalsubset"/>)</t> 401 </list> 402 </t> 403 </x:lt> 404 <x:lt> 405 <t><iref item="Safari"/><iref item="Safari" subitem="3.*"/>Safari 3 (starting with version 3.0.4)</t> 406 </x:lt> 407 <x:lt> 408 <t><iref item="Google Chrome"/>Google Chrome (beta available)</t> 409 </x:lt> 410 <x:lt> 411 <t><iref item="Opera"/>Opera 10 (beta version available)</t> 412 </x:lt> 397 413 </list> 398 414 </t> … … 581 597 some popular extensions aren't standardized yet, the translation produces 582 598 a generic output (hopefully) conforming to <xref target="XSL-FO"/>. 583 Specific backends (<spanx style="verb">xsl11toFop .xslt</spanx>,599 Specific backends (<spanx style="verb">xsl11toFop-0.95xslt</spanx>, 584 600 <spanx style="verb">xsl11toXep.xslt</spanx>, <spanx style="verb">xsl11toAn.xslt</spanx>) 585 601 then provide post-processing for the individual processors. … … 632 648 <artwork type="example"> 633 649 saxon rfc2616.xml rfc2629toFo.xslt > tmp.fo 634 saxon tmp.fo xsl11toFop .xslt > rfc2629.fo650 saxon tmp.fo xsl11toFop-0.95.xslt > rfc2629.fo 635 651 </artwork> 636 652 </figure> … … 1681 1697 <seriesInfo name='RFC' value='4897' /> 1682 1698 </reference> 1699 1700 <reference anchor="XML" target="http://www.w3.org/TR/2008/REC-xml-20081126/"> 1701 <front> 1702 <title>Extensible Markup Language (XML) 1.0 (Fifth Edition)</title> 1703 <author initials="T." surname="Bray" fullname="Tim Bray"> 1704 <organization>Textuality and Netscape</organization> 1705 <address> 1706 <email>tbray@textuality.com</email> 1707 </address> 1708 </author> 1709 <author initials="J." surname="Paoli" fullname="Jean Paoli"> 1710 <organization>Microsoft</organization> 1711 <address> 1712 <email>jeanpa@microsoft.com</email> 1713 </address> 1714 </author> 1715 <author initials="C.M." surname="Sperberg-McQueen" fullname="C. M. Sperberg-McQueen"> 1716 <organization>W3C</organization> 1717 <address> 1718 <email>cmsmcq@w3.org</email> 1719 </address> 1720 </author> 1721 <author initials="E." surname="Maler" fullname="Eve Maler"> 1722 <organization>Sun Microsystems</organization> 1723 <address> 1724 <email>eve.maler@east.sun.com</email> 1725 </address> 1726 </author> 1727 <author initials="F." surname="Yergeau" fullname="Francois Yergeau"> 1728 <organization/> 1729 </author> 1730 <date day="26" month="November" year="2008"/> 1731 </front> 1732 <seriesInfo name="W3C" value="REC-xml-20081126"/> 1733 </reference> 1683 1734 </references> 1684 1735 … … 2172 2223 </section> 2173 2224 2225 <section title="Examples" anchor="examples"> 2226 2227 <section title="Using the 'Internal Subset'" anchor="examples.internalsubset"> 2228 <t> 2229 The prolog of the XML document can both be used to refer to an external 2230 DTD, and also to define internal entities (<xref target="XML" x:fmt="of" x:sec="2.8" x:rel="#sec-prolog-dtd"/>): 2231 </t> 2232 <figure><artwork type="example"> 2233 <?xml version="1.0"?> 2234 <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?> 2235 2236 <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [ 2237 2238 <!-- <spanx>use "&MAY;" for a BCP 14 "MAY", see <xref target="ext.element.bcp14"/></spanx> --> 2239 <!ENTITY MAY 2240 "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>"> 2241 2242 <!-- <spanx>re-declare "&nbsp;" as code point 160 (non-breaking space)</spanx> --> 2243 <!-- <spanx>you may need this for UAs that do not read external DTDs</spanx> --> 2244 <!ENTITY nbsp 2245 "&#160;"> 2246 2247 <!-- <spanx>allow later RFC2616 reference using "&rfc2616;"</spanx> --> 2248 <!ENTITY rfc2616 PUBLIC '' 2249 "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml"> 2250 2251 ]> 2252 </artwork></figure> 2253 2254 </section> 2255 2256 <section title="Customization" anchor="examples.customizing"> 2257 <t> 2258 The XSLT code can be customized by creating a custom XSLT file that 2259 uses <xsl:import> to include the original code, and just overrides 2260 particular rules. 2261 </t> 2262 <figure> 2263 <preamble>For instance, the code below overrides several attributes in 2264 <spanx style="verb">rfc2629toFO.xslt</spanx>, changing the color, spacing and font family for 2265 headers.</preamble> 2266 <artwork type="example"> 2267 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 2268 version="1.0"> 2269 2270 <xsl:import href="rfc2629toFO.xslt"/> 2271 2272 <xsl:attribute-set name="h1"> 2273 <xsl:attribute name="color">darkblue</xsl:attribute> 2274 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2275 <xsl:attribute name="space-before">24pt</xsl:attribute> 2276 </xsl:attribute-set> 2277 2278 <xsl:attribute-set name="h2"> 2279 <xsl:attribute name="color">darkblue</xsl:attribute> 2280 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2281 <xsl:attribute name="space-before">18pt</xsl:attribute> 2282 <xsl:attribute name="space-after">3pt</xsl:attribute> 2283 </xsl:attribute-set> 2284 2285 <xsl:attribute-set name="h3"> 2286 <xsl:attribute name="color">darkblue</xsl:attribute> 2287 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2288 <xsl:attribute name="space-before">16pt</xsl:attribute> 2289 <xsl:attribute name="space-after">2pt</xsl:attribute> 2290 </xsl:attribute-set> 2291 2292 </xsl:transform> 2293 </artwork></figure> 2294 <x:note> 2295 <t> 2296 <x:h>Note:</x:h> the name for the attribute sets may change in the future 2297 as more working is done with respect to customizability. In any case, 2298 overriding the settings in a separate file will be easier to maintain. 2299 Please contact the author if you find yourself trying to override style 2300 definitions that currently do not use attribute sets. 2301 </t> 2302 <t> 2303 <x:h>Note:</x:h> the CSS style information used in <spanx style="verb">rfc2629.xslt</spanx> 2304 can be overriden in a similar (but less granular) way: just overwrite the 2305 template called "insertCss". As for XSL-FO, the class names may change in 2306 future. 2307 </t> 2308 </x:note> 2309 2310 2311 </section> 2312 2313 </section> 2314 2174 2315 <section title="License" anchor="license"> 2175 2316 <t> … … 2219 2360 Experimental support for February 2009 boilerplate changes, and for 2220 2361 the x:boilerplate element. 2362 </t> 2363 <t hangText="2009-07-08"> 2364 Support new boilerplate ordering in RFCs published since July 2009. 2365 Fix problems with one-column text tables. 2366 </t> 2367 <t hangText="2009-07-19"> 2368 When possible, calculate the actual Expiry date for Internet Drafts 2369 (full date must be available). 2370 </t> 2371 <t hangText="2009-08-01"> 2372 For '$xml2rfc-ext-authors-section='end'", move the index in front of the 2373 authors section. 2374 </t> 2375 <t hangText="2009-08-04"> 2376 Consider /rfc/@ipr="pre5378Trust200902" when producing RFCs, not IDs. 2221 2377 </t> 2222 2378 </list></t> … … 2899 3055 Upgrade to DC-HTML from RFC 2731 (affects head/@profile). 2900 3056 </t> 3057 <t hangText="2009-07-08"> 3058 Remove table/@summary in output; the value getting inserted was just 3059 repeating stuff that appeared in the preamble. 3060 </t> 3061 <t hangText="2009-08-01"> 3062 Implement table alignment (HTML output only for now). 3063 </t> 2901 3064 </list></t> 2902 3065 </section> … … 2975 3138 Fix spacing in headers; add support for formatting for double-sided printing. 2976 3139 </t> 3140 <t hangText="2009-08-01"> 3141 Remove surplus empty pages when not generating double-sided output. 3142 </t> 2977 3143 </list></t> 2978 3144 </section> -
rfc2629xslt/testcase.html
r599 r662 156 156 border-width: 1px; 157 157 } 158 table.left { 159 margin-right: auto; 160 } 161 table.right { 162 margin-left: auto; 163 } 164 table.center { 165 margin-left: auto; 166 margin-right: auto; 167 } 158 168 caption { 159 169 caption-side: bottom; … … 234 244 margin-left: 0em; 235 245 margin-right: 0em; 246 } 247 .avoidbreak { 248 page-break-inside: avoid; 236 249 } 237 250 … … 333 346 } 334 347 @top-right { 335 content: " May2009";348 content: "August 2009"; 336 349 } 337 350 @top-center { … … 360 373 } 361 374 } 362 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" title="12 Other" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.4 39, 2009-06-09 18:43:39, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 test cases</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">May 2009</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1 <a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2 <a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3 <a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4 <a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5 <a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6 <a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7 <a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8 <a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2. <a href="#rfc.section.2">spanx</a></li><li class="tocline0">3. <a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">example from xml2rc README</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">no column titles</a></li><li class="tocline1">3.5 <a href="#rfc.section.3.5">referencing tables</a></li><li class="tocline1">3.6 <a href="#rfc.section.3.6">table captions</a></li></ul></li><li class="tocline0">4. <a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1 <a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2 <a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3 <a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4 <a href="#rfc.section.4.4">Whitespace around figures</a></li><li class="tocline1">4.5 <a href="#rfc.section.4.5">SVG</a></li></ul></li><li class="tocline0">5. <a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1 <a href="#rfc.section.5.1">xref with no content</a></li><li class="tocline1">5.2 <a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.3 <a href="#rfc.section.5.3">xref to named <t> element</a></li><li class="tocline1">5.4 <a href="#rfc.section.5.4">xref to named <spanx> element</a></li><li class="tocline1">5.5 <a href="#rfc.section.5.5">xref to named <t> element inside list</a></li><li class="tocline1">5.6 <a href="#rfc.section.5.6">xref to named <cref> element</a></li><li class="tocline1">5.7 <a href="#rfc.section.5.7">xref to named <t> element inside list</a></li><li class="tocline1">5.8 <a href="#rfc.section.5.8">xref with no auto-formatting</a></li><li class="tocline1">5.9 <a href="#rfc.section.5.9">xref with content and auto-formatting</a></li><li class="tocline1">5.10 <a href="#rfc.section.5.10">xref with content and no formatting</a></li><li class="tocline1">5.11 <a href="#rfc.section.5.11">xref with content and 'none' formatting</a></li><li class="tocline1">5.12 <a href="#rfc.section.5.12">xref with no content and anchor formatting</a></li><li class="tocline1">5.13 <a href="#rfc.section.5.13">eref with no content</a></li><li class="tocline1">5.14 <a href="#rfc.section.5.14">eref with content</a></li><li class="tocline1">5.15 <a href="#rfc.section.5.15">iref inside paragraph</a></li></ul></li><li class="tocline0">6. <a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7. <a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1 <a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1 <a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8. <a href="#rfc.section.8">Comments</a></li><li class="tocline0">9. <a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10. <a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2 <a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3 <a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4 <a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5 <a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6 <a href="#computed.reference.targets">Computed Reference Targets</a></li><li class="tocline1">10.7 <a href="#abnf.support">ABNF Support</a></li></ul></li><li class="tocline0">11. <a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12. <a href="#rfc.section.12">Other</a><ul class="toc"><li class="tocline1">12.1 <a href="#rfc.section.12.1">Comments in Text</a></li></ul></li><li class="tocline0">13. <a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a> numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a> <a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a> no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a> with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a> Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a> list without style</h2><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> list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table 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> no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table summary="The table below should appear with no borders." class="tt none" cellpadding="3" cellspacing="0"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> 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> example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table summary="So,
 putting it all together, we have, e.g.," class="tt full" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table summary="The table below should appear with no titles." class="tt full" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table summary="The table below should appear with column titles (one being non-empty)." class="tt full" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a> referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.5"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p> <pre> +--+375 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" title="12 Other" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.447, 2009-08-04 19:54:03, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 test cases</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">August 2009</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1 <a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2 <a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3 <a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4 <a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5 <a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6 <a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7 <a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8 <a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2. <a href="#rfc.section.2">spanx</a></li><li class="tocline0">3. <a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">example from xml2rc README</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">no column titles</a></li><li class="tocline1">3.5 <a href="#rfc.section.3.5">referencing tables</a></li><li class="tocline1">3.6 <a href="#rfc.section.3.6">table captions</a></li><li class="tocline1">3.7 <a href="#rfc.section.3.7">single column</a></li><li class="tocline1">3.8 <a href="#rfc.section.3.8">table alignment</a></li></ul></li><li class="tocline0">4. <a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1 <a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2 <a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3 <a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4 <a href="#rfc.section.4.4">Whitespace around figures</a></li><li class="tocline1">4.5 <a href="#rfc.section.4.5">SVG</a></li></ul></li><li class="tocline0">5. <a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1 <a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.2 <a href="#rfc.section.5.2">xref to named <t> element</a></li><li class="tocline1">5.3 <a href="#rfc.section.5.3">xref to named <spanx> element</a></li><li class="tocline1">5.4 <a href="#rfc.section.5.4">xref to named <t> element inside list</a></li><li class="tocline1">5.5 <a href="#rfc.section.5.5">xref to named <cref> element</a></li><li class="tocline1">5.6 <a href="#rfc.section.5.6">xref to named <t> element inside list</a></li><li class="tocline1">5.7 <a href="#rfc.section.5.7">xref with no auto-formatting</a></li><li class="tocline1">5.8 <a href="#rfc.section.5.8">xref with content and auto-formatting</a></li><li class="tocline1">5.9 <a href="#rfc.section.5.9">xref with content and no formatting</a></li><li class="tocline1">5.10 <a href="#formatting.none">xref with content and 'none' formatting</a></li><li class="tocline1">5.11 <a href="#rfc.section.5.11">xref with no content and anchor formatting</a></li><li class="tocline1">5.12 <a href="#rfc.section.5.12">eref with no content</a></li><li class="tocline1">5.13 <a href="#rfc.section.5.13">eref with content</a></li><li class="tocline1">5.14 <a href="#rfc.section.5.14">iref inside paragraph</a></li></ul></li><li class="tocline0">6. <a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7. <a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1 <a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1 <a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8. <a href="#rfc.section.8">Comments</a></li><li class="tocline0">9. <a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10. <a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2 <a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3 <a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4 <a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5 <a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6 <a href="#computed.reference.targets">Computed Reference Targets</a></li><li class="tocline1">10.7 <a href="#abnf.support">ABNF Support</a></li></ul></li><li class="tocline0">11. <a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12. <a href="#rfc.section.12">Other</a><ul class="toc"><li class="tocline1">12.1 <a href="#rfc.section.12.1">Comments in Text</a></li></ul></li><li class="tocline0">13. <a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a> numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a> <a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a> no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a> with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a> Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a> list without style</h2><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> list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td>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> no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table class="tt none center" cellpadding="3" cellspacing="0"><caption>Table 1: a table with no borders</caption><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table class="tt headers center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 2</caption><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> no column titles</h2><div id="rfc.table.3"><div id="tablenotitles"></div><p>The table below should appear with no titles.</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 3: a table with no column titles</caption><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><div id="rfc.table.4"><div id="tableonetitle"></div><p>The table below should appear with column titles (one being non-empty).</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 4: a table with a single column title</caption><thead><tr><th class="left">FOO</th><th class="left"></th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</a> referencing tables</h2><p id="rfc.section.3.5.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.5.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.6"><a href="#rfc.section.3.6">3.6</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.5"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 5</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table></div><div id="rfc.table.6"><p>No anchor, with title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 6: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table></div><div id="rfc.table.7"><div id="texttable2"></div><p>Both anchor and title</p><table class="tt full center" cellpadding="3" cellspacing="0"><caption>Table 7: title</caption><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table></div><h2 id="rfc.section.3.7"><a href="#rfc.section.3.7">3.7</a> single column</h2><div id="rfc.table.u.4"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">title</th></tr></thead><tbody><tr><td>1</td></tr><tr><td>2</td></tr></tbody></table></div><h2 id="rfc.section.3.8"><a href="#rfc.section.3.8">3.8</a> table alignment</h2><div id="rfc.table.u.5"><table class="tt full left" cellpadding="3" cellspacing="0"><thead><tr><th class="left">left</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table></div><div id="rfc.table.u.6"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">center</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table></div><div id="rfc.table.u.7"><table class="tt full right" cellpadding="3" cellspacing="0"><thead><tr><th class="left">right</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table></div><div id="rfc.table.u.8"><table class="tt full center" cellpadding="3" cellspacing="0"><thead><tr><th class="left">default</th></tr></thead><tbody><tr><td>1</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p> <pre> +--+ 363 376 | | 364 377 +--+ … … 368 381 </pre> <p>with postamble and title...</p> <p class="figure">Figure 1: another figure</p><p id="rfc.section.4.2.p.2">The figure above has the title "<a href="#testfig">another figure</a>".</p><h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a> Whitespace handling</h2><p id="rfc.section.4.3.p.1">Para...</p><div id="rfc.figure.u.2"></div> <p>Leading whitespace</p> <pre>test test (leading ws)</pre> <p id="rfc.section.4.3.p.3">Para...</p><div id="rfc.figure.u.3"></div> <p>Trailing whitespace</p> <pre>test test (trailing ws) 369 382 </pre> <p id="rfc.section.4.3.p.5">Para...</p><div id="rfc.figure.u.4"></div> <p>No whitespace</p> <pre>test test (no ws)</pre> <p id="rfc.section.4.3.p.7">Para...</p><h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a> Whitespace around figures</h2><p id="rfc.section.4.4.p.1">spacing paragraph</p><div id="rfc.figure.u.5"></div><pre>ART</pre><p id="rfc.section.4.4.p.3">spacing paragraph</p><div id="rfc.figure.u.6"></div><p>preamble, then</p><pre>ART</pre><p id="rfc.section.4.4.p.5">spacing paragraph</p><div id="rfc.figure.u.7"></div><pre>ART</pre><p>then postamble</p><p id="rfc.section.4.4.p.7">spacing paragraph</p><h2 id="rfc.section.4.5"><a href="#rfc.section.4.5">4.5</a> SVG</h2><p id="rfc.section.4.5.p.1">Inclusion of SVG:</p><div id="rfc.figure.u.8"></div><p><object data="testcase.svg" type="image/svg+xml" width="476" height="332"> Fallback content for UAs that do not support SVG. 370 </object></p><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="refs" href="#refs">References</a></h1><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> xref with no content</h2><p id="rfc.section.5.1.p.1">We are in <a href="#refs" title="References">Section 5</a>.</p><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="xref.with.no.content" href="#xref.with.no.content">xref with no content</a></h2><div id="xref.with.no.content.first.sentence"><p id="rfc.section.5.2.p.1"> <a href="#refs" title="References">Section 5</a> is the parent section.</p></div><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a> xref to named <t> element</h2><p id="rfc.section.5.3.p.1">With content: see <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><p id="rfc.section.5.3.p.2">Without content: see <a href="#xref.with.no.content.first.sentence">Paragraph 1</a>.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> xref to named <spanx> element</h2><p id="rfc.section.5.4.p.1"> <em id="spanx.anchor">With content</em>: see <a href="#spanx.anchor">this sentence</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> xref to named <t> element inside list</h2><p id="rfc.section.5.5.p.1">With content: see <a href="#listelement.anchor">first element in list below</a>.</p><p id="rfc.section.5.5.p.2"> </p><dl><dt id="listelement.anchor">test</dt><dd>Test</dd></dl><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> xref to named <cref> element</h2><p id="rfc.section.5.6.p.1">With content: see <a href="#comment-test">test comment</a>.</p><p id="rfc.section.5.6.p.2">Without content: see <a href="#comment-test">Comment comment-test</a>.</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> xref to named <t> element inside list</h2><p id="rfc.section.5.7.p.1">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section 1.3</a>.</p><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> xref with no auto-formatting</h2><p id="rfc.section.5.8.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> xref with content and auto-formatting</h2><p id="rfc.section.5.9.p.1">This is a subsection of References (<a href="#refs" title="References">Section 5</a>).</p><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a> xref with content and no formatting</h2><p id="rfc.section.5.10.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a> xref with content and 'none' formatting</h2><p id="rfc.section.5.11.p.1">Here we are referring to <a href="#RFC2026">RFC 2026</a>, without emitting extra formatting.</p><h2 id="rfc.section.5.12"><a href="#rfc.section.5.12">5.12</a> xref with no content and anchor formatting</h2><p id="rfc.section.5.12.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.4"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p><h2 id="rfc.section.5.13"><a href="#rfc.section.5.13">5.13</a> eref with no content</h2><p id="rfc.section.5.13.p.1">See also <<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>>. Here's another one that is quite long: <<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected">http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected</a>>. Does it break properly?</p><h2 id="rfc.section.5.14"><a href="#rfc.section.5.14">5.14</a> eref with content</h2><p id="rfc.section.5.14.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.15"><a href="#rfc.section.5.15">5.15</a> iref inside paragraph</h2><p id="rfc.section.5.15.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> Paragraph formatting</h1><p id="rfc.section.6.p.1">This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.</p><p id="rfc.section.6.p.2">This is the second paragraph.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a> Sections</h1><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> Subsection with TOC entry</h2><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> Subsection without TOC entry</h2><h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a> Sub-subsection with TOC entry</h3><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a> Comments</h1><p id="rfc.section.8.p.1">This line contains a few comments. <span class="comment" title="JRE: No anchor, source given.">[<a href="#comment-test">comment-test</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source, but embedded markup: <>.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments.</p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> Artwork width</h1><div id="rfc.figure.u.9"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p> <pre>012345678901234567890123456789012345678901234567890123456789012345678383 </object></p><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="refs" href="#refs">References</a></h1><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> <a id="xref.with.no.content" href="#xref.with.no.content">xref with no content</a></h2><div id="xref.with.no.content.first.sentence"><p id="rfc.section.5.1.p.1"> <a href="#refs" title="References">Section 5</a> is the parent section.</p></div><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> xref to named <t> element</h2><p id="rfc.section.5.2.p.1">With content: see <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><p id="rfc.section.5.2.p.2">Without content: see <a href="#xref.with.no.content.first.sentence">Paragraph 1</a>.</p><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a> xref to named <spanx> element</h2><p id="rfc.section.5.3.p.1"> <em id="spanx.anchor">With content</em>: see <a href="#spanx.anchor">this sentence</a>.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> xref to named <t> element inside list</h2><p id="rfc.section.5.4.p.1">With content: see <a href="#listelement.anchor">first element in list below</a>.</p><p id="rfc.section.5.4.p.2"> </p><dl><dt id="listelement.anchor">test</dt><dd>Test</dd></dl><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> xref to named <cref> element</h2><p id="rfc.section.5.5.p.1">With content: see <a href="#comment-test">test comment</a>.</p><p id="rfc.section.5.5.p.2">Without content: see <a href="#comment-test">Comment comment-test</a>.</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> xref to named <t> element inside list</h2><p id="rfc.section.5.6.p.1">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section 1.3</a>.</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> xref with no auto-formatting</h2><p id="rfc.section.5.7.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> xref with content and auto-formatting</h2><p id="rfc.section.5.8.p.1">This is a subsection of References (<a href="#refs" title="References">Section 5</a>).</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> xref with content and no formatting</h2><p id="rfc.section.5.9.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a> <a id="formatting.none" href="#formatting.none">xref with content and 'none' formatting</a></h2><p id="rfc.section.5.10.p.1">Here we are referring to <a href="#RFC2026">RFC 2026</a>, without emitting extra formatting.</p><p id="rfc.section.5.10.p.2">Here we are referring to <a href="#formatting.none">this Section</a>, without emitting extra formatting.</p><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a> xref with no content and anchor formatting</h2><p id="rfc.section.5.11.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.4"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p><h2 id="rfc.section.5.12"><a href="#rfc.section.5.12">5.12</a> eref with no content</h2><p id="rfc.section.5.12.p.1">See also <<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>>. Here's another one that is quite long: <<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected">http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected</a>>. Does it break properly?</p><h2 id="rfc.section.5.13"><a href="#rfc.section.5.13">5.13</a> eref with content</h2><p id="rfc.section.5.13.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.14"><a href="#rfc.section.5.14">5.14</a> iref inside paragraph</h2><p id="rfc.section.5.14.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> Paragraph formatting</h1><p id="rfc.section.6.p.1">This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.</p><p id="rfc.section.6.p.2">This is the second paragraph.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a> Sections</h1><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> Subsection with TOC entry</h2><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> Subsection without TOC entry</h2><h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a> Sub-subsection with TOC entry</h3><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a> Comments</h1><p id="rfc.section.8.p.1">This line contains a few comments. <span class="comment" title="JRE: No anchor, source given.">[<a href="#comment-test">comment-test</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source, but embedded markup: <>.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments.</p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> Artwork width</h1><div id="rfc.figure.u.9"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p> <pre>012345678901234567890123456789012345678901234567890123456789012345678 371 384 </pre> <div id="rfc.figure.u.10"></div> <p>This shouldn't.</p> <pre>0123456789012345678901234567890123456789012345678901234567890123456789 372 385 </pre> <div id="rfc.figure.u.11"></div><pre>(IN TEXT OUTPUT INDENTED BY 10) … … 402 415 └────────────────┘ 403 416 </pre> <h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a> <a id="computed.reference.targets" href="#computed.reference.targets">Computed Reference Targets</a></h2><p id="rfc.section.10.6.p.1">Referring to this section by anchor name indirectly through the references: Section 10.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.1"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><p id="rfc.section.10.6.p.2">(default formatting): Section 10.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.2"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><div id="rfc.figure.u.17"></div><pre> Default inside a figure: <a href="#TSTCS" id="rfc.xref.TSTCS.3"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>, Section 10.6 404 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: Appendix ERROR: Anchor 'a-target-that-isnt-defined' not found in testcase.xml. (at line 7 45) of <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a> <a id="abnf.support" href="#abnf.support">ABNF Support</a></h2><div id="rfc.figure.u.18"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz"417 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: Appendix ERROR: Anchor 'a-target-that-isnt-defined' not found in testcase.xml. (at line 771) of <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a> <a id="abnf.support" href="#abnf.support">ABNF Support</a></h2><div id="rfc.figure.u.18"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz" 405 418 case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 406 419 case-sensitive1 = %x61.62.63.64.65.66.67.68.69.6A.6C.6B.6D.6E.6F.70.71.72.73.74.75.76.77.78.79.7A … … 416 429 </dt><dd>No anchor, no source.</dd><dt id="rfc.comment.2"> 417 430 [rfc.comment.2] 418 </dt><dd>No anchor, no source, but embedded markup: <<a href="http://xml.resource.org">http://xml.resource.org</a>>.</dd></dl><hr class="noprint">< h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.I">I</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><b><</b><ul class="ind"><li class="indline1"><iref> in <artwork> <a class="iref" href="#rfc.iref.1">10.1</a></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">inline iref <a class="iref" href="#rfc.iref.i.1">5.15</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.10</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.11</a>, <a class="iref" href="#rfc.xref.RFC2026.4">5.12</a>, <a class="iref" href="#RFC2026"><b>13</b></a></li><li class="indline1"><em>RFC2396</em> <a class="iref" href="#rfc.xref.RFC2396.1">5.12</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>13</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>13</b></a><ul class="ind"><li class="indline1"><em>Appendix </em> <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a></li><li class="indline1"><em>Section 10.6</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a></li></ul></li></ul></li></ul></div></body></html>431 </dt><dd>No anchor, no source, but embedded markup: <<a href="http://xml.resource.org">http://xml.resource.org</a>>.</dd></dl><hr class="noprint"><div class="avoidbreak"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address></div><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.I">I</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><b><</b><ul class="ind"><li class="indline1"><iref> in <artwork> <a class="iref" href="#rfc.iref.1">10.1</a></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">inline iref <a class="iref" href="#rfc.iref.i.1">5.14</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.9</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.10</a>, <a class="iref" href="#rfc.xref.RFC2026.4">5.11</a>, <a class="iref" href="#RFC2026"><b>13</b></a></li><li class="indline1"><em>RFC2396</em> <a class="iref" href="#rfc.xref.RFC2396.1">5.11</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>13</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>13</b></a><ul class="ind"><li class="indline1"><em>Appendix </em> <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a></li><li class="indline1"><em>Section 10.6</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a></li></ul></li></ul></li></ul></div></body></html> -
rfc2629xslt/testcase.xml
r588 r662 31 31 </author> 32 32 33 <date month=" May" year="2009"/>33 <date month="August" year="2009"/> 34 34 <keyword>RFC2629</keyword> 35 35 <keyword>test case</keyword> … … 375 375 </section> 376 376 377 378 <section title="single column"> 379 <texttable> 380 <ttcol>title</ttcol> 381 <c>1</c> 382 <c>2</c> 383 </texttable> 384 </section> 385 386 <section title="table alignment"> 387 <texttable align="left"> 388 <ttcol>left</ttcol> 389 <c>1</c> 390 </texttable> 391 <texttable align="center"> 392 <ttcol>center</ttcol> 393 <c>1</c> 394 </texttable> 395 <texttable align="right"> 396 <ttcol>right</ttcol> 397 <c>1</c> 398 </texttable> 399 <texttable> 400 <ttcol>default</ttcol> 401 <c>1</c> 402 </texttable> 403 </section> 404 377 405 </section> 378 406 … … 457 485 <section title="References" anchor="refs"> 458 486 459 <section title="xref with no content">460 <t>461 We are in <xref target="refs" />.462 </t>463 </section>464 465 487 <section title="xref with no content" anchor="xref.with.no.content"> 466 488 <t anchor="xref.with.no.content.first.sentence"> … … 533 555 </section> 534 556 535 <section title="xref with content and 'none' formatting" >557 <section title="xref with content and 'none' formatting" anchor="formatting.none"> 536 558 <t> 537 559 Here we are referring to <xref target="RFC2026" format="none">RFC 2026</xref>, 560 without emitting extra formatting. 561 </t> 562 <t> 563 Here we are referring to <xref target="formatting.none" format="none">this Section</xref>, 538 564 without emitting extra formatting. 539 565 </t>
Note: See TracChangeset
for help on using the changeset viewer.