Changeset 285 for rfc2629xslt
- Timestamp:
- 18/07/08 10:37:21 (14 years ago)
- Location:
- rfc2629xslt
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/check-references.xslt
r272 r285 33 33 34 34 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 35 version=" 1.0"35 version="2.0" 36 36 xmlns:ed="http://greenbytes.de/2002/rfcedit" 37 37 xmlns:rfced="http://www.rfc-editor.org/rfc-index" … … 41 41 42 42 <xsl:param name="intended-level" /> 43 <xsl:param name="link-check" /> 43 44 44 45 <xsl:template match="/"> 45 46 <xsl:if test="$intended-level!='' and ($intended-level!='PROPOSED' and $intended-level!='DRAFT' and $intended-level!='STANDARD')"> 46 <xsl:message terminate='yes'> UNKNOWN INTENDED STATUS(must be 'PROPOSED', 'DRAFT' or 'STANDARD')!</xsl:message>47 <xsl:message terminate='yes'>intended-level: unsupported value (must be 'PROPOSED', 'DRAFT' or 'STANDARD')!</xsl:message> 47 48 </xsl:if> 48 49 50 <xsl:if test="$link-check!='' and ($link-check!='no' and $link-check!='yes')"> 51 <xsl:message terminate='yes'>link-check: unsupported value (must be 'yes' or 'no')!</xsl:message> 52 </xsl:if> 53 49 54 <xsl:for-each select="//references"> 50 55 <xsl:variable name="title"> … … 63 68 <xsl:for-each select=".//reference[not(ancestor::ed:del)]"> 64 69 <xsl:sort select="@anchor"/> 70 65 71 <xsl:choose> 66 72 <xsl:when test="seriesInfo/@name='RFC'"> … … 80 86 </xsl:for-each> 81 87 </xsl:for-each> 88 89 <xsl:variable name="targets2" select="//eref/@target | //reference/@target"/> 90 <xsl:variable name="targets" select="$targets2[starts-with(.,'http')]"/> 91 <xsl:if test="$targets and $link-check='yes'"> 92 <xsl:text> Link Targets </xsl:text> 93 <xsl:choose> 94 <xsl:when test="function-available('unparsed-text-available')"> 95 <xsl:for-each select="$targets"> 96 <xsl:variable name="t"> 97 <xsl:choose> 98 <xsl:when test="contains(.,'#')"><xsl:value-of select="substring-before(.,'#')"/></xsl:when> 99 <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise> 100 </xsl:choose> 101 </xsl:variable> 102 103 <xsl:text><</xsl:text> 104 <xsl:value-of select="$t"/> 105 <xsl:text>>: </xsl:text> 106 <xsl:choose> 107 <xsl:when test="unparsed-text-available($t)">ok</xsl:when> 108 <xsl:otherwise>NOT AVAILABLE AS TEXT</xsl:otherwise> 109 </xsl:choose> 110 <xsl:text> </xsl:text> 111 </xsl:for-each> 112 </xsl:when> 113 <xsl:otherwise> 114 <xsl:text>not checked (requires XSLT 2.0)</xsl:text> 115 </xsl:otherwise> 116 </xsl:choose> 117 </xsl:if> 118 82 119 </xsl:template> 83 120 … … 146 183 <xsl:text>-- intended standards level of </xsl:text> 147 184 <xsl:value-of select="$intended-level"/> 148 <xsl:text> incompatible with this document's standard level!</xsl:text> 185 <xsl:text> incompatible with this document's standard level</xsl:text> 186 <xsl:if test="annotation//xref[@target='BCP97']"> 187 <xsl:text> (...but a downref annotation referencing BCP 97 seems to be present)</xsl:text> 188 </xsl:if> 189 <xsl:text>!</xsl:text> 149 190 </xsl:when> 150 191 <xsl:otherwise>ok</xsl:otherwise> -
rfc2629xslt/clean-for-DTD.xslt
r272 r285 137 137 <xsl:template match="x:link" mode="cleanup"/> 138 138 <xsl:template match="x:source" mode="cleanup"/> 139 140 <xsl:template match="x:parse-xml" mode="cleanup"> 141 <xsl:apply-templates/> 142 </xsl:template> 139 143 140 144 <xsl:template match="x:ref" mode="cleanup"> -
rfc2629xslt/rfc2629.xslt
r272 r285 38 38 xmlns:msxsl="urn:schemas-microsoft-com:xslt" 39 39 xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" 40 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 40 41 xmlns:saxon-old="http://icl.com/saxon" 41 42 xmlns:saxon="http://saxon.sf.net/" … … 43 44 xmlns:xhtml="http://www.w3.org/1999/xhtml" 44 45 45 exclude-result-prefixes="date ed exslt msxsl myns saxon saxon-old x xhtml"46 exclude-result-prefixes="date ed exslt msxsl myns rdf saxon saxon-old x xhtml" 46 47 > 47 48 … … 633 634 </span> 634 635 </xsl:for-each> 635 <xsl:if test="address/uri"> 636 <xsl:for-each select="address/uri"> 637 <xsl:variable name="uri"> 638 <xsl:call-template name="extract-uri"/> 639 </xsl:variable> 640 636 641 <span class="vcardline"> 637 642 <xsl:text>URI: </xsl:text> 638 <a href="{ address/uri}" class="url"><xsl:value-of select="address/uri" /></a>643 <a href="{$uri}" class="url"><xsl:value-of select="$uri" /></a> 639 644 </span> 640 </xsl: if>645 </xsl:for-each> 641 646 </address> 642 647 … … 4001 4006 <xsl:template match="x:dfn"> 4002 4007 <dfn> 4008 <xsl:if test="@anchor"> 4009 <xsl:attribute name="id"><xsl:value-of select="@anchor"/></xsl:attribute> 4010 </xsl:if> 4003 4011 <xsl:apply-templates/> 4004 4012 </dfn> … … 4046 4054 <xsl:apply-templates/> 4047 4055 </xsl:template> 4056 4057 <xsl:template match="x:parse-xml"> 4058 <xsl:apply-templates/> 4059 4060 <xsl:if test="function-available('exslt:node-set')"> 4061 <xsl:variable name="cleaned"> 4062 <xsl:apply-templates mode="cleanup-edits"/> 4063 </xsl:variable> 4064 <xsl:choose> 4065 <xsl:when test="function-available('myns:parseXml')"> 4066 <xsl:if test="myns:parseXml(concat($cleaned,''))!=''"> 4067 <xsl:call-template name="error"> 4068 <xsl:with-param name="msg" select="concat('Parse error in XML: ', myns:parseXml(concat($cleaned,'')))"/> 4069 </xsl:call-template> 4070 </xsl:if> 4071 </xsl:when> 4072 <xsl:when test="function-available('saxon:parse')"> 4073 <xsl:variable name="parsed" select="saxon:parse(concat($cleaned,''))"/> 4074 <xsl:if test="$parsed='foo'"> 4075 <xsl:comment>should not get here</xsl:comment> 4076 </xsl:if> 4077 </xsl:when> 4078 <xsl:otherwise></xsl:otherwise> 4079 </xsl:choose> 4080 </xsl:if> 4081 </xsl:template> 4082 4083 <!-- inlined RDF support --> 4084 <xsl:template match="rdf:Description"> 4085 <!-- ignore --> 4086 </xsl:template> 4087 4088 <!-- cleanup for ins/del --> 4089 4090 <xsl:template match="comment()|@*" mode="cleanup-edits"><xsl:copy/></xsl:template> 4091 4092 <xsl:template match="text()" mode="cleanup-edits"><xsl:copy/></xsl:template> 4093 4094 <xsl:template match="/" mode="cleanup-edits"> 4095 <xsl:copy><xsl:apply-templates select="node()" mode="cleanup-edits" /></xsl:copy> 4096 </xsl:template> 4097 4098 <xsl:template match="ed:del" mode="cleanup-edits"/> 4099 4100 <xsl:template match="ed:replace" mode="cleanup-edits"> 4101 <xsl:apply-templates mode="cleanup-edits"/> 4102 </xsl:template> 4103 4104 <xsl:template match="ed:ins" mode="cleanup-edits"> 4105 <xsl:apply-templates mode="cleanup-edits"/> 4106 </xsl:template> 4107 4048 4108 4049 4109 <!-- ABNF support --> … … 4664 4724 <xsl:param name="msg2"/> 4665 4725 <xsl:param name="inline"/> 4666 <xsl:if test="$inline ='no'">4726 <xsl:if test="$inline!='no'"> 4667 4727 <div class="error">ERROR: <xsl:value-of select="$msg"/><xsl:value-of select="$msg2"/></div> 4668 4728 </xsl:if> … … 4935 4995 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4936 4996 <!-- when RCS keyword substitution in place, add version info --> 4937 <xsl:if test="contains('$Revision: 1.3 79$',':')">4938 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.3 79$', 'Revision: '),'$','')),', ')" />4997 <xsl:if test="contains('$Revision: 1.384 $',':')"> 4998 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.384 $', 'Revision: '),'$','')),', ')" /> 4939 4999 </xsl:if> 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: '),'$','')),', ')" />5000 <xsl:if test="contains('$Date: 2008-07-18 10:33:47 $',':')"> 5001 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-07-18 10:33:47 $', 'Date: '),'$','')),', ')" /> 4942 5002 </xsl:if> 4943 5003 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> … … 5001 5061 </xsl:for-each> 5002 5062 </xsl:when> 5063 <xsl:when test="ancestor::reference"> 5064 <xsl:for-each select="ancestor::reference"> 5065 <xsl:call-template name="get-section-number"/> 5066 </xsl:for-each> 5067 </xsl:when> 5003 5068 <xsl:when test="ancestor::back"><xsl:number count="section|appendix" level="multiple" format="A.1.1.1.1.1.1.1" /></xsl:when> 5004 5069 <xsl:when test="self::appendix"><xsl:number count="appendix" level="multiple" format="A.1.1.1.1.1.1.1" /></xsl:when> … … 5093 5158 5094 5159 <xsl:value-of select="$email2"/> 5160 </xsl:template> 5161 5162 <!-- checking for uri element --> 5163 <xsl:template name="extract-uri"> 5164 <xsl:variable name="uri" select="normalize-space(.)"/> 5165 <xsl:if test="string-length(.) != string-length($uri) or contains($uri,' ')"> 5166 <xsl:call-template name="warning"> 5167 <xsl:with-param name="inline" select="'no'"/> 5168 <xsl:with-param name="msg">excessive whitespace in URI: '<xsl:value-of select="."/>'</xsl:with-param> 5169 </xsl:call-template> 5170 </xsl:if> 5171 5172 <xsl:value-of select="$uri"/> 5095 5173 </xsl:template> 5096 5174 -
rfc2629xslt/rfc2629toFO.xslt
r272 r285 32 32 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 33 33 version="1.0" 34 xmlns:ed="http://greenbytes.de/2002/rfcedit" 35 xmlns:exslt="http://exslt.org/common" 34 36 xmlns:fo="http://www.w3.org/1999/XSL/Format" 35 36 xmlns:ed="http://greenbytes.de/2002/rfcedit" 37 xmlns:msxsl="urn:schemas-microsoft-com:xslt" 38 xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" 39 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 37 40 xmlns:x="http://purl.org/net/xml2rfc/ext" 38 xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" 39 40 xmlns:msxsl="urn:schemas-microsoft-com:xslt" 41 xmlns:exslt="http://exslt.org/common" 42 43 exclude-result-prefixes="msxsl exslt myns ed x" 41 42 exclude-result-prefixes="ed exslt msxsl myns rdf x" 44 43 > 45 44 … … 206 205 </fo:block> 207 206 </xsl:for-each> 208 <xsl:if test="address/uri"> 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> 210 </xsl:if> 207 <xsl:for-each select="address/uri"> 208 <xsl:variable name="uri"> 209 <xsl:call-template name="extract-uri"/> 210 </xsl:variable> 211 <fo:block>URI: <fo:basic-link external-destination="url('{$uri}')" xsl:use-attribute-sets="external-link"><xsl:value-of select="$uri" /></fo:basic-link></fo:block> 212 </xsl:for-each> 211 213 </xsl:template> 212 214 … … 2401 2403 </xsl:template> 2402 2404 2405 <!-- XML checking --> 2406 <xsl:template match="x:parse-xml"> 2407 <xsl:apply-templates/> 2408 </xsl:template> 2409 2403 2410 <xsl:template match="x:abnf-char-sequence"> 2404 2411 <xsl:choose> … … 2415 2422 </xsl:otherwise> 2416 2423 </xsl:choose> 2424 </xsl:template> 2425 2426 <!-- inlined RDF support --> 2427 <xsl:template match="rdf:Description"> 2428 <!-- ignore --> 2417 2429 </xsl:template> 2418 2430 -
rfc2629xslt/rfc2629toXHTML.xslt
r272 r285 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 <!--Auto-generated from rfc2629.xslt through HTMLtoXHTML.xslt--> 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ed="http://greenbytes.de/2002/rfcedit" xmlns:date="http://exslt.org/dates-and-times" xmlns:exslt="http://exslt.org/common" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" xmlns: saxon-old="http://icl.com/saxon" xmlns:saxon="http://saxon.sf.net/" xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="date ed exslt msxsl mynssaxon saxon-old x xhtml">3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ed="http://greenbytes.de/2002/rfcedit" xmlns:date="http://exslt.org/dates-and-times" xmlns:exslt="http://exslt.org/common" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:saxon-old="http://icl.com/saxon" xmlns:saxon="http://saxon.sf.net/" xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="date ed exslt msxsl myns rdf saxon saxon-old x xhtml"> 4 4 5 5 <xsl:strip-space elements="back front list middle rfc section"/> … … 447 447 </span> 448 448 </xsl:for-each> 449 <xsl:if test="address/uri"> 449 <xsl:for-each select="address/uri"> 450 <xsl:variable name="uri"> 451 <xsl:call-template name="extract-uri"/> 452 </xsl:variable> 453 450 454 <span class="vcardline"> 451 455 <xsl:text>URI: </xsl:text> 452 <a href="{ address/uri}" class="url"><xsl:value-of select="address/uri"/></a>456 <a href="{$uri}" class="url"><xsl:value-of select="$uri"/></a> 453 457 </span> 454 </xsl: if>458 </xsl:for-each> 455 459 </address> 456 460 … … 3815 3819 <xsl:template match="x:dfn"> 3816 3820 <dfn xmlns="http://www.w3.org/1999/xhtml"> 3821 <xsl:if test="@anchor"> 3822 <xsl:attribute name="id"><xsl:value-of select="@anchor"/></xsl:attribute> 3823 </xsl:if> 3817 3824 <xsl:apply-templates/> 3818 3825 </dfn> … … 3860 3867 <xsl:apply-templates/> 3861 3868 </xsl:template> 3869 3870 <xsl:template match="x:parse-xml"> 3871 <xsl:apply-templates/> 3872 3873 <xsl:if test="function-available('exslt:node-set')"> 3874 <xsl:variable name="cleaned"> 3875 <xsl:apply-templates mode="cleanup-edits"/> 3876 </xsl:variable> 3877 <xsl:choose> 3878 <xsl:when test="function-available('myns:parseXml')"> 3879 <xsl:if test="myns:parseXml(concat($cleaned,''))!=''"> 3880 <xsl:call-template name="error"> 3881 <xsl:with-param name="msg" select="concat('Parse error in XML: ', myns:parseXml(concat($cleaned,'')))"/> 3882 </xsl:call-template> 3883 </xsl:if> 3884 </xsl:when> 3885 <xsl:when test="function-available('saxon:parse')"> 3886 <xsl:variable name="parsed" select="saxon:parse(concat($cleaned,''))"/> 3887 <xsl:if test="$parsed='foo'"> 3888 <xsl:comment>should not get here</xsl:comment> 3889 </xsl:if> 3890 </xsl:when> 3891 <xsl:otherwise/> 3892 </xsl:choose> 3893 </xsl:if> 3894 </xsl:template> 3895 3896 <!-- inlined RDF support --> 3897 <xsl:template match="rdf:Description"> 3898 <!-- ignore --> 3899 </xsl:template> 3900 3901 <!-- cleanup for ins/del --> 3902 3903 <xsl:template match="comment()|@*" mode="cleanup-edits"><xsl:copy/></xsl:template> 3904 3905 <xsl:template match="text()" mode="cleanup-edits"><xsl:copy/></xsl:template> 3906 3907 <xsl:template match="/" mode="cleanup-edits"> 3908 <xsl:copy><xsl:apply-templates select="node()" mode="cleanup-edits"/></xsl:copy> 3909 </xsl:template> 3910 3911 <xsl:template match="ed:del" mode="cleanup-edits"/> 3912 3913 <xsl:template match="ed:replace" mode="cleanup-edits"> 3914 <xsl:apply-templates mode="cleanup-edits"/> 3915 </xsl:template> 3916 3917 <xsl:template match="ed:ins" mode="cleanup-edits"> 3918 <xsl:apply-templates mode="cleanup-edits"/> 3919 </xsl:template> 3920 3862 3921 3863 3922 <!-- ABNF support --> … … 4478 4537 <xsl:param name="msg2"/> 4479 4538 <xsl:param name="inline"/> 4480 <xsl:if test="$inline ='no'">4539 <xsl:if test="$inline!='no'"> 4481 4540 <div xmlns="http://www.w3.org/1999/xhtml" class="error">ERROR: <xsl:value-of select="$msg"/><xsl:value-of select="$msg2"/></div> 4482 4541 </xsl:if> … … 4749 4808 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4750 4809 <!-- when RCS keyword substitution in place, add version info --> 4751 <xsl:if test="contains('$Revision: 1.3 79$',':')">4752 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.3 79$', 'Revision: '),'$','')),', ')"/>4810 <xsl:if test="contains('$Revision: 1.384 $',':')"> 4811 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.384 $', 'Revision: '),'$','')),', ')"/> 4753 4812 </xsl:if> 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: '),'$','')),', ')"/>4813 <xsl:if test="contains('$Date: 2008-07-18 10:33:47 $',':')"> 4814 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-07-18 10:33:47 $', 'Date: '),'$','')),', ')"/> 4756 4815 </xsl:if> 4757 4816 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/> … … 4815 4874 </xsl:for-each> 4816 4875 </xsl:when> 4876 <xsl:when test="ancestor::reference"> 4877 <xsl:for-each select="ancestor::reference"> 4878 <xsl:call-template name="get-section-number"/> 4879 </xsl:for-each> 4880 </xsl:when> 4817 4881 <xsl:when test="ancestor::back"><xsl:number count="section|appendix" level="multiple" format="A.1.1.1.1.1.1.1"/></xsl:when> 4818 4882 <xsl:when test="self::appendix"><xsl:number count="appendix" level="multiple" format="A.1.1.1.1.1.1.1"/></xsl:when> … … 4907 4971 4908 4972 <xsl:value-of select="$email2"/> 4973 </xsl:template> 4974 4975 <!-- checking for uri element --> 4976 <xsl:template name="extract-uri"> 4977 <xsl:variable name="uri" select="normalize-space(.)"/> 4978 <xsl:if test="string-length(.) != string-length($uri) or contains($uri,' ')"> 4979 <xsl:call-template name="warning"> 4980 <xsl:with-param name="inline" select="'no'"/> 4981 <xsl:with-param name="msg">excessive whitespace in URI: '<xsl:value-of select="."/>'</xsl:with-param> 4982 </xsl:call-template> 4983 </xsl:if> 4984 4985 <xsl:value-of select="$uri"/> 4909 4986 </xsl:template> 4910 4987 -
rfc2629xslt/rfc2629xslt.html
r272 r285 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 79, 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"?>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.384, 2008-07-18 10:33:47, 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.parse-xml"><parse-xml> element</a></li><li class="tocline1">10.14 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.15 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.16 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.17 <a href="#ext.element.sup"><sup> element</a></li><li class="tocline1">10.18 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.19 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.20 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.21 <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 \ … … 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.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">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.p.54"></div><h2 id="rfc.section.10.13"><a href="#rfc.section.10.13">10.13</a> <a id="ext.element.parse-xml" href="#ext.element.parse-xml"><parse-xml> element</a></h2><p id="rfc.section.10.13.p.1">This element instructs the processor to parse the contents as XML and to warn when there's a problem (requires either MSXML or Saxon8 or newer).</p><div id="rfc.iref.e.15"></div><div id="rfc.iref.q.1"></div><h2 id="rfc.section.10.14"><a href="#rfc.section.10.14">10.14</a> <a id="ext.element.q" href="#ext.element.q"><q> element</a></h2><p id="rfc.section.10.14.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.16"></div><div id="rfc.iref.r.21"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext.element.ref" href="#ext.element.ref"><ref> element</a></h2><p id="rfc.section.10.15.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.15.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 4.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.15.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 4.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.15.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 6"></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"> ...411 <xref target="test">alias 2</xref></pre> <div id="rfc.iref.e.17"></div><div id="rfc.iref.s.12"></div><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext.element.source" href="#ext.element.source"><source> element</a></h2><p id="rfc.section.10.16.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.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 419 </pre> <div id="rfc.iref.e.18"></div><div id="rfc.iref.s.13"></div><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext.element.sup" href="#ext.element.sup"><sup> element</a></h2><p id="rfc.section.10.17.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-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.17.p.2">Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".</p><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></h2><p id="rfc.section.10.18.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.19"><a href="#rfc.section.10.19">10.19</a> <a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc <list> 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: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.19.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.20"><a href="#rfc.section.10.20">10.20</a> <a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></h2><p id="rfc.section.10.20.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.21"><a href="#rfc.section.10.21">10.21</a> <a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></h2><p id="rfc.section.10.21.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.21.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.21.p.3">These extensions are currently only supported for <xref> elements without child nodes.</p><p id="rfc.section.10.21.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><p id="rfc.section.11.1.p.3"> <b>Note:</b> Downward references should be annotated using the <annotate> element, containing an <xref> to <a href="#BCP97" id="rfc.xref.BCP97.1"><cite title="Handling Normative References to Standards-Track Documents">[BCP97]</cite></a>.</p><p id="rfc.section.11.1.p.4">When an XSLT 2.0 processor is used, links in the document can be checked as well using the <samp>link-check</samp> paramerer ('yes' or 'no'). Note that this only works for http links to documents of tytpe text/*.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2008-07-12, 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 intended-status=PROPOSED \ 420 link-check=yes 420 421 421 422 Normative References: … … 424 425 ISO-8601: not checked 425 426 REC-xml-19980210: [FirstEdition] obsoleted by REC-xml-20001006 426 REC-xml-names-19990114: [REC] obsoleted by PER-xml-names-20060614 427 REC-xml-names-19990114: [FirstEdition] obsoleted by 428 REC-xml-names-20060816 427 429 RFC1766: [PROPOSED STANDARD] obsoleted by RFC3066 RFC3282 428 430 RFC2068: [PROPOSED STANDARD] obsoleted by RFC2616 … … 440 442 RFC2291: [INFORMATIONAL] ok 441 443 RFC2376: [INFORMATIONAL] obsoleted by RFC3023 442 RFC2413: [INFORMATIONAL] o k444 RFC2413: [INFORMATIONAL] obsoleted by RFC5013 443 445 USMARC: not checked 444 446 WF: not checked 445 </pre><p id="rfc.section.11.1.p.4">Recognized formats in the <seriesInfo> element are: </p><ul><li>for RFCs, the name attribute must be "RFC", and the value attribute must be the number of the RFC,</li><li>for Internet Drafs, the name attribute must be "ID" or "Internet-Draft", and the value attribute must be the file name of the draft (including the two-digit running number, but excluding a file extension),</li><li>for W3C documents, the name attribute must be "W3C", must start with "W3C ", or must start with "World Wide Web Consortium ", and the value attribute must be the "shorthand" name of the specification, such as "REC-xml-19980210".</li></ul><h2 id="rfc.section.11.2"><a href="#rfc.section.11.2">11.2</a> Generating Graphs from References</h2><p id="rfc.section.11.2.p.1"> <samp>gen-reference-graph.xslt</samp> generates a graph of RFC dependencies, using the same base data as in <samp>check-references.xslt</samp> (see <a href="#checking-references" title="Checking References">Section 11.1</a>). Its output is a "dot" file, to be processed by GraphViz (see <<a href="http://www.graphviz.org/">http://www.graphviz.org/</a>>).</p><div id="rfc.figure.u.17"></div> <p>The picture below shows the RFC dependencies in RFC2629.</p> <p><img src="rfc2629xslt-fig2.png" alt="
(PNG output obtained from GraphViz)
"></p> <h2 id="rfc.section.11.3"><a href="#rfc.section.11.3">11.3</a> Producing reference entries for books</h2><p id="rfc.section.11.3.p.1"> <samp>amazon-asin.xslt</samp> uses the Amazon web services to generate a <reference> element for a given ASIN (ISBN).</p><div id="rfc.figure.u.18"></div> <p>For instance:</p> <pre class="text"><?xml version="1.0" encoding="utf-8"?> 447 448 Link Targets 449 <http://www.w3.org/TR/1998/REC-xml-19980210>: ok 450 <http://www.w3.org/TR/1999/REC-xml-names-19990114>: ok 451 <http://www.dlib.org/dlib/july96/lagoze/07lagoze.html>: ok 452 <http://www.w3.org/pub/WWW/TR/REC-PICS-labels-961031.html>: ok 453 </pre><p id="rfc.section.11.1.p.6">Recognized formats in the <seriesInfo> element are: </p><ul><li>for RFCs, the name attribute must be "RFC", and the value attribute must be the number of the RFC,</li><li>for Internet Drafs, the name attribute must be "ID" or "Internet-Draft", and the value attribute must be the file name of the draft (including the two-digit running number, but excluding a file extension),</li><li>for W3C documents, the name attribute must be "W3C", must start with "W3C ", or must start with "World Wide Web Consortium ", and the value attribute must be the "shorthand" name of the specification, such as "REC-xml-19980210".</li></ul><h2 id="rfc.section.11.2"><a href="#rfc.section.11.2">11.2</a> Generating Graphs from References</h2><p id="rfc.section.11.2.p.1"> <samp>gen-reference-graph.xslt</samp> generates a graph of RFC dependencies, using the same base data as in <samp>check-references.xslt</samp> (see <a href="#checking-references" title="Checking References">Section 11.1</a>). Its output is a "dot" file, to be processed by GraphViz (see <<a href="http://www.graphviz.org/">http://www.graphviz.org/</a>>).</p><div id="rfc.figure.u.17"></div> <p>The picture below shows the RFC dependencies in RFC2629.</p> <p><img src="rfc2629xslt-fig2.png" alt="
(PNG output obtained from GraphViz)
"></p> <h2 id="rfc.section.11.3"><a href="#rfc.section.11.3">11.3</a> Producing reference entries for books</h2><p id="rfc.section.11.3.p.1"> <samp>amazon-asin.xslt</samp> uses the Amazon web services to generate a <reference> element for a given ASIN (ISBN).</p><div id="rfc.figure.u.18"></div> <p>For instance:</p> <pre class="text"><?xml version="1.0" encoding="utf-8"?> 446 454 <references> 447 455 <reference target="urn:isbn:0134516591"> … … 464 472 </pre><p id="rfc.section.11.3.p.3">Note that the resulting XML usually requires checking, in this case Amazon's database is playing tricks with Marshall's name...</p><h2 id="rfc.section.11.4"><a href="#rfc.section.11.4">11.4</a> <a id="clean-for-dtd" href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></h2><p id="rfc.section.11.4.p.1"> <samp>clean-for-DTD.xslt</samp> can be used to down-convert some extensions to a format that is supported by the base xml2rfc distribution. Note that these extensions are experimental (feedback appreciated).</p><p id="rfc.section.11.4.p.2">The following mappings are done: </p><ul><li><iref> elements inside <artwork> elements are moved in front of the enclosing <figure> element.</li><li><xref> elements inside <artwork> are expanded just like in regular text (that is, the markup is stripped, but the element is replaced by the applicable replacement text).</li><li><x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>> elements get stripped.</li><li><x:<a href="#ext.element.bcp14" class="smpl">bcp14</a>> elements get stripped.</li><li><x:<a href="#ext.element.bb" class="smpl">bb</a>>, <x:<a href="#ext.element.bc" class="smpl">bc</a>> and <x:<a href="#ext.element.bt" class="smpl">bt</a>> elements get stripped.</li><li><x:<a href="#ext.element.blockquote" class="smpl">blockquote</a>> elements get converted to indented text (through a <list> element).</li><li><x:<a href="#ext.element.dfn" class="smpl">dfn</a>> elements get stripped.</li><li><x:<a href="#ext.element.h" class="smpl">h</a>> elements get stripped.</li><li><x:<a href="#ext.element.link" class="smpl">link</a>> elements get stripped.</li><li><x:<a href="#ext.element.q" class="smpl">q</a>> elements get stripped, with apostrophes added around the text.</li><li><x:<a href="#ext.element.ref" class="smpl">ref</a>> elements get replaced by <xref> elements, targetting either the anchor or another anchor with matching <x:<a href="#ext.element.anchor-alias" class="smpl">anchor-alias</a>> child element.</li></ul><h2 id="rfc.section.11.5"><a href="#rfc.section.11.5">11.5</a> <a id="extract-artwork" href="#extract-artwork">Extracting artwork</a></h2><p id="rfc.section.11.5.p.1">With <samp>extract-artwork.xslt</samp>, artwork elements named through the "name" attribute can be extracted. This can be used to automatically check their syntax (for instance, when ABNFs appear within a figure element).</p><div id="rfc.figure.u.19"></div><p>For instance:</p> <pre class="text">saxon rfc3986.xml extract-artwork.xslt name=uri.abnf 465 473 </pre> <p id="rfc.section.11.5.p.3">In addition, artwork of a specific type can be extracted, such as with:</p><div id="rfc.figure.u.20"></div> <pre class="text">saxon rfc3986.xml extract-artwork.xslt type=abnf 466 </pre> <h2 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a> <a id="grddl" href="#grddl">GRRDL</a></h2><p id="rfc.section.11.6.p.1"> <samp>rfc2629grddl.xslt</samp> extracts RDF information. This is experimental work-in-progress. See <<a href="http://www.w3.org/TR/grddl/">http://www.w3.org/TR/grddl/</a>> for more information.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> Informative References</h1><table summary="Informative References"> <tr><td class="reference"><b id="HTML">[HTML]</b></td><td class="top"><a href="mailto:dsr@w3.org" title="W3C">Raggett, D.</a>, Hors, A., and I. Jacobs, “<a href="http://www.w3.org/TR/html401/">HTML 4.01 Specification</a>”, W3C REC-html401-19991224, December 1999, <<a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a>>.</td></tr><tr><td class="reference"><b id="RFC2119">[RFC2119]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP 14, RFC 2119, March 1997.</td></tr><tr><td class="reference"><b id="RFC2616">[RFC2616]</b></td><td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine, Information and Computer Science">Fielding, R.T.</a>, <a href="mailto:jg@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation, Western Research Laboratory">Mogul, J.C.</a>, <a href="mailto:frystyk@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Nielsen, H.F.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.J.</a>, and <a href="mailto:timbl@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2616, June 1999.</td></tr><tr><td class="reference"><b id="RFC2629">[RFC2629]</b></td><td class="top"><a href="mailto:mrose@not.invisible.net" title="Invisible Worlds, Inc.">Rose, M.T.</a>, “<a href="http://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>”, RFC 2629, June 1999.</td></tr><tr><td class="reference"><b id="RFC2648">[RFC2648]</b></td><td class="top"><a href="mailto:jayhawk@att.com" title="AT&T">Moats, R.</a>, “<a href="http://tools.ietf.org/html/rfc2648">A URN Namespace for IETF Documents</a>”, RFC 2648, August 1999.</td></tr><tr><td class="reference"><b id="RFC2731">[RFC2731]</b></td><td class="top"><a href="mailto:jak@ckm.ucsf.edu" title="University of California, San Francisco, Center for Knowledge Management">Kunze, J.A.</a>, “<a href="http://tools.ietf.org/html/rfc2731">Encoding Dublin Core Metadata in HTML</a>”, RFC 2731, December 1999.</td></tr><tr><td class="reference"><b id="RFC5234">[RFC5234]</b></td><td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD 68, RFC 5234, January 2008.</td></tr><tr><td class="reference"><b id="RNC">[RNC]</b></td><td class="top"><a href="mailto:jjc@jclark.com">Clark, J.</a>, “<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">RELAX NG Compact Syntax</a>”, OASIS, Nov 2002, <<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/relax-ng/compact-20021121.html</a>>.</td></tr><tr><td class="reference"><b id="XHTML2">[XHTML2]</b></td><td class="top">Axelsson, J., Birbeck, M., Dubinko, M., Epperson, B., Ishikawa, M., McCarron, S., Navarro, A., and S. Pemberton, “<a href="http://www.w3.org/TR/xhtml2">XHTML™ 2.0</a>”, W3C WD-xhtml2-20060726, July 2006, <<a href="http://www.w3.org/TR/xhtml2">http://www.w3.org/TR/xhtml2</a>>.</td></tr><tr><td class="reference"><b id="XSL-FO">[XSL-FO]</b></td><td class="top"><a href="mailto:alrb@us.ibm.com" title="IBM">Berglund, A.</a>, “<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">Extensible Stylesheet Language (XSL) Version 1.1</a>”, W3C REC-xsl11-20061205, Dec 2006, <<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">http://www.w3.org/TR/2006/REC-xsl11-20061205/</a>>.</td></tr></table><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><div id="rfc.iref.g.2"></div><div id="rfc.iref.s.14"></div><div id="rfc.iref.r.22"></div><h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a> <a id="grammar" href="#grammar">RELAX NG Compact Schema</a></h1><p id="rfc.section.A.p.1">The RelaxNG schema (<a href="#RNC" id="rfc.xref.RNC.1"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a>) below can be used to validate input documents (for instance, with <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a>).</p><p id="rfc.section.A.p.2"> <em>Note that this is work in progress, and doesn't yet cover all extensions completely.</em> </p><div id="rfc.figure.u.21"></div> <pre class="inline"><em># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</em>474 </pre> <h2 id="rfc.section.11.6"><a href="#rfc.section.11.6">11.6</a> <a id="grddl" href="#grddl">GRRDL</a></h2><p id="rfc.section.11.6.p.1"> <samp>rfc2629grddl.xslt</samp> extracts RDF information. This is experimental work-in-progress. See <<a href="http://www.w3.org/TR/grddl/">http://www.w3.org/TR/grddl/</a>> for more information.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> Informative References</h1><table summary="Informative References"> <tr><td class="reference"><b id="BCP97">[BCP97]</b></td><td class="top"><a href="mailto:klensin+ietf@jck.com">Klensin, J.</a> and <a href="mailto:hartmans-ietf@mit.edu" title="MIT">S. Hartman</a>, “<a href="http://tools.ietf.org/html/rfc4897">Handling Normative References to Standards-Track Documents</a>”, BCP 97, RFC 4897, June 2007.</td></tr><tr><td class="reference"><b id="HTML">[HTML]</b></td><td class="top"><a href="mailto:dsr@w3.org" title="W3C">Raggett, D.</a>, Hors, A., and I. Jacobs, “<a href="http://www.w3.org/TR/html401/">HTML 4.01 Specification</a>”, W3C REC-html401-19991224, December 1999, <<a href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a>>.</td></tr><tr><td class="reference"><b id="RFC2119">[RFC2119]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a>”, BCP 14, RFC 2119, March 1997.</td></tr><tr><td class="reference"><b id="RFC2616">[RFC2616]</b></td><td class="top"><a href="mailto:fielding@ics.uci.edu" title="University of California, Irvine, Information and Computer Science">Fielding, R.T.</a>, <a href="mailto:jg@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Gettys, J.</a>, <a href="mailto:mogul@wrl.dec.com" title="Compaq Computer Corporation, Western Research Laboratory">Mogul, J.C.</a>, <a href="mailto:frystyk@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">Nielsen, H.F.</a>, <a href="mailto:masinter@parc.xerox.com" title="Xerox Corporation">Masinter, L.</a>, <a href="mailto:paulle@microsoft.com" title="Microsoft Corporation">Leach, P.J.</a>, and <a href="mailto:timbl@w3.org" title="World Wide Web Consortium, MIT Laboratory for Computer Science">T. Berners-Lee</a>, “<a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol -- HTTP/1.1</a>”, RFC 2616, June 1999.</td></tr><tr><td class="reference"><b id="RFC2629">[RFC2629]</b></td><td class="top"><a href="mailto:mrose@not.invisible.net" title="Invisible Worlds, Inc.">Rose, M.T.</a>, “<a href="http://tools.ietf.org/html/rfc2629">Writing I-Ds and RFCs using XML</a>”, RFC 2629, June 1999.</td></tr><tr><td class="reference"><b id="RFC2648">[RFC2648]</b></td><td class="top"><a href="mailto:jayhawk@att.com" title="AT&T">Moats, R.</a>, “<a href="http://tools.ietf.org/html/rfc2648">A URN Namespace for IETF Documents</a>”, RFC 2648, August 1999.</td></tr><tr><td class="reference"><b id="RFC2731">[RFC2731]</b></td><td class="top"><a href="mailto:jak@ckm.ucsf.edu" title="University of California, San Francisco, Center for Knowledge Management">Kunze, J.A.</a>, “<a href="http://tools.ietf.org/html/rfc2731">Encoding Dublin Core Metadata in HTML</a>”, RFC 2731, December 1999.</td></tr><tr><td class="reference"><b id="RFC5234">[RFC5234]</b></td><td class="top"><a href="mailto:dcrocker@bbiw.net" title="Brandenburg InternetWorking">Crocker, D., Ed.</a> and <a href="mailto:paul.overell@thus.net" title="THUS plc.">P. Overell</a>, “<a href="http://tools.ietf.org/html/rfc5234">Augmented BNF for Syntax Specifications: ABNF</a>”, STD 68, RFC 5234, January 2008.</td></tr><tr><td class="reference"><b id="RNC">[RNC]</b></td><td class="top"><a href="mailto:jjc@jclark.com">Clark, J.</a>, “<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">RELAX NG Compact Syntax</a>”, OASIS, Nov 2002, <<a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html">http://www.oasis-open.org/committees/relax-ng/compact-20021121.html</a>>.</td></tr><tr><td class="reference"><b id="XHTML2">[XHTML2]</b></td><td class="top">Axelsson, J., Birbeck, M., Dubinko, M., Epperson, B., Ishikawa, M., McCarron, S., Navarro, A., and S. Pemberton, “<a href="http://www.w3.org/TR/xhtml2">XHTML™ 2.0</a>”, W3C WD-xhtml2-20060726, July 2006, <<a href="http://www.w3.org/TR/xhtml2">http://www.w3.org/TR/xhtml2</a>>.</td></tr><tr><td class="reference"><b id="XSL-FO">[XSL-FO]</b></td><td class="top"><a href="mailto:alrb@us.ibm.com" title="IBM">Berglund, A.</a>, “<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">Extensible Stylesheet Language (XSL) Version 1.1</a>”, W3C REC-xsl11-20061205, Dec 2006, <<a href="http://www.w3.org/TR/2006/REC-xsl11-20061205/">http://www.w3.org/TR/2006/REC-xsl11-20061205/</a>>.</td></tr></table><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><div id="rfc.iref.g.2"></div><div id="rfc.iref.s.14"></div><div id="rfc.iref.r.22"></div><h1 id="rfc.section.A" class="np"><a href="#rfc.section.A">A.</a> <a id="grammar" href="#grammar">RELAX NG Compact Schema</a></h1><p id="rfc.section.A.p.1">The RelaxNG schema (<a href="#RNC" id="rfc.xref.RNC.1"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a>) below can be used to validate input documents (for instance, with <a href="http://www.thaiopensource.com/relaxng/jing.html">Jing</a>).</p><p id="rfc.section.A.p.2"> <em>Note that this is work in progress, and doesn't yet cover all extensions completely.</em> </p><div id="rfc.figure.u.21"></div> <pre class="inline"><em># WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR.</em> 467 475 468 476 <em># Define our extension namespace</em> … … 471 479 <em># Define GRDDL namespace</em> 472 480 namespace grddl = "http://www.w3.org/2003/g/data-view#" 481 482 <em># Define RDF namespace</em> 483 namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" 473 484 474 485 <em># Include rfc2629bis RNC grammar</em> … … 489 500 <strong>| <a href="#x_bt" class="smpl">x_bt</a></strong> 490 501 <strong>| <a href="#x_length-of" class="smpl">x_length-of</a></strong> 502 <strong>| <a href="#x_parse-xml" class="smpl">x_parse-xml</a></strong> 491 503 <strong>| <a href="#x_ref" class="smpl">x_ref</a></strong> 492 504 <strong>| <a href="#x_span" class="smpl">x_span</a></strong> … … 580 592 | section 581 593 <strong>| <a href="#x_anchor-alias" class="smpl">x_anchor-alias</a></strong> 582 <strong>| <a href="#x_blockquote" class="smpl">x_blockquote</a></strong>)* 594 <strong>| <a href="#x_blockquote" class="smpl">x_blockquote</a></strong> 595 <strong>| <a href="#rdf_Description" class="smpl">rdf_Description</a></strong>)* 583 596 } 584 597 … … 617 630 } 618 631 619 <em># Extend attribute set for <iref> (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref> element">Section 10.1 7</a>)</em>632 <em># Extend attribute set for <iref> (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref> element">Section 10.18</a>)</em> 620 633 attlist.iref &= 621 634 attribute x:for-anchor { ATEXT }? 622 635 623 <em># Extend attribute set for <list> (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list> element">Section 10.1 8</a>)</em>636 <em># Extend attribute set for <list> (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list> element">Section 10.19</a>)</em> 624 637 attlist.list &= 625 638 attribute x:indent { ATEXT }? … … 633 646 attribute grddl:transformation { ATEXT }? 634 647 635 <em># Extend attribute set for <section> (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section> element">Section 10. 19</a>)</em>648 <em># Extend attribute set for <section> (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section> element">Section 10.20</a>)</em> 636 649 attlist.section &= 637 650 attribute x:fixed-section-number { ATEXT }? … … 641 654 attribute anchor { xsd:ID }? 642 655 643 <em># Extend attribute set for <xref> (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref> element">Section 10.2 0</a>)</em>656 <em># Extend attribute set for <xref> (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref> element">Section 10.21</a>)</em> 644 657 attlist.xref &= 645 658 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | … … 648 661 attribute x:sec { ATEXT }? 649 662 650 <em id="x_abnf-char-sequence"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.1 8"></span># Conversion to ABNF char sequence (see <a href="#ext.element.abnf-char-sequence" title="<abnf-char-sequence> element">Section 10.1</a>)</em>663 <em id="x_abnf-char-sequence"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.19"></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 664 <a href="#x_abnf-char-sequence" class="smpl">x_abnf-char-sequence</a> = 652 665 element x:abnf-char-sequence { … … 654 667 } 655 668 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>669 <em id="x_anchor-alias"><span id="rfc.iref.a.30"></span><span id="rfc.iref.e.20"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias> element">Section 10.2</a>)</em> 657 670 <a href="#x_anchor-alias" class="smpl">x_anchor-alias</a> = 658 671 element x:anchor-alias { … … 661 674 } 662 675 663 <em id="x_assign-section-number"><span id="rfc.iref.a.31"></span><span id="rfc.iref.e.2 0"></span># Setting section numbers for internally generated sections676 <em id="x_assign-section-number"><span id="rfc.iref.a.31"></span><span id="rfc.iref.e.21"></span># Setting section numbers for internally generated sections 664 677 # (experimental)</em> 665 678 <a href="#x_assign-section-number" class="smpl">x_assign-section-number</a> = … … 670 683 } 671 684 672 <em id="x_bb"><span id="rfc.iref.b.7"></span><span id="rfc.iref.e.2 1"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb> element">Section 10.4</a>)</em>685 <em id="x_bb"><span id="rfc.iref.b.7"></span><span id="rfc.iref.e.22"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb> element">Section 10.4</a>)</em> 673 686 <a href="#x_bb" class="smpl">x_bb</a> = 674 687 element x:bb { … … 682 695 } 683 696 684 <em id="x_bc"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.2 2"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc> element">Section 10.5</a>)</em>697 <em id="x_bc"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.23"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc> element">Section 10.5</a>)</em> 685 698 <a href="#x_bc" class="smpl">x_bc</a> = 686 699 element x:bc { … … 694 707 } 695 708 696 <em id="x_bcp14"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.2 3"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.3</a>)</em>709 <em id="x_bcp14"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.24"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.3</a>)</em> 697 710 <a href="#x_bcp14" class="smpl">x_bcp14</a> = 698 711 element x:bcp14 { … … 710 723 } 711 724 712 <em id="x_blockquote"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.2 4"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.6</a>)</em>725 <em id="x_blockquote"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.25"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.6</a>)</em> 713 726 <a href="#x_blockquote" class="smpl">x_blockquote</a> = 714 727 element x:blockquote { … … 717 730 } 718 731 719 <em id="x_bt"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.2 5"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt> element">Section 10.7</a>)</em>732 <em id="x_bt"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.26"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt> element">Section 10.7</a>)</em> 720 733 <a href="#x_bt" class="smpl">x_bt</a> = 721 734 element x:bt { … … 729 742 } 730 743 731 <em id="x_dfn"><span id="rfc.iref.d.9"></span><span id="rfc.iref.e.2 6"></span># Definition (see <a href="#ext.element.dfn" title="<dfn> element">Section 10.8</a>)</em>744 <em id="x_dfn"><span id="rfc.iref.d.9"></span><span id="rfc.iref.e.27"></span># Definition (see <a href="#ext.element.dfn" title="<dfn> element">Section 10.8</a>)</em> 732 745 <a href="#x_dfn" class="smpl">x_dfn</a> = 733 746 element x:dfn { 747 attribute anchor { xsd:ID }?, 734 748 (TEXT 735 749 | iref)* 736 750 } 737 751 738 <em id="x_h"><span id="rfc.iref.h.13"></span><span id="rfc.iref.e.2 7"></span># Heading (see <a href="#ext.element.h" title="<h> element">Section 10.9</a>)</em>752 <em id="x_h"><span id="rfc.iref.h.13"></span><span id="rfc.iref.e.28"></span># Heading (see <a href="#ext.element.h" title="<h> element">Section 10.9</a>)</em> 739 753 <a href="#x_h" class="smpl">x_h</a> = 740 754 element x:h { … … 742 756 } 743 757 744 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.2 8"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of> element">Section 10.10</a>)</em>758 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.29"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of> element">Section 10.10</a>)</em> 745 759 <a href="#x_length-of" class="smpl">x_length-of</a> = 746 760 element x:length-of { … … 750 764 } 751 765 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>766 <em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.30"></span># Link (see <a href="#ext.element.link" title="<link> element">Section 10.11</a>)</em> 753 767 <a href="#x_link" class="smpl">x_link</a> = 754 768 element x:link { … … 759 773 } 760 774 761 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.3 0"></span># Extended list item (see <a href="#ext.element.lt" title="<lt> element">Section 10.12</a>)</em>775 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.31"></span># Extended list item (see <a href="#ext.element.lt" title="<lt> element">Section 10.12</a>)</em> 762 776 <a href="#x_lt" class="smpl">x_lt</a> = 763 777 element x:lt { … … 767 781 } 768 782 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> 783 <em id="x_parse-xml"><span id="rfc.iref.p.55"></span><span id="rfc.iref.e.32"></span># Signal XML content (see <a href="#ext.element.parse-xml" title="<parse-xml> element">Section 10.13</a>)</em> 784 <a href="#x_parse-xml" class="smpl">x_parse-xml</a> = 785 element x:parse-xml { 786 TEXT 787 } 788 789 <em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e.33"></span># Inline quote (see <a href="#ext.element.q" title="<q> element">Section 10.14</a>)</em> 770 790 <a href="#x_q" class="smpl">x_q</a> = 771 791 element x:q { … … 773 793 } 774 794 775 <em id="x_ref"><span id="rfc.iref.r.23"></span><span id="rfc.iref.e.3 2"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref> element">Section 10.14</a>)</em>795 <em id="x_ref"><span id="rfc.iref.r.23"></span><span id="rfc.iref.e.34"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref> element">Section 10.15</a>)</em> 776 796 <a href="#x_ref" class="smpl">x_ref</a> = 777 797 element x:ref { … … 779 799 } 780 800 781 <em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.3 3"></span># source information (see <a href="#ext.element.source" title="<source> element">Section 10.15</a>)</em>801 <em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.35"></span># source information (see <a href="#ext.element.source" title="<source> element">Section 10.16</a>)</em> 782 802 <a href="#x_source" class="smpl">x_source</a> = 783 803 element x:source { … … 787 807 } 788 808 789 <em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.3 4"></span># superscript (see <a href="#ext.element.sup" title="<sup> element">Section 10.16</a>)</em>809 <em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.36"></span># superscript (see <a href="#ext.element.sup" title="<sup> element">Section 10.17</a>)</em> 790 810 <a href="#x_sup" class="smpl">x_sup</a> = 791 811 element x:sup { … … 793 813 } 794 814 795 <em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.3 5"></span># Inline Span </em>815 <em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.37"></span># Inline Span </em> 796 816 <a href="#x_span" class="smpl">x_span</a> = 797 817 element x:span { 798 818 attribute anchor { xsd:ID }?, 799 TEXT 800 } 801 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> 819 (TEXT 820 | <a href="#x_parse-xml" class="smpl">x_parse-xml</a>)* 821 } 822 823 <em id="x_x"><span id="rfc.iref.x.27"></span><span id="rfc.iref.e.38"></span># Nop (for alignment in source)</em> 803 824 <a href="#x_x" class="smpl">x_x</a> = 804 825 element x:x { 805 826 empty 806 827 } 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> 828 829 <em id="rdf_Description"><span id="rfc.iref.r.24"></span><span id="rfc.iref.e.39"></span># Nop (for alignment in source)</em> 830 <a href="#rdf_Description" class="smpl">rdf_Description</a> = 831 element rdf:Description { 832 rdf_content 833 } 834 835 rdf_content = 836 ( TEXT | element * { rdf_content })* 837 </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><dt>2008-07-18</dt><dd>Experimental support for inlined rdf:Description elements (ignored by the formatter, extracted by rfc2629grddl).</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><dt>2008-07-12</dt><dd>Add XSLT2-based link target checking.</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"><em>BCP97</em> <a class="iref" href="#rfc.xref.BCP97.1">11.1</a>, <a class="iref" href="#BCP97"><b>12</b></a></li><li class="indline1">blockquote Extension Element <a class="iref" href="#rfc.iref.b.5"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.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.19">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.20">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.21">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.22">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.23">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.24">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.25">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.26">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.27">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.28">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.29">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.30">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.31">A</a></li><li class="indline1">parse-xml <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">rdf:Description <a class="iref" href="#rfc.iref.e.39">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.34">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.17"><b>10.16</b></a>, <a class="iref" href="#rfc.iref.e.35">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.37">A</a></li><li class="indline1">sup <a class="iref" href="#rfc.iref.e.18"><b>10.17</b></a>, <a class="iref" href="#rfc.iref.e.36">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.38">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.14</a>, <a class="iref" href="#rfc.xref.HTML.5">10.17</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 Extension Element <a class="iref" href="#rfc.iref.p.54"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.p.55">A</a></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.14</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">rdf:Description Extension Element <a class="iref" href="#rfc.iref.r.24">A</a></li><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.21"><b>10.15</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.21</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.21</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.16</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.17</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
r272 r285 4 4 RFC2629 through XSLT J. Reschke 5 5 greenbytes 6 July 6, 20086 July 18, 2008 7 7 8 8 … … 49 49 10.11. <link> element . . . . . . . . . . . . . . . . . . . . . 23 50 50 10.12. <lt> element . . . . . . . . . . . . . . . . . . . . . . 23 51 10.13. < q> element . . . .. . . . . . . . . . . . . . . . . . . 2451 10.13. <parse-xml> element . . . . . . . . . . . . . . . . . . . 24 52 52 53 53 … … 59 59 60 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 61 10.14. <q> element . . . . . . . . . . . . . . . . . . . . . . . 24 62 10.15. <ref> element . . . . . . . . . . . . . . . . . . . . . . 24 63 10.16. <source> element . . . . . . . . . . . . . . . . . . . . 24 64 10.17. <sup> element . . . . . . . . . . . . . . . . . . . . . . 25 65 10.18. Extensions to Xml2rfc <iref> element . . . . . . . . . . 25 66 10.19. Extensions to Xml2rfc <list> element . . . . . . . . . . 25 67 10.20. Extensions to Xml2rfc <section> element . . . . . . . . . 25 68 10.21. Extensions to Xml2rfc <xref> element . . . . . . . . . . 26 68 69 11. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 27 69 70 11.1. Checking References . . . . . . . . . . . . . . . . . . . 27 70 11.2. Generating Graphs from References . . . . . . . . . . . . 2 871 11.3. Producing reference entries for books . . . . . . . . . . 2 872 11.4. Down-converting to RFC2629bis DTD . . . . . . . . . . . . 2971 11.2. Generating Graphs from References . . . . . . . . . . . . 29 72 11.3. Producing reference entries for books . . . . . . . . . . 29 73 11.4. Down-converting to RFC2629bis DTD . . . . . . . . . . . . 30 73 74 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 75 11.6. GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 31 76 12. Informative References . . . . . . . . . . . . . . . . . . . . 32 77 Appendix A. RELAX NG Compact Schema . . . . . . . . . . . . . . . 34 78 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 42 79 B.1. Recognized type attributes for <artwork> element . . . . 42 80 Appendix C. License . . . . . . . . . . . . . . . . . . . . . . . 43 81 Appendix D. Change Logs . . . . . . . . . . . . . . . . . . . . . 44 82 D.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 44 83 D.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 44 84 D.3. check-references.xslt . . . . . . . . . . . . . . . . . . 44 85 D.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 45 86 D.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 45 87 D.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 55 88 D.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 57 89 D.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 57 90 D.9. xsl11toFop-0.93.xslt . . . . . . . . . . . . . . . . . . 57 91 D.10. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 57 92 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 93 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 65 94 94 95 95 … … 1313 1313 1314 1314 1315 10.13. <q> element 1315 10.13. <parse-xml> element 1316 1317 This element instructs the processor to parse the contents as XML and 1318 to warn when there's a problem (requires either MSXML or Saxon8 or 1319 newer). 1320 1321 10.14. <q> element 1316 1322 1317 1323 This element is like the "q" element in [HTML]. 1318 1324 1319 10.1 4. <ref> element1325 10.15. <ref> element 1320 1326 1321 1327 This element is a simplified variant of the <xref> element, in that … … 1345 1351 <xref target="test">alias 2</xref> 1346 1352 1347 10.1 5. <source> element1353 10.16. <source> element 1348 1354 1349 1355 Can be used to enhance a <reference> with information about the 1350 1356 location for the XML source. This can be used by the <xref> 1351 1357 processing code to automatically extract the target section number. 1358 1359 1360 1361 1362 1363 1364 1365 1366 Reschke [Page 24] 1367 1368 1369 Documentation RFC2629 through XSLT July 2008 1370 1352 1371 1353 1372 For example: … … 1362 1381 ... 1363 1382 1364 1365 1366 Reschke [Page 24] 1367 1368 1369 Documentation RFC2629 through XSLT July 2008 1370 1371 1372 10.16. <sup> element 1383 10.17. <sup> element 1373 1384 1374 1385 This element is like the "sup" element in [HTML]. … … 1376 1387 Note: the down conversion to RFC2629 format replaces "x^y" by "x^y". 1377 1388 1378 10.1 7. Extensions to Xml2rfc <iref> element1389 10.18. Extensions to Xml2rfc <iref> element 1379 1390 1380 1391 The extension attribute below is allowed on the standard <iref> … … 1387 1398 closest ancestor. 1388 1399 1389 10.1 8. Extensions to Xml2rfc <list> element1400 10.19. Extensions to Xml2rfc <list> element 1390 1401 1391 1402 The extension attribute below is allowed on the standard <list> … … 1401 1412 <t>, allowing to insert multiple paragraphs into a single list item. 1402 1413 1403 10. 19. Extensions to Xml2rfc <section> element1414 10.20. Extensions to Xml2rfc <section> element 1404 1415 1405 1416 The extension attribute below is allowed on the standard <list> 1406 1417 element: 1418 1419 1420 1421 1422 1423 Reschke [Page 25] 1424 1425 1426 Documentation RFC2629 through XSLT July 2008 1427 1407 1428 1408 1429 o x:fixed-section-number can be used to specify a fixed section … … 1410 1431 that used a different numbering style. 1411 1432 1412 10.2 0. Extensions to Xml2rfc <xref> element1433 10.21. Extensions to Xml2rfc <xref> element 1413 1434 1414 1435 Three extension attributes are allowed on the standard <xref> … … 1417 1438 1. x:sec can be specified to point to a specific section of the 1418 1439 referenced document, 1419 1420 1421 1422 1423 Reschke [Page 25]1424 1425 1426 Documentation RFC2629 through XSLT July 20081427 1428 1440 1429 1441 2. x:rel may specify a relative reference to use when linking into … … 1456 1468 generate a link directly to the target section, such as in [RFC2119], 1457 1469 Section 5. 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1470 1471 1471 … … 1499 1499 "intended-level" as 'PROPOSED', 'DRAFT' or 'STANDARD'. 1500 1500 1501 For instance, as of 2006-08-06, the script produces for 1501 Note: Downward references should be annotated using the <annotate> 1502 element, containing an <xref> to [BCP97]. 1503 1504 When an XSLT 2.0 processor is used, links in the document can be 1505 checked as well using the "link-check" paramerer ('yes' or 'no'). 1506 Note that this only works for http links to documents of tytpe 1507 text/*. 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 Reschke [Page 27] 1538 1539 1540 Documentation RFC2629 through XSLT July 2008 1541 1542 1543 For instance, as of 2008-07-12, the script produces for 1502 1544 <http://greenbytes.de/tech/webdav/rfc2518.xml>: 1503 1545 1504 > saxon rfc2518.xml check-references.xslt 1546 > saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \ 1547 link-check=yes 1505 1548 1506 1549 Normative References: … … 1509 1552 ISO-8601: not checked 1510 1553 REC-xml-19980210: [FirstEdition] obsoleted by REC-xml-20001006 1511 REC-xml-names-19990114: [REC] obsoleted by PER-xml-names-20060614 1554 REC-xml-names-19990114: [FirstEdition] obsoleted by 1555 REC-xml-names-20060816 1512 1556 RFC1766: [PROPOSED STANDARD] obsoleted by RFC3066 RFC3282 1513 1557 RFC2068: [PROPOSED STANDARD] obsoleted by RFC2616 … … 1525 1569 RFC2291: [INFORMATIONAL] ok 1526 1570 RFC2376: [INFORMATIONAL] obsoleted by RFC3023 1527 RFC2413: [INFORMATIONAL] o k1571 RFC2413: [INFORMATIONAL] obsoleted by RFC5013 1528 1572 USMARC: not checked 1529 1573 WF: not checked 1530 1574 1575 Link Targets 1576 <http://www.w3.org/TR/1998/REC-xml-19980210>: ok 1577 <http://www.w3.org/TR/1999/REC-xml-names-19990114>: ok 1578 <http://www.dlib.org/dlib/july96/lagoze/07lagoze.html>: ok 1579 <http://www.w3.org/pub/WWW/TR/REC-PICS-labels-961031.html>: ok 1580 1531 1581 Recognized formats in the <seriesInfo> element are: 1532 1533 1534 1535 1536 1537 Reschke [Page 27]1538 1539 1540 Documentation RFC2629 through XSLT July 20081541 1542 1582 1543 1583 o for RFCs, the name attribute must be "RFC", and the value … … 1549 1589 extension), 1550 1590 1591 1592 1593 1594 Reschke [Page 28] 1595 1596 1597 Documentation RFC2629 through XSLT July 2008 1598 1599 1551 1600 o for W3C documents, the name attribute must be "W3C", must start 1552 1601 with "W3C ", or must start with "World Wide Web Consortium ", and … … 1568 1617 "amazon-asin.xslt" uses the Amazon web services to generate a 1569 1618 <reference> element for a given ASIN (ISBN). 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 Reschke [Page 28]1595 1596 1597 Documentation RFC2629 through XSLT July 20081598 1599 1619 1600 1620 For instance: … … 1623 1643 Amazon's database is playing tricks with Marshall's name... 1624 1644 1645 1646 1647 1648 1649 1650 1651 Reschke [Page 29] 1652 1653 1654 Documentation RFC2629 through XSLT July 2008 1655 1656 1625 1657 11.4. Down-converting to RFC2629bis DTD 1626 1658 … … 1646 1678 o <x:blockquote> elements get converted to indented text (through a 1647 1679 <list> element). 1648 1649 1650 1651 Reschke [Page 29]1652 1653 1654 Documentation RFC2629 through XSLT July 20081655 1656 1680 1657 1681 o <x:dfn> elements get stripped. … … 1679 1703 1680 1704 In addition, artwork of a specific type can be extracted, such as 1705 1706 1707 1708 Reschke [Page 30] 1709 1710 1711 Documentation RFC2629 through XSLT July 2008 1712 1713 1681 1714 with: 1682 1715 saxon rfc3986.xml extract-artwork.xslt type=abnf … … 1706 1739 1707 1740 1708 Reschke [Page 30] 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 Reschke [Page 31] 1709 1766 1710 1767 … … 1713 1770 1714 1771 12. Informative References 1772 1773 [BCP97] Klensin, J. and S. Hartman, "Handling Normative References 1774 to Standards-Track Documents", BCP 97, RFC 4897, 1775 June 2007. 1715 1776 1716 1777 [HTML] Raggett, D., Hors, A., and I. Jacobs, "HTML 4.01 … … 1757 1818 [3] <https://addons.mozilla.org/firefox/2933/> 1758 1819 1820 1821 1822 Reschke [Page 32] 1823 1824 1825 Documentation RFC2629 through XSLT July 2008 1826 1827 1759 1828 [4] <http://microformats.org/wiki/hcard> 1760 1829 1761 1830 [5] <http://www.w3.org/TR/2003/WD-xsl11-20031217/> 1762 1763 1764 1765 Reschke [Page 31]1766 1767 1768 Documentation RFC2629 through XSLT July 20081769 1770 1831 1771 1832 [6] <http://www.antennahouse.com/> … … 1816 1877 1817 1878 1818 1819 1820 1821 1822 Reschke [Page 32] 1879 Reschke [Page 33] 1823 1880 1824 1881 … … 1841 1898 # Define GRDDL namespace 1842 1899 namespace grddl = "http://www.w3.org/2003/g/data-view#" 1900 1901 # Define RDF namespace 1902 namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" 1843 1903 1844 1904 # Include rfc2629bis RNC grammar … … 1859 1919 | x_bt 1860 1920 | x_length-of 1921 | x_parse-xml 1861 1922 | x_ref 1862 1923 | x_span … … 1870 1931 (TEXT 1871 1932 | xref 1933 1934 1935 1936 Reschke [Page 34] 1937 1938 1939 Documentation RFC2629 through XSLT July 2008 1940 1941 1872 1942 | eref 1873 1943 | iref 1874 1944 | cref 1875 1945 | spanx 1876 1877 1878 1879 Reschke [Page 33]1880 1881 1882 Documentation RFC2629 through XSLT July 20081883 1884 1885 1946 | x_ref)* 1886 1947 } … … 1927 1988 } 1928 1989 1990 1991 1992 1993 Reschke [Page 35] 1994 1995 1996 Documentation RFC2629 through XSLT July 2008 1997 1998 1929 1999 # Redefine <reference> to allow our extension elements 1930 2000 reference = 1931 2001 element reference { 1932 2002 attlist.reference, 1933 1934 1935 1936 Reschke [Page 34]1937 1938 1939 Documentation RFC2629 through XSLT July 20081940 1941 1942 2003 front, 1943 2004 seriesInfo*, … … 1968 2029 | section 1969 2030 | x_anchor-alias 1970 | x_blockquote)* 2031 | x_blockquote 2032 | rdf_Description)* 1971 2033 } 1972 2034 … … 1983 2045 # Redefine <t> to allow our extension elements 1984 2046 t = 2047 2048 2049 2050 Reschke [Page 36] 2051 2052 2053 Documentation RFC2629 through XSLT July 2008 2054 2055 1985 2056 element t { 1986 2057 attlist.t, … … 1988 2059 | \list 1989 2060 | figure 1990 1991 1992 1993 Reschke [Page 35]1994 1995 1996 Documentation RFC2629 through XSLT July 20081997 1998 1999 2061 | xref 2000 2062 | eref … … 2014 2076 } 2015 2077 2016 # Extend attribute set for <iref> (see Section 10.1 7)2078 # Extend attribute set for <iref> (see Section 10.18) 2017 2079 attlist.iref &= 2018 2080 attribute x:for-anchor { ATEXT }? 2019 2081 2020 # Extend attribute set for <list> (see Section 10.1 8)2082 # Extend attribute set for <list> (see Section 10.19) 2021 2083 attlist.list &= 2022 2084 attribute x:indent { ATEXT }? … … 2030 2092 attribute grddl:transformation { ATEXT }? 2031 2093 2032 # Extend attribute set for <section> (see Section 10. 19)2094 # Extend attribute set for <section> (see Section 10.20) 2033 2095 attlist.section &= 2034 2096 attribute x:fixed-section-number { ATEXT }? … … 2038 2100 attribute anchor { xsd:ID }? 2039 2101 2040 # Extend attribute set for <xref> (see Section 10.2 0)2102 # Extend attribute set for <xref> (see Section 10.21) 2041 2103 attlist.xref &= 2104 2105 2106 2107 Reschke [Page 37] 2108 2109 2110 Documentation RFC2629 through XSLT July 2008 2111 2112 2042 2113 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | 2043 2114 "none" }?, 2044 2115 attribute x:rel { ATEXT }?, 2045 2116 attribute x:sec { ATEXT }? 2046 2047 2048 2049 2050 Reschke [Page 36]2051 2052 2053 Documentation RFC2629 through XSLT July 20082054 2055 2117 2056 2118 # Conversion to ABNF char sequence (see Section 10.1) … … 2097 2159 | x_bc 2098 2160 | x_bt 2161 2162 2163 2164 Reschke [Page 38] 2165 2166 2167 Documentation RFC2629 through XSLT July 2008 2168 2169 2099 2170 | x_ref)* 2100 2171 } … … 2102 2173 # BCP14/RFC2119 keywords (see Section 10.3) 2103 2174 x_bcp14 = 2104 2105 2106 2107 Reschke [Page 37]2108 2109 2110 Documentation RFC2629 through XSLT July 20082111 2112 2113 2175 element x:bcp14 { 2114 2176 "MAY" … … 2147 2209 x_dfn = 2148 2210 element x:dfn { 2211 attribute anchor { xsd:ID }?, 2149 2212 (TEXT 2150 2213 | iref)* … … 2153 2216 # Heading (see Section 10.9) 2154 2217 x_h = 2218 2219 2220 2221 Reschke [Page 39] 2222 2223 2224 Documentation RFC2629 through XSLT July 2008 2225 2226 2155 2227 element x:h { 2156 2228 TEXT … … 2159 2231 # Length Measurement (see Section 10.10) 2160 2232 x_length-of = 2161 2162 2163 2164 Reschke [Page 38]2165 2166 2167 Documentation RFC2629 through XSLT July 20082168 2169 2170 2233 element x:length-of { 2171 2234 attribute indented { NUMBER }?, … … 2191 2254 } 2192 2255 2193 # Inline quote (see Section 10.13) 2256 # Signal XML content (see Section 10.13) 2257 x_parse-xml = 2258 element x:parse-xml { 2259 TEXT 2260 } 2261 2262 # Inline quote (see Section 10.14) 2194 2263 x_q = 2195 2264 element x:q { … … 2197 2266 } 2198 2267 2199 # Anchor reference (see Section 10.1 4)2268 # Anchor reference (see Section 10.15) 2200 2269 x_ref = 2201 2270 element x:ref { … … 2203 2272 } 2204 2273 2205 # source information (see Section 10.15) 2274 # source information (see Section 10.16) 2275 2276 2277 2278 Reschke [Page 40] 2279 2280 2281 Documentation RFC2629 through XSLT July 2008 2282 2283 2206 2284 x_source = 2207 2285 element x:source { … … 2211 2289 } 2212 2290 2213 # superscript (see Section 10.1 6)2291 # superscript (see Section 10.17) 2214 2292 x_sup = 2215 2293 element x:sup { … … 2217 2295 } 2218 2296 2219 2220 2221 Reschke [Page 39]2222 2223 2224 Documentation RFC2629 through XSLT July 20082225 2226 2227 2297 # Inline Span 2228 2298 x_span = 2229 2299 element x:span { 2230 2300 attribute anchor { xsd:ID }?, 2231 TEXT 2301 (TEXT 2302 | x_parse-xml)* 2232 2303 } 2233 2304 … … 2238 2309 } 2239 2310 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 Reschke [Page 40] 2311 # Nop (for alignment in source) 2312 rdf_Description = 2313 element rdf:Description { 2314 rdf_content 2315 } 2316 2317 rdf_content = 2318 ( TEXT | element * { rdf_content })* 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 Reschke [Page 41] 2279 2336 2280 2337 … … 2333 2390 2334 2391 2335 Reschke [Page 4 1]2392 Reschke [Page 42] 2336 2393 2337 2394 … … 2390 2447 2391 2448 2392 Reschke [Page 4 2]2449 Reschke [Page 43] 2393 2450 2394 2451 … … 2407 2464 2408 2465 2007-05-01 Add XSLT test cases. 2466 2467 2008-07-18 Experimental support for inlined rdf:Description elements 2468 (ignored by the formatter, extracted by rfc2629grddl). 2409 2469 2410 2470 D.2. amazon-asin.xslt … … 2439 2499 2007-06-16 Fix bug looking up ref type when inside change markup. 2440 2500 2501 2502 2503 2504 2505 2506 Reschke [Page 44] 2507 2508 2509 Documentation RFC2629 through XSLT July 2008 2510 2511 2441 2512 2008-06-14 Enhance output when draft was updated, and then published 2442 2513 as RFC. 2443 2514 2444 2445 2446 2447 2448 2449 Reschke [Page 43] 2450 2451 2452 Documentation RFC2629 through XSLT July 2008 2453 2515 2008-07-12 Add XSLT2-based link target checking. 2454 2516 2455 2517 D.4. gen-reference-graph.xslt … … 2494 2556 artwork elements (requires MSXSL). 2495 2557 2558 2559 2560 2561 2562 2563 Reschke [Page 45] 2564 2565 2566 Documentation RFC2629 through XSLT July 2008 2567 2568 2496 2569 2002-01-27 Some cleanup. Moved RFC issues from PIs into namespaced 2497 2570 elements. … … 2500 2573 names. 2501 2574 2502 2503 2504 2505 2506 Reschke [Page 44]2507 2508 2509 Documentation RFC2629 through XSLT July 20082510 2511 2512 2575 2002-02-07 Highlight parts of artwork which are too wide (72 2513 2576 characters). … … 2550 2613 status, copyright etc. 2551 2614 2615 2616 2617 2618 2619 2620 Reschke [Page 46] 2621 2622 2623 Documentation RFC2629 through XSLT July 2008 2624 2625 2552 2626 2002-07-08 Fix xrefs to Appendices. 2553 2627 … … 2556 2630 2002-10-09 Translate references title to anchor name to avoid non- 2557 2631 uri characters. (fielding) 2558 2559 2560 2561 2562 2563 Reschke [Page 45]2564 2565 2566 Documentation RFC2629 through XSLT July 20082567 2568 2632 2569 2633 2002-10-13 Support for tocdepth PI. … … 2606 2670 formatting) 2607 2671 2672 2673 2674 2675 2676 2677 Reschke [Page 47] 2678 2679 2680 Documentation RFC2629 through XSLT July 2008 2681 2682 2608 2683 2003-05-13 add DC.Creator meta tag, refactoring 2609 2684 … … 2611 2686 2612 2687 2003-05-18 author summary: add missing comma. 2613 2614 2615 2616 2617 2618 2619 2620 Reschke [Page 46]2621 2622 2623 Documentation RFC2629 through XSLT July 20082624 2625 2688 2626 2689 2003-06-06 fix index generation bug (transposed characters in key … … 2664 2727 use of cite attribute on ed:replace. CSS cleanup. 2665 2728 2729 2730 2731 2732 2733 2734 Reschke [Page 48] 2735 2736 2737 Documentation RFC2629 through XSLT July 2008 2738 2739 2666 2740 2003-10-08 Fix minor issue detecting the same org for the header 2667 2741 (caused by IE's non-standard whitespace handling). Fix default … … 2672 2746 Do not complain about missing targets when the xref element is 2673 2747 below ed:del. Remove code that attempted to distinguish section/ 2674 2675 2676 2677 Reschke [Page 47]2678 2679 2680 Documentation RFC2629 through XSLT July 20082681 2682 2683 2748 Section when producing links - always use uppercase. Fix date 2684 2749 rendering for issue resolutions. … … 2721 2786 section. 2722 2787 2788 2789 2790 2791 Reschke [Page 49] 2792 2793 2794 Documentation RFC2629 through XSLT July 2008 2795 2796 2723 2797 2004-05-16 Refactor external index generation. 2724 2798 … … 2726 2800 2727 2801 2004-05-22 Enhance issues rendering (add links to changes). 2728 2729 2730 2731 2732 2733 2734 Reschke [Page 48]2735 2736 2737 Documentation RFC2629 through XSLT July 20082738 2739 2802 2740 2803 2004-05-30 Allow single quote as delimiter in processing … … 2778 2841 2005-01-22 Enhance generation of HTML h* elements (for Mozilla 2779 2842 Outliner). 2843 2844 2845 2846 2847 2848 Reschke [Page 50] 2849 2850 2851 Documentation RFC2629 through XSLT July 2008 2852 2780 2853 2781 2854 2005-01-31 Put vertical space around top-level TOC entries in TOC. … … 2786 2859 TOC and Index generation to generate HTML lists. Cleanup id 2787 2860 generation for paragraphs. Reduce whitespace in output. Fix 2788 2789 2790 2791 Reschke [Page 49]2792 2793 2794 Documentation RFC2629 through XSLT July 20082795 2796 2797 2861 vspace implementation. Use right/left dqoutes and copyright sign 2798 2862 where appropriate. … … 2833 2897 2005-10-04 Report missing element templates with xsl:message. 2834 2898 2899 2900 2901 2902 2903 2904 2905 Reschke [Page 51] 2906 2907 2908 Documentation RFC2629 through XSLT July 2008 2909 2910 2835 2911 2005-10-15 Process t/@anchor. 2836 2912 … … 2839 2915 2840 2916 2005-10-27 lowercase hCard class names 2841 2842 2843 2844 2845 2846 2847 2848 Reschke [Page 50]2849 2850 2851 Documentation RFC2629 through XSLT July 20082852 2853 2917 2854 2918 2005-11-22 Enhance diagnostics for XML-in-artwork extension … … 2891 2955 2006-05-06 Introduce x:bcp14 element. 2892 2956 2957 2958 2959 2960 2961 2962 Reschke [Page 52] 2963 2964 2965 Documentation RFC2629 through XSLT July 2008 2966 2967 2893 2968 2006-05-14 Fix content model for x:blockquote. 2894 2969 … … 2896 2971 2897 2972 2006-06-20 HTML validity fixes (legal chars in anchors in index). 2898 2899 2900 2901 2902 2903 2904 2905 Reschke [Page 51]2906 2907 2908 Documentation RFC2629 through XSLT July 20082909 2910 2973 2911 2974 2006-06-24 Reduce leading empty lines in artwork. Move <dt> style … … 2948 3011 2006-11-26 Experimental (and limited) support for <x:lt>. 2949 3012 3013 3014 3015 3016 3017 3018 3019 Reschke [Page 53] 3020 3021 3022 Documentation RFC2629 through XSLT July 2008 3023 3024 2950 3025 2006-12-04 Fix bugs in processing documents that have both the ipr 2951 3026 and the number attribute set on the rfc root element. Add support … … 2954 3029 2955 3030 2006-12-13 Add x:fmt='anchor' for xref elements. 2956 2957 2958 2959 2960 2961 2962 Reschke [Page 52]2963 2964 2965 Documentation RFC2629 through XSLT July 20082966 2967 3031 2968 3032 2007-01-07 Fix root template for compatibility for the exslt:node- … … 3004 3068 attribute. 3005 3069 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54] 3077 3078 3079 Documentation RFC2629 through XSLT July 2008 3080 3081 3006 3082 2007-09-09 Fix: sortrefs is a nop when symrefs=no. 3007 3083 … … 3011 3087 2007-10-17 Work in progress (continued): support for referencing 3012 3088 sections in sibling documents by anchor name. 3013 3014 3015 3016 3017 3018 3019 Reschke [Page 53]3020 3021 3022 Documentation RFC2629 through XSLT July 20083023 3024 3089 3025 3090 2007-12-31 Emit warning when updating/obsoleting stuff that's not … … 3060 3125 2003-11-29 Enhance handling of unknown list styles. 3061 3126 3127 3128 3129 3130 3131 3132 3133 Reschke [Page 55] 3134 3135 3136 Documentation RFC2629 through XSLT July 2008 3137 3138 3062 3139 2004-04-04 Update reference section handling. 3063 3140 … … 3068 3145 2004-04-20 Add experimental cref support. 3069 3146 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54]3077 3078 3079 Documentation RFC2629 through XSLT July 20083080 3081 3082 3147 2004-06-14 Set correct index-item defaults. 3083 3148 … … 3117 3182 the automatic list indentation via list/x:indent. 3118 3183 3184 3185 3186 3187 3188 3189 3190 Reschke [Page 56] 3191 3192 3193 Documentation RFC2629 through XSLT July 2008 3194 3195 3119 3196 D.7. xsl11toAn.xslt 3120 3197 … … 3125 3202 D.8. xsl11toFop.xslt 3126 3203 3127 3128 3129 3130 3131 3132 3133 Reschke [Page 55]3134 3135 3136 Documentation RFC2629 through XSLT July 20083137 3138 3139 3204 2004-05-17 Initial release. 3140 3205 … … 3180 3245 3181 3246 3182 3183 3184 3185 3186 3187 3188 3189 3190 Reschke [Page 56] 3247 Reschke [Page 57] 3191 3248 3192 3249 … … 3197 3254 3198 3255 A 3199 abnf-char-sequence Extension Element 21, 3 33256 abnf-char-sequence Extension Element 21, 34 3200 3257 allow-markup-in-artwork PI pseudo-attribute 8 3201 3258 alternate HTML LINK element 15 3202 anchor-alias Extension Element 21, 3 33259 anchor-alias Extension Element 21, 34 3203 3260 Anchors 3204 3261 rfc.abstract 12 … … 3221 3278 Apache FOP 19 3222 3279 appendix HTML LINK element 15 3223 assign-section-number Extension Element 3 33280 assign-section-number Extension Element 34 3224 3281 author HTML LINK element 15 3225 3282 authors-section PI pseudo-attribute 8 … … 3227 3284 B 3228 3285 background PI pseudo-attribute 6 3229 bb Extension Element 22, 3 33230 bc Extension Element 22, 3 33231 bcp14 Extension Element 21, 3 33232 blockquote Extension Element 22, 3 33233 bt Extension Element 22, 3 33286 bb Extension Element 22, 34 3287 bc Extension Element 22, 34 3288 bcp14 Extension Element 21, 34 3289 blockquote Extension Element 22, 34 3290 bt Extension Element 22, 34 3234 3291 3235 3292 C … … 3245 3302 3246 3303 3247 Reschke [Page 5 7]3304 Reschke [Page 58] 3248 3305 3249 3306 … … 3260 3317 Relation.Replaces 16 3261 3318 Description.Abstract DCMI property 16 3262 dfn Extension Element 23, 3 33319 dfn Extension Element 23, 34 3263 3320 3264 3321 E 3265 3322 editing PI pseudo-attribute 6 3266 3323 Extension Elements 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 3324 abnf-char-sequence 21, 34 3325 anchor-alias 21, 34 3326 assign-section-number 34 3327 bb 22, 34 3328 bc 22, 34 3329 bcp14 21, 34 3330 blockquote 22, 34 3331 bt 22, 34 3332 dfn 23, 34 3333 h 23, 34 3334 length-of 23, 34 3335 link 23, 34 3336 lt 23, 34 3337 parse-xml 24, 34 3338 q 24, 34 3339 rdf:Description 34 3340 ref 24, 34 3341 source 24, 34 3342 span 34 3343 sup 25, 34 3344 x 34 3286 3345 3287 3346 F … … 3293 3352 G 3294 3353 generator HTML META element 16 3295 Grammar 3 33354 Grammar 34 3296 3355 3297 3356 H 3298 h Extension Element 23, 33 3357 h Extension Element 23, 34 3358 3359 3360 3361 Reschke [Page 59] 3362 3363 3364 Documentation RFC2629 through XSLT July 2008 3365 3366 3299 3367 header PI pseudo-attribute 6 3300 3368 HTML compliance 15 3301 3302 3303 3304 Reschke [Page 58]3305 3306 3307 Documentation RFC2629 through XSLT July 20083308 3309 3310 3369 HTML LINK elements 3311 3370 alternate 15 … … 3338 3397 3339 3398 L 3340 length-of Extension Element 23, 3 33341 link Extension Element 23, 3 33399 length-of Extension Element 23, 34 3400 link Extension Element 23, 34 3342 3401 linkmailto PI pseudo-attribute 6 3343 lt Extension Element 23, 3 33402 lt Extension Element 23, 34 3344 3403 3345 3404 M … … 3355 3414 Opera 13 3356 3415 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT July 2008 3422 3423 3357 3424 P 3358 3359 3360 3361 Reschke [Page 59]3362 3363 3364 Documentation RFC2629 through XSLT July 20083365 3366 3367 3425 Parameters 3368 3426 xml2rfc-background 6 … … 3388 3446 xml2rfc-tocdepth 6 3389 3447 xml2rfc-topblock 6 3448 parse-xml Extension Element 24, 34 3390 3449 parse-xml-in-artwork PI pseudo-attribute 8 3391 3450 private PI pseudo-attribute 6 … … 3411 3470 slides 7 3412 3471 sortrefs 6 3472 3473 3474 3475 Reschke [Page 61] 3476 3477 3478 Documentation RFC2629 through XSLT July 2008 3479 3480 3413 3481 strict 7 3414 3482 subcompact 7 3415 3416 3417 3418 Reschke [Page 60]3419 3420 3421 Documentation RFC2629 through XSLT July 20083422 3423 3424 3483 support-rfc2731 8 3425 3484 symrefs 6 … … 3431 3490 3432 3491 Q 3433 q Extension Element 24, 3 33492 q Extension Element 24, 34 3434 3493 3435 3494 R 3436 ref Extension Element 24, 33 3495 rdf:Description Extension Element 34 3496 ref Extension Element 24, 34 3437 3497 Relation.Replaces DCMI property 16 3438 RELAX NG Compact Schema 3 33498 RELAX NG Compact Schema 34 3439 3499 rfc.abstract anchor 12 3440 3500 rfc.authors anchor 12 … … 3459 3519 3.* 13 3460 3520 Saxon 13 3461 Schema 3 33521 Schema 34 3462 3522 sec-no-trailing-dots PI pseudo-attribute 8 3463 3523 slides PI pseudo-attribute 7 3464 3524 sortrefs PI pseudo-attribute 6 3465 source Extension Element 24, 3 33466 span Extension Element 3 33525 source Extension Element 24, 34 3526 span Extension Element 34 3467 3527 strict PI pseudo-attribute 7 3468 3528 subcompact PI pseudo-attribute 7 3469 sup Extension Element 25, 33 3529 3530 3531 3532 Reschke [Page 62] 3533 3534 3535 Documentation RFC2629 through XSLT July 2008 3536 3537 3538 sup Extension Element 25, 34 3470 3539 support-rfc2731 PI pseudo-attribute 8 3471 3540 symrefs PI pseudo-attribute 6 3472 3473 3474 3475 Reschke [Page 61]3476 3477 3478 Documentation RFC2629 through XSLT July 20083479 3480 3541 3481 3542 T … … 3487 3548 3488 3549 X 3489 x Extension Element 3 33550 x Extension Element 34 3490 3551 Xalan 13 3491 3552 xml-stylesheet PI 15 … … 3526 3587 3527 3588 3528 3529 3530 3531 3532 Reschke [Page 62] 3589 Reschke [Page 63] 3533 3590 3534 3591 … … 3587 3644 3588 3645 3589 Reschke [Page 6 3]3590 3591 3646 Reschke [Page 64] 3647 3648 -
rfc2629xslt/rfc2629xslt.xml
r272 r285 840 840 </section> 841 841 842 <section title="<parse-xml> element" anchor="ext.element.parse-xml"> 843 <iref item="Extension Elements" subitem="parse-xml" primary="true"/> 844 <iref item="parse-xml Extension Element" primary="true"/> 845 <x:anchor-alias value="parse-xml"/> 846 <t> 847 This element instructs the processor to parse the contents as XML and 848 to warn when there's a problem (requires either MSXML or Saxon8 or newer). 849 </t> 850 </section> 851 842 852 <section title="<q> element" anchor="ext.element.q"> 843 853 <iref item="Extension Elements" subitem="q" primary="true"/> … … 1034 1044 as 'PROPOSED', 'DRAFT' or 'STANDARD'. 1035 1045 </t> 1046 <t> 1047 <x:h>Note:</x:h> Downward references should be 1048 annotated using the <annotate> element, containing an <xref> to 1049 <xref target="BCP97"/>. 1050 </t> 1051 <t> 1052 When an XSLT 2.0 processor is used, links in the document can be checked as well 1053 using the <spanx style='verb'>link-check</spanx> paramerer ('yes' or 'no'). 1054 Note that this only works for http links to documents of tytpe text/*. 1055 </t> 1036 1056 <figure> 1037 1057 <preamble> 1038 For instance, as of 200 6-08-06, the script produces for <eref target="http://greenbytes.de/tech/webdav/rfc2518.xml"/>:1058 For instance, as of 2008-07-12, the script produces for <eref target="http://greenbytes.de/tech/webdav/rfc2518.xml"/>: 1039 1059 </preamble> 1040 1060 <artwork type="example"> 1041 > saxon rfc2518.xml check-references.xslt 1061 > saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \ 1062 link-check=yes 1042 1063 1043 1064 Normative References: … … 1046 1067 ISO-8601: not checked 1047 1068 REC-xml-19980210: [FirstEdition] obsoleted by REC-xml-20001006 1048 REC-xml-names-19990114: [REC] obsoleted by PER-xml-names-20060614 1069 REC-xml-names-19990114: [FirstEdition] obsoleted by 1070 REC-xml-names-20060816 1049 1071 RFC1766: [PROPOSED STANDARD] obsoleted by RFC3066 RFC3282 1050 1072 RFC2068: [PROPOSED STANDARD] obsoleted by RFC2616 … … 1062 1084 RFC2291: [INFORMATIONAL] ok 1063 1085 RFC2376: [INFORMATIONAL] obsoleted by RFC3023 1064 RFC2413: [INFORMATIONAL] o k1086 RFC2413: [INFORMATIONAL] obsoleted by RFC5013 1065 1087 USMARC: not checked 1066 1088 WF: not checked 1089 1090 Link Targets 1091 <http://www.w3.org/TR/1998/REC-xml-19980210>: ok 1092 <http://www.w3.org/TR/1999/REC-xml-names-19990114>: ok 1093 <http://www.dlib.org/dlib/july96/lagoze/07lagoze.html>: ok 1094 <http://www.w3.org/pub/WWW/TR/REC-PICS-labels-961031.html>: ok 1067 1095 </artwork></figure> 1068 1096 <t> … … 1502 1530 </reference> 1503 1531 1532 <reference anchor='BCP97'> 1533 <front> 1534 <title>Handling Normative References to Standards-Track Documents</title> 1535 <author initials='J.' surname='Klensin' fullname='J. Klensin'> 1536 <organization /> 1537 <address> 1538 <email>klensin+ietf@jck.com</email> 1539 </address> 1540 </author> 1541 <author initials='S.' surname='Hartman' fullname='S. Hartman'> 1542 <organization>MIT</organization> 1543 <address> 1544 <email>hartmans-ietf@mit.edu</email> 1545 </address> 1546 </author> 1547 <date year='2007' month='June' /> 1548 </front> 1549 <seriesInfo name='BCP' value='97' /> 1550 <seriesInfo name='RFC' value='4897' /> 1551 </reference> 1504 1552 </references> 1505 1553 … … 1525 1573 <spanx># Define GRDDL namespace</spanx> 1526 1574 namespace grddl = "http://www.w3.org/2003/g/data-view#" 1575 1576 <spanx># Define RDF namespace</spanx> 1577 namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" 1527 1578 1528 1579 <spanx># Include rfc2629bis RNC grammar</spanx> … … 1543 1594 <spanx style="strong">| <x:ref>x_bt</x:ref></spanx> 1544 1595 <spanx style="strong">| <x:ref>x_length-of</x:ref></spanx> 1596 <spanx style="strong">| <x:ref>x_parse-xml</x:ref></spanx> 1545 1597 <spanx style="strong">| <x:ref>x_ref</x:ref></spanx> 1546 1598 <spanx style="strong">| <x:ref>x_span</x:ref></spanx> … … 1634 1686 | section 1635 1687 <spanx style="strong">| <x:ref>x_anchor-alias</x:ref></spanx> 1636 <spanx style="strong">| <x:ref>x_blockquote</x:ref></spanx>)* 1688 <spanx style="strong">| <x:ref>x_blockquote</x:ref></spanx> 1689 <spanx style="strong">| <x:ref>rdf_Description</x:ref></spanx>)* 1637 1690 } 1638 1691 … … 1795 1848 <x:ref>x_dfn</x:ref> = 1796 1849 element x:dfn { 1850 attribute anchor { xsd:ID }?, 1797 1851 (TEXT 1798 1852 | iref)* … … 1834 1888 } 1835 1889 1890 <spanx anchor="x_parse-xml"><iref item="parse-xml Extension Element"/><iref item="Extension Elements" subitem="parse-xml" 1891 /># Signal XML content (see <xref target="ext.element.parse-xml"/>)</spanx> 1892 <x:ref>x_parse-xml</x:ref> = 1893 element x:parse-xml { 1894 TEXT 1895 } 1896 1836 1897 <spanx anchor="x_q"><iref item="q Extension Element"/><iref item="Extension Elements" subitem="q" 1837 1898 /># Inline quote (see <xref target="ext.element.q"/>)</spanx> … … 1869 1930 element x:span { 1870 1931 attribute anchor { xsd:ID }?, 1871 TEXT 1932 (TEXT 1933 | <x:ref>x_parse-xml</x:ref>)* 1872 1934 } 1873 1935 … … 1878 1940 empty 1879 1941 } 1942 1943 <spanx anchor="rdf_Description"><iref item="rdf:Description Extension Element"/><iref item="Extension Elements" subitem="rdf:Description" 1944 /># Nop (for alignment in source)</spanx> 1945 <x:ref>rdf_Description</x:ref> = 1946 element rdf:Description { 1947 rdf_content 1948 } 1949 1950 rdf_content = 1951 ( TEXT | element * { rdf_content })* 1880 1952 </artwork></figure> 1881 1953 </section> … … 1940 2012 Add XSLT test cases. 1941 2013 </t> 2014 <t hangText="2008-07-18"> 2015 Experimental support for inlined rdf:Description elements (ignored 2016 by the formatter, extracted by rfc2629grddl). 2017 </t> 1942 2018 </list></t> 1943 2019 </section> … … 1989 2065 <t hangText="2008-06-14"> 1990 2066 Enhance output when draft was updated, and then published as RFC. 2067 </t> 2068 <t hangText="2008-07-12"> 2069 Add XSLT2-based link target checking. 1991 2070 </t> 1992 2071 </list></t> -
rfc2629xslt/testcase.html
r272 r285 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 79, 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> +--+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.384, 2008-07-18 10:33:47, 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">example from xml2rc README</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">referencing tables</a></li><li class="tocline1">3.5 <a href="#rfc.section.3.5">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> example from xml2rc README</h2><div id="rfc.table.2"><div id="table_example"></div><p>So, putting it all together, we have, e.g.,</p><table summary="So,
 putting it all together, we have, e.g.," class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="center">ttcol #1</th><th class="center">ttcol #2</th></tr></thead><tbody><tr><td class="center">c #1</td><td class="center">c #2</td></tr><tr><td class="center">c #3</td><td class="center">c #4</td></tr><tr><td class="center">c #5</td><td class="center">c #6</td></tr></tbody></table><p>which is a very simple example.</p><p class="figure">Table 2</p></div><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> referencing tables</h2><p id="rfc.section.3.4.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.4.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.5"><a href="#rfc.section.3.5">3.5</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.3"><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 3</p></div><div id="rfc.table.4"><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 4: title</p></div><div id="rfc.table.5"><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 5: 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 +--+ … … 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><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"410 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: Appendix ERROR: Anchor 'a-target-that-isnt-defined' not found in testcase.xml. of <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><h2 id="rfc.section.10.7"><a href="#rfc.section.10.7">10.7</a> <a id="abnf.support" href="#abnf.support">ABNF Support</a></h2><div id="rfc.figure.u.16"></div><pre>case-insensitive1 = "abcdefghijlkmnopqrstuvwxyz" 411 411 case-insensitive2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 412 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 -
rfc2629xslt/testcase.xml
r272 r285 292 292 <c>22</c> 293 293 </texttable> 294 </section> 295 296 <section title="example from xml2rc README"> 297 <texttable anchor='table_example'> 298 <preamble>So, 299 putting it all together, we have, e.g.,</preamble> 300 <ttcol align='center'>ttcol #1</ttcol> 301 <ttcol align='center'>ttcol #2</ttcol> 302 <c>c #1</c> 303 <c>c #2</c> 304 <c>c #3</c> 305 <c>c #4</c> 306 <c>c #5</c> 307 <c>c #6</c> 308 <postamble>which is a very simple example.</postamble> 309 </texttable> 294 310 </section> 295 311
Note: See TracChangeset
for help on using the changeset viewer.