Changeset 272 for rfc2629xslt
- Timestamp:
- 06/07/08 13:57:34 (14 years ago)
- Location:
- rfc2629xslt
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/check-references.xslt
r6 r272 4 4 "tr.rdf", available from <http://www.w3.org/2002/01/tr-automation/tr.rdf>) 5 5 6 Copyright (c) 2006-200 7, Julian Reschke (julian.reschke@greenbytes.de)6 Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de) 7 7 All rights reserved. 8 8 … … 168 168 <xsl:when test="$stat/ietfdoc/info/rev != $number"> 169 169 <xsl:text>Alternate version available: </xsl:text><xsl:value-of select="$stat/ietfdoc/info/rev"/> 170 <xsl:if test="$stat/ietfdoc[state/phase='Published']"> 171 <xsl:text>, later published as: RFC</xsl:text><xsl:value-of select="$stat/ietfdoc/info/rfcnum"/> 172 </xsl:if> 170 173 </xsl:when> 171 174 <xsl:when test="$stat/ietfdoc[state/phase='Published']"> -
rfc2629xslt/clean-for-DTD.xslt
r246 r272 34 34 xmlns:ed="http://greenbytes.de/2002/rfcedit" 35 35 xmlns:grddl="http://www.w3.org/2003/g/data-view#" 36 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 36 37 xmlns:x="http://purl.org/net/xml2rfc/ext" 37 38 xmlns:xhtml="http://www.w3.org/1999/xhtml" 38 exclude-result-prefixes="ed grddl x xhtml"39 exclude-result-prefixes="ed grddl rdf x xhtml" 39 40 > 40 41 … … 110 111 111 112 <!-- extensions --> 113 114 <xsl:template match="x:abnf-char-sequence" mode="cleanup"> 115 <xsl:choose> 116 <xsl:when test="substring(.,1,1) != '"' or substring(.,string-length(.),1) != '"'"> 117 <xsl:call-template name="error"> 118 <xsl:with-param name="msg" select="'contents of x:abnf-char-sequence needs to be quoted.'" /> 119 </xsl:call-template> 120 </xsl:when> 121 <xsl:otherwise> 122 <xsl:text>%x</xsl:text> 123 <xsl:call-template name="to-abnf-char-sequence"> 124 <xsl:with-param name="chars" select="substring(.,2,string-length(.)-2)"/> 125 </xsl:call-template> 126 </xsl:otherwise> 127 </xsl:choose> 128 </xsl:template> 112 129 113 130 <xsl:template match="x:anchor-alias" mode="cleanup"/> … … 495 512 </xsl:template> 496 513 514 <!-- email repititions --> 515 <xsl:template match="email" mode="cleanup"> 516 <!-- combine in a single element --> 517 <xsl:if test="not(preceding-sibling::email)"> 518 <email> 519 <xsl:for-each select="../email"> 520 <xsl:value-of select="."/> 521 <xsl:if test="position()!=last()"> 522 <xsl:text>, </xsl:text> 523 </xsl:if> 524 </xsl:for-each> 525 </email> 526 </xsl:if> 527 </xsl:template> 528 497 529 <!-- markup inside cref --> 498 530 <xsl:template match="cref//eref" mode="cleanup"> … … 502 534 </xsl:template> 503 535 504 505 536 <!-- artwork extensions --> 506 537 <xsl:template match="artwork/@x:extraction-note" mode="cleanup"/> … … 524 555 <xsl:template match="@grddl:transformation" mode="cleanup"/> 525 556 557 <!-- RDF info stripped --> 558 <xsl:template match="rdf:*" mode="cleanup"/> 559 526 560 </xsl:transform> -
rfc2629xslt/rfc2629.xslt
r246 r272 305 305 match="xref[@x:rel]" 306 306 use="concat(@target,'..',@x:rel)" /> 307 308 <xsl:key name="anchor-item" 309 match="//*[@anchor]" 310 use="@anchor"/> 311 312 <xsl:key name="xref-item" 313 match="//xref" 314 use="@target"/> 315 316 <xsl:key name="extref-item" 317 match="//x:ref" 318 use="."/> 307 319 308 320 <!-- prefix for automatically generated anchors --> … … 361 373 <xsl:variable name="has-index" select="//iref or (//xref and $xml2rfc-ext-include-references-in-index='yes')" /> 362 374 375 <!-- does the document contain edits? --> 376 <xsl:variable name="has-edits" select="//ed:ins | //ed:del | //ed:replace" /> 377 363 378 <!-- Templates for the various elements of rfc2629.dtd --> 364 379 … … 603 618 </span> 604 619 </xsl:if> 605 <xsl:if test="address/email"> 620 <xsl:for-each select="address/email"> 621 <xsl:variable name="email"> 622 <xsl:call-template name="extract-email"/> 623 </xsl:variable> 624 606 625 <span class="vcardline"> 607 <xsl:text>EMail: </xsl:text>608 <a>609 <xsl:if test="$xml2rfc-linkmailto!='no'">610 <xsl:attribute name="href">mailto:<xsl:value-of select="address/email" /></xsl:attribute>611 </xsl:if>612 <span class="email"><xsl:value-of select="address/email" /></span>613 </a>626 <xsl:text>EMail: </xsl:text> 627 <a> 628 <xsl:if test="$xml2rfc-linkmailto!='no'"> 629 <xsl:attribute name="href">mailto:<xsl:value-of select="$email" /></xsl:attribute> 630 </xsl:if> 631 <span class="email"><xsl:value-of select="$email" /></span> 632 </a> 614 633 </span> 615 </xsl: if>634 </xsl:for-each> 616 635 <xsl:if test="address/uri"> 617 636 <span class="vcardline"> … … 655 674 <!-- emit it --> 656 675 <xsl:choose> 657 <xsl:when test="function-available('msxsl:node-set')">658 <xsl:apply-templates select="msxsl:node-set($copyright)" />659 </xsl:when>660 676 <xsl:when test="function-available('exslt:node-set')"> 661 677 <xsl:apply-templates select="exslt:node-set($copyright)" /> … … 719 735 <table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"> 720 736 <xsl:choose> 721 <xsl:when test="function-available('msxsl:node-set')">722 <xsl:call-template name="emitheader">723 <xsl:with-param name="lc" select="msxsl:node-set($leftColumn)" />724 <xsl:with-param name="rc" select="msxsl:node-set($rightColumn)" />725 </xsl:call-template>726 </xsl:when>727 737 <xsl:when test="function-available('exslt:node-set')"> 728 738 <xsl:call-template name="emitheader"> … … 769 779 <!-- emit it --> 770 780 <xsl:choose> 771 <xsl:when test="function-available('msxsl:node-set')">772 <xsl:apply-templates select="msxsl:node-set($preamble)" />773 </xsl:when>774 781 <xsl:when test="function-available('exslt:node-set')"> 775 782 <xsl:apply-templates select="exslt:node-set($preamble)" /> … … 1116 1123 <!-- check for reference to reference --> 1117 1124 <xsl:variable name="anchor" select="@anchor"/> 1118 <xsl:if test="not(ancestor::ed:del) and not(//xref[@target=$anchor])"> 1119 <xsl:message>WARNING: unused reference '<xsl:value-of select="@anchor"/>'<xsl:call-template name="lineno"/></xsl:message> 1125 <xsl:if test="not(ancestor::ed:del) and not(key('xref-item',$anchor))"> 1126 <xsl:call-template name="warning"> 1127 <xsl:with-param name="inline" select="'no'"/> 1128 <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param> 1129 </xsl:call-template> 1120 1130 </xsl:if> 1121 1131 … … 1354 1364 <!-- conformance checks --> 1355 1365 <xsl:if test="$xml2rfc-symrefs!='no' and $xml2rfc-symrefs!='yes' and //reference"> 1356 <xsl:message>WARNING: symrefs PI not specified; default has changed from 'no' to 'yes'.</xsl:message> 1366 <xsl:call-template name="warning"> 1367 <xsl:with-param name="inline" select="'no'"/> 1368 <xsl:with-param name="msg">symrefs PI not specified; default has changed from 'no' to 'yes'.</xsl:with-param> 1369 </xsl:call-template> 1357 1370 </xsl:if> 1358 1371 … … 1705 1718 1706 1719 <xsl:variable name="target" select="@target" /> 1707 <xsl:variable name="node" select=" $src//*[@anchor=$target]" />1720 <xsl:variable name="node" select="key('anchor-item',$target)" /> 1708 1721 <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable> 1709 1722 … … 1774 1787 </xsl:template> 1775 1788 1789 <xsl:key name="iref-xanch" match="iref[@x:for-anchor]" use="@x:for-anchor"/> 1790 1776 1791 <xsl:template match="xref[not(node())]"> 1777 1792 … … 1779 1794 <xsl:variable name="target" select="@target" /> 1780 1795 <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable> 1781 <xsl:variable name="node" select=" $src//*[@anchor=$target]" />1796 <xsl:variable name="node" select="key('anchor-item',$target)" /> 1782 1797 <xsl:if test="count($node)=0 and not(ancestor::ed:del)"> 1783 1798 <xsl:call-template name="error"> … … 1792 1807 <a href="#{@target}"> 1793 1808 <!-- insert id when a backlink to this xref is needed in the index --> 1794 <xsl:if test=" //iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and../@anchor=$target]">1809 <xsl:if test="key('iref-xanch',$target) | key('iref-xanch','')[../@anchor=$target]"> 1795 1810 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1796 1811 </xsl:if> … … 2797 2812 background-color: yellow; 2798 2813 } 2799 <xsl:if test=" //ed:del|//ed:replace|//ed:ins">del {2814 <xsl:if test="$has-edits">del { 2800 2815 color: red; 2801 2816 text-decoration: line-through; … … 3140 3155 <xsl:text>  </xsl:text> 3141 3156 3142 <xsl:variable name="rs" select="//xref[@target=current()/@anchor] | . | //reference[@anchor=concat('deleted-',current()/@anchor)]"/> 3157 <xsl:variable name="rs" select="key('xref-item',current()/@anchor) | . | key('anchor-item',concat('deleted-',current()/@anchor))"/> 3158 3143 3159 <xsl:for-each select="$rs"> 3144 3160 <xsl:call-template name="insertSingleXref" /> … … 3155 3171 <li class="indline1"> 3156 3172 <em> 3157 <xsl:text>Section </xsl:text> 3173 <xsl:choose> 3174 <xsl:when test="translate(substring(@x:sec,1,1),$ucase,'')=''"> 3175 <xsl:text>Appendix </xsl:text> 3176 </xsl:when> 3177 <xsl:otherwise> 3178 <xsl:text>Section </xsl:text> 3179 </xsl:otherwise> 3180 </xsl:choose> 3158 3181 <xsl:value-of select="@x:sec"/> 3159 3182 </em> … … 3178 3201 <li class="indline1"> 3179 3202 <em> 3180 <xsl:text>Section </xsl:text> 3181 <xsl:for-each select="$doc//*[@anchor=substring-after(current()/@x:rel,'#')]"> 3182 <xsl:call-template name="get-section-number"/> 3183 </xsl:for-each> 3203 <xsl:variable name="sec"> 3204 <xsl:for-each select="$doc//*[@anchor=substring-after(current()/@x:rel,'#')]"> 3205 <xsl:call-template name="get-section-number"/> 3206 </xsl:for-each> 3207 </xsl:variable> 3208 <xsl:choose> 3209 <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''"> 3210 <xsl:text>Appendix </xsl:text> 3211 </xsl:when> 3212 <xsl:otherwise> 3213 <xsl:text>Section </xsl:text> 3214 </xsl:otherwise> 3215 </xsl:choose> 3216 <xsl:value-of select="$sec"/> 3184 3217 </em> 3185 3218 <xsl:text>  </xsl:text> … … 3200 3233 <xsl:if test="generate-id(.) = generate-id(key('index-item',concat(@item,@anchor)))"> 3201 3234 <xsl:variable name="item" select="@item"/> 3202 <xsl:variable name="in-artwork" select=" count(//iref[@item=$item and @primary='true' and ancestor::artwork])!=0"/>3235 <xsl:variable name="in-artwork" select="key('index-item',$item)[@primary='true' and ancestor::artwork]"/> 3203 3236 3204 3237 <li class="indline1"> … … 3214 3247 3215 3248 <xsl:variable name="irefs3" select="key('index-item',@item)[not(@subitem) or @subitem='']"/> 3216 <xsl:variable name="xrefs3" select=" //xref[@target=$irefs3[@x:for-anchor='']/../@anchor or @target=$irefs3/@x:for-anchor]"/>3217 <xsl:variable name="extrefs3" select=" //x:ref[.=$irefs3[@x:for-anchor='']/../@anchor or .=$irefs3/@x:for-anchor]"/>3249 <xsl:variable name="xrefs3" select="key('xref-item',$irefs3[@x:for-anchor='']/../@anchor) | key('xref-item',$irefs3/@x:for-anchor)"/> 3250 <xsl:variable name="extrefs3" select="key('extref-item',$irefs3[@x:for-anchor='']/../@anchor) | key('extref-item',$irefs3/@x:for-anchor)"/> 3218 3251 3219 3252 <xsl:for-each select="$irefs3|$xrefs3|$extrefs3"> … … 3231 3264 3232 3265 <xsl:variable name="itemsubitem" select="concat(@item,'..',@subitem)"/> 3233 <xsl:variable name="in-artwork2" select=" count(//iref[concat(@item,'..',@subitem)=$itemsubitem and @primary='true' and ancestor::artwork])!=0"/>3266 <xsl:variable name="in-artwork2" select="key('index-item-subitem',concat(@item,'..',@subitem))[@primary='true' and ancestor::artwork]" /> 3234 3267 3235 3268 <li class="indline1"> … … 3246 3279 3247 3280 <xsl:variable name="irefs4" select="key('index-item-subitem',concat(@item,'..',@subitem))"/> 3248 <xsl:variable name="xrefs4" select=" //xref[@target=$irefs4[@x:for-anchor='']/../@anchor or @target=$irefs4/@x:for-anchor]"/>3249 <xsl:variable name="extrefs4" select=" //x:ref[.=$irefs4[@x:for-anchor='']/../@anchor or .=$irefs4/@x:for-anchor]"/>3281 <xsl:variable name="xrefs4" select="key('xref-item',$irefs4[@x:for-anchor='']/../@anchor) | key('xref-item',$irefs4/@x:for-anchor)"/> 3282 <xsl:variable name="extrefs4" select="key('extref-item',$irefs4[@x:for-anchor='']/../@anchor) | key('extref-item',$irefs4/@x:for-anchor)"/> 3250 3283 3251 3284 <xsl:for-each select="$irefs4|$xrefs4|$extrefs4"> … … 3885 3918 3886 3919 <!-- internal ref support --> 3920 <xsl:key name="anchor-item-alias" match="//*[@anchor and (x:anchor-alias/@value or ed:replace/ed:ins/x:anchor-alias)]" use="x:anchor-alias/@value | ed:replace/ed:ins/x:anchor-alias/@value"/> 3921 3887 3922 <xsl:template match="x:ref"> 3888 3923 <xsl:variable name="val" select="."/> 3889 <xsl:variable name="target" select="//*[(@anchor and x:anchor-alias/@value=$val) or (@anchor and ed:replace/ed:ins/x:anchor-alias/@value=$val) or (@anchor=$val)]"/> 3924 <!-- <xsl:variable name="target" select="//*[(@anchor and x:anchor-alias/@value=$val) or (@anchor and ed:replace/ed:ins/x:anchor-alias/@value=$val) or (@anchor=$val)]"/> --> 3925 <xsl:variable name="target" select="key('anchor-item',$val) | key('anchor-item-alias',$val)"/> 3890 3926 <xsl:variable name="irefs" select="//iref[@x:for-anchor=$val]"/> 3891 3927 <xsl:choose> … … 3900 3936 </xsl:when> 3901 3937 <xsl:otherwise> 3902 <xsl:message>WARNING: internal link target for '<xsl:value-of select="."/>' does not exist.<xsl:call-template name="lineno"/></xsl:message> 3938 <xsl:call-template name="warning"> 3939 <xsl:with-param name="inline" select="'no'"/> 3940 <xsl:with-param name="msg">internal link target for '<xsl:value-of select="."/>' does not exist.</xsl:with-param> 3941 </xsl:call-template> 3903 3942 <xsl:value-of select="."/> 3904 3943 </xsl:otherwise> … … 4006 4045 <xsl:template match="x:span"> 4007 4046 <xsl:apply-templates/> 4047 </xsl:template> 4048 4049 <!-- ABNF support --> 4050 <xsl:template name="to-abnf-char-sequence"> 4051 <xsl:param name="chars"/> 4052 4053 <xsl:variable name="c" select="substring($chars,1,1)"/> 4054 <xsl:variable name="r" select="substring($chars,2)"/> 4055 4056 <xsl:choose> 4057 <xsl:when test="$c='A'">41</xsl:when> 4058 <xsl:when test="$c='B'">42</xsl:when> 4059 <xsl:when test="$c='C'">43</xsl:when> 4060 <xsl:when test="$c='D'">44</xsl:when> 4061 <xsl:when test="$c='E'">45</xsl:when> 4062 <xsl:when test="$c='F'">46</xsl:when> 4063 <xsl:when test="$c='G'">47</xsl:when> 4064 <xsl:when test="$c='H'">48</xsl:when> 4065 <xsl:when test="$c='I'">49</xsl:when> 4066 <xsl:when test="$c='J'">4A</xsl:when> 4067 <xsl:when test="$c='K'">4B</xsl:when> 4068 <xsl:when test="$c='L'">4C</xsl:when> 4069 <xsl:when test="$c='M'">4D</xsl:when> 4070 <xsl:when test="$c='N'">4E</xsl:when> 4071 <xsl:when test="$c='O'">4F</xsl:when> 4072 <xsl:when test="$c='P'">50</xsl:when> 4073 <xsl:when test="$c='Q'">51</xsl:when> 4074 <xsl:when test="$c='R'">52</xsl:when> 4075 <xsl:when test="$c='S'">53</xsl:when> 4076 <xsl:when test="$c='T'">54</xsl:when> 4077 <xsl:when test="$c='U'">55</xsl:when> 4078 <xsl:when test="$c='V'">56</xsl:when> 4079 <xsl:when test="$c='W'">57</xsl:when> 4080 <xsl:when test="$c='X'">58</xsl:when> 4081 <xsl:when test="$c='Y'">59</xsl:when> 4082 <xsl:when test="$c='Z'">5A</xsl:when> 4083 <xsl:when test="$c='a'">61</xsl:when> 4084 <xsl:when test="$c='b'">62</xsl:when> 4085 <xsl:when test="$c='c'">63</xsl:when> 4086 <xsl:when test="$c='d'">64</xsl:when> 4087 <xsl:when test="$c='e'">65</xsl:when> 4088 <xsl:when test="$c='f'">66</xsl:when> 4089 <xsl:when test="$c='g'">67</xsl:when> 4090 <xsl:when test="$c='h'">68</xsl:when> 4091 <xsl:when test="$c='i'">69</xsl:when> 4092 <xsl:when test="$c='j'">6A</xsl:when> 4093 <xsl:when test="$c='k'">6B</xsl:when> 4094 <xsl:when test="$c='l'">6C</xsl:when> 4095 <xsl:when test="$c='m'">6D</xsl:when> 4096 <xsl:when test="$c='n'">6E</xsl:when> 4097 <xsl:when test="$c='o'">6F</xsl:when> 4098 <xsl:when test="$c='p'">70</xsl:when> 4099 <xsl:when test="$c='q'">71</xsl:when> 4100 <xsl:when test="$c='r'">72</xsl:when> 4101 <xsl:when test="$c='s'">73</xsl:when> 4102 <xsl:when test="$c='t'">74</xsl:when> 4103 <xsl:when test="$c='u'">75</xsl:when> 4104 <xsl:when test="$c='v'">76</xsl:when> 4105 <xsl:when test="$c='w'">77</xsl:when> 4106 <xsl:when test="$c='x'">78</xsl:when> 4107 <xsl:when test="$c='y'">79</xsl:when> 4108 <xsl:when test="$c='z'">7A</xsl:when> 4109 <xsl:otherwise> 4110 <xsl:text>??</xsl:text> 4111 <xsl:call-template name="error"> 4112 <xsl:with-param name="msg" select="concat('unexpected character in ABNF char sequence: ',substring($chars,1,1))" /> 4113 </xsl:call-template> 4114 </xsl:otherwise> 4115 </xsl:choose> 4116 4117 <xsl:if test="$r!=''"> 4118 <xsl:text>.</xsl:text> 4119 <xsl:call-template name="to-abnf-char-sequence"> 4120 <xsl:with-param name="chars" select="$r"/> 4121 </xsl:call-template> 4122 </xsl:if> 4123 4124 </xsl:template> 4125 4126 <xsl:template match="x:abnf-char-sequence"> 4127 <xsl:choose> 4128 <xsl:when test="substring(.,1,1) != '"' or substring(.,string-length(.),1) != '"'"> 4129 <xsl:call-template name="error"> 4130 <xsl:with-param name="msg" select="'contents of x:abnf-char-sequence needs to be quoted.'" /> 4131 </xsl:call-template> 4132 </xsl:when> 4133 <xsl:otherwise> 4134 <xsl:text>%x</xsl:text> 4135 <xsl:call-template name="to-abnf-char-sequence"> 4136 <xsl:with-param name="chars" select="substring(.,2,string-length(.)-2)"/> 4137 </xsl:call-template> 4138 </xsl:otherwise> 4139 </xsl:choose> 4008 4140 </xsl:template> 4009 4141 … … 4697 4829 </dt> 4698 4830 <dd> 4699 <xsl: value-of select="."/>4831 <xsl:apply-templates select="node()"/> 4700 4832 <xsl:if test="@source"> --<xsl:value-of select="@source"/></xsl:if> 4701 4833 </dd> … … 4803 4935 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4804 4936 <!-- when RCS keyword substitution in place, add version info --> 4805 <xsl:if test="contains('$Revision: 1.3 67$',':')">4806 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.3 67$', 'Revision: '),'$','')),', ')" />4937 <xsl:if test="contains('$Revision: 1.379 $',':')"> 4938 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.379 $', 'Revision: '),'$','')),', ')" /> 4807 4939 </xsl:if> 4808 <xsl:if test="contains('$Date: 2008-0 5-19 13:00:19$',':')">4809 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-0 5-19 13:00:19$', 'Date: '),'$','')),', ')" />4940 <xsl:if test="contains('$Date: 2008-07-06 13:38:32 $',':')"> 4941 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-07-06 13:38:32 $', 'Date: '),'$','')),', ')" /> 4810 4942 </xsl:if> 4811 4943 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> … … 4837 4969 4838 4970 <xsl:template name="get-section-number"> 4839 <xsl:variable name="hasEdits" select="count(//ed:del|//ed:ins)!=0" />4840 4971 <xsl:variable name="anchor" select="@anchor"/> 4841 4972 <xsl:choose> … … 4843 4974 <xsl:value-of select="@x:fixed-section-number"/> 4844 4975 </xsl:when> 4845 <xsl:when test="$has Edits or ancestor::*/@x:fixed-section-number">4976 <xsl:when test="$has-edits or ancestor::*/@x:fixed-section-number"> 4846 4977 <xsl:call-template name="sectionnumberAndEdits" /> 4847 4978 </xsl:when> … … 4889 5020 4890 5021 <xsl:template name="get-section-type"> 4891 <xsl:param name="prec" /> 5022 <xsl:param name="prec" /> <!-- TODO: check this, it's unused --> 4892 5023 <xsl:choose> 4893 5024 <xsl:when test="ancestor::back">Appendix</xsl:when> … … 4934 5065 </xsl:otherwise> 4935 5066 </xsl:choose> 5067 </xsl:template> 5068 5069 <!-- checking for email element --> 5070 <xsl:template name="extract-email"> 5071 <xsl:variable name="email" select="normalize-space(.)"/> 5072 <xsl:if test="string-length(.) != string-length($email) or contains($email,' ')"> 5073 <xsl:call-template name="warning"> 5074 <xsl:with-param name="inline" select="'no'"/> 5075 <xsl:with-param name="msg">excessive whitespace in email address: '<xsl:value-of select="."/>'</xsl:with-param> 5076 </xsl:call-template> 5077 </xsl:if> 5078 5079 <xsl:variable name="email2"> 5080 <xsl:choose> 5081 <xsl:when test="starts-with($email,'mailto:')"> 5082 <xsl:call-template name="warning"> 5083 <xsl:with-param name="inline" select="'no'"/> 5084 <xsl:with-param name="msg">email should not include URI scheme: '<xsl:value-of select="."/>'</xsl:with-param> 5085 </xsl:call-template> 5086 <xsl:value-of select="substring($email, 1 + string-length('mailto:'))"/> 5087 </xsl:when> 5088 <xsl:otherwise> 5089 <xsl:value-of select="$email"/> 5090 </xsl:otherwise> 5091 </xsl:choose> 5092 </xsl:variable> 5093 5094 <xsl:value-of select="$email2"/> 4936 5095 </xsl:template> 4937 5096 … … 4978 5137 </xsl:if> 4979 5138 </xsl:template> 5139 5140 <!-- define exslt:node-set for msxml --> 5141 <msxsl:script language="JScript" implements-prefix="exslt"> 5142 this['node-set'] = function (x) { 5143 return x; 5144 } 5145 </msxsl:script> 4980 5146 4981 5147 <!-- date handling --> -
rfc2629xslt/rfc2629grddl.xslt
r246 r272 61 61 </rdf:Description> 62 62 63 <xsl:for-each select="//rdf:Description"> 64 65 <rdf:Description> 66 <xsl:attribute name="rdf:about"> 67 <xsl:choose> 68 <xsl:when test="@rdf:about"> 69 <xsl:value-of select="rdf:about"/> 70 </xsl:when> 71 <xsl:otherwise> 72 <xsl:value-of select="concat('#',ancestor::*[@anchor][1]/@anchor)"/> 73 </xsl:otherwise> 74 </xsl:choose> 75 </xsl:attribute> 76 77 <xsl:if test="not(dc:title) and ancestor::section[@title]"> 78 <dc:title><xsl:value-of select="ancestor::section[@title][1]/@title"/></dc:title> 79 </xsl:if> 80 81 <xsl:copy-of select="*"/> 82 83 </rdf:Description> 84 85 </xsl:for-each> 86 63 87 </rdf:RDF> 64 88 </xsl:template> -
rfc2629xslt/rfc2629toFO.xslt
r246 r272 191 191 <fo:block>Fax: <fo:basic-link external-destination="url('tel:{translate(address/facsimile,' ','')}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="address/facsimile" /></fo:basic-link></fo:block> 192 192 </xsl:if> 193 <xsl:if test="address/email"> 193 <xsl:for-each select="address/email"> 194 <xsl:variable name="email"> 195 <xsl:call-template name="extract-email"/> 196 </xsl:variable> 194 197 <fo:block>EMail:  195 198 <xsl:choose> 196 199 <xsl:when test="$xml2rfc-linkmailto='no'"> 197 <xsl:value-of select=" address/email" />200 <xsl:value-of select="$email" /> 198 201 </xsl:when> 199 202 <xsl:otherwise> 200 <fo:basic-link external-destination="url('mailto:{ address/email}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="address/email" /></fo:basic-link>203 <fo:basic-link external-destination="url('mailto:{$email}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="$email" /></fo:basic-link> 201 204 </xsl:otherwise> 202 205 </xsl:choose> 203 206 </fo:block> 204 </xsl: if>207 </xsl:for-each> 205 208 <xsl:if test="address/uri"> 206 209 <fo:block>URI: <fo:basic-link external-destination="url('{address/uri}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="address/uri" /></fo:basic-link></fo:block> … … 231 234 <!-- emit it --> 232 235 <xsl:choose> 233 <xsl:when test="function-available('msxsl:node-set')">234 <xsl:apply-templates select="msxsl:node-set($copyright)/node()" />235 </xsl:when>236 236 <xsl:when test="function-available('exslt:node-set')"> 237 237 <xsl:apply-templates select="exslt:node-set($copyright)/node()" /> … … 288 288 <fo:table-body> 289 289 <xsl:choose> 290 <xsl:when test="function-available('msxsl:node-set')">291 <xsl:call-template name="emitheader">292 <xsl:with-param name="lc" select="msxsl:node-set($leftColumn)" />293 <xsl:with-param name="rc" select="msxsl:node-set($rightColumn)" />294 </xsl:call-template>295 </xsl:when>296 290 <xsl:when test="function-available('exslt:node-set')"> 297 291 <xsl:call-template name="emitheader"> … … 324 318 <!-- emit it --> 325 319 <xsl:choose> 326 <xsl:when test="function-available('msxsl:node-set')">327 <xsl:apply-templates select="msxsl:node-set($preamble)/node()" />328 </xsl:when>329 320 <xsl:when test="function-available('exslt:node-set')"> 330 321 <xsl:apply-templates select="exslt:node-set($preamble)/node()" /> … … 1457 1448 <xsl:if test="generate-id(.) = generate-id(key('index-xref-by-sec',concat(@target,'..',@x:sec)))"> 1458 1449 <fo:block start-indent="2em" hyphenate="true"> 1459 <fo:wrapper font-style="italic"><xsl:value-of select="concat('Section ',@x:sec)" /></fo:wrapper> 1450 <fo:wrapper font-style="italic"> 1451 <xsl:choose> 1452 <xsl:when test="translate(substring(@x:sec,1,1),$ucase,'')=''"> 1453 <xsl:text>Appendix </xsl:text> 1454 </xsl:when> 1455 <xsl:otherwise> 1456 <xsl:text>Section </xsl:text> 1457 </xsl:otherwise> 1458 </xsl:choose> 1459 <xsl:value-of select="@x:sec"/> 1460 <xsl:text> </xsl:text> 1461 </fo:wrapper> 1460 1462 <fo:index-page-citation-list merge-sequential-page-numbers="merge"> 1461 1463 <fo:index-key-reference page-number-treatment="link" ref-index-key="{concat('xrefitem=',@target,'#',@x:sec)}"/> … … 1479 1481 </xsl:for-each> 1480 1482 </xsl:variable> 1481 <fo:wrapper font-style="italic"><xsl:value-of select="concat('Section ',$sec)" /></fo:wrapper> 1483 <fo:wrapper font-style="italic"> 1484 <xsl:choose> 1485 <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''"> 1486 <xsl:text>Appendix </xsl:text> 1487 </xsl:when> 1488 <xsl:otherwise> 1489 <xsl:text>Section </xsl:text> 1490 </xsl:otherwise> 1491 </xsl:choose> 1492 <xsl:value-of select="$sec"/> 1493 <xsl:text> </xsl:text> 1494 </fo:wrapper> 1482 1495 <fo:index-page-citation-list merge-sequential-page-numbers="merge"> 1483 1496 <fo:index-key-reference page-number-treatment="link" ref-index-key="{concat('xrefitem=',@target,'#',$sec)}"/> … … 2042 2055 <!-- emit it --> 2043 2056 <xsl:choose> 2044 <xsl:when test="function-available('msxsl:node-set')">2045 <xsl:apply-templates select="msxsl:node-set($preamble)/node()" mode="bookmarks"/>2046 </xsl:when>2047 2057 <xsl:when test="function-available('exslt:node-set')"> 2048 2058 <xsl:apply-templates select="exslt:node-set($preamble)/node()" mode="bookmarks"/> … … 2267 2277 <fo:inline font-size="8pt" vertical-align="super">[<xsl:value-of select="$cid"/>]</fo:inline> 2268 2278 <xsl:text> </xsl:text> 2269 <xsl: value-of select="."/>2279 <xsl:apply-templates select="node()"/> 2270 2280 <xsl:if test="@source"> --<xsl:value-of select="@source"/></xsl:if> 2271 2281 </fo:block> … … 2278 2288 <xsl:value-of select="$cid"/> 2279 2289 <xsl:text>: </xsl:text> 2280 <xsl: value-of select="."/>2290 <xsl:apply-templates select="node()"/> 2281 2291 <xsl:if test="@source"> --<xsl:value-of select="@source"/></xsl:if> 2282 2292 <xsl:text>]</xsl:text> … … 2389 2399 <xsl:template match="x:span"> 2390 2400 <xsl:apply-templates/> 2401 </xsl:template> 2402 2403 <xsl:template match="x:abnf-char-sequence"> 2404 <xsl:choose> 2405 <xsl:when test="substring(.,1,1) != '"' or substring(.,string-length(.),1) != '"'"> 2406 <xsl:call-template name="error"> 2407 <xsl:with-param name="msg" select="'contents of x:abnf-char-sequence needs to be quoted.'" /> 2408 </xsl:call-template> 2409 </xsl:when> 2410 <xsl:otherwise> 2411 <xsl:text>%x</xsl:text> 2412 <xsl:call-template name="to-abnf-char-sequence"> 2413 <xsl:with-param name="chars" select="substring(.,2,string-length(.)-2)"/> 2414 </xsl:call-template> 2415 </xsl:otherwise> 2416 </xsl:choose> 2391 2417 </xsl:template> 2392 2418 -
rfc2629xslt/rfc2629toXHTML.xslt
r246 r272 161 161 <xsl:key name="index-xref-by-anchor" match="xref[@x:rel]" use="concat(@target,'..',@x:rel)"/> 162 162 163 <xsl:key name="anchor-item" match="//*[@anchor]" use="@anchor"/> 164 165 <xsl:key name="xref-item" match="//xref" use="@target"/> 166 167 <xsl:key name="extref-item" match="//x:ref" use="."/> 168 163 169 <!-- prefix for automatically generated anchors --> 164 170 <xsl:variable name="anchor-prefix" select="'rfc'"/> … … 181 187 <xsl:variable name="has-index" select="//iref or (//xref and $xml2rfc-ext-include-references-in-index='yes')"/> 182 188 189 <!-- does the document contain edits? --> 190 <xsl:variable name="has-edits" select="//ed:ins | //ed:del | //ed:replace"/> 191 183 192 <!-- Templates for the various elements of rfc2629.dtd --> 184 193 … … 423 432 </span> 424 433 </xsl:if> 425 <xsl:if test="address/email"> 434 <xsl:for-each select="address/email"> 435 <xsl:variable name="email"> 436 <xsl:call-template name="extract-email"/> 437 </xsl:variable> 438 426 439 <span class="vcardline"> 427 <xsl:text>EMail: </xsl:text>428 <a>429 <xsl:if test="$xml2rfc-linkmailto!='no'">430 <xsl:attribute name="href">mailto:<xsl:value-of select="address/email"/></xsl:attribute>431 </xsl:if>432 <span class="email"><xsl:value-of select="address/email"/></span>433 </a>440 <xsl:text>EMail: </xsl:text> 441 <a> 442 <xsl:if test="$xml2rfc-linkmailto!='no'"> 443 <xsl:attribute name="href">mailto:<xsl:value-of select="$email"/></xsl:attribute> 444 </xsl:if> 445 <span class="email"><xsl:value-of select="$email"/></span> 446 </a> 434 447 </span> 435 </xsl: if>448 </xsl:for-each> 436 449 <xsl:if test="address/uri"> 437 450 <span class="vcardline"> … … 475 488 <!-- emit it --> 476 489 <xsl:choose> 477 <xsl:when test="function-available('msxsl:node-set')">478 <xsl:apply-templates select="msxsl:node-set($copyright)"/>479 </xsl:when>480 490 <xsl:when test="function-available('exslt:node-set')"> 481 491 <xsl:apply-templates select="exslt:node-set($copyright)"/> … … 539 549 <table xmlns="http://www.w3.org/1999/xhtml" summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"> 540 550 <xsl:choose> 541 <xsl:when test="function-available('msxsl:node-set')">542 <xsl:call-template name="emitheader">543 <xsl:with-param name="lc" select="msxsl:node-set($leftColumn)"/>544 <xsl:with-param name="rc" select="msxsl:node-set($rightColumn)"/>545 </xsl:call-template>546 </xsl:when>547 551 <xsl:when test="function-available('exslt:node-set')"> 548 552 <xsl:call-template name="emitheader"> … … 589 593 <!-- emit it --> 590 594 <xsl:choose> 591 <xsl:when test="function-available('msxsl:node-set')">592 <xsl:apply-templates select="msxsl:node-set($preamble)"/>593 </xsl:when>594 595 <xsl:when test="function-available('exslt:node-set')"> 595 596 <xsl:apply-templates select="exslt:node-set($preamble)"/> … … 936 937 <!-- check for reference to reference --> 937 938 <xsl:variable name="anchor" select="@anchor"/> 938 <xsl:if test="not(ancestor::ed:del) and not(//xref[@target=$anchor])"> 939 <xsl:message>WARNING: unused reference '<xsl:value-of select="@anchor"/>'<xsl:call-template name="lineno"/></xsl:message> 939 <xsl:if test="not(ancestor::ed:del) and not(key('xref-item',$anchor))"> 940 <xsl:call-template name="warning"> 941 <xsl:with-param name="inline" select="'no'"/> 942 <xsl:with-param name="msg">unused reference '<xsl:value-of select="@anchor"/>'</xsl:with-param> 943 </xsl:call-template> 940 944 </xsl:if> 941 945 … … 1174 1178 <!-- conformance checks --> 1175 1179 <xsl:if test="$xml2rfc-symrefs!='no' and $xml2rfc-symrefs!='yes' and //reference"> 1176 <xsl:message>WARNING: symrefs PI not specified; default has changed from 'no' to 'yes'.</xsl:message> 1180 <xsl:call-template name="warning"> 1181 <xsl:with-param name="inline" select="'no'"/> 1182 <xsl:with-param name="msg">symrefs PI not specified; default has changed from 'no' to 'yes'.</xsl:with-param> 1183 </xsl:call-template> 1177 1184 </xsl:if> 1178 1185 … … 1525 1532 1526 1533 <xsl:variable name="target" select="@target"/> 1527 <xsl:variable name="node" select=" $src//*[@anchor=$target]"/>1534 <xsl:variable name="node" select="key('anchor-item',$target)"/> 1528 1535 <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable> 1529 1536 … … 1594 1601 </xsl:template> 1595 1602 1603 <xsl:key name="iref-xanch" match="iref[@x:for-anchor]" use="@x:for-anchor"/> 1604 1596 1605 <xsl:template match="xref[not(node())]"> 1597 1606 … … 1599 1608 <xsl:variable name="target" select="@target"/> 1600 1609 <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable> 1601 <xsl:variable name="node" select=" $src//*[@anchor=$target]"/>1610 <xsl:variable name="node" select="key('anchor-item',$target)"/> 1602 1611 <xsl:if test="count($node)=0 and not(ancestor::ed:del)"> 1603 1612 <xsl:call-template name="error"> … … 1612 1621 <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}"> 1613 1622 <!-- insert id when a backlink to this xref is needed in the index --> 1614 <xsl:if test=" //iref[@x:for-anchor=$target] | //iref[@x:for-anchor='' and../@anchor=$target]">1623 <xsl:if test="key('iref-xanch',$target) | key('iref-xanch','')[../@anchor=$target]"> 1615 1624 <xsl:attribute name="id"><xsl:value-of select="$anchor"/></xsl:attribute> 1616 1625 </xsl:if> … … 2617 2626 background-color: yellow; 2618 2627 } 2619 <xsl:if test=" //ed:del|//ed:replace|//ed:ins">del {2628 <xsl:if test="$has-edits">del { 2620 2629 color: red; 2621 2630 text-decoration: line-through; … … 2960 2969 <xsl:text> </xsl:text> 2961 2970 2962 <xsl:variable name="rs" select="//xref[@target=current()/@anchor] | . | //reference[@anchor=concat('deleted-',current()/@anchor)]"/> 2971 <xsl:variable name="rs" select="key('xref-item',current()/@anchor) | . | key('anchor-item',concat('deleted-',current()/@anchor))"/> 2972 2963 2973 <xsl:for-each select="$rs"> 2964 2974 <xsl:call-template name="insertSingleXref"/> … … 2975 2985 <li class="indline1"> 2976 2986 <em> 2977 <xsl:text>Section </xsl:text> 2987 <xsl:choose> 2988 <xsl:when test="translate(substring(@x:sec,1,1),$ucase,'')=''"> 2989 <xsl:text>Appendix </xsl:text> 2990 </xsl:when> 2991 <xsl:otherwise> 2992 <xsl:text>Section </xsl:text> 2993 </xsl:otherwise> 2994 </xsl:choose> 2978 2995 <xsl:value-of select="@x:sec"/> 2979 2996 </em> … … 2998 3015 <li class="indline1"> 2999 3016 <em> 3000 <xsl:text>Section </xsl:text> 3001 <xsl:for-each select="$doc//*[@anchor=substring-after(current()/@x:rel,'#')]"> 3002 <xsl:call-template name="get-section-number"/> 3003 </xsl:for-each> 3017 <xsl:variable name="sec"> 3018 <xsl:for-each select="$doc//*[@anchor=substring-after(current()/@x:rel,'#')]"> 3019 <xsl:call-template name="get-section-number"/> 3020 </xsl:for-each> 3021 </xsl:variable> 3022 <xsl:choose> 3023 <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''"> 3024 <xsl:text>Appendix </xsl:text> 3025 </xsl:when> 3026 <xsl:otherwise> 3027 <xsl:text>Section </xsl:text> 3028 </xsl:otherwise> 3029 </xsl:choose> 3030 <xsl:value-of select="$sec"/> 3004 3031 </em> 3005 3032 <xsl:text> </xsl:text> … … 3020 3047 <xsl:if test="generate-id(.) = generate-id(key('index-item',concat(@item,@anchor)))"> 3021 3048 <xsl:variable name="item" select="@item"/> 3022 <xsl:variable name="in-artwork" select=" count(//iref[@item=$item and @primary='true' and ancestor::artwork])!=0"/>3049 <xsl:variable name="in-artwork" select="key('index-item',$item)[@primary='true' and ancestor::artwork]"/> 3023 3050 3024 3051 <li class="indline1"> … … 3034 3061 3035 3062 <xsl:variable name="irefs3" select="key('index-item',@item)[not(@subitem) or @subitem='']"/> 3036 <xsl:variable name="xrefs3" select=" //xref[@target=$irefs3[@x:for-anchor='']/../@anchor or @target=$irefs3/@x:for-anchor]"/>3037 <xsl:variable name="extrefs3" select=" //x:ref[.=$irefs3[@x:for-anchor='']/../@anchor or .=$irefs3/@x:for-anchor]"/>3063 <xsl:variable name="xrefs3" select="key('xref-item',$irefs3[@x:for-anchor='']/../@anchor) | key('xref-item',$irefs3/@x:for-anchor)"/> 3064 <xsl:variable name="extrefs3" select="key('extref-item',$irefs3[@x:for-anchor='']/../@anchor) | key('extref-item',$irefs3/@x:for-anchor)"/> 3038 3065 3039 3066 <xsl:for-each select="$irefs3|$xrefs3|$extrefs3"> … … 3051 3078 3052 3079 <xsl:variable name="itemsubitem" select="concat(@item,'..',@subitem)"/> 3053 <xsl:variable name="in-artwork2" select=" count(//iref[concat(@item,'..',@subitem)=$itemsubitem and @primary='true' and ancestor::artwork])!=0"/>3080 <xsl:variable name="in-artwork2" select="key('index-item-subitem',concat(@item,'..',@subitem))[@primary='true' and ancestor::artwork]"/> 3054 3081 3055 3082 <li class="indline1"> … … 3066 3093 3067 3094 <xsl:variable name="irefs4" select="key('index-item-subitem',concat(@item,'..',@subitem))"/> 3068 <xsl:variable name="xrefs4" select=" //xref[@target=$irefs4[@x:for-anchor='']/../@anchor or @target=$irefs4/@x:for-anchor]"/>3069 <xsl:variable name="extrefs4" select=" //x:ref[.=$irefs4[@x:for-anchor='']/../@anchor or .=$irefs4/@x:for-anchor]"/>3095 <xsl:variable name="xrefs4" select="key('xref-item',$irefs4[@x:for-anchor='']/../@anchor) | key('xref-item',$irefs4/@x:for-anchor)"/> 3096 <xsl:variable name="extrefs4" select="key('extref-item',$irefs4[@x:for-anchor='']/../@anchor) | key('extref-item',$irefs4/@x:for-anchor)"/> 3070 3097 3071 3098 <xsl:for-each select="$irefs4|$xrefs4|$extrefs4"> … … 3705 3732 3706 3733 <!-- internal ref support --> 3734 <xsl:key name="anchor-item-alias" match="//*[@anchor and (x:anchor-alias/@value or ed:replace/ed:ins/x:anchor-alias)]" use="x:anchor-alias/@value | ed:replace/ed:ins/x:anchor-alias/@value"/> 3735 3707 3736 <xsl:template match="x:ref"> 3708 3737 <xsl:variable name="val" select="."/> 3709 <xsl:variable name="target" select="//*[(@anchor and x:anchor-alias/@value=$val) or (@anchor and ed:replace/ed:ins/x:anchor-alias/@value=$val) or (@anchor=$val)]"/> 3738 <!-- <xsl:variable name="target" select="//*[(@anchor and x:anchor-alias/@value=$val) or (@anchor and ed:replace/ed:ins/x:anchor-alias/@value=$val) or (@anchor=$val)]"/> --> 3739 <xsl:variable name="target" select="key('anchor-item',$val) | key('anchor-item-alias',$val)"/> 3710 3740 <xsl:variable name="irefs" select="//iref[@x:for-anchor=$val]"/> 3711 3741 <xsl:choose> … … 3720 3750 </xsl:when> 3721 3751 <xsl:otherwise> 3722 <xsl:message>WARNING: internal link target for '<xsl:value-of select="."/>' does not exist.<xsl:call-template name="lineno"/></xsl:message> 3752 <xsl:call-template name="warning"> 3753 <xsl:with-param name="inline" select="'no'"/> 3754 <xsl:with-param name="msg">internal link target for '<xsl:value-of select="."/>' does not exist.</xsl:with-param> 3755 </xsl:call-template> 3723 3756 <xsl:value-of select="."/> 3724 3757 </xsl:otherwise> … … 3826 3859 <xsl:template match="x:span"> 3827 3860 <xsl:apply-templates/> 3861 </xsl:template> 3862 3863 <!-- ABNF support --> 3864 <xsl:template name="to-abnf-char-sequence"> 3865 <xsl:param name="chars"/> 3866 3867 <xsl:variable name="c" select="substring($chars,1,1)"/> 3868 <xsl:variable name="r" select="substring($chars,2)"/> 3869 3870 <xsl:choose> 3871 <xsl:when test="$c='A'">41</xsl:when> 3872 <xsl:when test="$c='B'">42</xsl:when> 3873 <xsl:when test="$c='C'">43</xsl:when> 3874 <xsl:when test="$c='D'">44</xsl:when> 3875 <xsl:when test="$c='E'">45</xsl:when> 3876 <xsl:when test="$c='F'">46</xsl:when> 3877 <xsl:when test="$c='G'">47</xsl:when> 3878 <xsl:when test="$c='H'">48</xsl:when> 3879 <xsl:when test="$c='I'">49</xsl:when> 3880 <xsl:when test="$c='J'">4A</xsl:when> 3881 <xsl:when test="$c='K'">4B</xsl:when> 3882 <xsl:when test="$c='L'">4C</xsl:when> 3883 <xsl:when test="$c='M'">4D</xsl:when> 3884 <xsl:when test="$c='N'">4E</xsl:when> 3885 <xsl:when test="$c='O'">4F</xsl:when> 3886 <xsl:when test="$c='P'">50</xsl:when> 3887 <xsl:when test="$c='Q'">51</xsl:when> 3888 <xsl:when test="$c='R'">52</xsl:when> 3889 <xsl:when test="$c='S'">53</xsl:when> 3890 <xsl:when test="$c='T'">54</xsl:when> 3891 <xsl:when test="$c='U'">55</xsl:when> 3892 <xsl:when test="$c='V'">56</xsl:when> 3893 <xsl:when test="$c='W'">57</xsl:when> 3894 <xsl:when test="$c='X'">58</xsl:when> 3895 <xsl:when test="$c='Y'">59</xsl:when> 3896 <xsl:when test="$c='Z'">5A</xsl:when> 3897 <xsl:when test="$c='a'">61</xsl:when> 3898 <xsl:when test="$c='b'">62</xsl:when> 3899 <xsl:when test="$c='c'">63</xsl:when> 3900 <xsl:when test="$c='d'">64</xsl:when> 3901 <xsl:when test="$c='e'">65</xsl:when> 3902 <xsl:when test="$c='f'">66</xsl:when> 3903 <xsl:when test="$c='g'">67</xsl:when> 3904 <xsl:when test="$c='h'">68</xsl:when> 3905 <xsl:when test="$c='i'">69</xsl:when> 3906 <xsl:when test="$c='j'">6A</xsl:when> 3907 <xsl:when test="$c='k'">6B</xsl:when> 3908 <xsl:when test="$c='l'">6C</xsl:when> 3909 <xsl:when test="$c='m'">6D</xsl:when> 3910 <xsl:when test="$c='n'">6E</xsl:when> 3911 <xsl:when test="$c='o'">6F</xsl:when> 3912 <xsl:when test="$c='p'">70</xsl:when> 3913 <xsl:when test="$c='q'">71</xsl:when> 3914 <xsl:when test="$c='r'">72</xsl:when> 3915 <xsl:when test="$c='s'">73</xsl:when> 3916 <xsl:when test="$c='t'">74</xsl:when> 3917 <xsl:when test="$c='u'">75</xsl:when> 3918 <xsl:when test="$c='v'">76</xsl:when> 3919 <xsl:when test="$c='w'">77</xsl:when> 3920 <xsl:when test="$c='x'">78</xsl:when> 3921 <xsl:when test="$c='y'">79</xsl:when> 3922 <xsl:when test="$c='z'">7A</xsl:when> 3923 <xsl:otherwise> 3924 <xsl:text>??</xsl:text> 3925 <xsl:call-template name="error"> 3926 <xsl:with-param name="msg" select="concat('unexpected character in ABNF char sequence: ',substring($chars,1,1))"/> 3927 </xsl:call-template> 3928 </xsl:otherwise> 3929 </xsl:choose> 3930 3931 <xsl:if test="$r!=''"> 3932 <xsl:text>.</xsl:text> 3933 <xsl:call-template name="to-abnf-char-sequence"> 3934 <xsl:with-param name="chars" select="$r"/> 3935 </xsl:call-template> 3936 </xsl:if> 3937 3938 </xsl:template> 3939 3940 <xsl:template match="x:abnf-char-sequence"> 3941 <xsl:choose> 3942 <xsl:when test="substring(.,1,1) != '"' or substring(.,string-length(.),1) != '"'"> 3943 <xsl:call-template name="error"> 3944 <xsl:with-param name="msg" select="'contents of x:abnf-char-sequence needs to be quoted.'"/> 3945 </xsl:call-template> 3946 </xsl:when> 3947 <xsl:otherwise> 3948 <xsl:text>%x</xsl:text> 3949 <xsl:call-template name="to-abnf-char-sequence"> 3950 <xsl:with-param name="chars" select="substring(.,2,string-length(.)-2)"/> 3951 </xsl:call-template> 3952 </xsl:otherwise> 3953 </xsl:choose> 3828 3954 </xsl:template> 3829 3955 … … 4517 4643 </dt> 4518 4644 <dd> 4519 <xsl: value-of select="."/>4645 <xsl:apply-templates select="node()"/> 4520 4646 <xsl:if test="@source"> --<xsl:value-of select="@source"/></xsl:if> 4521 4647 </dd> … … 4623 4749 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4624 4750 <!-- when RCS keyword substitution in place, add version info --> 4625 <xsl:if test="contains('$Revision: 1.3 67$',':')">4626 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.3 67$', 'Revision: '),'$','')),', ')"/>4751 <xsl:if test="contains('$Revision: 1.379 $',':')"> 4752 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.379 $', 'Revision: '),'$','')),', ')"/> 4627 4753 </xsl:if> 4628 <xsl:if test="contains('$Date: 2008-0 5-19 13:00:19$',':')">4629 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-0 5-19 13:00:19$', 'Date: '),'$','')),', ')"/>4754 <xsl:if test="contains('$Date: 2008-07-06 13:38:32 $',':')"> 4755 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-07-06 13:38:32 $', 'Date: '),'$','')),', ')"/> 4630 4756 </xsl:if> 4631 4757 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/> … … 4657 4783 4658 4784 <xsl:template name="get-section-number"> 4659 <xsl:variable name="hasEdits" select="count(//ed:del|//ed:ins)!=0"/>4660 4785 <xsl:variable name="anchor" select="@anchor"/> 4661 4786 <xsl:choose> … … 4663 4788 <xsl:value-of select="@x:fixed-section-number"/> 4664 4789 </xsl:when> 4665 <xsl:when test="$has Edits or ancestor::*/@x:fixed-section-number">4790 <xsl:when test="$has-edits or ancestor::*/@x:fixed-section-number"> 4666 4791 <xsl:call-template name="sectionnumberAndEdits"/> 4667 4792 </xsl:when> … … 4709 4834 4710 4835 <xsl:template name="get-section-type"> 4711 <xsl:param name="prec"/> 4836 <xsl:param name="prec"/> <!-- TODO: check this, it's unused --> 4712 4837 <xsl:choose> 4713 4838 <xsl:when test="ancestor::back">Appendix</xsl:when> … … 4754 4879 </xsl:otherwise> 4755 4880 </xsl:choose> 4881 </xsl:template> 4882 4883 <!-- checking for email element --> 4884 <xsl:template name="extract-email"> 4885 <xsl:variable name="email" select="normalize-space(.)"/> 4886 <xsl:if test="string-length(.) != string-length($email) or contains($email,' ')"> 4887 <xsl:call-template name="warning"> 4888 <xsl:with-param name="inline" select="'no'"/> 4889 <xsl:with-param name="msg">excessive whitespace in email address: '<xsl:value-of select="."/>'</xsl:with-param> 4890 </xsl:call-template> 4891 </xsl:if> 4892 4893 <xsl:variable name="email2"> 4894 <xsl:choose> 4895 <xsl:when test="starts-with($email,'mailto:')"> 4896 <xsl:call-template name="warning"> 4897 <xsl:with-param name="inline" select="'no'"/> 4898 <xsl:with-param name="msg">email should not include URI scheme: '<xsl:value-of select="."/>'</xsl:with-param> 4899 </xsl:call-template> 4900 <xsl:value-of select="substring($email, 1 + string-length('mailto:'))"/> 4901 </xsl:when> 4902 <xsl:otherwise> 4903 <xsl:value-of select="$email"/> 4904 </xsl:otherwise> 4905 </xsl:choose> 4906 </xsl:variable> 4907 4908 <xsl:value-of select="$email2"/> 4756 4909 </xsl:template> 4757 4910 … … 4798 4951 </xsl:if> 4799 4952 </xsl:template> 4953 4954 <!-- define exslt:node-set for msxml --> 4955 <msxsl:script language="JScript" implements-prefix="exslt"> 4956 this['node-set'] = function (x) { 4957 return x; 4958 } 4959 </msxsl:script> 4800 4960 4801 4961 <!-- date handling --> -
rfc2629xslt/rfc2629xslt.html
r246 r272 329 329 } 330 330 @top-right { 331 content: " April2008";331 content: "July 2008"; 332 332 } 333 333 @top-center { … … 356 356 } 357 357 } 358 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF via XSL-FO" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C License" href="#rfc.section.C"><link rel="Appendix" title="D Change Logs" href="#rfc.section.D"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.3 67, 2008-05-19 13:00:19, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 through XSLT</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">April 2008</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <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 via XSL-FO</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.anchor-alias"><anchor-alias> element</a></li><li class="tocline1">10.2 <a href="#ext.element.bcp14"><bcp14> element</a></li><li class="tocline1">10.3 <a href="#ext.element.bb"><bb> element</a></li><li class="tocline1">10.4 <a href="#ext.element.bc"><bc> element</a></li><li class="tocline1">10.5 <a href="#ext.element.blockquote"><blockquote> element</a></li><li class="tocline1">10.6 <a href="#ext.element.bt"><bt> element</a></li><li class="tocline1">10.7 <a href="#ext.element.dfn"><dfn> element</a></li><li class="tocline1">10.8 <a href="#ext.element.h"><h> element</a></li><li class="tocline1">10.9 <a href="#ext.element.length-of"><length-of> element</a></li><li class="tocline1">10.10 <a href="#ext.element.link"><link> element</a></li><li class="tocline1">10.11 <a href="#ext.element.lt"><lt> element</a></li><li class="tocline1">10.12 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.13 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.14 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.15 <a href="#ext.element.sup"><sup> element</a></li><li class="tocline1">10.16 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.17 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.18 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.19 <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 through XSL-FO (<a href="#output.pdf" title="Transforming to PDF via XSL-FO">Section 9</a>) and</li><li>various utilities (<a href="#utilities" title="Utilities">Section 11</a>).</li></ul><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">In addition, <samp>rfc2629.xslt</samp> supports a set of extension elements, using elements and attributes in the namespace "http://greenbytes.de/2002/rfcedit". They are used for </p><ul><li>simple issue tracking and change tracking and</li><li>adding additional metadata to the generated documents (such as HTML LINK elements to related documents, see <a href="#html.link" title="Standard HTML LINK elements">Section 6.2</a>).</li></ul><p id="rfc.section.2.1.p.2">Note that these extensions are experimental. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <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"?>358 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF via XSL-FO" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C License" href="#rfc.section.C"><link rel="Appendix" title="D Change Logs" href="#rfc.section.D"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 through XSLT</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">July 2008</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <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 via XSL-FO</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.bt"><bt> element</a></li><li class="tocline1">10.8 <a href="#ext.element.dfn"><dfn> element</a></li><li class="tocline1">10.9 <a href="#ext.element.h"><h> element</a></li><li class="tocline1">10.10 <a href="#ext.element.length-of"><length-of> element</a></li><li class="tocline1">10.11 <a href="#ext.element.link"><link> element</a></li><li class="tocline1">10.12 <a href="#ext.element.lt"><lt> element</a></li><li class="tocline1">10.13 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.14 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.15 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.16 <a href="#ext.element.sup"><sup> element</a></li><li class="tocline1">10.17 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.18 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.19 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.20 <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 through XSL-FO (<a href="#output.pdf" title="Transforming to PDF via XSL-FO">Section 9</a>) and</li><li>various utilities (<a href="#utilities" title="Utilities">Section 11</a>).</li></ul><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">In addition, <samp>rfc2629.xslt</samp> supports a set of extension elements, using elements and attributes in the namespace "http://greenbytes.de/2002/rfcedit". They are used for </p><ul><li>simple issue tracking and change tracking and</li><li>adding additional metadata to the generated documents (such as HTML LINK elements to related documents, see <a href="#html.link" title="Standard HTML LINK elements">Section 6.2</a>).</li></ul><p id="rfc.section.2.1.p.2">Note that these extensions are experimental. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <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"?> 359 359 <?rfc-ext support-rfc2731="no"?> 360 360 </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 \ … … 363 363 --param xml2rfc-ext-support-rfc2731 '"no"' \ 364 364 rfc2629.xslt source.xml > result.html 365 </pre> <p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p> <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> Supported xml2rfc-compatible PIs</h2><div id="rfc.table.u.1"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>background<div id="rfc.iref.b.1"></div><div id="rfc.iref.p.1"></div></td><td>xml2rfc-background<div id="rfc.iref.x.2"></div> <div id="rfc.iref.p.2"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>compact<div id="rfc.iref.c.1"></div><div id="rfc.iref.p.3"></div></td><td>xml2rfc-compact<div id="rfc.iref.x.3"></div> <div id="rfc.iref.p.4"></div></td><td>"no"</td><td>only applies to HTML output method when printing</td></tr><tr><td>rfc</td><td>comments<div id="rfc.iref.c.2"></div><div id="rfc.iref.p.5"></div></td><td>xml2rfc-comments<div id="rfc.iref.x.4"></div> <div id="rfc.iref.p.6"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>editing<div id="rfc.iref.e.1"></div><div id="rfc.iref.p.7"></div></td><td>xml2rfc-editing<div id="rfc.iref.x.5"></div> <div id="rfc.iref.p.8"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>footer<div id="rfc.iref.f.1"></div><div id="rfc.iref.p.9"></div></td><td>xml2rfc-footer<div id="rfc.iref.x.6"></div> <div id="rfc.iref.p.10"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>header<div id="rfc.iref.h.1"></div><div id="rfc.iref.p.11"></div></td><td>xml2rfc-header<div id="rfc.iref.x.7"></div> <div id="rfc.iref.p.12"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>inline<div id="rfc.iref.i.1"></div><div id="rfc.iref.p.13"></div></td><td>xml2rfc-inline<div id="rfc.iref.x.8"></div> <div id="rfc.iref.p.14"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>iprnotified<div id="rfc.iref.i.2"></div><div id="rfc.iref.p.15"></div></td><td>xml2rfc-iprnotified<div id="rfc.iref.x.9"></div> <div id="rfc.iref.p.16"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>linkmailto<div id="rfc.iref.l.1"></div><div id="rfc.iref.p.17"></div></td><td>xml2rfc-linkmailto<div id="rfc.iref.x.10"></div> <div id="rfc.iref.p.18"></div></td><td>"yes"</td><td></td></tr><tr><td>rfc</td><td>private<div id="rfc.iref.p.19"></div><div id="rfc.iref.p.20"></div></td><td>xml2rfc-private<div id="rfc.iref.x.11"></div> <div id="rfc.iref.p.21"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.22"></div></td><td>xml2rfc-sortrefs<div id="rfc.iref.x.12"></div> <div id="rfc.iref.p.23"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>symrefs<div id="rfc.iref.s.2"></div><div id="rfc.iref.p.24"></div></td><td>xml2rfc-symrefs<div id="rfc.iref.x.13"></div> <div id="rfc.iref.p.25"></div></td><td>"yes"</td><td>The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</td></tr><tr><td>rfc</td><td>toc<div id="rfc.iref.t.1"></div><div id="rfc.iref.p.26"></div></td><td>xml2rfc-toc<div id="rfc.iref.x.14"></div> <div id="rfc.iref.p.27"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>tocdepth<div id="rfc.iref.t.2"></div><div id="rfc.iref.p.28"></div></td><td>xml2rfc-tocdepth<div id="rfc.iref.x.15"></div> <div id="rfc.iref.p.29"></div></td><td>99</td><td></td></tr><tr><td>rfc</td><td>topblock<div id="rfc.iref.t.3"></div><div id="rfc.iref.p.30"></div></td><td>xml2rfc-topblock<div id="rfc.iref.x.16"></div> <div id="rfc.iref.p.31"></div></td><td>"yes"</td><td></td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> Unsupported xml2rfc-compatible PIs</h2><div id="rfc.table.u.2"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.32"></div></td><td>incompatible with XML/XSLT processing model</td></tr><tr><td>rfc</td><td>needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.33"></div></td><td></td></tr><tr><td>rfc</td><td>slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.34"></div></td><td></td></tr><tr><td>rfc</td><td>strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.35"></div></td><td></td></tr><tr><td>rfc</td><td>subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.36"></div></td><td></td></tr><tr><td>rfc</td><td>tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.37"></div></td><td>(defaults to "yes")</td></tr><tr><td>rfc</td><td>tocompact<div id="rfc.iref.t.5"></div><div id="rfc.iref.p.38"></div></td><td></td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> Extension PIs</h2><div id="rfc.table.u.3"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>description</th></tr></thead><tbody><tr><td>rfc-ext</td><td>allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.39"></div></td><td>xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.17"></div> <div id="rfc.iref.p.40"></div></td><td>"no"</td><td>Enables support for specific elements inside abstract elements (using this extension makes the document incompatible to the RFC2629bis DTD; see description of conversion XSLT in <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section 11.4</a>).</td></tr><tr><td>rfc-ext</td><td>authors-section<div id="rfc.iref.a.2"></div><div id="rfc.iref.p.41"></div></td><td>xml2rfc-ext-authors-section<div id="rfc.iref.x.18"></div> <div id="rfc.iref.p.42"></div></td><td></td><td>When "end", place the authors section at the end (just before the copyright statements). This seems to be the preferred order in the newest RFCs.</td></tr><tr><td>rfc-ext</td><td>include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.43"></div></td><td>xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.19"></div> <div id="rfc.iref.p.44"></div></td><td></td><td>When set to "yes", index entries are generated for all references.</td></tr><tr><td>rfc-ext</td><td>justification<div id="rfc.iref.j.1"></div><div id="rfc.iref.p.45"></div></td><td>xml2rfc-ext-justification<div id="rfc.iref.x.20"></div> <div id="rfc.iref.p.46"></div></td><td>"never"</td><td>"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</td></tr><tr><td>rfc-ext</td><td>parse-xml-in-artwork<div id="rfc.iref.p.47"></div><div id="rfc.iref.p.48"></div></td><td>xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.21"></div> <div id="rfc.iref.p.49"></div></td><td>"no"</td><td>May be used to enable parsing of XML content in figures (MSXML only).</td></tr><tr><td>rfc-ext</td><td>support-rfc2731<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.50"></div></td><td>xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.22"></div> <div id="rfc.iref.p.51"></div></td><td>"yes"</td><td>Decides whether the HTML transformation should generate META tags according <a href="#rfc2731.properties" title="Dublin Core (RFC2731) metadata">Section 6.4</a>.</td></tr><tr><td>rfc-ext</td><td>sec-no-trailing-dots<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.52"></div></td><td>xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.23"></div> <div id="rfc.iref.p.53"></div></td><td></td><td>When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the newest RFCs.</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> <a id="anchors" href="#anchors">Anchors</a></h1><p id="rfc.section.4.p.1">The transformation automatically generates anchors that are supposed to be stable and predictable and that can be used to identify specific parts of the document. Anchors are generated both in HTML and XSL-FO content (but the latter will only be used for PDF output when the XSL-FO engine supports producing PDF anchors).</p><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table summary="The following anchors get auto-generated:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Anchor name</th><th>Description</th></tr></thead><tbody><tr><td>rfc.abstract <div id="rfc.iref.r.1"></div><div id="rfc.iref.a.3"></div></td><td>Abstract</td></tr><tr><td>rfc.authors <div id="rfc.iref.r.2"></div><div id="rfc.iref.a.4"></div></td><td>Authors section</td></tr><tr><td>rfc.copyright <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.5"></div></td><td>Copyright section</td></tr><tr><td>rfc.copyrightnotice <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.6"></div></td><td>Copyright notice</td></tr><tr><td>rfc.figure.<em>n</em> <div id="rfc.iref.r.5"></div><div id="rfc.iref.a.7"></div></td><td>Figures (titled)</td></tr><tr><td>rfc.figure.u.<em>n</em> <div id="rfc.iref.r.6"></div><div id="rfc.iref.a.8"></div></td><td>Figures (untitled)</td></tr><tr><td>rfc.index <div id="rfc.iref.r.7"></div><div id="rfc.iref.a.9"></div></td><td>Index</td></tr><tr><td>rfc.ipr <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.10"></div></td><td>Intellectual Property</td></tr><tr><td>rfc.iref.<em>n</em> <div id="rfc.iref.r.9"></div><div id="rfc.iref.a.11"></div></td><td>Internal references</td></tr><tr><td>rfc.note.<em>n</em> <div id="rfc.iref.r.10"></div><div id="rfc.iref.a.12"></div></td><td>Notes (from front section)</td></tr><tr><td>rfc.references <div id="rfc.iref.r.11"></div><div id="rfc.iref.a.13"></div></td><td>References</td></tr><tr><td>rfc.references.<em>n</em> <div id="rfc.iref.r.12"></div><div id="rfc.iref.a.14"></div></td><td>Additional references</td></tr><tr><td>rfc.section.<em>n</em> <div id="rfc.iref.r.13"></div><div id="rfc.iref.a.15"></div></td><td>Section <em>n</em></td></tr><tr><td>rfc.section.<em>n</em>.p.<em>m</em> <div id="rfc.iref.r.14"></div><div id="rfc.iref.a.16"></div></td><td>Section <em>n</em>, paragraph <em>m</em></td></tr><tr><td>rfc.status <div id="rfc.iref.r.15"></div><div id="rfc.iref.a.17"></div></td><td>Status of memo</td></tr><tr><td>rfc.table.<em>n</em> <div id="rfc.iref.r.16"></div><div id="rfc.iref.a.18"></div></td><td>Tables (titled)</td></tr><tr><td>rfc.table.u.<em>n</em> <div id="rfc.iref.r.17"></div><div id="rfc.iref.a.19"></div></td><td>Tables (untitled)</td></tr><tr><td>rfc.toc <div id="rfc.iref.r.18"></div><div id="rfc.iref.a.20"></div></td><td>Table of contents</td></tr><tr><td>rfc.xref.<em>name</em>.<em>n</em> <div id="rfc.iref.r.19"></div><div id="rfc.iref.a.21"></div></td><td>References to reference <em>n</em> to <em>name</em></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <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.24"></span>Xalan (<<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>>)</li><li><span id="rfc.iref.x.25"></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 id="firefox3"><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.* ( currently only test builds available)</li><li><span id="rfc.iref.o.1"></span><span id="rfc.iref.o.2"></span>Opera 9.5 (currently only test builds available)</li><li><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li id="firefox12"><span id="rfc.iref.m.4"></span><span id="rfc.iref.f.3"></span>Firefox 1.*/2.* (missing extension function - see change request at Mozilla BugZilla <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</a>)</li><li id="opera"><span id="rfc.iref.o.3"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725).</li><li id="safari"><span id="rfc.iref.s.11"></span>Safari 2.* supports client-side XSLT as of MacOS X 10.4, but misses required extension functions. A problem with stylesheets producing non-ASCII output (such as NBSP characters) has been fixed as of OSX 10.4.4. Both problems have been reported through Apple's bug tracking system, see <<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.26"></div><div id="rfc.figure.u.4"></div><pre class="text"> <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>365 </pre> <p>(note the required quoting of string parameters)<span id="rfc.iref.x.1"></span></p> <h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> Supported xml2rfc-compatible PIs</h2><div id="rfc.table.u.1"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>background<div id="rfc.iref.b.1"></div><div id="rfc.iref.p.1"></div></td><td>xml2rfc-background<div id="rfc.iref.x.2"></div> <div id="rfc.iref.p.2"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>compact<div id="rfc.iref.c.1"></div><div id="rfc.iref.p.3"></div></td><td>xml2rfc-compact<div id="rfc.iref.x.3"></div> <div id="rfc.iref.p.4"></div></td><td>"no"</td><td>only applies to HTML output method when printing</td></tr><tr><td>rfc</td><td>comments<div id="rfc.iref.c.2"></div><div id="rfc.iref.p.5"></div></td><td>xml2rfc-comments<div id="rfc.iref.x.4"></div> <div id="rfc.iref.p.6"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>editing<div id="rfc.iref.e.1"></div><div id="rfc.iref.p.7"></div></td><td>xml2rfc-editing<div id="rfc.iref.x.5"></div> <div id="rfc.iref.p.8"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>footer<div id="rfc.iref.f.1"></div><div id="rfc.iref.p.9"></div></td><td>xml2rfc-footer<div id="rfc.iref.x.6"></div> <div id="rfc.iref.p.10"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>header<div id="rfc.iref.h.1"></div><div id="rfc.iref.p.11"></div></td><td>xml2rfc-header<div id="rfc.iref.x.7"></div> <div id="rfc.iref.p.12"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>inline<div id="rfc.iref.i.1"></div><div id="rfc.iref.p.13"></div></td><td>xml2rfc-inline<div id="rfc.iref.x.8"></div> <div id="rfc.iref.p.14"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>iprnotified<div id="rfc.iref.i.2"></div><div id="rfc.iref.p.15"></div></td><td>xml2rfc-iprnotified<div id="rfc.iref.x.9"></div> <div id="rfc.iref.p.16"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>linkmailto<div id="rfc.iref.l.1"></div><div id="rfc.iref.p.17"></div></td><td>xml2rfc-linkmailto<div id="rfc.iref.x.10"></div> <div id="rfc.iref.p.18"></div></td><td>"yes"</td><td></td></tr><tr><td>rfc</td><td>private<div id="rfc.iref.p.19"></div><div id="rfc.iref.p.20"></div></td><td>xml2rfc-private<div id="rfc.iref.x.11"></div> <div id="rfc.iref.p.21"></div></td><td>(not set)</td><td></td></tr><tr><td>rfc</td><td>sortrefs<div id="rfc.iref.s.1"></div><div id="rfc.iref.p.22"></div></td><td>xml2rfc-sortrefs<div id="rfc.iref.x.12"></div> <div id="rfc.iref.p.23"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>symrefs<div id="rfc.iref.s.2"></div><div id="rfc.iref.p.24"></div></td><td>xml2rfc-symrefs<div id="rfc.iref.x.13"></div> <div id="rfc.iref.p.25"></div></td><td>"yes"</td><td>The default has changed from "no" to "yes" as of June 6, 2007 and xml2rfc 1.33pre4.</td></tr><tr><td>rfc</td><td>toc<div id="rfc.iref.t.1"></div><div id="rfc.iref.p.26"></div></td><td>xml2rfc-toc<div id="rfc.iref.x.14"></div> <div id="rfc.iref.p.27"></div></td><td>"no"</td><td></td></tr><tr><td>rfc</td><td>tocdepth<div id="rfc.iref.t.2"></div><div id="rfc.iref.p.28"></div></td><td>xml2rfc-tocdepth<div id="rfc.iref.x.15"></div> <div id="rfc.iref.p.29"></div></td><td>99</td><td></td></tr><tr><td>rfc</td><td>topblock<div id="rfc.iref.t.3"></div><div id="rfc.iref.p.30"></div></td><td>xml2rfc-topblock<div id="rfc.iref.x.16"></div> <div id="rfc.iref.p.31"></div></td><td>"yes"</td><td></td></tr></tbody></table></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> Unsupported xml2rfc-compatible PIs</h2><div id="rfc.table.u.2"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>comment</th></tr></thead><tbody><tr><td>rfc</td><td>include<div id="rfc.iref.i.3"></div><div id="rfc.iref.p.32"></div></td><td>incompatible with XML/XSLT processing model</td></tr><tr><td>rfc</td><td>needLines<div id="rfc.iref.n.1"></div><div id="rfc.iref.p.33"></div></td><td></td></tr><tr><td>rfc</td><td>slides<div id="rfc.iref.s.3"></div><div id="rfc.iref.p.34"></div></td><td></td></tr><tr><td>rfc</td><td>strict<div id="rfc.iref.s.4"></div><div id="rfc.iref.p.35"></div></td><td></td></tr><tr><td>rfc</td><td>subcompact<div id="rfc.iref.s.5"></div><div id="rfc.iref.p.36"></div></td><td></td></tr><tr><td>rfc</td><td>tocindent<div id="rfc.iref.t.4"></div><div id="rfc.iref.p.37"></div></td><td>(defaults to "yes")</td></tr><tr><td>rfc</td><td>tocompact<div id="rfc.iref.t.5"></div><div id="rfc.iref.p.38"></div></td><td></td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> Extension PIs</h2><div id="rfc.table.u.3"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>PI target</th><th>PI pseudo-attribute</th><th>XSLT parameter name</th><th>default</th><th>description</th></tr></thead><tbody><tr><td>rfc-ext</td><td>allow-markup-in-artwork<div id="rfc.iref.a.1"></div><div id="rfc.iref.p.39"></div></td><td>xml2rfc-allow-markup-in-artwork<div id="rfc.iref.x.17"></div> <div id="rfc.iref.p.40"></div></td><td>"no"</td><td>Enables support for specific elements inside abstract elements (using this extension makes the document incompatible to the RFC2629bis DTD; see description of conversion XSLT in <a href="#clean-for-dtd" title="Down-converting to RFC2629bis DTD">Section 11.4</a>).</td></tr><tr><td>rfc-ext</td><td>authors-section<div id="rfc.iref.a.2"></div><div id="rfc.iref.p.41"></div></td><td>xml2rfc-ext-authors-section<div id="rfc.iref.x.18"></div> <div id="rfc.iref.p.42"></div></td><td></td><td>When "end", place the authors section at the end (just before the copyright statements). This seems to be the preferred order in the newest RFCs.</td></tr><tr><td>rfc-ext</td><td>include-references-in-index<div id="rfc.iref.i.4"></div><div id="rfc.iref.p.43"></div></td><td>xml2rfc-ext-include-references-in-index<div id="rfc.iref.x.19"></div> <div id="rfc.iref.p.44"></div></td><td></td><td>When set to "yes", index entries are generated for all references.</td></tr><tr><td>rfc-ext</td><td>justification<div id="rfc.iref.j.1"></div><div id="rfc.iref.p.45"></div></td><td>xml2rfc-ext-justification<div id="rfc.iref.x.20"></div> <div id="rfc.iref.p.46"></div></td><td>"never"</td><td>"never": never emit justified text, "always": always emit justified text, "print": only emit justified text for print media.</td></tr><tr><td>rfc-ext</td><td>parse-xml-in-artwork<div id="rfc.iref.p.47"></div><div id="rfc.iref.p.48"></div></td><td>xml2rfc-parse-xml-in-artwork<div id="rfc.iref.x.21"></div> <div id="rfc.iref.p.49"></div></td><td>"no"</td><td>May be used to enable parsing of XML content in figures (MSXML only).</td></tr><tr><td>rfc-ext</td><td>support-rfc2731<div id="rfc.iref.s.6"></div><div id="rfc.iref.p.50"></div></td><td>xml2rfc-ext-support-rfc2731<div id="rfc.iref.x.22"></div> <div id="rfc.iref.p.51"></div></td><td>"yes"</td><td>Decides whether the HTML transformation should generate META tags according <a href="#rfc2731.properties" title="Dublin Core (RFC2731) metadata">Section 6.4</a>.</td></tr><tr><td>rfc-ext</td><td>sec-no-trailing-dots<div id="rfc.iref.s.7"></div><div id="rfc.iref.p.52"></div></td><td>xml2rfc-ext-sec-no-trailing-dots<div id="rfc.iref.x.23"></div> <div id="rfc.iref.p.53"></div></td><td></td><td>When set to "yes", add trailing dots to section numbers. This seems to be the preferred format in the newest RFCs.</td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> <a id="anchors" href="#anchors">Anchors</a></h1><p id="rfc.section.4.p.1">The transformation automatically generates anchors that are supposed to be stable and predictable and that can be used to identify specific parts of the document. Anchors are generated both in HTML and XSL-FO content (but the latter will only be used for PDF output when the XSL-FO engine supports producing PDF anchors).</p><div id="rfc.table.u.4"><p>The following anchors get auto-generated:</p><table summary="The following anchors get auto-generated:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Anchor name</th><th>Description</th></tr></thead><tbody><tr><td>rfc.abstract <div id="rfc.iref.r.1"></div><div id="rfc.iref.a.3"></div></td><td>Abstract</td></tr><tr><td>rfc.authors <div id="rfc.iref.r.2"></div><div id="rfc.iref.a.4"></div></td><td>Authors section</td></tr><tr><td>rfc.copyright <div id="rfc.iref.r.3"></div><div id="rfc.iref.a.5"></div></td><td>Copyright section</td></tr><tr><td>rfc.copyrightnotice <div id="rfc.iref.r.4"></div><div id="rfc.iref.a.6"></div></td><td>Copyright notice</td></tr><tr><td>rfc.figure.<em>n</em> <div id="rfc.iref.r.5"></div><div id="rfc.iref.a.7"></div></td><td>Figures (titled)</td></tr><tr><td>rfc.figure.u.<em>n</em> <div id="rfc.iref.r.6"></div><div id="rfc.iref.a.8"></div></td><td>Figures (untitled)</td></tr><tr><td>rfc.index <div id="rfc.iref.r.7"></div><div id="rfc.iref.a.9"></div></td><td>Index</td></tr><tr><td>rfc.ipr <div id="rfc.iref.r.8"></div><div id="rfc.iref.a.10"></div></td><td>Intellectual Property</td></tr><tr><td>rfc.iref.<em>n</em> <div id="rfc.iref.r.9"></div><div id="rfc.iref.a.11"></div></td><td>Internal references</td></tr><tr><td>rfc.note.<em>n</em> <div id="rfc.iref.r.10"></div><div id="rfc.iref.a.12"></div></td><td>Notes (from front section)</td></tr><tr><td>rfc.references <div id="rfc.iref.r.11"></div><div id="rfc.iref.a.13"></div></td><td>References</td></tr><tr><td>rfc.references.<em>n</em> <div id="rfc.iref.r.12"></div><div id="rfc.iref.a.14"></div></td><td>Additional references</td></tr><tr><td>rfc.section.<em>n</em> <div id="rfc.iref.r.13"></div><div id="rfc.iref.a.15"></div></td><td>Section <em>n</em></td></tr><tr><td>rfc.section.<em>n</em>.p.<em>m</em> <div id="rfc.iref.r.14"></div><div id="rfc.iref.a.16"></div></td><td>Section <em>n</em>, paragraph <em>m</em></td></tr><tr><td>rfc.status <div id="rfc.iref.r.15"></div><div id="rfc.iref.a.17"></div></td><td>Status of memo</td></tr><tr><td>rfc.table.<em>n</em> <div id="rfc.iref.r.16"></div><div id="rfc.iref.a.18"></div></td><td>Tables (titled)</td></tr><tr><td>rfc.table.u.<em>n</em> <div id="rfc.iref.r.17"></div><div id="rfc.iref.a.19"></div></td><td>Tables (untitled)</td></tr><tr><td>rfc.toc <div id="rfc.iref.r.18"></div><div id="rfc.iref.a.20"></div></td><td>Table of contents</td></tr><tr><td>rfc.xref.<em>name</em>.<em>n</em> <div id="rfc.iref.r.19"></div><div id="rfc.iref.a.21"></div></td><td>References to reference <em>n</em> to <em>name</em></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <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.24"></span>Xalan (<<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>>)</li><li><span id="rfc.iref.x.25"></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 id="firefox3"><span id="rfc.iref.m.3"></span><span id="rfc.iref.f.2"></span>Firefox 3.* (release candidate available)</li><li><span id="rfc.iref.s.9"></span><span id="rfc.iref.s.10"></span>Safari 3 (starting with version 3.0.4)</li></ul><p id="rfc.section.5.2.p.2">The following browsers are known not to work properly: </p><ul><li id="firefox12"><span id="rfc.iref.m.4"></span><span id="rfc.iref.f.3"></span>Firefox 1.*/2.* (missing extension function - see change request at Mozilla BugZilla <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</a>)</li><li id="opera"><span id="rfc.iref.o.1"></span>Opera 9.21: execution fails, potentially to a somewhat complex XPath expression (reported to Opera as bug 245725). Opera 9.5: transformation appears to work, but CSS isn't getting applied (repored to Opera as bug 337388 on 2008-06-12).</li><li id="safari"><span id="rfc.iref.s.11"></span>Safari 2.* supports client-side XSLT as of MacOS X 10.4, but misses required extension functions. A problem with stylesheets producing non-ASCII output (such as NBSP characters) has been fixed as of OSX 10.4.4. Both problems have been reported through Apple's bug tracking system, see <<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.26"></div><div id="rfc.figure.u.4"></div><pre class="text"> <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?> 366 366 </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.8"></div><div id="rfc.iref.h.9"></div></td><td>pointer to index</td></tr></tbody></table></div><div id="rfc.figure.u.5"></div> <p>The figure below shows how Mozilla Firefox 1.0 displays the Site Navigation Bar for rfc2396.xml.</p> <p><img src="rfc2629xslt-fig1.png" alt="
(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.1"></div><div id="rfc.iref.h.10"></div></td><td>from XSLT engine version and stylesheet version</td></tr><tr><td>keywords<div id="rfc.iref.k.1"></div><div id="rfc.iref.h.11"></div></td><td>from keyword elements in front section</td></tr></tbody></table></div><h2 id="rfc.section.6.4"><a href="#rfc.section.6.4">6.4</a> <a id="rfc2731.properties" href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></h2><p id="rfc.section.6.4.p.1">Unless turned off using the "rfc-ext support-rfc2731" processing instruction, the transformation will generate metadata according to <a href="#RFC2731" id="rfc.xref.RFC2731.1"><cite title="Encoding Dublin Core Metadata in HTML">[RFC2731]</cite></a>.</p><div id="rfc.table.u.7"><p>The following DCMI properties are produced:</p><table summary="The following DCMI properties are produced:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>META name</th><th>description</th></tr></thead><tbody><tr><td>DC.Creator<div id="rfc.iref.c.6"></div><div id="rfc.iref.d.1"></div></td><td>from author information in front section</td></tr><tr><td>DC.Date.Issued<div id="rfc.iref.d.2"></div><div id="rfc.iref.d.3"></div></td><td>from date information in front section</td></tr><tr><td>DC.Description.Abstract<div id="rfc.iref.d.4"></div><div id="rfc.iref.d.5"></div></td><td>from abstract</td></tr><tr><td>DC.Identifier<div id="rfc.iref.i.9"></div><div id="rfc.iref.d.6"></div></td><td>document URN <a href="#RFC2648" id="rfc.xref.RFC2648.1"><cite title="A URN Namespace for IETF Documents">[RFC2648]</cite></a> from "docName" attribute</td></tr><tr><td>DC.Relation.Replaces<div id="rfc.iref.r.20"></div><div id="rfc.iref.d.7"></div></td><td>from "obsoletes" attribute</td></tr></tbody></table></div><h2 id="rfc.section.6.5"><a href="#rfc.section.6.5">6.5</a> <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 367 367 saxon rfc2616.xml rfc2629toHhc.xslt basename=rfc2616 > rfc2616.hhc … … 372 372 </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 \ 373 373 > output.xhtml 374 prince output.xhtml output.pdf</pre> <hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a> <a id="extensions" href="#extensions">Generic Extensions</a></h1><p id="rfc.section.10.p.1">This section documents extensions implemented in <samp>rfc2629.xslt</samp>, using the extension namespace "http://purl.org/net/xml2rfc/ext".</p><div id="rfc.iref.e.2"></div><div id="rfc.iref.a.27"></div><h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a> <a id="ext.element.a nchor-alias" href="#ext.element.anchor-alias"><anchor-alias> element</a></h2><p id="rfc.section.10.1.p.1">Using its "value" attribute, this element allows the definition of an internal link target alias for the enclosing element. This alias can then be used with the <<a href="#ext.element.ref" class="smpl">ref</a>> element for intra-document references.</p><p id="rfc.section.10.1.p.2">Note that the anchor alias is not subject to the naming constraints that apply to anchor elements (which are <a href="http://www.w3.org/TR/REC-xml/#NT-Name">XML names</a>).</p><div id="rfc.iref.e.3"></div><div id="rfc.iref.b.2"></div><h2 id="rfc.section.10.2"><a href="#rfc.section.10.2">10.2</a> <a id="ext.element.bcp14" href="#ext.element.bcp14"><bcp14> element</a></h2><p id="rfc.section.10.2.p.1">This element marks the content as being one of the normative keywords defined in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>.</p><div id="rfc.figure.u.9"></div> <p>The DOCTYPE definition below allows using these keywords using XML entity expansion: such as in "...server &MUST; accept...".</p> <pre class="text"><!DOCTYPE rfc [374 prince output.xhtml output.pdf</pre> <hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a> <a id="extensions" href="#extensions">Generic Extensions</a></h1><p id="rfc.section.10.p.1">This section documents extensions implemented in <samp>rfc2629.xslt</samp>, using the extension namespace "http://purl.org/net/xml2rfc/ext".</p><div id="rfc.iref.e.2"></div><div id="rfc.iref.a.27"></div><h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a> <a id="ext.element.abnf-char-sequence" href="#ext.element.abnf-char-sequence"><abnf-char-sequence> element</a></h2><p id="rfc.section.10.1.p.1">Converts the contained quoted string into a hex-encoded character sequence, for use in case-sensitive ABNF productions.</p><p id="rfc.section.10.1.p.2">For instance, "<x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence>" gets converted to "%x48.54.54.50".</p><div id="rfc.iref.e.3"></div><div id="rfc.iref.a.28"></div><h2 id="rfc.section.10.2"><a href="#rfc.section.10.2">10.2</a> <a id="ext.element.anchor-alias" href="#ext.element.anchor-alias"><anchor-alias> element</a></h2><p id="rfc.section.10.2.p.1">Using its "value" attribute, this element allows the definition of an internal link target alias for the enclosing element. This alias can then be used with the <<a href="#ext.element.ref" class="smpl">ref</a>> element for intra-document references.</p><p id="rfc.section.10.2.p.2">Note that the anchor alias is not subject to the naming constraints that apply to anchor elements (which are <a href="http://www.w3.org/TR/REC-xml/#NT-Name">XML names</a>).</p><div id="rfc.iref.e.4"></div><div id="rfc.iref.b.2"></div><h2 id="rfc.section.10.3"><a href="#rfc.section.10.3">10.3</a> <a id="ext.element.bcp14" href="#ext.element.bcp14"><bcp14> element</a></h2><p id="rfc.section.10.3.p.1">This element marks the content as being one of the normative keywords defined in <a href="#RFC2119" id="rfc.xref.RFC2119.1"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>.</p><div id="rfc.figure.u.9"></div> <p>The DOCTYPE definition below allows using these keywords using XML entity expansion: such as in "...server &MUST; accept...".</p> <pre class="text"><!DOCTYPE rfc [ 375 375 <!ENTITY MAY "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext' 376 376 >MAY</bcp14>"> … … 392 392 >SHOULD</bcp14>"> 393 393 <!ENTITY SHOULD-NOT "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext' 394 >SHOULD NOT</bcp14>">]></pre> <div id="rfc.iref.e. 4"></div><div id="rfc.iref.b.3"></div><h2 id="rfc.section.10.3"><a href="#rfc.section.10.3">10.3</a> <a id="ext.element.bb" href="#ext.element.bb"><bb> element</a></h2><p id="rfc.section.10.3.p.1">Marking up a string as <bb> indicates that it represents the bottom line of a box drawing, replacing the "+" and "-" characters accordingly.</p><div id="rfc.iref.e.5"></div><div id="rfc.iref.b.4"></div><h2 id="rfc.section.10.4"><a href="#rfc.section.10.4">10.4</a> <a id="ext.element.bc" href="#ext.element.bc"><bc> element</a></h2><p id="rfc.section.10.4.p.1">Marking up a string as <bc> indicates that it represents a center line of a box drawing, replacing the "|" character accordingly.</p><div id="rfc.iref.e.6"></div><div id="rfc.iref.b.5"></div><h2 id="rfc.section.10.5"><a href="#rfc.section.10.5">10.5</a> <a id="ext.element.blockquote" href="#ext.element.blockquote"><blockquote> element</a></h2><p id="rfc.section.10.5.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE">blockquote</a>" element in <a href="#HTML" id="rfc.xref.HTML.2"><cite title="HTML 4.01 Specification">[HTML]</cite></a> (note this is a block-level element!). It should contain one or more <t> child elements.</p><div id="rfc.iref.e.7"></div><div id="rfc.iref.b.6"></div><h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a> <a id="ext.element.bt" href="#ext.element.bt"><bt> element</a></h2><p id="rfc.section.10.6.p.1">Marking up a string as <bt> indicates that it represents the top line of a box drawing, replacing the "+" and "-" characters accordingly.</p><div id="rfc.iref.e.8"></div><div id="rfc.iref.d.8"></div><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a> <a id="ext.element.dfn" href="#ext.element.dfn"><dfn> element</a></h2><p id="rfc.section.10.7.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-DFN">dfn</a>" element in <a href="#HTML" id="rfc.xref.HTML.3"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.9"></div><div id="rfc.iref.h.12"></div><h2 id="rfc.section.10.8"><a href="#rfc.section.10.8">10.8</a> <a id="ext.element.h" href="#ext.element.h"><h> element</a></h2><p id="rfc.section.10.8.p.1">This element is like the "<a href="http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-structural.html#edef_structural_h">h</a>" element in <a href="#XHTML2" id="rfc.xref.XHTML2.1"><cite title="XHTML™ 2.0">[XHTML2]</cite></a>.</p><div id="rfc.iref.e.10"></div><div id="rfc.iref.l.2"></div><h2 id="rfc.section.10.9"><a href="#rfc.section.10.9">10.9</a> <a id="ext.element.length-of" href="#ext.element.length-of"><length-of> element</a></h2><p id="rfc.section.10.9.p.1">This element can be used to insert the length of another formatted section (in decimal).</p><div id="rfc.figure.u.10"></div> <p>Example: computing the Content-Length header value</p> <pre class="text"><artwork>394 >SHOULD NOT</bcp14>">]></pre> <div id="rfc.iref.e.5"></div><div id="rfc.iref.b.3"></div><h2 id="rfc.section.10.4"><a href="#rfc.section.10.4">10.4</a> <a id="ext.element.bb" href="#ext.element.bb"><bb> element</a></h2><p id="rfc.section.10.4.p.1">Marking up a string as <bb> indicates that it represents the bottom line of a box drawing, replacing the "+" and "-" characters accordingly.</p><div id="rfc.iref.e.6"></div><div id="rfc.iref.b.4"></div><h2 id="rfc.section.10.5"><a href="#rfc.section.10.5">10.5</a> <a id="ext.element.bc" href="#ext.element.bc"><bc> element</a></h2><p id="rfc.section.10.5.p.1">Marking up a string as <bc> indicates that it represents a center line of a box drawing, replacing the "|" character accordingly.</p><div id="rfc.iref.e.7"></div><div id="rfc.iref.b.5"></div><h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a> <a id="ext.element.blockquote" href="#ext.element.blockquote"><blockquote> element</a></h2><p id="rfc.section.10.6.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE">blockquote</a>" element in <a href="#HTML" id="rfc.xref.HTML.2"><cite title="HTML 4.01 Specification">[HTML]</cite></a> (note this is a block-level element!). It should contain one or more <t> child elements.</p><div id="rfc.iref.e.8"></div><div id="rfc.iref.b.6"></div><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a> <a id="ext.element.bt" href="#ext.element.bt"><bt> element</a></h2><p id="rfc.section.10.7.p.1">Marking up a string as <bt> indicates that it represents the top line of a box drawing, replacing the "+" and "-" characters accordingly.</p><div id="rfc.iref.e.9"></div><div id="rfc.iref.d.8"></div><h2 id="rfc.section.10.8"><a href="#rfc.section.10.8">10.8</a> <a id="ext.element.dfn" href="#ext.element.dfn"><dfn> element</a></h2><p id="rfc.section.10.8.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-DFN">dfn</a>" element in <a href="#HTML" id="rfc.xref.HTML.3"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.10"></div><div id="rfc.iref.h.12"></div><h2 id="rfc.section.10.9"><a href="#rfc.section.10.9">10.9</a> <a id="ext.element.h" href="#ext.element.h"><h> element</a></h2><p id="rfc.section.10.9.p.1">This element is like the "<a href="http://www.w3.org/TR/2006/WD-xhtml2-20060726/mod-structural.html#edef_structural_h">h</a>" element in <a href="#XHTML2" id="rfc.xref.XHTML2.1"><cite title="XHTML™ 2.0">[XHTML2]</cite></a>.</p><div id="rfc.iref.e.11"></div><div id="rfc.iref.l.2"></div><h2 id="rfc.section.10.10"><a href="#rfc.section.10.10">10.10</a> <a id="ext.element.length-of" href="#ext.element.length-of"><length-of> element</a></h2><p id="rfc.section.10.10.p.1">This element can be used to insert the length of another formatted section (in decimal).</p><div id="rfc.figure.u.10"></div> <p>Example: computing the Content-Length header value</p> <pre class="text"><artwork> 395 395 ... 396 396 Content-Length: <x:length-of target="req"/> … … 398 398 <x:span anchor="req">123456789 399 399 <x:span><artwork/> 400 </pre> <p id="rfc.section.10. 9.p.3">The lenght computation counts line ends as two characters (CRLF).</p><p id="rfc.section.10.9.p.4">Note that indentation characters in artwork <em>will</em> be counted. The "indented" attribute allows to specify the amount of indentation to be substracted from the computed length.</p><div id="rfc.iref.e.11"></div><div id="rfc.iref.l.3"></div><h2 id="rfc.section.10.10"><a href="#rfc.section.10.10">10.10</a> <a id="ext.element.link" href="#ext.element.link"><link> element</a></h2><p id="rfc.section.10.10.p.1">This element can be added as a top-level child element below <rfc> to indicate additional link information. It's currently used only when generating HTML output, in which case an HTML <a href="http://www.w3.org/TR/html4/struct/links.html#edef-LINK"><link></a> element with identical attributes gets generated.</p><div id="rfc.figure.u.11"></div> <p>Example: generating HTML link element</p> <pre class="text"> <x:link xmlns="http://purl.org/net/xml2rfc/ext"400 </pre> <p id="rfc.section.10.10.p.3">The lenght computation counts line ends as two characters (CRLF).</p><p id="rfc.section.10.10.p.4">Note that indentation characters in artwork <em>will</em> be counted. The "indented" attribute allows to specify the amount of indentation to be substracted from the computed length.</p><div id="rfc.iref.e.12"></div><div id="rfc.iref.l.3"></div><h2 id="rfc.section.10.11"><a href="#rfc.section.10.11">10.11</a> <a id="ext.element.link" href="#ext.element.link"><link> element</a></h2><p id="rfc.section.10.11.p.1">This element can be added as a top-level child element below <rfc> to indicate additional link information. It's currently used only when generating HTML output, in which case an HTML <a href="http://www.w3.org/TR/html4/struct/links.html#edef-LINK"><link></a> element with identical attributes gets generated.</p><div id="rfc.figure.u.11"></div> <p>Example: generating HTML link element</p> <pre class="text"> <x:link xmlns="http://purl.org/net/xml2rfc/ext" 401 401 rel="Bookmark" 402 402 title="IETF WEBDAV Working Group" 403 href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/></pre> <div id="rfc.iref.e.1 2"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.11"><a href="#rfc.section.10.11">10.11</a> <a id="ext.element.lt" href="#ext.element.lt"><lt> element</a></h2><p id="rfc.section.10.11.p.1">Used for grouping multiple <t> elements into a single list item.</p><div id="rfc.iref.e.13"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.12"><a href="#rfc.section.10.12">10.12</a> <a id="ext.element.q" href="#ext.element.q"><q> element</a></h2><p id="rfc.section.10.12.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.14"></div><div id="rfc.iref.r.21"></div><h2 id="rfc.section.10.13"><a href="#rfc.section.10.13">10.13</a> <a id="ext.element.ref" href="#ext.element.ref"><ref> element</a></h2><p id="rfc.section.10.13.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.13.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">403 href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/></pre> <div id="rfc.iref.e.13"></div><div id="rfc.iref.l.4"></div><h2 id="rfc.section.10.12"><a href="#rfc.section.10.12">10.12</a> <a id="ext.element.lt" href="#ext.element.lt"><lt> element</a></h2><p id="rfc.section.10.12.p.1">Used for grouping multiple <t> elements into a single list item.</p><div id="rfc.iref.e.14"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.13"><a href="#rfc.section.10.13">10.13</a> <a id="ext.element.q" href="#ext.element.q"><q> element</a></h2><p id="rfc.section.10.13.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-Q">q</a>" element in <a href="#HTML" id="rfc.xref.HTML.4"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><div id="rfc.iref.e.15"></div><div id="rfc.iref.r.21"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a> <a id="ext.element.ref" href="#ext.element.ref"><ref> element</a></h2><p id="rfc.section.10.14.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.14.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"> 404 404 <x:anchor-alias value="alias1"/> 405 405 <x:anchor-alias value="alias 2"/> 406 406 ... 407 </section></pre> <p id="rfc.section.10.1 3.p.4">the following simple references</p><div id="rfc.figure.u.13"></div> <pre class="text"> <x:ref>test</x:ref>407 </section></pre> <p id="rfc.section.10.14.p.4">the following simple references</p><div id="rfc.figure.u.13"></div> <pre class="text"> <x:ref>test</x:ref> 408 408 <x:ref>alias1</x:ref> 409 <x:ref>alias 2</x:ref></pre> <p id="rfc.section.10.1 3.p.6">are equivalent to...:</p><div id="rfc.figure.u.14"></div> <pre class="text"> <xref target="test">test</xref>409 <x:ref>alias 2</x:ref></pre> <p id="rfc.section.10.14.p.6">are equivalent to...:</p><div id="rfc.figure.u.14"></div> <pre class="text"> <xref target="test">test</xref> 410 410 <xref target="test">alias1</xref> 411 <xref target="test">alias 2</xref></pre> <div id="rfc.iref.e.1 5"></div><div id="rfc.iref.s.12"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a> <a id="ext.element.source" href="#ext.element.source"><source> element</a></h2><p id="rfc.section.10.14.p.1">Can be used to enhance a <reference> with information about the location for the XML source. This can be used by the <xref> processing code to automatically extract the target section number.</p><div id="rfc.figure.u.15"></div> <p>For example:</p> <pre class="text"> ...411 <xref target="test">alias 2</xref></pre> <div id="rfc.iref.e.16"></div><div id="rfc.iref.s.12"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext.element.source" href="#ext.element.source"><source> element</a></h2><p id="rfc.section.10.15.p.1">Can be used to enhance a <reference> with information about the location for the XML source. This can be used by the <xref> processing code to automatically extract the target section number.</p><div id="rfc.figure.u.15"></div> <p>For example:</p> <pre class="text"> ... 412 412 <xref target="RFC2616" x:fmt="of" x:rel="#PUT" /> 413 413 ... … … 417 417 <x:source href="rfc2616.xml"/> 418 418 ... 419 </pre> <div id="rfc.iref.e.1 6"></div><div id="rfc.iref.s.13"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext.element.sup" href="#ext.element.sup"><sup> element</a></h2><p id="rfc.section.10.15.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</a>" element in <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><p id="rfc.section.10.15.p.2">Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".</p><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></h2><p id="rfc.section.10.16.p.1">The extension attribute below is allowed on the standard <iref> element: </p><ul><li>x:for-anchor specifies that the <iref> will also be automatically inserted whenever the specified anchor is cross-referenced -- this may save entering lots of <iref> instances. As a special case, a value of "" (empty string) refers to the anchor attribute of the closest ancestor.</li></ul><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></h2><p id="rfc.section.10.17.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:indent specifies the amount of indentation for list items in hanging lists. This can be useful when the output format, such as XSL-FO, does not support automatical formatting. The value takes an XSL-FO width, such as "5em". The default is <em>length of longest label in characters</em> times <em>0.8em</em>.</li></ul><p id="rfc.section.10.17.p.2">Also, the <list> element can take <x:<a href="#ext.element.lt" class="smpl">lt</a>> child elements instead of <t>, allowing to insert multiple paragraphs into a single list item.</p><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></h2><p id="rfc.section.10.18.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:fixed-section-number can be used to specify a fixed section number. This can be useful when formatting historic documents that used a different numbering style.</li></ul><h2 id="rfc.section.10.19"><a href="#rfc.section.10.19">10.19</a> <a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></h2><p id="rfc.section.10.19.p.1">Three extension attributes are allowed on the standard <xref> element: </p><ol><li>x:sec can be specified to point to a specific section of the referenced document,</li><li>x:rel may specify a relative reference to use when linking into the referenced document (if linking by section number is not available),</li><li>x:fmt defines the text format to be used.</li></ol><p id="rfc.section.10.19.p.2">The following formats are defined for the x:fmt attribute: </p><dl><dt>, (Comma)</dt><dd>[<em>reference</em>], Section <em>sec</em> </dd><dt>()</dt><dd>[<em>reference</em>] (Section <em>sec</em>)</dd><dt>anchor</dt><dd>Like the default format, but without brackets.</dd><dt>of</dt><dd>Section <em>sec</em> of [<em>reference</em>]</dd><dt>number</dt><dd> <em>sec</em> </dd><dt>none</dt><dd>No output (can be used to have xrefs to references without having them rendered as such)</dd><dt>sec</dt><dd>Section <em>sec</em> </dd></dl><p id="rfc.section.10.19.p.3">These extensions are currently only supported for <xref> elements without child nodes.</p><p id="rfc.section.10.19.p.4">If the processor knows how to reference the target section, it will generate a link directly to the target section, such as in <a href="#RFC2119" id="rfc.xref.RFC2119.2"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>, <a href="http://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> <a id="utilities" href="#utilities">Utilities</a></h1><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a> <a id="checking-references" href="#checking-references">Checking References</a></h2><p id="rfc.section.11.1.p.1"> <samp>check-references.xslt</samp> can be used to check all references to RFC- and ID-series IETF publications and to W3C publications (note this script requires local copies of <<a href="ftp://ftp.isi.edu/in-notes/rfc-index.xml">ftp://ftp.isi.edu/in-notes/rfc-index.xml</a>> and <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>> and will use the XML status information provided at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>>).</p><p id="rfc.section.11.1.p.2">If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <samp>intended-level</samp> as 'PROPOSED', 'DRAFT' or 'STANDARD'.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2006-08-06, the script produces for <<a href="http://greenbytes.de/tech/webdav/rfc2518.xml">http://greenbytes.de/tech/webdav/rfc2518.xml</a>>:</p> <pre class="text">> saxon rfc2518.xml check-references.xslt419 </pre> <div id="rfc.iref.e.17"></div><div id="rfc.iref.s.13"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext.element.sup" href="#ext.element.sup"><sup> element</a></h2><p id="rfc.section.10.16.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</a>" element in <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><p id="rfc.section.10.16.p.2">Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".</p><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></h2><p id="rfc.section.10.17.p.1">The extension attribute below is allowed on the standard <iref> element: </p><ul><li>x:for-anchor specifies that the <iref> will also be automatically inserted whenever the specified anchor is cross-referenced -- this may save entering lots of <iref> instances. As a special case, a value of "" (empty string) refers to the anchor attribute of the closest ancestor.</li></ul><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></h2><p id="rfc.section.10.18.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:indent specifies the amount of indentation for list items in hanging lists. This can be useful when the output format, such as XSL-FO, does not support automatical formatting. The value takes an XSL-FO width, such as "5em". The default is <em>length of longest label in characters</em> times <em>0.8em</em>.</li></ul><p id="rfc.section.10.18.p.2">Also, the <list> element can take <x:<a href="#ext.element.lt" class="smpl">lt</a>> child elements instead of <t>, allowing to insert multiple paragraphs into a single list item.</p><h2 id="rfc.section.10.19"><a href="#rfc.section.10.19">10.19</a> <a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></h2><p id="rfc.section.10.19.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:fixed-section-number can be used to specify a fixed section number. This can be useful when formatting historic documents that used a different numbering style.</li></ul><h2 id="rfc.section.10.20"><a href="#rfc.section.10.20">10.20</a> <a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></h2><p id="rfc.section.10.20.p.1">Three extension attributes are allowed on the standard <xref> element: </p><ol><li>x:sec can be specified to point to a specific section of the referenced document,</li><li>x:rel may specify a relative reference to use when linking into the referenced document (if linking by section number is not available),</li><li>x:fmt defines the text format to be used.</li></ol><p id="rfc.section.10.20.p.2">The following formats are defined for the x:fmt attribute: </p><dl><dt>, (Comma)</dt><dd>[<em>reference</em>], Section <em>sec</em> </dd><dt>()</dt><dd>[<em>reference</em>] (Section <em>sec</em>)</dd><dt>anchor</dt><dd>Like the default format, but without brackets.</dd><dt>of</dt><dd>Section <em>sec</em> of [<em>reference</em>]</dd><dt>number</dt><dd> <em>sec</em> </dd><dt>none</dt><dd>No output (can be used to have xrefs to references without having them rendered as such)</dd><dt>sec</dt><dd>Section <em>sec</em> </dd></dl><p id="rfc.section.10.20.p.3">These extensions are currently only supported for <xref> elements without child nodes.</p><p id="rfc.section.10.20.p.4">If the processor knows how to reference the target section, it will generate a link directly to the target section, such as in <a href="#RFC2119" id="rfc.xref.RFC2119.2"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>, <a href="http://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> <a id="utilities" href="#utilities">Utilities</a></h1><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a> <a id="checking-references" href="#checking-references">Checking References</a></h2><p id="rfc.section.11.1.p.1"> <samp>check-references.xslt</samp> can be used to check all references to RFC- and ID-series IETF publications and to W3C publications (note this script requires local copies of <<a href="ftp://ftp.isi.edu/in-notes/rfc-index.xml">ftp://ftp.isi.edu/in-notes/rfc-index.xml</a>> and <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>> and will use the XML status information provided at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>>).</p><p id="rfc.section.11.1.p.2">If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <samp>intended-level</samp> as 'PROPOSED', 'DRAFT' or 'STANDARD'.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2006-08-06, the script produces for <<a href="http://greenbytes.de/tech/webdav/rfc2518.xml">http://greenbytes.de/tech/webdav/rfc2518.xml</a>>:</p> <pre class="text">> saxon rfc2518.xml check-references.xslt 420 420 421 421 Normative References: … … 484 484 <strong>| spanx</strong> 485 485 <strong>| xref</strong> 486 <strong>| <a href="#x_abnf-char-sequence" class="smpl">x_abnf-char-sequence</a></strong> 486 487 <strong>| <a href="#x_bb" class="smpl">x_bb</a></strong> 487 488 <strong>| <a href="#x_bc" class="smpl">x_bc</a></strong> … … 605 606 | spanx 606 607 | vspace 608 <strong>| <a href="#x_abnf-char-sequence" class="smpl">x_abnf-char-sequence</a></strong> 607 609 <strong>| <a href="#x_anchor-alias" class="smpl">x_anchor-alias</a></strong> 608 610 <strong>| <a href="#x_bcp14" class="smpl">x_bcp14</a></strong> … … 615 617 } 616 618 617 <em># Extend attribute set for <iref> (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref> element">Section 10.1 6</a>)</em>619 <em># Extend attribute set for <iref> (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref> element">Section 10.17</a>)</em> 618 620 attlist.iref &= 619 621 attribute x:for-anchor { ATEXT }? 620 622 621 <em># Extend attribute set for <list> (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list> element">Section 10.1 7</a>)</em>623 <em># Extend attribute set for <list> (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list> element">Section 10.18</a>)</em> 622 624 attlist.list &= 623 625 attribute x:indent { ATEXT }? … … 631 633 attribute grddl:transformation { ATEXT }? 632 634 633 <em># Extend attribute set for <section> (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section> element">Section 10.1 8</a>)</em>635 <em># Extend attribute set for <section> (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section> element">Section 10.19</a>)</em> 634 636 attlist.section &= 635 637 attribute x:fixed-section-number { ATEXT }? … … 639 641 attribute anchor { xsd:ID }? 640 642 641 <em># Extend attribute set for <xref> (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref> element">Section 10. 19</a>)</em>643 <em># Extend attribute set for <xref> (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref> element">Section 10.20</a>)</em> 642 644 attlist.xref &= 643 645 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | … … 646 648 attribute x:sec { ATEXT }? 647 649 648 <em id="x_anchor-alias"><span id="rfc.iref.a.28"></span><span id="rfc.iref.e.17"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias> element">Section 10.1</a>)</em> 650 <em id="x_abnf-char-sequence"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.18"></span># Conversion to ABNF char sequence (see <a href="#ext.element.abnf-char-sequence" title="<abnf-char-sequence> element">Section 10.1</a>)</em> 651 <a href="#x_abnf-char-sequence" class="smpl">x_abnf-char-sequence</a> = 652 element x:abnf-char-sequence { 653 TEXT 654 } 655 656 <em id="x_anchor-alias"><span id="rfc.iref.a.30"></span><span id="rfc.iref.e.19"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias> element">Section 10.2</a>)</em> 649 657 <a href="#x_anchor-alias" class="smpl">x_anchor-alias</a> = 650 658 element x:anchor-alias { … … 653 661 } 654 662 655 <em id="x_assign-section-number"><span id="rfc.iref.a. 29"></span><span id="rfc.iref.e.18"></span># Setting section numbers for internally generated sections663 <em id="x_assign-section-number"><span id="rfc.iref.a.31"></span><span id="rfc.iref.e.20"></span># Setting section numbers for internally generated sections 656 664 # (experimental)</em> 657 665 <a href="#x_assign-section-number" class="smpl">x_assign-section-number</a> = … … 662 670 } 663 671 664 <em id="x_bb"><span id="rfc.iref.b.7"></span><span id="rfc.iref.e. 19"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb> element">Section 10.3</a>)</em>672 <em id="x_bb"><span id="rfc.iref.b.7"></span><span id="rfc.iref.e.21"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb> element">Section 10.4</a>)</em> 665 673 <a href="#x_bb" class="smpl">x_bb</a> = 666 674 element x:bb { … … 674 682 } 675 683 676 <em id="x_bc"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.2 0"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc> element">Section 10.4</a>)</em>684 <em id="x_bc"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.22"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc> element">Section 10.5</a>)</em> 677 685 <a href="#x_bc" class="smpl">x_bc</a> = 678 686 element x:bc { … … 686 694 } 687 695 688 <em id="x_bcp14"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.2 1"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.2</a>)</em>696 <em id="x_bcp14"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.23"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.3</a>)</em> 689 697 <a href="#x_bcp14" class="smpl">x_bcp14</a> = 690 698 element x:bcp14 { … … 702 710 } 703 711 704 <em id="x_blockquote"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.2 2"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.5</a>)</em>712 <em id="x_blockquote"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.24"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.6</a>)</em> 705 713 <a href="#x_blockquote" class="smpl">x_blockquote</a> = 706 714 element x:blockquote { … … 709 717 } 710 718 711 <em id="x_bt"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.2 3"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt> element">Section 10.6</a>)</em>719 <em id="x_bt"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.25"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt> element">Section 10.7</a>)</em> 712 720 <a href="#x_bt" class="smpl">x_bt</a> = 713 721 element x:bt { … … 721 729 } 722 730 723 <em id="x_dfn"><span id="rfc.iref.d.9"></span><span id="rfc.iref.e.2 4"></span># Definition (see <a href="#ext.element.dfn" title="<dfn> element">Section 10.7</a>)</em>731 <em id="x_dfn"><span id="rfc.iref.d.9"></span><span id="rfc.iref.e.26"></span># Definition (see <a href="#ext.element.dfn" title="<dfn> element">Section 10.8</a>)</em> 724 732 <a href="#x_dfn" class="smpl">x_dfn</a> = 725 733 element x:dfn { … … 728 736 } 729 737 730 <em id="x_h"><span id="rfc.iref.h.13"></span><span id="rfc.iref.e.2 5"></span># Heading (see <a href="#ext.element.h" title="<h> element">Section 10.8</a>)</em>738 <em id="x_h"><span id="rfc.iref.h.13"></span><span id="rfc.iref.e.27"></span># Heading (see <a href="#ext.element.h" title="<h> element">Section 10.9</a>)</em> 731 739 <a href="#x_h" class="smpl">x_h</a> = 732 740 element x:h { … … 734 742 } 735 743 736 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.2 6"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of> element">Section 10.9</a>)</em>744 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.28"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of> element">Section 10.10</a>)</em> 737 745 <a href="#x_length-of" class="smpl">x_length-of</a> = 738 746 element x:length-of { … … 742 750 } 743 751 744 <em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.2 7"></span># Link (see <a href="#ext.element.link" title="<link> element">Section 10.10</a>)</em>752 <em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.29"></span># Link (see <a href="#ext.element.link" title="<link> element">Section 10.11</a>)</em> 745 753 <a href="#x_link" class="smpl">x_link</a> = 746 754 element x:link { … … 751 759 } 752 760 753 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e. 28"></span># Extended list item (see <a href="#ext.element.lt" title="<lt> element">Section 10.11</a>)</em>761 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.30"></span># Extended list item (see <a href="#ext.element.lt" title="<lt> element">Section 10.12</a>)</em> 754 762 <a href="#x_lt" class="smpl">x_lt</a> = 755 763 element x:lt { … … 759 767 } 760 768 761 <em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e. 29"></span># Inline quote (see <a href="#ext.element.q" title="<q> element">Section 10.12</a>)</em>769 <em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e.31"></span># Inline quote (see <a href="#ext.element.q" title="<q> element">Section 10.13</a>)</em> 762 770 <a href="#x_q" class="smpl">x_q</a> = 763 771 element x:q { … … 765 773 } 766 774 767 <em id="x_ref"><span id="rfc.iref.r.23"></span><span id="rfc.iref.e.3 0"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref> element">Section 10.13</a>)</em>775 <em id="x_ref"><span id="rfc.iref.r.23"></span><span id="rfc.iref.e.32"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref> element">Section 10.14</a>)</em> 768 776 <a href="#x_ref" class="smpl">x_ref</a> = 769 777 element x:ref { … … 771 779 } 772 780 773 <em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.3 1"></span># source information (see <a href="#ext.element.source" title="<source> element">Section 10.14</a>)</em>781 <em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.33"></span># source information (see <a href="#ext.element.source" title="<source> element">Section 10.15</a>)</em> 774 782 <a href="#x_source" class="smpl">x_source</a> = 775 783 element x:source { … … 779 787 } 780 788 781 <em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.3 2"></span># superscript (see <a href="#ext.element.sup" title="<sup> element">Section 10.15</a>)</em>789 <em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.34"></span># superscript (see <a href="#ext.element.sup" title="<sup> element">Section 10.16</a>)</em> 782 790 <a href="#x_sup" class="smpl">x_sup</a> = 783 791 element x:sup { … … 785 793 } 786 794 787 <em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.3 3"></span># Inline Span </em>795 <em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.35"></span># Inline Span </em> 788 796 <a href="#x_span" class="smpl">x_span</a> = 789 797 element x:span { … … 792 800 } 793 801 794 <em id="x_x"><span id="rfc.iref.x.27"></span><span id="rfc.iref.e.3 4"></span># Nop (for alignment in source)</em>802 <em id="x_x"><span id="rfc.iref.x.27"></span><span id="rfc.iref.e.36"></span># Nop (for alignment in source)</em> 795 803 <a href="#x_x" class="smpl">x_x</a> = 796 804 element x:x { 797 805 empty 798 806 } 799 </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-2008, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a> 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></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>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>< /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></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></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">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.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.28">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.29">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.3</b></a>, <a class="iref" href="#rfc.iref.b.7">A</a></li><li class="indline1">bc Extension Element <a class="iref" href="#rfc.iref.b.4"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bcp14 Extension Element <a class="iref" href="#rfc.iref.b.2"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">blockquote Extension Element <a class="iref" href="#rfc.iref.b.5"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1">bt Extension Element <a class="iref" href="#rfc.iref.b.6"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element <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.2">6.4</a></li><li class="indline1">DCMI properties <ul class="ind"><li class="indline1">Creator <a class="iref" href="#rfc.iref.d.1">6.4</a></li><li class="indline1">Date.Issued <a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1">Description.Abstract <a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">Identifier <a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Relation.Replaces <a class="iref" href="#rfc.iref.d.7">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property <a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">dfn Extension Element <a class="iref" href="#rfc.iref.d.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.d.9">A</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute <a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements <ul class="ind"><li class="indline1">anchor-alias <a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.17">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.18">A</a></li><li class="indline1">bb <a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.19">A</a></li><li class="indline1">bc <a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.20">A</a></li><li class="indline1">bcp14 <a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.21">A</a></li><li class="indline1">blockquote <a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">bt <a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">dfn <a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">h <a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">length-of <a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">link <a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">lt <a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">sup <a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.34">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox <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.1">6.3</a></li><li class="indline1">Grammar <a class="iref" href="#rfc.iref.g.2"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element <a class="iref" href="#rfc.iref.h.12"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.h.13">A</a></li><li class="indline1">header PI pseudo-attribute <a class="iref" href="#rfc.iref.h.1">3.1</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.5</a>, <a class="iref" href="#rfc.xref.HTML.3">10.7</a>, <a class="iref" href="#rfc.xref.HTML.4">10.12</a>, <a class="iref" href="#rfc.xref.HTML.5">10.15</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance <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.9">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-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.8">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">iprnotified PI pseudo-attribute <a class="iref" href="#rfc.iref.i.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute <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.9</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.10</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.11</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help <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></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.3">5.2</a><ul class="ind"><li class="indline1">9.5 <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters <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.40">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section <a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index <a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-justification <a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 <a class="iref" href="#rfc.iref.p.51">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-sortrefs <a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-symrefs <a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-toc <a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-tocdepth <a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-topblock <a class="iref" href="#rfc.iref.p.31">3.1</a></li></ul></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.p.47">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.39">3.3</a></li><li class="indline1">authors-section <a class="iref" href="#rfc.iref.p.41">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">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.45">3.3</a></li><li class="indline1">include <a class="iref" href="#rfc.iref.p.32">3.2</a></li><li class="indline1">include-references-in-index <a class="iref" href="#rfc.iref.p.43">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.33">3.2</a></li><li class="indline1">parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">private <a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">slides <a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">sortrefs <a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">strict <a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">subcompact <a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">support-rfc2731 <a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">symrefs <a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">toc <a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">tocdepth <a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocindent <a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">tocompact <a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">topblock <a class="iref" href="#rfc.iref.p.30">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element <a class="iref" href="#rfc.iref.q.1"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.21"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.r.23">A</a></li><li class="indline1">Relation.Replaces DCMI property <a class="iref" href="#rfc.iref.r.20">6.4</a></li><li class="indline1">RELAX NG Compact Schema <a class="iref" href="#rfc.iref.r.22"><b>A</b></a></li><li class="indline1">rfc.abstract anchor <a class="iref" href="#rfc.iref.r.1">4</a></li><li class="indline1">rfc.authors anchor <a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.copyright anchor <a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyrightnotice anchor <a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.figure.n anchor <a class="iref" href="#rfc.iref.r.5">4</a>, <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.figure.u.n anchor <a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.index anchor <a class="iref" href="#rfc.iref.r.7">4</a></li><li class="indline1">rfc.ipr anchor <a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.iref.n anchor <a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.note.n anchor <a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.references anchor <a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references.n anchor <a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.section.n anchor <a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n.p.m anchor <a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.status anchor <a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.toc anchor <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.xref.name.n anchor <a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">10.2</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.19</a>, <a class="iref" href="#RFC2119"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 5</em> <a class="iref" href="#rfc.xref.RFC2119.2">10.19</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"><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.14</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.15</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.27">A</a></li><li class="indline1">Xalan <a class="iref" href="#rfc.iref.x.24">5.1</a></li><li class="indline1"><em>XHTML2</em> <a class="iref" href="#rfc.xref.XHTML2.1">10.8</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI <a class="iref" href="#rfc.iref.x.26">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.17">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter <a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter <a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter <a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter <a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter <a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter <a class="iref" href="#rfc.iref.x.22">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-sortrefs parameter <a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter <a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-toc parameter <a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter <a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-topblock parameter <a class="iref" href="#rfc.iref.x.16">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.25">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>807 </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-2008, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a> 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></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>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></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></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></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.7">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.8">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.9">A</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.10">A</a></li><li class="indline1">bt Extension Element <a class="iref" href="#rfc.iref.b.6"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element <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.2">6.4</a></li><li class="indline1">DCMI properties <ul class="ind"><li class="indline1">Creator <a class="iref" href="#rfc.iref.d.1">6.4</a></li><li class="indline1">Date.Issued <a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1">Description.Abstract <a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">Identifier <a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Relation.Replaces <a class="iref" href="#rfc.iref.d.7">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property <a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">dfn Extension Element <a class="iref" href="#rfc.iref.d.8"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.d.9">A</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute <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.18">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.19">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.20">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.21">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.22">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.23">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.24">A</a></li><li class="indline1">bt <a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">dfn <a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">h <a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">length-of <a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">link <a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">lt <a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">sup <a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.36">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox <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.1">6.3</a></li><li class="indline1">Grammar <a class="iref" href="#rfc.iref.g.2"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element <a class="iref" href="#rfc.iref.h.12"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.h.13">A</a></li><li class="indline1">header PI pseudo-attribute <a class="iref" href="#rfc.iref.h.1">3.1</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.8</a>, <a class="iref" href="#rfc.xref.HTML.4">10.13</a>, <a class="iref" href="#rfc.xref.HTML.5">10.16</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance <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.9">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-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.8">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">iprnotified PI pseudo-attribute <a class="iref" href="#rfc.iref.i.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute <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.10</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.11</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.12</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help <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></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></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.40">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section <a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index <a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-justification <a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 <a class="iref" href="#rfc.iref.p.51">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-sortrefs <a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-symrefs <a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-toc <a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-tocdepth <a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-topblock <a class="iref" href="#rfc.iref.p.31">3.1</a></li></ul></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.p.47">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.39">3.3</a></li><li class="indline1">authors-section <a class="iref" href="#rfc.iref.p.41">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">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.45">3.3</a></li><li class="indline1">include <a class="iref" href="#rfc.iref.p.32">3.2</a></li><li class="indline1">include-references-in-index <a class="iref" href="#rfc.iref.p.43">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.33">3.2</a></li><li class="indline1">parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">private <a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">slides <a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">sortrefs <a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">strict <a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">subcompact <a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">support-rfc2731 <a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">symrefs <a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">toc <a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">tocdepth <a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocindent <a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">tocompact <a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">topblock <a class="iref" href="#rfc.iref.p.30">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element <a class="iref" href="#rfc.iref.q.1"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.21"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.r.23">A</a></li><li class="indline1">Relation.Replaces DCMI property <a class="iref" href="#rfc.iref.r.20">6.4</a></li><li class="indline1">RELAX NG Compact Schema <a class="iref" href="#rfc.iref.r.22"><b>A</b></a></li><li class="indline1">rfc.abstract anchor <a class="iref" href="#rfc.iref.r.1">4</a></li><li class="indline1">rfc.authors anchor <a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.copyright anchor <a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyrightnotice anchor <a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.figure.n anchor <a class="iref" href="#rfc.iref.r.5">4</a>, <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.figure.u.n anchor <a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.index anchor <a class="iref" href="#rfc.iref.r.7">4</a></li><li class="indline1">rfc.ipr anchor <a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.iref.n anchor <a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.note.n anchor <a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.references anchor <a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references.n anchor <a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.section.n anchor <a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n.p.m anchor <a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.status anchor <a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.toc anchor <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.xref.name.n anchor <a class="iref" href="#rfc.iref.r.19">4</a></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.20</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.20</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"><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.15</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.16</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.27">A</a></li><li class="indline1">Xalan <a class="iref" href="#rfc.iref.x.24">5.1</a></li><li class="indline1"><em>XHTML2</em> <a class="iref" href="#rfc.xref.XHTML2.1">10.9</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI <a class="iref" href="#rfc.iref.x.26">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.17">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter <a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter <a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter <a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter <a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter <a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter <a class="iref" href="#rfc.iref.x.22">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-sortrefs parameter <a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter <a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-toc parameter <a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter <a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-topblock parameter <a class="iref" href="#rfc.iref.x.16">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.25">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
r246 r272 4 4 RFC2629 through XSLT J. Reschke 5 5 greenbytes 6 April20086 July 6, 2008 7 7 8 8 … … 37 37 9.2. Via X(HTML) . . . . . . . . . . . . . . . . . . . . . . . 20 38 38 10. Generic Extensions . . . . . . . . . . . . . . . . . . . . . . 21 39 10.1. <a nchor-alias> element . . .. . . . . . . . . . . . . . 2140 10.2. < bcp14> element . . . .. . . . . . . . . . . . . . . . . 2141 10.3. <b b> element .. . . . . . . . . . . . . . . . . . . . . 2142 10.4. <b c> element . . . . . . . . . . . . . . . . . . . . . . 2243 10.5. <b lockquote> element. . . . . . . . . . . . . . . . . . 2244 10.6. <b t> element . . . .. . . . . . . . . . . . . . . . . . 2245 10.7. < dfn> element. . . . . . . . . . . . . . . . . . . . . . 2246 10.8. < h> element . . . . . . . . . . . . . . . . . . . . . . . 2247 10.9. < length-of> element . . . . . . . . . . . . . . . . . . . 2248 10.10. <l ink> element . .. . . . . . . . . . . . . . . . . . . 2349 10.11. <l t> element .. . . . . . . . . . . . . . . . . . . . . 2350 10.12. < q> element .. . . . . . . . . . . . . . . . . . . . . . 2351 10.13. < ref> element . . . . . . . . . . . . . . . . . . . . . . 2339 10.1. <abnf-char-sequence> element . . . . . . . . . . . . . . 21 40 10.2. <anchor-alias> element . . . . . . . . . . . . . . . . . 21 41 10.3. <bcp14> element . . . . . . . . . . . . . . . . . . . . . 21 42 10.4. <bb> element . . . . . . . . . . . . . . . . . . . . . . 22 43 10.5. <bc> element . . . . . . . . . . . . . . . . . . . . . . 22 44 10.6. <blockquote> element . . . . . . . . . . . . . . . . . . 22 45 10.7. <bt> element . . . . . . . . . . . . . . . . . . . . . . 22 46 10.8. <dfn> element . . . . . . . . . . . . . . . . . . . . . . 23 47 10.9. <h> element . . . . . . . . . . . . . . . . . . . . . . . 23 48 10.10. <length-of> element . . . . . . . . . . . . . . . . . . . 23 49 10.11. <link> element . . . . . . . . . . . . . . . . . . . . . 23 50 10.12. <lt> element . . . . . . . . . . . . . . . . . . . . . . 23 51 10.13. <q> element . . . . . . . . . . . . . . . . . . . . . . . 24 52 52 53 53 … … 56 56 57 57 58 Documentation RFC2629 through XSLT April200859 60 61 10.14. < source> element. . . . . . . . . . . . . . . . . . . . 2462 10.15. <s up> element . .. . . . . . . . . . . . . . . . . . . . 2463 10.16. Extensions to Xml2rfc <iref> element . . . . . . . . . . 2464 10.17. Extensions to Xml2rfc < list> element . . . . . . . . . . 2465 10.18. Extensions to Xml2rfc < section> element. . . . . . . . . 2566 10.19. Extensions to Xml2rfc < xref> element .. . . . . . . . . 2567 11. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 2668 11.1. Checking References . . . . . . . . . . . . . . . . . . . 2669 11. 2. Generating Graphs from References. . . . . . . . . . . . 2770 11. 3. Producing reference entries for books . . . . . . . . . . 2771 11. 4. Down-converting to RFC2629bis DTD . .. . . . . . . . . . 2872 11. 5. Extracting artwork . . . . . . .. . . . . . . . . . . . 2973 11. 6. GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 2974 12. Informative References. . . . . . . . . . . . . . . . . . . . 3075 Appendix A. RELAX NG Compact Schema . . . . . . . . . . . . . . . 3276 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 4077 B.1. Recognized type attributes for <artwork> element . . . . 4078 Appendix C. License . . . . . . . . . . . . . . . . . . .. . . . 4179 Appendix D. Change Logs. . . . . . . . . . . . . . . . . . . . . 4280 D.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 4281 D. 2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 4282 D. 3. check-references.xslt . . . . . . . . . . . . . . . . . . 4283 D. 4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 4284 D. 5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 4385 D. 6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 5386 D. 7. xsl11toAn.xslt .. . . . . . . . . . . . . . . . . . . . 5487 D. 8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 5488 D. 9. xsl11toFop-0.93.xslt . . . . . . . . . . . . . . . . . . 5489 D. 10. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 5590 Index . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . 5691 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 6392 58 Documentation RFC2629 through XSLT July 2008 59 60 61 10.14. <ref> element . . . . . . . . . . . . . . . . . . . . . . 24 62 10.15. <source> element . . . . . . . . . . . . . . . . . . . . 24 63 10.16. <sup> element . . . . . . . . . . . . . . . . . . . . . . 25 64 10.17. Extensions to Xml2rfc <iref> element . . . . . . . . . . 25 65 10.18. Extensions to Xml2rfc <list> element . . . . . . . . . . 25 66 10.19. Extensions to Xml2rfc <section> element . . . . . . . . . 25 67 10.20. Extensions to Xml2rfc <xref> element . . . . . . . . . . 25 68 11. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 27 69 11.1. Checking References . . . . . . . . . . . . . . . . . . . 27 70 11.2. Generating Graphs from References . . . . . . . . . . . . 28 71 11.3. Producing reference entries for books . . . . . . . . . . 28 72 11.4. Down-converting to RFC2629bis DTD . . . . . . . . . . . . 29 73 11.5. Extracting artwork . . . . . . . . . . . . . . . . . . . 30 74 11.6. GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 30 75 12. Informative References . . . . . . . . . . . . . . . . . . . . 31 76 Appendix A. RELAX NG Compact Schema . . . . . . . . . . . . . . . 33 77 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 41 78 B.1. Recognized type attributes for <artwork> element . . . . 41 79 Appendix C. License . . . . . . . . . . . . . . . . . . . . . . . 42 80 Appendix D. Change Logs . . . . . . . . . . . . . . . . . . . . . 43 81 D.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 43 82 D.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 43 83 D.3. check-references.xslt . . . . . . . . . . . . . . . . . . 43 84 D.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 44 85 D.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 44 86 D.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 54 87 D.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 55 88 D.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 55 89 D.9. xsl11toFop-0.93.xslt . . . . . . . . . . . . . . . . . . 56 90 D.10. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 56 91 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 92 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 64 93 93 94 94 … … 113 113 114 114 115 Documentation RFC2629 through XSLT April2008115 Documentation RFC2629 through XSLT July 2008 116 116 117 117 … … 170 170 171 171 172 Documentation RFC2629 through XSLT April2008172 Documentation RFC2629 through XSLT July 2008 173 173 174 174 … … 227 227 228 228 229 Documentation RFC2629 through XSLT April2008229 Documentation RFC2629 through XSLT July 2008 230 230 231 231 … … 284 284 285 285 286 Documentation RFC2629 through XSLT April2008286 Documentation RFC2629 through XSLT July 2008 287 287 288 288 … … 341 341 342 342 343 Documentation RFC2629 through XSLT April2008343 Documentation RFC2629 through XSLT July 2008 344 344 345 345 … … 398 398 399 399 400 Documentation RFC2629 through XSLT April2008400 Documentation RFC2629 through XSLT July 2008 401 401 402 402 … … 455 455 456 456 457 Documentation RFC2629 through XSLT April2008457 Documentation RFC2629 through XSLT July 2008 458 458 459 459 … … 512 512 513 513 514 Documentation RFC2629 through XSLT April2008514 Documentation RFC2629 through XSLT July 2008 515 515 516 516 … … 569 569 570 570 571 Documentation RFC2629 through XSLT April2008571 Documentation RFC2629 through XSLT July 2008 572 572 573 573 … … 626 626 627 627 628 Documentation RFC2629 through XSLT April2008628 Documentation RFC2629 through XSLT July 2008 629 629 630 630 … … 683 683 684 684 685 Documentation RFC2629 through XSLT April2008685 Documentation RFC2629 through XSLT July 2008 686 686 687 687 … … 718 718 o Internet Explorer 7 719 719 720 o Firefox 3.* (currently only test builds available) 721 722 o Opera 9.5 (currently only test builds available) 720 o Firefox 3.* (release candidate available) 723 721 724 722 o Safari 3 (starting with version 3.0.4) … … 730 728 731 729 o Opera 9.21: execution fails, potentially to a somewhat complex 732 XPath expression (reported to Opera as bug 245725). 730 XPath expression (reported to Opera as bug 245725). Opera 9.5: 731 transformation appears to work, but CSS isn't getting applied 732 (repored to Opera as bug 337388 on 2008-06-12). 733 733 734 734 o Safari 2.* supports client-side XSLT as of MacOS X 10.4, but … … 740 740 741 741 742 Documentation RFC2629 through XSLT April2008742 Documentation RFC2629 through XSLT July 2008 743 743 744 744 … … 797 797 798 798 799 Documentation RFC2629 through XSLT April2008799 Documentation RFC2629 through XSLT July 2008 800 800 801 801 … … 854 854 855 855 856 Documentation RFC2629 through XSLT April2008856 Documentation RFC2629 through XSLT July 2008 857 857 858 858 … … 911 911 912 912 913 Documentation RFC2629 through XSLT April2008913 Documentation RFC2629 through XSLT July 2008 914 914 915 915 … … 968 968 969 969 970 Documentation RFC2629 through XSLT April2008970 Documentation RFC2629 through XSLT July 2008 971 971 972 972 … … 1025 1025 1026 1026 1027 Documentation RFC2629 through XSLT April20081027 Documentation RFC2629 through XSLT July 2008 1028 1028 1029 1029 … … 1082 1082 1083 1083 1084 Documentation RFC2629 through XSLT April20081084 Documentation RFC2629 through XSLT July 2008 1085 1085 1086 1086 … … 1139 1139 1140 1140 1141 Documentation RFC2629 through XSLT April20081141 Documentation RFC2629 through XSLT July 2008 1142 1142 1143 1143 … … 1147 1147 using the extension namespace "http://purl.org/net/xml2rfc/ext". 1148 1148 1149 10.1. <anchor-alias> element 1149 10.1. <abnf-char-sequence> element 1150 1151 Converts the contained quoted string into a hex-encoded character 1152 sequence, for use in case-sensitive ABNF productions. 1153 1154 For instance, "<x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence>" 1155 gets converted to "%x48.54.54.50". 1156 1157 10.2. <anchor-alias> element 1150 1158 1151 1159 Using its "value" attribute, this element allows the definition of an … … 1156 1164 that apply to anchor elements (which are XML names). 1157 1165 1158 10. 2. <bcp14> element1166 10.3. <bcp14> element 1159 1167 1160 1168 This element marks the content as being one of the normative keywords 1161 1169 defined in [RFC2119]. 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 Reschke [Page 21] 1196 1197 1198 Documentation RFC2629 through XSLT July 2008 1199 1162 1200 1163 1201 The DOCTYPE definition below allows using these keywords using XML … … 1186 1224 >SHOULD NOT</bcp14>">]> 1187 1225 1188 10. 3. <bb> element1226 10.4. <bb> element 1189 1227 1190 1228 Marking up a string as <bb> indicates that it represents the bottom 1191 1229 line of a box drawing, replacing the "+" and "-" characters 1192 1193 1194 1195 Reschke [Page 21]1196 1197 1198 Documentation RFC2629 through XSLT April 20081199 1200 1201 1230 accordingly. 1202 1231 1203 10. 4. <bc> element1232 10.5. <bc> element 1204 1233 1205 1234 Marking up a string as <bc> indicates that it represents a center 1206 1235 line of a box drawing, replacing the "|" character accordingly. 1207 1236 1208 10. 5. <blockquote> element1237 10.6. <blockquote> element 1209 1238 1210 1239 This element is like the "blockquote" element in [HTML] (note this is … … 1212 1241 elements. 1213 1242 1214 10. 6. <bt> element1243 10.7. <bt> element 1215 1244 1216 1245 Marking up a string as <bt> indicates that it represents the top line 1217 1246 of a box drawing, replacing the "+" and "-" characters accordingly. 1218 1247 1219 10.7. <dfn> element 1248 1249 1250 1251 1252 Reschke [Page 22] 1253 1254 1255 Documentation RFC2629 through XSLT July 2008 1256 1257 1258 10.8. <dfn> element 1220 1259 1221 1260 This element is like the "dfn" element in [HTML]. 1222 1261 1223 10. 8. <h> element1262 10.9. <h> element 1224 1263 1225 1264 This element is like the "h" element in [XHTML2]. 1226 1265 1227 10. 9. <length-of> element1266 10.10. <length-of> element 1228 1267 1229 1268 This element can be used to insert the length of another formatted … … 1245 1284 be substracted from the computed length. 1246 1285 1247 1248 1249 1250 1251 1252 Reschke [Page 22] 1253 1254 1255 Documentation RFC2629 through XSLT April 2008 1256 1257 1258 10.10. <link> element 1286 10.11. <link> element 1259 1287 1260 1288 This element can be added as a top-level child element below <rfc> to … … 1270 1298 href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/> 1271 1299 1272 10.1 1. <lt> element1300 10.12. <lt> element 1273 1301 1274 1302 Used for grouping multiple <t> elements into a single list item. 1275 1303 1276 10.12. <q> element 1304 1305 1306 1307 1308 1309 Reschke [Page 23] 1310 1311 1312 Documentation RFC2629 through XSLT July 2008 1313 1314 1315 10.13. <q> element 1277 1316 1278 1317 This element is like the "q" element in [HTML]. 1279 1318 1280 10.1 3. <ref> element1319 10.14. <ref> element 1281 1320 1282 1321 This element is a simplified variant of the <xref> element, in that … … 1304 1343 <xref target="test">test</xref> 1305 1344 <xref target="test">alias1</xref> 1306 1307 1308 1309 Reschke [Page 23]1310 1311 1312 Documentation RFC2629 through XSLT April 20081313 1314 1315 1345 <xref target="test">alias 2</xref> 1316 1346 1317 10.1 4. <source> element1347 10.15. <source> element 1318 1348 1319 1349 Can be used to enhance a <reference> with information about the … … 1332 1362 ... 1333 1363 1334 10.15. <sup> element 1364 1365 1366 Reschke [Page 24] 1367 1368 1369 Documentation RFC2629 through XSLT July 2008 1370 1371 1372 10.16. <sup> element 1335 1373 1336 1374 This element is like the "sup" element in [HTML]. … … 1338 1376 Note: the down conversion to RFC2629 format replaces "x^y" by "x^y". 1339 1377 1340 10.1 6. Extensions to Xml2rfc <iref> element1378 10.17. Extensions to Xml2rfc <iref> element 1341 1379 1342 1380 The extension attribute below is allowed on the standard <iref> … … 1349 1387 closest ancestor. 1350 1388 1351 10.1 7. Extensions to Xml2rfc <list> element1389 10.18. Extensions to Xml2rfc <list> element 1352 1390 1353 1391 The extension attribute below is allowed on the standard <list> … … 1361 1399 1362 1400 Also, the <list> element can take <x:lt> child elements instead of 1363 1364 1365 1366 Reschke [Page 24]1367 1368 1369 Documentation RFC2629 through XSLT April 20081370 1371 1372 1401 <t>, allowing to insert multiple paragraphs into a single list item. 1373 1402 1374 10.1 8. Extensions to Xml2rfc <section> element1403 10.19. Extensions to Xml2rfc <section> element 1375 1404 1376 1405 The extension attribute below is allowed on the standard <list> … … 1381 1410 that used a different numbering style. 1382 1411 1383 10. 19. Extensions to Xml2rfc <xref> element1412 10.20. Extensions to Xml2rfc <xref> element 1384 1413 1385 1414 Three extension attributes are allowed on the standard <xref> … … 1388 1417 1. x:sec can be specified to point to a specific section of the 1389 1418 referenced document, 1419 1420 1421 1422 1423 Reschke [Page 25] 1424 1425 1426 Documentation RFC2629 through XSLT July 2008 1427 1390 1428 1391 1429 2. x:rel may specify a relative reference to use when linking into … … 1421 1459 1422 1460 1423 Reschke [Page 25] 1424 1425 1426 Documentation RFC2629 through XSLT April 2008 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 Reschke [Page 26] 1481 1482 1483 Documentation RFC2629 through XSLT July 2008 1427 1484 1428 1485 … … 1478 1535 1479 1536 1480 Reschke [Page 2 6]1481 1482 1483 Documentation RFC2629 through XSLT April20081537 Reschke [Page 27] 1538 1539 1540 Documentation RFC2629 through XSLT July 2008 1484 1541 1485 1542 … … 1535 1592 1536 1593 1537 Reschke [Page 2 7]1538 1539 1540 Documentation RFC2629 through XSLT April20081594 Reschke [Page 28] 1595 1596 1597 Documentation RFC2629 through XSLT July 2008 1541 1598 1542 1599 … … 1592 1649 1593 1650 1594 Reschke [Page 2 8]1595 1596 1597 Documentation RFC2629 through XSLT April20081651 Reschke [Page 29] 1652 1653 1654 Documentation RFC2629 through XSLT July 2008 1598 1655 1599 1656 … … 1649 1706 1650 1707 1651 Reschke [Page 29]1652 1653 1654 Documentation RFC2629 through XSLT April20081708 Reschke [Page 30] 1709 1710 1711 Documentation RFC2629 through XSLT July 2008 1655 1712 1656 1713 … … 1706 1763 1707 1764 1708 Reschke [Page 3 0]1709 1710 1711 Documentation RFC2629 through XSLT April20081765 Reschke [Page 31] 1766 1767 1768 Documentation RFC2629 through XSLT July 2008 1712 1769 1713 1770 … … 1763 1820 1764 1821 1765 Reschke [Page 3 1]1766 1767 1768 Documentation RFC2629 through XSLT April20081822 Reschke [Page 32] 1823 1824 1825 Documentation RFC2629 through XSLT July 2008 1769 1826 1770 1827 … … 1797 1854 | spanx 1798 1855 | xref 1856 | x_abnf-char-sequence 1799 1857 | x_bb 1800 1858 | x_bc … … 1816 1874 | cref 1817 1875 | spanx 1876 1877 1878 1879 Reschke [Page 33] 1880 1881 1882 Documentation RFC2629 through XSLT July 2008 1883 1884 1818 1885 | x_ref)* 1819 1820 1821 1822 Reschke [Page 32]1823 1824 1825 Documentation RFC2629 through XSLT April 20081826 1827 1828 1886 } 1829 1887 … … 1873 1931 element reference { 1874 1932 attlist.reference, 1933 1934 1935 1936 Reschke [Page 34] 1937 1938 1939 Documentation RFC2629 through XSLT July 2008 1940 1941 1875 1942 front, 1876 1877 1878 1879 Reschke [Page 33]1880 1881 1882 Documentation RFC2629 through XSLT April 20081883 1884 1885 1943 seriesInfo*, 1886 1944 format*, … … 1930 1988 | \list 1931 1989 | figure 1990 1991 1992 1993 Reschke [Page 35] 1994 1995 1996 Documentation RFC2629 through XSLT July 2008 1997 1998 1932 1999 | xref 1933 1934 1935 1936 Reschke [Page 34]1937 1938 1939 Documentation RFC2629 through XSLT April 20081940 1941 1942 2000 | eref 1943 2001 | iref … … 1945 2003 | spanx 1946 2004 | vspace 2005 | x_abnf-char-sequence 1947 2006 | x_anchor-alias 1948 2007 | x_bcp14 … … 1955 2014 } 1956 2015 1957 # Extend attribute set for <iref> (see Section 10.1 6)2016 # Extend attribute set for <iref> (see Section 10.17) 1958 2017 attlist.iref &= 1959 2018 attribute x:for-anchor { ATEXT }? 1960 2019 1961 # Extend attribute set for <list> (see Section 10.1 7)2020 # Extend attribute set for <list> (see Section 10.18) 1962 2021 attlist.list &= 1963 2022 attribute x:indent { ATEXT }? … … 1971 2030 attribute grddl:transformation { ATEXT }? 1972 2031 1973 # Extend attribute set for <section> (see Section 10.1 8)2032 # Extend attribute set for <section> (see Section 10.19) 1974 2033 attlist.section &= 1975 2034 attribute x:fixed-section-number { ATEXT }? … … 1979 2038 attribute anchor { xsd:ID }? 1980 2039 1981 # Extend attribute set for <xref> (see Section 10. 19)2040 # Extend attribute set for <xref> (see Section 10.20) 1982 2041 attlist.xref &= 1983 2042 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | … … 1986 2045 attribute x:sec { ATEXT }? 1987 2046 1988 # Aliasing of anchors (see Section 10.1) 2047 2048 2049 2050 Reschke [Page 36] 2051 2052 2053 Documentation RFC2629 through XSLT July 2008 2054 2055 2056 # Conversion to ABNF char sequence (see Section 10.1) 2057 x_abnf-char-sequence = 2058 element x:abnf-char-sequence { 2059 TEXT 2060 } 2061 2062 # Aliasing of anchors (see Section 10.2) 1989 2063 x_anchor-alias = 1990 1991 1992 1993 Reschke [Page 35]1994 1995 1996 Documentation RFC2629 through XSLT April 20081997 1998 1999 2064 element x:anchor-alias { 2000 2065 attribute value { TEXT }, … … 2011 2076 } 2012 2077 2013 # Bottom line of box drawing (see Section 10. 3)2078 # Bottom line of box drawing (see Section 10.4) 2014 2079 x_bb = 2015 2080 element x:bb { … … 2023 2088 } 2024 2089 2025 # Center line of box drawing (see Section 10. 4)2090 # Center line of box drawing (see Section 10.5) 2026 2091 x_bc = 2027 2092 element x:bc { … … 2035 2100 } 2036 2101 2037 # BCP14/RFC2119 keywords (see Section 10. 2)2102 # BCP14/RFC2119 keywords (see Section 10.3) 2038 2103 x_bcp14 = 2104 2105 2106 2107 Reschke [Page 37] 2108 2109 2110 Documentation RFC2629 through XSLT July 2008 2111 2112 2039 2113 element x:bcp14 { 2040 2114 "MAY" … … 2045 2119 | "RECOMMENDED" 2046 2120 | "REQUIRED" 2047 2048 2049 2050 Reschke [Page 36]2051 2052 2053 Documentation RFC2629 through XSLT April 20082054 2055 2056 2121 | "SHALL" 2057 2122 | "SHALL NOT" … … 2060 2125 } 2061 2126 2062 # Blockquote (see Section 10. 5)2127 # Blockquote (see Section 10.6) 2063 2128 x_blockquote = 2064 2129 element x:blockquote { … … 2067 2132 } 2068 2133 2069 # Top line of box drawing (see Section 10. 6)2134 # Top line of box drawing (see Section 10.7) 2070 2135 x_bt = 2071 2136 element x:bt { … … 2079 2144 } 2080 2145 2081 # Definition (see Section 10. 7)2146 # Definition (see Section 10.8) 2082 2147 x_dfn = 2083 2148 element x:dfn { … … 2086 2151 } 2087 2152 2088 # Heading (see Section 10. 8)2153 # Heading (see Section 10.9) 2089 2154 x_h = 2090 2155 element x:h { … … 2092 2157 } 2093 2158 2094 # Length Measurement (see Section 10. 9)2159 # Length Measurement (see Section 10.10) 2095 2160 x_length-of = 2161 2162 2163 2164 Reschke [Page 38] 2165 2166 2167 Documentation RFC2629 through XSLT July 2008 2168 2169 2096 2170 element x:length-of { 2097 2171 attribute indented { NUMBER }?, … … 2100 2174 } 2101 2175 2102 # Link (see Section 10.1 0)2176 # Link (see Section 10.11) 2103 2177 x_link = 2104 2105 2106 2107 Reschke [Page 37]2108 2109 2110 Documentation RFC2629 through XSLT April 20082111 2112 2113 2178 element x:link { 2114 2179 attribute href { URI }, … … 2118 2183 } 2119 2184 2120 # Extended list item (see Section 10.1 1)2185 # Extended list item (see Section 10.12) 2121 2186 x_lt = 2122 2187 element x:lt { … … 2126 2191 } 2127 2192 2128 # Inline quote (see Section 10.1 2)2193 # Inline quote (see Section 10.13) 2129 2194 x_q = 2130 2195 element x:q { … … 2132 2197 } 2133 2198 2134 # Anchor reference (see Section 10.1 3)2199 # Anchor reference (see Section 10.14) 2135 2200 x_ref = 2136 2201 element x:ref { … … 2138 2203 } 2139 2204 2140 # source information (see Section 10.1 4)2205 # source information (see Section 10.15) 2141 2206 x_source = 2142 2207 element x:source { … … 2146 2211 } 2147 2212 2148 # superscript (see Section 10.1 5)2213 # superscript (see Section 10.16) 2149 2214 x_sup = 2150 2215 element x:sup { 2151 2216 TEXT 2152 2217 } 2218 2219 2220 2221 Reschke [Page 39] 2222 2223 2224 Documentation RFC2629 through XSLT July 2008 2225 2153 2226 2154 2227 # Inline Span … … 2159 2232 } 2160 2233 2161 2162 2163 2164 Reschke [Page 38]2165 2166 2167 Documentation RFC2629 through XSLT April 20082168 2169 2170 2234 # Nop (for alignment in source) 2171 2235 x_x = … … 2212 2276 2213 2277 2214 2215 2216 2217 2218 2219 2220 2221 Reschke [Page 39] 2222 2223 2224 Documentation RFC2629 through XSLT April 2008 2278 Reschke [Page 40] 2279 2280 2281 Documentation RFC2629 through XSLT July 2008 2225 2282 2226 2283 … … 2276 2333 2277 2334 2278 Reschke [Page 4 0]2279 2280 2281 Documentation RFC2629 through XSLT April20082335 Reschke [Page 41] 2336 2337 2338 Documentation RFC2629 through XSLT July 2008 2282 2339 2283 2340 … … 2333 2390 2334 2391 2335 Reschke [Page 4 1]2336 2337 2338 Documentation RFC2629 through XSLT April20082392 Reschke [Page 42] 2393 2394 2395 Documentation RFC2629 through XSLT July 2008 2339 2396 2340 2397 … … 2382 2439 2007-06-16 Fix bug looking up ref type when inside change markup. 2383 2440 2441 2008-06-14 Enhance output when draft was updated, and then published 2442 as RFC. 2443 2444 2445 2446 2447 2448 2449 Reschke [Page 43] 2450 2451 2452 Documentation RFC2629 through XSLT July 2008 2453 2454 2384 2455 D.4. gen-reference-graph.xslt 2385 2386 2387 2388 2389 2390 2391 2392 Reschke [Page 42]2393 2394 2395 Documentation RFC2629 through XSLT April 20082396 2397 2456 2398 2457 2006-09-03 New. … … 2445 2504 2446 2505 2447 2448 2449 Reschke [Page 43] 2450 2451 2452 Documentation RFC2629 through XSLT April 2008 2506 Reschke [Page 44] 2507 2508 2509 Documentation RFC2629 through XSLT July 2008 2453 2510 2454 2511 … … 2504 2561 2505 2562 2506 Reschke [Page 4 4]2507 2508 2509 Documentation RFC2629 through XSLT April20082563 Reschke [Page 45] 2564 2565 2566 Documentation RFC2629 through XSLT July 2008 2510 2567 2511 2568 … … 2561 2618 2562 2619 2563 Reschke [Page 4 5]2564 2565 2566 Documentation RFC2629 through XSLT April20082620 Reschke [Page 46] 2621 2622 2623 Documentation RFC2629 through XSLT July 2008 2567 2624 2568 2625 … … 2618 2675 2619 2676 2620 Reschke [Page 4 6]2621 2622 2623 Documentation RFC2629 through XSLT April20082677 Reschke [Page 47] 2678 2679 2680 Documentation RFC2629 through XSLT July 2008 2624 2681 2625 2682 … … 2675 2732 2676 2733 2677 Reschke [Page 4 7]2678 2679 2680 Documentation RFC2629 through XSLT April20082734 Reschke [Page 48] 2735 2736 2737 Documentation RFC2629 through XSLT July 2008 2681 2738 2682 2739 … … 2732 2789 2733 2790 2734 Reschke [Page 4 8]2735 2736 2737 Documentation RFC2629 through XSLT April20082791 Reschke [Page 49] 2792 2793 2794 Documentation RFC2629 through XSLT July 2008 2738 2795 2739 2796 … … 2789 2846 2790 2847 2791 Reschke [Page 49]2792 2793 2794 Documentation RFC2629 through XSLT April20082848 Reschke [Page 50] 2849 2850 2851 Documentation RFC2629 through XSLT July 2008 2795 2852 2796 2853 … … 2846 2903 2847 2904 2848 Reschke [Page 5 0]2849 2850 2851 Documentation RFC2629 through XSLT April20082905 Reschke [Page 51] 2906 2907 2908 Documentation RFC2629 through XSLT July 2008 2852 2909 2853 2910 … … 2903 2960 2904 2961 2905 Reschke [Page 5 1]2906 2907 2908 Documentation RFC2629 through XSLT April20082962 Reschke [Page 52] 2963 2964 2965 Documentation RFC2629 through XSLT July 2008 2909 2966 2910 2967 … … 2960 3017 2961 3018 2962 Reschke [Page 5 2]2963 2964 2965 Documentation RFC2629 through XSLT April20083019 Reschke [Page 53] 3020 3021 3022 Documentation RFC2629 through XSLT July 2008 2966 3023 2967 3024 … … 2992 3049 2008-04-01 Add support for superscript element. 2993 3050 3051 2008-06-28 Add sanity checks for email addresses, allow multiple 3052 email elements. 3053 3054 2008-07-06 Add x:abnf-char-sequence. 3055 2994 3056 D.6. rfc2629toFO.xslt 2995 3057 … … 3006 3068 2004-04-20 Add experimental cref support. 3007 3069 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54] 3077 3078 3079 Documentation RFC2629 through XSLT July 2008 3080 3081 3008 3082 2004-06-14 Set correct index-item defaults. 3009 3083 … … 3013 3087 by inserting zero-width spaces. 3014 3088 3015 3016 3017 3018 3019 Reschke [Page 53]3020 3021 3022 Documentation RFC2629 through XSLT April 20083023 3024 3025 3089 2004-09-26 Fix letter-style inside nested lists. 3026 3090 … … 3061 3125 D.8. xsl11toFop.xslt 3062 3126 3127 3128 3129 3130 3131 3132 3133 Reschke [Page 55] 3134 3135 3136 Documentation RFC2629 through XSLT July 2008 3137 3138 3063 3139 2004-05-17 Initial release. 3064 3140 … … 3067 3143 D.9. xsl11toFop-0.93.xslt 3068 3144 3069 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54]3077 3078 3079 Documentation RFC2629 through XSLT April 20083080 3081 3082 3145 2008-03-15 Add a workaround to the fo:inline workaround (sigh). 3083 3146 … … 3125 3188 3126 3189 3127 3128 3129 3130 3131 3132 3133 Reschke [Page 55] 3134 3135 3136 Documentation RFC2629 through XSLT April 2008 3190 Reschke [Page 56] 3191 3192 3193 Documentation RFC2629 through XSLT July 2008 3137 3194 3138 3195 … … 3140 3197 3141 3198 A 3199 abnf-char-sequence Extension Element 21, 33 3142 3200 allow-markup-in-artwork PI pseudo-attribute 8 3143 3201 alternate HTML LINK element 15 3144 anchor-alias Extension Element 21, 3 23202 anchor-alias Extension Element 21, 33 3145 3203 Anchors 3146 3204 rfc.abstract 12 … … 3163 3221 Apache FOP 19 3164 3222 appendix HTML LINK element 15 3165 assign-section-number Extension Element 3 23223 assign-section-number Extension Element 33 3166 3224 author HTML LINK element 15 3167 3225 authors-section PI pseudo-attribute 8 … … 3169 3227 B 3170 3228 background PI pseudo-attribute 6 3171 bb Extension Element 2 1, 323172 bc Extension Element 22, 3 23173 bcp14 Extension Element 21, 3 23174 blockquote Extension Element 22, 3 23175 bt Extension Element 22, 3 23229 bb Extension Element 22, 33 3230 bc Extension Element 22, 33 3231 bcp14 Extension Element 21, 33 3232 blockquote Extension Element 22, 33 3233 bt Extension Element 22, 33 3176 3234 3177 3235 C … … 3184 3242 Creator DCMI property 16 3185 3243 3244 3245 3246 3247 Reschke [Page 57] 3248 3249 3250 Documentation RFC2629 through XSLT July 2008 3251 3252 3186 3253 D 3187 3188 3189 3190 Reschke [Page 56]3191 3192 3193 Documentation RFC2629 through XSLT April 20083194 3195 3196 3254 Date.Issued DCMI property 16 3197 3255 DCMI properties … … 3202 3260 Relation.Replaces 16 3203 3261 Description.Abstract DCMI property 16 3204 dfn Extension Element 2 2, 323262 dfn Extension Element 23, 33 3205 3263 3206 3264 E 3207 3265 editing PI pseudo-attribute 6 3208 3266 Extension Elements 3209 anchor-alias 21, 32 3210 assign-section-number 32 3211 bb 21, 32 3212 bc 22, 32 3213 bcp14 21, 32 3214 blockquote 22, 32 3215 bt 22, 32 3216 dfn 22, 32 3217 h 22, 32 3218 length-of 22, 32 3219 link 23, 32 3220 lt 23, 32 3221 q 23, 32 3222 ref 23, 32 3223 source 24, 32 3224 span 32 3225 sup 24, 32 3226 x 32 3267 abnf-char-sequence 21, 33 3268 anchor-alias 21, 33 3269 assign-section-number 33 3270 bb 22, 33 3271 bc 22, 33 3272 bcp14 21, 33 3273 blockquote 22, 33 3274 bt 22, 33 3275 dfn 23, 33 3276 h 23, 33 3277 length-of 23, 33 3278 link 23, 33 3279 lt 23, 33 3280 q 24, 33 3281 ref 24, 33 3282 source 24, 33 3283 span 33 3284 sup 25, 33 3285 x 33 3227 3286 3228 3287 F … … 3234 3293 G 3235 3294 generator HTML META element 16 3236 Grammar 3 23295 Grammar 33 3237 3296 3238 3297 H 3239 h Extension Element 2 2, 323298 h Extension Element 23, 33 3240 3299 header PI pseudo-attribute 6 3241 3300 HTML compliance 15 3301 3302 3303 3304 Reschke [Page 58] 3305 3306 3307 Documentation RFC2629 through XSLT July 2008 3308 3309 3242 3310 HTML LINK elements 3243 3311 alternate 15 3244 3245 3246 3247 Reschke [Page 57]3248 3249 3250 Documentation RFC2629 through XSLT April 20083251 3252 3253 3312 appendix 15 3254 3313 author 15 … … 3279 3338 3280 3339 L 3281 length-of Extension Element 2 2, 323282 link Extension Element 23, 3 23340 length-of Extension Element 23, 33 3341 link Extension Element 23, 33 3283 3342 linkmailto PI pseudo-attribute 6 3284 lt Extension Element 23, 3 23343 lt Extension Element 23, 33 3285 3344 3286 3345 M … … 3295 3354 O 3296 3355 Opera 13 3297 9.5 133298 3356 3299 3357 P 3358 3359 3360 3361 Reschke [Page 59] 3362 3363 3364 Documentation RFC2629 through XSLT July 2008 3365 3366 3300 3367 Parameters 3301 3302 3303 3304 Reschke [Page 58]3305 3306 3307 Documentation RFC2629 through XSLT April 20083308 3309 3310 3368 xml2rfc-background 6 3311 3369 xml2rfc-comments 6 … … 3355 3413 strict 7 3356 3414 subcompact 7 3415 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT July 2008 3422 3423 3357 3424 support-rfc2731 8 3358 3359 3360 3361 Reschke [Page 59]3362 3363 3364 Documentation RFC2629 through XSLT April 20083365 3366 3367 3425 symrefs 6 3368 3426 toc 6 … … 3373 3431 3374 3432 Q 3375 q Extension Element 2 3, 323433 q Extension Element 24, 33 3376 3434 3377 3435 R 3378 ref Extension Element 2 3, 323436 ref Extension Element 24, 33 3379 3437 Relation.Replaces DCMI property 16 3380 RELAX NG Compact Schema 3 23438 RELAX NG Compact Schema 33 3381 3439 rfc.abstract anchor 12 3382 3440 rfc.authors anchor 12 … … 3401 3459 3.* 13 3402 3460 Saxon 13 3403 Schema 3 23461 Schema 33 3404 3462 sec-no-trailing-dots PI pseudo-attribute 8 3405 3463 slides PI pseudo-attribute 7 3406 3464 sortrefs PI pseudo-attribute 6 3407 source Extension Element 24, 3 23408 span Extension Element 3 23465 source Extension Element 24, 33 3466 span Extension Element 33 3409 3467 strict PI pseudo-attribute 7 3410 3468 subcompact PI pseudo-attribute 7 3411 sup Extension Element 2 4, 323469 sup Extension Element 25, 33 3412 3470 support-rfc2731 PI pseudo-attribute 8 3413 3471 symrefs PI pseudo-attribute 6 … … 3415 3473 3416 3474 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT April 2008 3475 Reschke [Page 61] 3476 3477 3478 Documentation RFC2629 through XSLT July 2008 3422 3479 3423 3480 … … 3430 3487 3431 3488 X 3432 x Extension Element 3 23489 x Extension Element 33 3433 3490 Xalan 13 3434 3491 xml-stylesheet PI 15 … … 3473 3530 3474 3531 3475 Reschke [Page 6 1]3476 3477 3478 Documentation RFC2629 through XSLT April20083532 Reschke [Page 62] 3533 3534 3535 Documentation RFC2629 through XSLT July 2008 3479 3536 3480 3537 … … 3530 3587 3531 3588 3532 Reschke [Page 6 2]3533 3534 3589 Reschke [Page 63] 3590 3591 -
rfc2629xslt/rfc2629xslt.xml
r246 r272 30 30 </author> 31 31 32 <date month=" April" year="2008"/>32 <date month="July" year="2008"/> 33 33 <keyword>RFC2629</keyword> 34 34 <keyword>xml2rfc</keyword> … … 374 374 <t><iref item="Internet Explorer 6"/>Internet Explorer 6</t> 375 375 <t><iref item="Internet Explorer 7"/>Internet Explorer 7</t> 376 <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.* (currently only test builds available)</t> 377 <t><iref item="Opera"/><iref item="Opera" subitem="9.5"/>Opera 9.5 (currently only test builds available)</t> 376 <t anchor="firefox3"><iref item="Mozilla"/><iref item="Firefox" subitem="3.*"/>Firefox 3.* (release candidate available)</t> 378 377 <t><iref item="Safari"/><iref item="Safari" subitem="3.*"/>Safari 3 (starting with version 3.0.4)</t> 379 378 </list> … … 385 384 <eref target="http://bugzilla.mozilla.org/show_bug.cgi?id=193678">193678</eref>)</t> 386 385 <t anchor="opera"><iref item="Opera"/>Opera 9.21: execution fails, potentially 387 to a somewhat complex XPath expression (reported to Opera as bug 245725).</t> 386 to a somewhat complex XPath expression (reported to Opera as bug 245725). Opera 9.5: 387 transformation appears to work, but CSS isn't getting applied (repored to Opera as bug 337388 on 2008-06-12).</t> 388 388 <t anchor="safari"><iref item="Safari"/>Safari 2.* supports client-side XSLT as of MacOS X 10.4, 389 389 but misses required extension functions. A problem … … 653 653 namespace "http://purl.org/net/xml2rfc/ext". 654 654 </t> 655 656 <section title="<abnf-char-sequence> element" anchor="ext.element.abnf-char-sequence"> 657 <iref item="Extension Elements" subitem="abnf-char-sequence" primary="true"/> 658 <iref item="abnf-char-sequence Extension Element" primary="true"/> 659 <x:anchor-alias value="abnf-char-sequence"/> 660 <t> 661 Converts the contained quoted string into a hex-encoded character 662 sequence, for use in case-sensitive ABNF productions. 663 </t> 664 <t> 665 For instance, "<x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence>" 666 gets converted to "<x:abnf-char-sequence>"HTTP"</x:abnf-char-sequence>". 667 </t> 668 </section> 655 669 656 670 <section title="<anchor-alias> element" anchor="ext.element.anchor-alias"> … … 1524 1538 <spanx style="strong">| spanx</spanx> 1525 1539 <spanx style="strong">| xref</spanx> 1540 <spanx style="strong">| <x:ref>x_abnf-char-sequence</x:ref></spanx> 1526 1541 <spanx style="strong">| <x:ref>x_bb</x:ref></spanx> 1527 1542 <spanx style="strong">| <x:ref>x_bc</x:ref></spanx> … … 1645 1660 | spanx 1646 1661 | vspace 1662 <spanx style="strong">| <x:ref>x_abnf-char-sequence</x:ref></spanx> 1647 1663 <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx> 1648 1664 <spanx style="strong">| <x:ref>x_bcp14</x:ref></spanx> … … 1685 1701 attribute x:rel { ATEXT }?, 1686 1702 attribute x:sec { ATEXT }? 1703 1704 <spanx anchor="x_abnf-char-sequence"><iref item="abnf-char-sequence Extension Element"/><iref item="Extension Elements" subitem="abnf-char-sequence" 1705 /># Conversion to ABNF char sequence (see <xref target="ext.element.abnf-char-sequence"/>)</spanx> 1706 <x:ref>x_abnf-char-sequence</x:ref> = 1707 element x:abnf-char-sequence { 1708 TEXT 1709 } 1687 1710 1688 1711 <spanx anchor="x_anchor-alias"><iref item="anchor-alias Extension Element"/><iref item="Extension Elements" subitem="anchor-alias" … … 1964 1987 Fix bug looking up ref type when inside change markup. 1965 1988 </t> 1989 <t hangText="2008-06-14"> 1990 Enhance output when draft was updated, and then published as RFC. 1991 </t> 1966 1992 </list></t> 1967 1993 </section> … … 2558 2584 Add support for superscript element. 2559 2585 </t> 2586 <t hangText="2008-06-28"> 2587 Add sanity checks for email addresses, allow multiple email elements. 2588 </t> 2589 <t hangText="2008-07-06"> 2590 Add x:abnf-char-sequence. 2591 </t> 2560 2592 </list></t> 2561 2593 </section> -
rfc2629xslt/testcase.html
r246 r272 369 369 } 370 370 } 371 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.3 67, 2008-05-19 13:00:19, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 test cases</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">March 2008</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <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">referencing tables</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">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></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 <t> element inside list</a></li><li class="tocline1">5.5 <a href="#rfc.section.5.5">xref with no auto-formatting</a></li><li class="tocline1">5.6 <a href="#rfc.section.5.6">xref with content and auto-formatting</a></li><li class="tocline1">5.7 <a href="#rfc.section.5.7">xref with content and no formatting</a></li><li class="tocline1">5.8 <a href="#rfc.section.5.8">xref with no content and anchor formatting</a></li><li class="tocline1">5.9 <a href="#rfc.section.5.9">eref with no content</a></li><li class="tocline1">5.10 <a href="#rfc.section.5.10">eref with content</a></li><li class="tocline1">5.11 <a href="#rfc.section.5.11">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></ul></li><li class="tocline0">11. <a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12. <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"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> 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> referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> 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> +--+371 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.379, 2008-07-06 13:38:32, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 test cases</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">March 2008</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <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">referencing tables</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">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></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 <t> element inside list</a></li><li class="tocline1">5.5 <a href="#rfc.section.5.5">xref with no auto-formatting</a></li><li class="tocline1">5.6 <a href="#rfc.section.5.6">xref with content and auto-formatting</a></li><li class="tocline1">5.7 <a href="#rfc.section.5.7">xref with content and no formatting</a></li><li class="tocline1">5.8 <a href="#rfc.section.5.8">xref with no content and anchor formatting</a></li><li class="tocline1">5.9 <a href="#rfc.section.5.9">eref with no content</a></li><li class="tocline1">5.10 <a href="#rfc.section.5.10">eref with content</a></li><li class="tocline1">5.11 <a href="#rfc.section.5.11">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.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"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> 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> referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> 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> +--+ 372 372 | | 373 373 +--+ … … 376 376 +--+ 377 377 </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) 378 </pre> <p id="rfc.section.4.3.p.5">Para...</p><div id="rfc.figure.u.4"></div> <p>No whitespace</p> <pre>test test (no ws)</pre> <p id="rfc.section.4.3.p.7">Para...</p><h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a> Whitespace around figures</h2><p id="rfc.section.4.4.p.1">spacing paragraph</p><div id="rfc.figure.u.5"></div><pre>ART</pre><p id="rfc.section.4.4.p.3">spacing paragraph</p><div id="rfc.figure.u.6"></div><p>preamble, then</p><pre>ART</pre><p id="rfc.section.4.4.p.5">spacing paragraph</p><div id="rfc.figure.u.7"></div><pre>ART</pre><p>then postamble</p><p id="rfc.section.4.4.p.7">spacing paragraph</p><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <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">See <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> xref to named <t> element inside list</h2><p id="rfc.section.5.4.p.1">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section 1.3</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> xref with no auto-formatting</h2><p id="rfc.section.5.5.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> xref with content and auto-formatting</h2><p id="rfc.section.5.6.p.1">This is a subsection of References (<a href="#refs" title="References">Section 5</a>).</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> xref with content and no formatting</h2><p id="rfc.section.5.7.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> xref with no content and anchor formatting</h2><p id="rfc.section.5.8.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.3"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> eref with no content</h2><p id="rfc.section.5.9.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.10"><a href="#rfc.section.5.10">5.10</a> eref with content</h2><p id="rfc.section.5.10.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a> iref inside paragraph</h2><p id="rfc.section.5.11.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> 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="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments. </p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> Artwork width</h1><div id="rfc.figure.u.8"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p> <pre>012345678901234567890123456789012345678901234567890123456789012345678378 </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><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">See <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> xref to named <t> element inside list</h2><p id="rfc.section.5.4.p.1">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section 1.3</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> xref with no auto-formatting</h2><p id="rfc.section.5.5.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> xref with content and auto-formatting</h2><p id="rfc.section.5.6.p.1">This is a subsection of References (<a href="#refs" title="References">Section 5</a>).</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> xref with content and no formatting</h2><p id="rfc.section.5.7.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> xref with no content and anchor formatting</h2><p id="rfc.section.5.8.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.3"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> eref with no content</h2><p id="rfc.section.5.9.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.10"><a href="#rfc.section.5.10">5.10</a> eref with content</h2><p id="rfc.section.5.10.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a> iref inside paragraph</h2><p id="rfc.section.5.11.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> 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="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source, but embedded markup: <>.">[<a href="#rfc.comment.3">rfc.comment.3</a>]</span> This line contains a few comments.</p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> Artwork width</h1><div id="rfc.figure.u.8"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p> <pre>012345678901234567890123456789012345678901234567890123456789012345678 379 379 </pre> <div id="rfc.figure.u.9"></div> <p>This shouldn't.</p> <pre>0123456789012345678901234567890123456789012345678901234567890123456789 380 380 </pre> <hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a> <a id="extensions" href="#extensions">Extensions</a></h1><p id="rfc.section.10.p.1">These are tests for extensions done in <samp>rfc2629.xslt</samp>. Do not expect them to work out-of-the-box in <samp>xml2rfc</samp>.</p><h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a> Markup in figure/artwork</h2><div id="rfc.figure.u.10"></div> <pre>Internal References: a test reference to <a href="#RFC2396" id="rfc.xref.RFC2396.2"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">[RFC2396]</cite></a> … … 408 408 └────────────────┘ 409 409 </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.15"></div><pre> Default inside a figure: <a href="#TSTCS" id="rfc.xref.TSTCS.3"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>, Section 10.6 410 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> Blank Lines</h1><p id="rfc.section.11.p.1">Just a forced <br> line break.</p><p id="rfc.section.11.p.2">One <br><br> blank line.</p><p id="rfc.section.11.p.3">Seven <br><br><br><br><br><br><br><br> blank lines.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> References</h1><table summary="References"> <tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<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="RFC2396">[RFC2396]</b></td><td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="Department of Information and Computer Science">Fielding, R.T.</a>, and <a href="mailto:masinter@parc.xerox.com" title="Xerox PARC">L. Masinter</a>, “<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>”, RFC 2396, August 1998.<br>This RFC will soon be updated, check <<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html</a>> for the latest draft.<br>The issues list is at <<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html</a>>.</td></tr> <tr><td class="reference"><b id="TSTCS">[TSTCS]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, “Test cases for RFC2629 formatting”, March 2008.</td></tr> </table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="rfc.comment.1"> 410 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a> <a id="abnf.support" href="#abnf.support">ABNF Support</a></h2><div id="rfc.figure.u.16"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz" 411 case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 412 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 413 case-sensitive2 = %x41.42.43.44.45.46.47.48.49.4A.4B.4C.4D.4E.4F.50.51.52.53.54.55.56.57.58.59.5A 414 </pre><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> Blank Lines</h1><p id="rfc.section.11.p.1">Just a forced <br> line break.</p><p id="rfc.section.11.p.2">One <br><br> blank line.</p><p id="rfc.section.11.p.3">Seven <br><br><br><br><br><br><br><br> blank lines.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> References</h1><table summary="References"> <tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<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="RFC2396">[RFC2396]</b></td><td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="Department of Information and Computer Science">Fielding, R.T.</a>, and <a href="mailto:masinter@parc.xerox.com" title="Xerox PARC">L. Masinter</a>, “<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>”, RFC 2396, August 1998.<br>This RFC will soon be updated, check <<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html</a>> for the latest draft.<br>The issues list is at <<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html</a>>.</td></tr> <tr><td class="reference"><b id="TSTCS">[TSTCS]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, “Test cases for RFC2629 formatting”, March 2008.</td></tr> </table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="rfc.comment.1"> 411 415 [rfc.comment.1] 412 416 </dt><dd>No anchor, source given. --JRE</dd><dt id="comment1"> … … 416 420 </dt><dd>Both specified. --JRE</dd><dt id="rfc.comment.2"> 417 421 [rfc.comment.2] 418 </dt><dd>No anchor, no source.</dd></dl><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <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.11</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.7</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.8</a>, <a class="iref" href="#RFC2026"><b>12</b></a></li><li class="indline1"><em>RFC2396</em> <a class="iref" href="#rfc.xref.RFC2396.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>12</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section </em> <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> 422 </dt><dd>No anchor, no source.</dd><dt id="rfc.comment.3"> 423 [rfc.comment.3] 424 </dt><dd>No anchor, no source, but embedded markup: <<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.11</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.7</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.8</a>, <a class="iref" href="#RFC2026"><b>12</b></a></li><li class="indline1"><em>RFC2396</em> <a class="iref" href="#rfc.xref.RFC2396.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>12</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>12</b></a><ul class="ind"><li class="indline1"><em>Appendix </em> <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
r246 r272 522 522 <cref>No anchor, no source.</cref> 523 523 This line contains a few comments. 524 <cref>No anchor, no source, but embedded markup: <eref target="http://xml.resource.org"/>.</cref> 525 This line contains a few comments. 524 526 </t> 525 527 </section> … … 657 659 <xref target="TSTCS" x:rel="#a-target-that-isnt-defined"/>. 658 660 </t> 661 </section> 662 663 <section title="ABNF Support" anchor="abnf.support"> 664 <figure><artwork> 665 case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz" 666 case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 667 case-sensitive1 = <x:abnf-char-sequence>"abcdefghijlkmnopqrstuvwxyz"</x:abnf-char-sequence> 668 case-sensitive2 = <x:abnf-char-sequence>"ABCDEFGHIJKLMNOPQRSTUVWXYZ"</x:abnf-char-sequence> 669 </artwork></figure> 659 670 </section> 660 671
Note: See TracChangeset
for help on using the changeset viewer.