Changeset 246
- Timestamp:
- 19/05/08 13:58:01 (14 years ago)
- Location:
- rfc2629xslt
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/clean-for-DTD.xslt
r204 r246 178 178 <xsl:template match="x:dfn" mode="cleanup"> 179 179 <xsl:apply-templates mode="cleanup"/> 180 </xsl:template> 181 182 <xsl:template match="x:sup" mode="cleanup"> 183 <xsl:text>^</xsl:text> 184 <xsl:apply-templates mode="cleanup" /> 180 185 </xsl:template> 181 186 -
rfc2629xslt/rfc2629.xslt
r230 r246 2629 2629 font-style: italic; 2630 2630 }</xsl:if> 2631 <xsl:if test="//x:sup"> 2632 sup { 2633 font-size: 60%; 2634 }</xsl:if> 2631 2635 table { 2632 2636 margin-left: 2em; … … 3969 3973 </xsl:template> 3970 3974 3975 <!-- superscripts --> 3976 <xsl:template match="x:sup"> 3977 <sup> 3978 <xsl:apply-templates/> 3979 </sup> 3980 </xsl:template> 3981 3971 3982 <!-- measuring lengths --> 3972 3983 <xsl:template match="x:length-of"> … … 4792 4803 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4793 4804 <!-- when RCS keyword substitution in place, add version info --> 4794 <xsl:if test="contains('$Revision: 1.36 5$',':')">4795 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.36 5$', 'Revision: '),'$','')),', ')" />4805 <xsl:if test="contains('$Revision: 1.367 $',':')"> 4806 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.367 $', 'Revision: '),'$','')),', ')" /> 4796 4807 </xsl:if> 4797 <xsl:if test="contains('$Date: 2008-0 3-07 07:17:25$',':')">4798 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-0 3-07 07:17:25$', 'Date: '),'$','')),', ')" />4808 <xsl:if test="contains('$Date: 2008-05-19 13:00:19 $',':')"> 4809 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-05-19 13:00:19 $', 'Date: '),'$','')),', ')" /> 4799 4810 </xsl:if> 4800 4811 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> -
rfc2629xslt/rfc2629grddl.xslt
r6 r246 2 2 GRDDL transformation for RFC2629 XML format 3 3 4 Copyright (c) 2007 , Julian Reschke (julian.reschke@greenbytes.de)4 Copyright (c) 2007-2008, Julian Reschke (julian.reschke@greenbytes.de) 5 5 All rights reserved. 6 6 … … 56 56 57 57 <!-- issued --> 58 <xsl:variable name="month"><xsl:call-template name="get-month-as-num" /></xsl:variable>58 <xsl:variable name="month"><xsl:call-template name="get-month-as-num"><xsl:with-param name="month" select="/rfc/front/date/@month"/></xsl:call-template></xsl:variable> 59 59 <dc:issued><xsl:value-of select="concat(/rfc/front/date/@year,'-',$month)"/></dc:issued> 60 60 -
rfc2629xslt/rfc2629toFO.xslt
r213 r246 46 46 <xsl:import href="rfc2629.xslt" /> 47 47 48 <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> 49 50 <xsl:attribute-set name="h1-inline"> 48 <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/> 49 50 <xsl:attribute-set name="base"> 51 <xsl:attribute name="font-family">serif</xsl:attribute> 52 <xsl:attribute name="font-size">10pt</xsl:attribute> 53 </xsl:attribute-set> 54 55 <xsl:attribute-set name="h1"> 51 56 <xsl:attribute name="font-weight">bold</xsl:attribute> 52 57 <xsl:attribute name="font-size">14pt</xsl:attribute> … … 54 59 <xsl:attribute name="space-before">14pt</xsl:attribute> 55 60 <xsl:attribute name="space-after">7pt</xsl:attribute> 56 </xsl:attribute-set>57 58 <xsl:attribute-set name="h1-new-page">59 <xsl:attribute name="font-weight">bold</xsl:attribute>60 <xsl:attribute name="font-size">14pt</xsl:attribute>61 <xsl:attribute name="keep-with-next">always</xsl:attribute>62 <xsl:attribute name="space-after">7pt</xsl:attribute>63 <xsl:attribute name="page-break-before">always</xsl:attribute>64 61 </xsl:attribute-set> 65 62 … … 85 82 </xsl:attribute-set> 86 83 87 <!--<xsl:attribute-set name="p">88 <xsl:attribute name="margin-left">2em</xsl:attribute>89 </xsl:attribute-set> -->90 91 <xsl:attribute-set name="internal-link">92 <xsl:attribute name="color">#000080</xsl:attribute>93 </xsl:attribute-set>94 95 84 <xsl:attribute-set name="external-link"> 96 85 <xsl:attribute name="color">blue</xsl:attribute> … … 98 87 </xsl:attribute-set> 99 88 89 <xsl:attribute-set name="index"> 90 <xsl:attribute name="font-size">9pt</xsl:attribute> 91 </xsl:attribute-set> 92 93 <xsl:attribute-set name="internal-link"> 94 <xsl:attribute name="color">#000080</xsl:attribute> 95 </xsl:attribute-set> 96 97 <xsl:attribute-set name="newpage"> 98 <xsl:attribute name="page-break-before">always</xsl:attribute> 99 </xsl:attribute-set> 100 101 <xsl:attribute-set name="title"> 102 <xsl:attribute name="text-align">center</xsl:attribute> 103 <xsl:attribute name="font-weight">bold</xsl:attribute> 104 <xsl:attribute name="font-size">18pt</xsl:attribute> 105 <xsl:attribute name="space-before">3em</xsl:attribute> 106 <xsl:attribute name="space-after">3em</xsl:attribute> 107 </xsl:attribute-set> 108 100 109 <xsl:template match="abstract"> 101 <fo:block xsl:use-attribute-sets="h1 -inline" id="{concat($anchor-prefix,'.abstract')}">Abstract</fo:block>110 <fo:block xsl:use-attribute-sets="h1" id="{concat($anchor-prefix,'.abstract')}">Abstract</fo:block> 102 111 <xsl:apply-templates /> 103 112 </xsl:template> … … 302 311 </xsl:if> 303 312 304 <fo:block text-align="center" font-weight="bold" font-size="18pt" space-before="3em" space-after="3em">313 <fo:block xsl:use-attribute-sets="title"> 305 314 <xsl:apply-templates select="/rfc/front/title" mode="get-text-content" /> 306 315 <xsl:if test="/rfc/@docName"> 307 <fo:block font-size=" 15pt"><xsl:value-of select="/rfc/@docName" /></fo:block>316 <fo:block font-size="80%"><xsl:value-of select="/rfc/@docName" /></fo:block> 308 317 </xsl:if> 309 318 </fo:block> … … 633 642 <xsl:template match="note"> 634 643 <xsl:variable name="num"><xsl:number count="note"/></xsl:variable> 635 <fo:block xsl:use-attribute-sets="h1 -inline" id="{concat($anchor-prefix,'.note.',$num)}"><xsl:value-of select="@title" /></fo:block>644 <fo:block xsl:use-attribute-sets="h1" id="{concat($anchor-prefix,'.note.',$num)}"><xsl:value-of select="@title" /></fo:block> 636 645 <xsl:apply-templates /> 637 646 </xsl:template> … … 781 790 <!-- insert pseudo section when needed --> 782 791 <xsl:if test="$name='1' and count(/*/back/references)!=1"> 783 <fo:block id="{$anchor-prefix}.references" xsl:use-attribute-sets="h1 -inline">792 <fo:block id="{$anchor-prefix}.references" xsl:use-attribute-sets="h1"> 784 793 <xsl:if test="$name='1'"> 785 794 <xsl:attribute name="page-break-before">always</xsl:attribute> 786 <xsl:attribute name="space-before">0pt</xsl:attribute>787 795 </xsl:if> 788 796 <xsl:variable name="sectionNumber"> … … 798 806 <xsl:choose> 799 807 <xsl:when test="count(/*/back/references)=1"> 800 <fo:block id="{$anchor-prefix}.references" xsl:use-attribute-sets="h1-inline"> 801 <xsl:attribute name="page-break-before">always</xsl:attribute> 802 <xsl:attribute name="space-before">0pt</xsl:attribute> 808 <fo:block id="{$anchor-prefix}.references" xsl:use-attribute-sets="h1 newpage"> 803 809 <xsl:call-template name="get-section-number"/>   804 810 <xsl:choose> … … 849 855 850 856 <xsl:template match="rfc"> 851 <fo:root font-family="serif" font-size="10pt">857 <fo:root xsl:use-attribute-sets="base"> 852 858 853 859 <!-- insert PDF information (XEP extension) --> … … 910 916 <xsl:call-template name="insertHeader" /> 911 917 <xsl:call-template name="insertFooter" /> 912 <fo:flow flow-name="xsl-region-body" font-size="9pt">918 <fo:flow flow-name="xsl-region-body" xsl:use-attribute-sets="index"> 913 919 <xsl:call-template name="insertIndex" /> 914 920 </fo:flow> … … 943 949 <xsl:template match="section[count(ancestor::section) = 0 and @myns:notoclink]"> 944 950 945 <fo:block xsl:use-attribute-sets="h1 -inline">951 <fo:block xsl:use-attribute-sets="h1"> 946 952 <xsl:call-template name="section-maker" /> 947 953 </fo:block> … … 954 960 <xsl:template match="section[count(ancestor::section) = 0 and not(@myns:notoclink)]"> 955 961 956 <fo:block xsl:use-attribute-sets="h1 -new-page">962 <fo:block xsl:use-attribute-sets="h1 newpage"> 957 963 <xsl:call-template name="section-maker" /> 958 964 </fo:block> … … 1377 1383 </xsl:variable> 1378 1384 1379 <fo:block id="{$anchor-prefix}.authors" xsl:use-attribute-sets="h1 -new-page">1385 <fo:block id="{$anchor-prefix}.authors" xsl:use-attribute-sets="h1 newpage"> 1380 1386 <xsl:if test="$sectionNumber != ''"> 1381 1387 <xsl:call-template name="emit-section-number"> … … 1395 1401 <xsl:template name="insertIndex"> 1396 1402 1397 <fo:block xsl:use-attribute-sets="h1 -new-page" id="{$anchor-prefix}.index">1398 Index1403 <fo:block xsl:use-attribute-sets="h1 newpage" id="{$anchor-prefix}.index"> 1404 <xsl:text>Index</xsl:text> 1399 1405 </fo:block> 1400 1406 … … 1560 1566 1561 1567 <xsl:template match="/" mode="toc"> 1562 <fo:block xsl:use-attribute-sets="h1-new-page" id="{concat($anchor-prefix,'.toc')}"> 1563 <xsl:attribute name="page-break-before">always</xsl:attribute> 1564 Table of Contents 1568 <fo:block xsl:use-attribute-sets="h1 newpage" id="{concat($anchor-prefix,'.toc')}"> 1569 <xsl:text>Table of Contents</xsl:text> 1565 1570 </fo:block> 1566 1571 … … 2352 2357 </xsl:template> 2353 2358 2359 <!-- Superscripts --> 2360 <xsl:template match="x:sup"> 2361 <xsl:text>^</xsl:text> <!-- make this prettier --> 2362 <xsl:apply-templates/> 2363 </xsl:template> 2364 2354 2365 <!-- measuring lengths --> 2355 2366 <xsl:template match="x:length-of"> -
rfc2629xslt/rfc2629toXHTML.xslt
r230 r246 2449 2449 font-style: italic; 2450 2450 }</xsl:if> 2451 <xsl:if test="//x:sup"> 2452 sup { 2453 font-size: 60%; 2454 }</xsl:if> 2451 2455 table { 2452 2456 margin-left: 2em; … … 3789 3793 </xsl:template> 3790 3794 3795 <!-- superscripts --> 3796 <xsl:template match="x:sup"> 3797 <sup xmlns="http://www.w3.org/1999/xhtml"> 3798 <xsl:apply-templates/> 3799 </sup> 3800 </xsl:template> 3801 3791 3802 <!-- measuring lengths --> 3792 3803 <xsl:template match="x:length-of"> … … 4612 4623 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4613 4624 <!-- when RCS keyword substitution in place, add version info --> 4614 <xsl:if test="contains('$Revision: 1.36 5$',':')">4615 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.36 5$', 'Revision: '),'$','')),', ')"/>4625 <xsl:if test="contains('$Revision: 1.367 $',':')"> 4626 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.367 $', 'Revision: '),'$','')),', ')"/> 4616 4627 </xsl:if> 4617 <xsl:if test="contains('$Date: 2008-0 3-07 07:17:25$',':')">4618 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-0 3-07 07:17:25$', 'Date: '),'$','')),', ')"/>4628 <xsl:if test="contains('$Date: 2008-05-19 13:00:19 $',':')"> 4629 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-05-19 13:00:19 $', 'Date: '),'$','')),', ')"/> 4619 4630 </xsl:if> 4620 4631 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/> -
rfc2629xslt/rfc2629xslt.html
r230 r246 131 131 padding: 2em; 132 132 } 133 sup { 134 font-size: 60%; 135 } 133 136 table { 134 137 margin-left: 2em; … … 326 329 } 327 330 @top-right { 328 content: " March2008";331 content: "April 2008"; 329 332 } 330 333 @top-center { … … 353 356 } 354 357 } 355 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF via XSL-FO" href="#rfc.section.9"><link rel="Chapter" title="10 Generic Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Utilities" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C License" href="#rfc.section.C"><link rel="Appendix" title="D Change Logs" href="#rfc.section.D"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.36 5, 2008-03-07 07:17:25, 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">March 2008</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2. <a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1 <a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3. <a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4. <a href="#anchors">Anchors</a></li><li class="tocline0">5. <a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1 <a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2 <a href="#rfc.section.5.2">In-Browser Engines</a></li></ul></li><li class="tocline0">6. <a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1 <a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2 <a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3 <a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4 <a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5 <a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7. <a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8. <a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9. <a href="#output.pdf">Transforming to PDF via XSL-FO</a><ul class="toc"><li class="tocline1">9.1 <a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1 <a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2 <a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2 <a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10. <a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#ext.element.anchor-alias"><anchor-alias> element</a></li><li class="tocline1">10.2 <a href="#ext.element.bcp14"><bcp14> element</a></li><li class="tocline1">10.3 <a href="#ext.element.bb"><bb> element</a></li><li class="tocline1">10.4 <a href="#ext.element.bc"><bc> element</a></li><li class="tocline1">10.5 <a href="#ext.element.blockquote"><blockquote> element</a></li><li class="tocline1">10.6 <a href="#ext.element.bt"><bt> element</a></li><li class="tocline1">10.7 <a href="#ext.element.dfn"><dfn> element</a></li><li class="tocline1">10.8 <a href="#ext.element.h"><h> element</a></li><li class="tocline1">10.9 <a href="#ext.element.length-of"><length-of> element</a></li><li class="tocline1">10.10 <a href="#ext.element.link"><link> element</a></li><li class="tocline1">10.11 <a href="#ext.element.lt"><lt> element</a></li><li class="tocline1">10.12 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.13 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.14 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.15 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.16 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.17 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.18 <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">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.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, xml2rfc, XSLT, hCard, XSL-FO, PDF, GRDDL, Dublin Core"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 through XSLT</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">April 2008</td></tr></table><p class="title">Transforming RFC2629-formatted XML through XSLT</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#rfc.section.1">Introduction</a></li><li class="tocline0">2. <a href="#supported.elements">Supported RFC2629 elements</a><ul class="toc"><li class="tocline1">2.1 <a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li class="tocline0">3. <a href="#processing.instructions">Processing Instructions</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li class="tocline0">4. <a href="#anchors">Anchors</a></li><li class="tocline0">5. <a href="#xslt.engines">Supported XSLT engines</a><ul class="toc"><li class="tocline1">5.1 <a href="#rfc.section.5.1">Standalone Engines</a></li><li class="tocline1">5.2 <a href="#rfc.section.5.2">In-Browser Engines</a></li></ul></li><li class="tocline0">6. <a href="#output.html">Transforming to HTML</a><ul class="toc"><li class="tocline1">6.1 <a href="#rfc.section.6.1">HTML compliance</a></li><li class="tocline1">6.2 <a href="#html.link">Standard HTML LINK elements</a></li><li class="tocline1">6.3 <a href="#rfc.section.6.3">Standard HTML metadata</a></li><li class="tocline1">6.4 <a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li class="tocline1">6.5 <a href="#hcard">Experimental hCard support</a></li></ul></li><li class="tocline0">7. <a href="#output.xhtml">Transforming to XHTML</a></li><li class="tocline0">8. <a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li class="tocline0">9. <a href="#output.pdf">Transforming to PDF via XSL-FO</a><ul class="toc"><li class="tocline1">9.1 <a href="#output.pdf.fop">Via XSL-FO</a><ul class="toc"><li class="tocline1">9.1.1 <a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li class="tocline1">9.1.2 <a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li class="tocline1">9.2 <a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li class="tocline0">10. <a href="#extensions">Generic Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#ext.element.anchor-alias"><anchor-alias> element</a></li><li class="tocline1">10.2 <a href="#ext.element.bcp14"><bcp14> element</a></li><li class="tocline1">10.3 <a href="#ext.element.bb"><bb> element</a></li><li class="tocline1">10.4 <a href="#ext.element.bc"><bc> element</a></li><li class="tocline1">10.5 <a href="#ext.element.blockquote"><blockquote> element</a></li><li class="tocline1">10.6 <a href="#ext.element.bt"><bt> element</a></li><li class="tocline1">10.7 <a href="#ext.element.dfn"><dfn> element</a></li><li class="tocline1">10.8 <a href="#ext.element.h"><h> element</a></li><li class="tocline1">10.9 <a href="#ext.element.length-of"><length-of> element</a></li><li class="tocline1">10.10 <a href="#ext.element.link"><link> element</a></li><li class="tocline1">10.11 <a href="#ext.element.lt"><lt> element</a></li><li class="tocline1">10.12 <a href="#ext.element.q"><q> element</a></li><li class="tocline1">10.13 <a href="#ext.element.ref"><ref> element</a></li><li class="tocline1">10.14 <a href="#ext.element.source"><source> element</a></li><li class="tocline1">10.15 <a href="#ext.element.sup"><sup> element</a></li><li class="tocline1">10.16 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li class="tocline1">10.17 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li class="tocline1">10.18 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li class="tocline1">10.19 <a href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></li></ul></li><li class="tocline0">11. <a href="#utilities">Utilities</a><ul class="toc"><li class="tocline1">11.1 <a href="#checking-references">Checking References</a></li><li class="tocline1">11.2 <a href="#rfc.section.11.2">Generating Graphs from References</a></li><li class="tocline1">11.3 <a href="#rfc.section.11.3">Producing reference entries for books</a></li><li class="tocline1">11.4 <a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li class="tocline1">11.5 <a href="#extract-artwork">Extracting artwork</a></li><li class="tocline1">11.6 <a href="#grddl">GRRDL</a></li></ul></li><li class="tocline0">12. <a href="#rfc.references">Informative References</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0">A. <a href="#grammar">RELAX NG Compact Schema</a></li><li class="tocline0">B. <a href="#rfc.section.B">Implementation Notes</a><ul class="toc"><li class="tocline1">B.1 <a href="#rfc.section.B.1">Recognized type attributes for <artwork> element</a></li></ul></li><li class="tocline0">C. <a href="#license">License</a></li><li class="tocline0">D. <a href="#rfc.section.D">Change Logs</a><ul class="toc"><li class="tocline1">D.1 <a href="#rfc.section.D.1">Package</a></li><li class="tocline1">D.2 <a href="#rfc.section.D.2">amazon-asin.xslt</a></li><li class="tocline1">D.3 <a href="#rfc.section.D.3">check-references.xslt</a></li><li class="tocline1">D.4 <a href="#rfc.section.D.4">gen-reference-graph.xslt</a></li><li class="tocline1">D.5 <a href="#rfc.section.D.5">rfc2629.xslt</a></li><li class="tocline1">D.6 <a href="#rfc.section.D.6">rfc2629toFO.xslt</a></li><li class="tocline1">D.7 <a href="#rfc.section.D.7">xsl11toAn.xslt</a></li><li class="tocline1">D.8 <a href="#rfc.section.D.8">xsl11toFop.xslt</a></li><li class="tocline1">D.9 <a href="#rfc.section.D.9">xsl11toFop-0.93.xslt</a></li><li class="tocline1">D.10 <a href="#rfc.section.D.10">xsl11toXep.xslt</a></li></ul></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section 2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section 3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section 4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section 5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section 6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section 7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section 8</a>),</li><li>outputting PDF through XSL-FO (<a href="#output.pdf" title="Transforming to PDF via XSL-FO">Section 9</a>) and</li><li>various utilities (<a href="#utilities" title="Utilities">Section 11</a>).</li></ul><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> <a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.21.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> Extension elements</h2><p id="rfc.section.2.1.p.1">In addition, <samp>rfc2629.xslt</samp> supports a set of extension elements, using elements and attributes in the namespace "http://greenbytes.de/2002/rfcedit". They are used for </p><ul><li>simple issue tracking and change tracking and</li><li>adding additional metadata to the generated documents (such as HTML LINK elements to related documents, see <a href="#html.link" title="Standard HTML LINK elements">Section 6.2</a>).</li></ul><p id="rfc.section.2.1.p.2">Note that these extensions are experimental. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p> <pre class="text"><?rfc toc="yes"?> 356 359 <?rfc-ext support-rfc2731="no"?> 357 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 \ … … 414 417 <x:source href="rfc2616.xml"/> 415 418 ... 416 </pre> < h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></h2><p id="rfc.section.10.15.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.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></h2><p id="rfc.section.10.16.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.16.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.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></h2><p id="rfc.section.10.17.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x: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.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></h2><p id="rfc.section.10.18.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.18.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.18.p.3">These extensions are currently only supported for <xref> elements without child nodes.</p><p id="rfc.section.10.18.p.4">If the processor knows how to reference the target section, it will generate a link directly to the target section, such as in <a href="#RFC2119" id="rfc.xref.RFC2119.2"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>, <a href="http://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> <a id="utilities" href="#utilities">Utilities</a></h1><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a> <a id="checking-references" href="#checking-references">Checking References</a></h2><p id="rfc.section.11.1.p.1"> <samp>check-references.xslt</samp> can be used to check all references to RFC- and ID-series IETF publications and to W3C publications (note this script requires local copies of <<a href="ftp://ftp.isi.edu/in-notes/rfc-index.xml">ftp://ftp.isi.edu/in-notes/rfc-index.xml</a>> and <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>> and will use the XML status information provided at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>>).</p><p id="rfc.section.11.1.p.2">If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <samp>intended-level</samp> as 'PROPOSED', 'DRAFT' or 'STANDARD'.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2006-08-06, the script produces for <<a href="http://greenbytes.de/tech/webdav/rfc2518.xml">http://greenbytes.de/tech/webdav/rfc2518.xml</a>>:</p> <pre class="text">> saxon rfc2518.xml check-references.xslt419 </pre> <div id="rfc.iref.e.16"></div><div id="rfc.iref.s.13"></div><h2 id="rfc.section.10.15"><a href="#rfc.section.10.15">10.15</a> <a id="ext.element.sup" href="#ext.element.sup"><sup> element</a></h2><p id="rfc.section.10.15.p.1">This element is like the "<a href="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</a>" element in <a href="#HTML" id="rfc.xref.HTML.5"><cite title="HTML 4.01 Specification">[HTML]</cite></a>.</p><p id="rfc.section.10.15.p.2">Note: the down conversion to RFC2629 format replaces "x<sup>y</sup>" by "x^y".</p><h2 id="rfc.section.10.16"><a href="#rfc.section.10.16">10.16</a> <a id="ext-rfc2629.iref" href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></h2><p id="rfc.section.10.16.p.1">The extension attribute below is allowed on the standard <iref> element: </p><ul><li>x:for-anchor specifies that the <iref> will also be automatically inserted whenever the specified anchor is cross-referenced -- this may save entering lots of <iref> instances. As a special case, a value of "" (empty string) refers to the anchor attribute of the closest ancestor.</li></ul><h2 id="rfc.section.10.17"><a href="#rfc.section.10.17">10.17</a> <a id="ext-rfc2629.list" href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></h2><p id="rfc.section.10.17.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:indent specifies the amount of indentation for list items in hanging lists. This can be useful when the output format, such as XSL-FO, does not support automatical formatting. The value takes an XSL-FO width, such as "5em". The default is <em>length of longest label in characters</em> times <em>0.8em</em>.</li></ul><p id="rfc.section.10.17.p.2">Also, the <list> element can take <x:<a href="#ext.element.lt" class="smpl">lt</a>> child elements instead of <t>, allowing to insert multiple paragraphs into a single list item.</p><h2 id="rfc.section.10.18"><a href="#rfc.section.10.18">10.18</a> <a id="ext-rfc2629.section" href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></h2><p id="rfc.section.10.18.p.1">The extension attribute below is allowed on the standard <list> element: </p><ul><li>x:fixed-section-number can be used to specify a fixed section number. This can be useful when formatting historic documents that used a different numbering style.</li></ul><h2 id="rfc.section.10.19"><a href="#rfc.section.10.19">10.19</a> <a id="ext-rfc2629.xref" href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></h2><p id="rfc.section.10.19.p.1">Three extension attributes are allowed on the standard <xref> element: </p><ol><li>x:sec can be specified to point to a specific section of the referenced document,</li><li>x:rel may specify a relative reference to use when linking into the referenced document (if linking by section number is not available),</li><li>x:fmt defines the text format to be used.</li></ol><p id="rfc.section.10.19.p.2">The following formats are defined for the x:fmt attribute: </p><dl><dt>, (Comma)</dt><dd>[<em>reference</em>], Section <em>sec</em> </dd><dt>()</dt><dd>[<em>reference</em>] (Section <em>sec</em>)</dd><dt>anchor</dt><dd>Like the default format, but without brackets.</dd><dt>of</dt><dd>Section <em>sec</em> of [<em>reference</em>]</dd><dt>number</dt><dd> <em>sec</em> </dd><dt>none</dt><dd>No output (can be used to have xrefs to references without having them rendered as such)</dd><dt>sec</dt><dd>Section <em>sec</em> </dd></dl><p id="rfc.section.10.19.p.3">These extensions are currently only supported for <xref> elements without child nodes.</p><p id="rfc.section.10.19.p.4">If the processor knows how to reference the target section, it will generate a link directly to the target section, such as in <a href="#RFC2119" id="rfc.xref.RFC2119.2"><cite title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</cite></a>, <a href="http://tools.ietf.org/html/rfc2119#section-5">Section 5</a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> <a id="utilities" href="#utilities">Utilities</a></h1><h2 id="rfc.section.11.1"><a href="#rfc.section.11.1">11.1</a> <a id="checking-references" href="#checking-references">Checking References</a></h2><p id="rfc.section.11.1.p.1"> <samp>check-references.xslt</samp> can be used to check all references to RFC- and ID-series IETF publications and to W3C publications (note this script requires local copies of <<a href="ftp://ftp.isi.edu/in-notes/rfc-index.xml">ftp://ftp.isi.edu/in-notes/rfc-index.xml</a>> and <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>> and will use the XML status information provided at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>>).</p><p id="rfc.section.11.1.p.2">If the document is supposed to be published on the IETF standards track, the desired level can be specified using the parameter <samp>intended-level</samp> as 'PROPOSED', 'DRAFT' or 'STANDARD'.</p><div id="rfc.figure.u.16"></div> <p>For instance, as of 2006-08-06, the script produces for <<a href="http://greenbytes.de/tech/webdav/rfc2518.xml">http://greenbytes.de/tech/webdav/rfc2518.xml</a>>:</p> <pre class="text">> saxon rfc2518.xml check-references.xslt 417 420 418 421 Normative References: … … 461 464 </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 462 465 </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 463 </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.1 3"></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>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> 464 467 465 468 <em># Define our extension namespace</em> … … 607 610 <strong>| <a href="#x_h" class="smpl">x_h</a></strong> 608 611 <strong>| <a href="#x_q" class="smpl">x_q</a></strong> 609 <strong>| <a href="#x_ref" class="smpl">x_ref</a></strong>)* 610 } 611 } 612 613 <em># Extend attribute set for <iref> (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref> element">Section 10.15</a>)</em> 612 <strong>| <a href="#x_ref" class="smpl">x_ref</a></strong> 613 <strong>| <a href="#x_sup" class="smpl">x_sup</a></strong>)* 614 } 615 } 616 617 <em># Extend attribute set for <iref> (see <a href="#ext-rfc2629.iref" title="Extensions to Xml2rfc <iref> element">Section 10.16</a>)</em> 614 618 attlist.iref &= 615 619 attribute x:for-anchor { ATEXT }? 616 620 617 <em># Extend attribute set for <list> (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list> element">Section 10.1 6</a>)</em>621 <em># Extend attribute set for <list> (see <a href="#ext-rfc2629.list" title="Extensions to Xml2rfc <list> element">Section 10.17</a>)</em> 618 622 attlist.list &= 619 623 attribute x:indent { ATEXT }? … … 627 631 attribute grddl:transformation { ATEXT }? 628 632 629 <em># Extend attribute set for <section> (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section> element">Section 10.1 7</a>)</em>633 <em># Extend attribute set for <section> (see <a href="#ext-rfc2629.section" title="Extensions to Xml2rfc <section> element">Section 10.18</a>)</em> 630 634 attlist.section &= 631 635 attribute x:fixed-section-number { ATEXT }? … … 635 639 attribute anchor { xsd:ID }? 636 640 637 <em># Extend attribute set for <xref> (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref> element">Section 10.1 8</a>)</em>641 <em># Extend attribute set for <xref> (see <a href="#ext-rfc2629.xref" title="Extensions to Xml2rfc <xref> element">Section 10.19</a>)</em> 638 642 attlist.xref &= 639 643 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | … … 642 646 attribute x:sec { ATEXT }? 643 647 644 <em id="x_anchor-alias"><span id="rfc.iref.a.28"></span><span id="rfc.iref.e.1 6"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias> element">Section 10.1</a>)</em>648 <em id="x_anchor-alias"><span id="rfc.iref.a.28"></span><span id="rfc.iref.e.17"></span># Aliasing of anchors (see <a href="#ext.element.anchor-alias" title="<anchor-alias> element">Section 10.1</a>)</em> 645 649 <a href="#x_anchor-alias" class="smpl">x_anchor-alias</a> = 646 650 element x:anchor-alias { … … 649 653 } 650 654 651 <em id="x_assign-section-number"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.1 7"></span># Setting section numbers for internally generated sections655 <em id="x_assign-section-number"><span id="rfc.iref.a.29"></span><span id="rfc.iref.e.18"></span># Setting section numbers for internally generated sections 652 656 # (experimental)</em> 653 657 <a href="#x_assign-section-number" class="smpl">x_assign-section-number</a> = … … 658 662 } 659 663 660 <em id="x_bb"><span id="rfc.iref.b.7"></span><span id="rfc.iref.e.1 8"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb> element">Section 10.3</a>)</em>664 <em id="x_bb"><span id="rfc.iref.b.7"></span><span id="rfc.iref.e.19"></span># Bottom line of box drawing (see <a href="#ext.element.bb" title="<bb> element">Section 10.3</a>)</em> 661 665 <a href="#x_bb" class="smpl">x_bb</a> = 662 666 element x:bb { … … 670 674 } 671 675 672 <em id="x_bc"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e. 19"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc> element">Section 10.4</a>)</em>676 <em id="x_bc"><span id="rfc.iref.b.8"></span><span id="rfc.iref.e.20"></span># Center line of box drawing (see <a href="#ext.element.bc" title="<bc> element">Section 10.4</a>)</em> 673 677 <a href="#x_bc" class="smpl">x_bc</a> = 674 678 element x:bc { … … 682 686 } 683 687 684 <em id="x_bcp14"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.2 0"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.2</a>)</em>688 <em id="x_bcp14"><span id="rfc.iref.b.9"></span><span id="rfc.iref.e.21"></span># BCP14/RFC2119 keywords (see <a href="#ext.element.bcp14" title="<bcp14> element">Section 10.2</a>)</em> 685 689 <a href="#x_bcp14" class="smpl">x_bcp14</a> = 686 690 element x:bcp14 { … … 698 702 } 699 703 700 <em id="x_blockquote"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.2 1"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.5</a>)</em>704 <em id="x_blockquote"><span id="rfc.iref.b.10"></span><span id="rfc.iref.e.22"></span># Blockquote (see <a href="#ext.element.blockquote" title="<blockquote> element">Section 10.5</a>)</em> 701 705 <a href="#x_blockquote" class="smpl">x_blockquote</a> = 702 706 element x:blockquote { … … 705 709 } 706 710 707 <em id="x_bt"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.2 2"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt> element">Section 10.6</a>)</em>711 <em id="x_bt"><span id="rfc.iref.b.11"></span><span id="rfc.iref.e.23"></span># Top line of box drawing (see <a href="#ext.element.bt" title="<bt> element">Section 10.6</a>)</em> 708 712 <a href="#x_bt" class="smpl">x_bt</a> = 709 713 element x:bt { … … 717 721 } 718 722 719 <em id="x_dfn"><span id="rfc.iref.d.9"></span><span id="rfc.iref.e.2 3"></span># Definition (see <a href="#ext.element.dfn" title="<dfn> element">Section 10.7</a>)</em>723 <em id="x_dfn"><span id="rfc.iref.d.9"></span><span id="rfc.iref.e.24"></span># Definition (see <a href="#ext.element.dfn" title="<dfn> element">Section 10.7</a>)</em> 720 724 <a href="#x_dfn" class="smpl">x_dfn</a> = 721 725 element x:dfn { … … 724 728 } 725 729 726 <em id="x_h"><span id="rfc.iref.h.13"></span><span id="rfc.iref.e.2 4"></span># Heading (see <a href="#ext.element.h" title="<h> element">Section 10.8</a>)</em>730 <em id="x_h"><span id="rfc.iref.h.13"></span><span id="rfc.iref.e.25"></span># Heading (see <a href="#ext.element.h" title="<h> element">Section 10.8</a>)</em> 727 731 <a href="#x_h" class="smpl">x_h</a> = 728 732 element x:h { … … 730 734 } 731 735 732 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.2 5"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of> element">Section 10.9</a>)</em>736 <em id="x_length-of"><span id="rfc.iref.l.5"></span><span id="rfc.iref.e.26"></span># Length Measurement (see <a href="#ext.element.length-of" title="<length-of> element">Section 10.9</a>)</em> 733 737 <a href="#x_length-of" class="smpl">x_length-of</a> = 734 738 element x:length-of { … … 738 742 } 739 743 740 <em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.2 6"></span># Link (see <a href="#ext.element.link" title="<link> element">Section 10.10</a>)</em>744 <em id="x_link"><span id="rfc.iref.l.6"></span><span id="rfc.iref.e.27"></span># Link (see <a href="#ext.element.link" title="<link> element">Section 10.10</a>)</em> 741 745 <a href="#x_link" class="smpl">x_link</a> = 742 746 element x:link { … … 747 751 } 748 752 749 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.2 7"></span># Extended list item (see <a href="#ext.element.lt" title="<lt> element">Section 10.11</a>)</em>753 <em id="x_lt"><span id="rfc.iref.l.7"></span><span id="rfc.iref.e.28"></span># Extended list item (see <a href="#ext.element.lt" title="<lt> element">Section 10.11</a>)</em> 750 754 <a href="#x_lt" class="smpl">x_lt</a> = 751 755 element x:lt { … … 755 759 } 756 760 757 <em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e.2 8"></span># Inline quote (see <a href="#ext.element.q" title="<q> element">Section 10.12</a>)</em>761 <em id="x_q"><span id="rfc.iref.q.2"></span><span id="rfc.iref.e.29"></span># Inline quote (see <a href="#ext.element.q" title="<q> element">Section 10.12</a>)</em> 758 762 <a href="#x_q" class="smpl">x_q</a> = 759 763 element x:q { … … 761 765 } 762 766 763 <em id="x_ref"><span id="rfc.iref.r.23"></span><span id="rfc.iref.e. 29"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref> element">Section 10.13</a>)</em>767 <em id="x_ref"><span id="rfc.iref.r.23"></span><span id="rfc.iref.e.30"></span># Anchor reference (see <a href="#ext.element.ref" title="<ref> element">Section 10.13</a>)</em> 764 768 <a href="#x_ref" class="smpl">x_ref</a> = 765 769 element x:ref { … … 767 771 } 768 772 769 <em id="x_source"><span id="rfc.iref.s.1 4"></span><span id="rfc.iref.e.30"></span># source information (see <a href="#ext.element.source" title="<source> element">Section 10.14</a>)</em>773 <em id="x_source"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.31"></span># source information (see <a href="#ext.element.source" title="<source> element">Section 10.14</a>)</em> 770 774 <a href="#x_source" class="smpl">x_source</a> = 771 775 element x:source { … … 775 779 } 776 780 777 <em id="x_span"><span id="rfc.iref.s.15"></span><span id="rfc.iref.e.31"></span># Inline Span </em> 781 <em id="x_sup"><span id="rfc.iref.s.16"></span><span id="rfc.iref.e.32"></span># superscript (see <a href="#ext.element.sup" title="<sup> element">Section 10.15</a>)</em> 782 <a href="#x_sup" class="smpl">x_sup</a> = 783 element x:sup { 784 TEXT 785 } 786 787 <em id="x_span"><span id="rfc.iref.s.17"></span><span id="rfc.iref.e.33"></span># Inline Span </em> 778 788 <a href="#x_span" class="smpl">x_span</a> = 779 789 element x:span { … … 782 792 } 783 793 784 <em id="x_x"><span id="rfc.iref.x.27"></span><span id="rfc.iref.e.3 2"></span># Nop (for alignment in source)</em>794 <em id="x_x"><span id="rfc.iref.x.27"></span><span id="rfc.iref.e.34"></span># Nop (for alignment in source)</em> 785 795 <a href="#x_x" class="smpl">x_x</a> = 786 796 element x:x { 787 797 empty 788 798 } 789 </pre><hr class="noprint"><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a> Implementation Notes</h1><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a> Recognized type attributes for <artwork> element</h2><p id="rfc.section.B.1.p.1">Specific values in the <artwork> element's "type" attribute are recognized and cause a different visual style to be used:</p><div id="rfc.table.u.9"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Media Type</th><th>Comment</th></tr></thead><tbody><tr><td>abnf</td><td>ABNF as per <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a></td></tr><tr><td>abnf2616</td><td>ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td>application/relax-ng-compact-syntax</td><td>Relax NG Compact Syntax as per <a href="#RNC" id="rfc.xref.RNC.2"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a></td></tr><tr><td>application/xml-dtd</td><td>XML DTD</td></tr><tr><td>message/http; msgtype="request"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td>message/http; msgtype="response"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a> <a id="license" href="#license">License</a></h1><p id="rfc.section.C.p.1">Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a> Change Logs</h1><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a> Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd></dl><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a> amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a> check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>>.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>> to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd></dl><h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a> gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a> rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see <<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>>). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>>.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>>.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see <<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>>.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add <link> element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (<<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>>) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into <back>.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate <CITE> elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move <dt> style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty <dt> elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in <appendix> elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to <iref> handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for <x:lt>.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (<<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>>) to head element. Add warning for misplaced <t> elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow <eref> below <cref>.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd><dt>2008-03-01</dt><dd>Use line numbers in diagnostics in Saxon8/9 as well.</dd><dt>2008-03-02</dt><dd>Fix a bug in the logic choosing the boilerplate, resulting in obsolete text being inserted into IDs.</dd>< /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> xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">allow-markup-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element <a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element <a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.28">A</a></li><li class="indline1">Anchors <ul class="ind"><li class="indline1">rfc.abstract <a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors <a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright <a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice <a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n <a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n <a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index <a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr <a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n <a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n <a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references <a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n <a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m <a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status <a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc <a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n <a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter <a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP <a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element <a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element <a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">author HTML LINK element <a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute <a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute <a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element <a class="iref" href="#rfc.iref.b.3"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.7">A</a></li><li class="indline1">bc Extension Element <a class="iref" href="#rfc.iref.b.4"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bcp14 Extension Element <a class="iref" href="#rfc.iref.b.2"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">blockquote Extension Element <a class="iref" href="#rfc.iref.b.5"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1">bt Extension Element <a class="iref" href="#rfc.iref.b.6"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element <a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format <a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute <a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute <a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element <a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element <a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property <a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property <a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">DCMI properties <ul class="ind"><li class="indline1">Creator <a class="iref" href="#rfc.iref.d.1">6.4</a></li><li class="indline1">Date.Issued <a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1">Description.Abstract <a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">Identifier <a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Relation.Replaces <a class="iref" href="#rfc.iref.d.7">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property <a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">dfn Extension Element <a class="iref" href="#rfc.iref.d.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.d.9">A</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute <a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements <ul class="ind"><li class="indline1">anchor-alias <a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.16">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.17">A</a></li><li class="indline1">bb <a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.18">A</a></li><li class="indline1">bc <a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.19">A</a></li><li class="indline1">bcp14 <a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.20">A</a></li><li class="indline1">blockquote <a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.21">A</a></li><li class="indline1">bt <a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">dfn <a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">h <a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">length-of <a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">link <a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">lt <a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.32">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox <ul class="ind"><li class="indline1">1.*/2.* <a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.* <a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute <a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element <a class="iref" href="#rfc.iref.g.1">6.3</a></li><li class="indline1">Grammar <a class="iref" href="#rfc.iref.g.2"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element <a class="iref" href="#rfc.iref.h.12"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.h.13">A</a></li><li class="indline1">header PI pseudo-attribute <a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1"><em>HTML</em> <a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.5</a>, <a class="iref" href="#rfc.xref.HTML.3">10.7</a>, <a class="iref" href="#rfc.xref.HTML.4">10.12</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance <a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements <ul class="ind"><li class="indline1">alternate <a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix <a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author <a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter <a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents <a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright <a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index <a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements <ul class="ind"><li class="indline1">generator <a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords <a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property <a class="iref" href="#rfc.iref.i.9">6.4</a></li><li class="indline1">include PI pseudo-attribute <a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-references-in-index PI pseudo-attribute <a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element <a class="iref" href="#rfc.iref.i.8">6.2</a></li><li class="indline1">inline PI pseudo-attribute <a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5 <a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6 <a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7 <a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute <a class="iref" href="#rfc.iref.i.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute <a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element <a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element <a class="iref" href="#rfc.iref.l.2"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element <a class="iref" href="#rfc.iref.l.3"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute <a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element <a class="iref" href="#rfc.iref.l.4"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help <a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla <a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3 <a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4 <a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute <a class="iref" href="#rfc.iref.n.1">3.2</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera <a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.3">5.2</a><ul class="ind"><li class="indline1">9.5 <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters <ul class="ind"><li class="indline1">xml2rfc-background <a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments <a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact <a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing <a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.40">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section <a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index <a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-justification <a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 <a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">xml2rfc-footer <a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header <a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline <a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified <a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto <a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private <a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-sortrefs <a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-symrefs <a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-toc <a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-tocdepth <a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-topblock <a class="iref" href="#rfc.iref.p.31">3.1</a></li></ul></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">private PI pseudo-attribute <a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes <ul class="ind"><li class="indline1">allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.39">3.3</a></li><li class="indline1">authors-section <a class="iref" href="#rfc.iref.p.41">3.3</a></li><li class="indline1">background <a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments <a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact <a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">editing <a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer <a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header <a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification <a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">include <a class="iref" href="#rfc.iref.p.32">3.2</a></li><li class="indline1">include-references-in-index <a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">inline <a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified <a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto <a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines <a class="iref" href="#rfc.iref.p.33">3.2</a></li><li class="indline1">parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">private <a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">slides <a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">sortrefs <a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">strict <a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">subcompact <a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">support-rfc2731 <a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">symrefs <a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">toc <a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">tocdepth <a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocindent <a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">tocompact <a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">topblock <a class="iref" href="#rfc.iref.p.30">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element <a class="iref" href="#rfc.iref.q.1"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.21"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.r.23">A</a></li><li class="indline1">Relation.Replaces DCMI property <a class="iref" href="#rfc.iref.r.20">6.4</a></li><li class="indline1">RELAX NG Compact Schema <a class="iref" href="#rfc.iref.r.22"><b>A</b></a></li><li class="indline1">rfc.abstract anchor <a class="iref" href="#rfc.iref.r.1">4</a></li><li class="indline1">rfc.authors anchor <a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.copyright anchor <a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyrightnotice anchor <a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.figure.n anchor <a class="iref" href="#rfc.iref.r.5">4</a>, <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.figure.u.n anchor <a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.index anchor <a class="iref" href="#rfc.iref.r.7">4</a></li><li class="indline1">rfc.ipr anchor <a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.iref.n anchor <a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.note.n anchor <a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.references anchor <a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references.n anchor <a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.section.n anchor <a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n.p.m anchor <a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.status anchor <a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.toc anchor <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.xref.name.n anchor <a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">10.2</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.18</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.18</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.13"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute <a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute <a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element <a class="iref" href="#rfc.iref.s.12"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.s.14">A</a></li><li class="indline1">span Extension Element <a class="iref" href="#rfc.iref.s.15">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">support-rfc2731 PI pseudo-attribute <a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute <a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute <a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute <a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute <a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute <a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element <a class="iref" href="#rfc.iref.x.27">A</a></li><li class="indline1">Xalan <a class="iref" href="#rfc.iref.x.24">5.1</a></li><li class="indline1"><em>XHTML2</em> <a class="iref" href="#rfc.xref.XHTML2.1">10.8</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI <a class="iref" href="#rfc.iref.x.26">6</a></li><li class="indline1">xml2rfc-background parameter <a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter <a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter <a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter <a class="iref" href="#rfc.iref.x.17">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter <a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter <a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter <a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter <a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter <a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter <a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-footer parameter <a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter <a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter <a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter <a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter <a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter <a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter <a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter <a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-toc parameter <a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter <a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-topblock parameter <a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1"><em>XSL-FO</em> <a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc <a class="iref" href="#rfc.iref.x.25">5.1</a><ul class="ind"><li class="indline1">passing parameters <a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html>799 </pre><hr class="noprint"><h1 id="rfc.section.B" class="np"><a href="#rfc.section.B">B.</a> Implementation Notes</h1><h2 id="rfc.section.B.1"><a href="#rfc.section.B.1">B.1</a> Recognized type attributes for <artwork> element</h2><p id="rfc.section.B.1.p.1">Specific values in the <artwork> element's "type" attribute are recognized and cause a different visual style to be used:</p><div id="rfc.table.u.9"><table summary="" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th>Media Type</th><th>Comment</th></tr></thead><tbody><tr><td>abnf</td><td>ABNF as per <a href="#RFC5234" id="rfc.xref.RFC5234.1"><cite title="Augmented BNF for Syntax Specifications: ABNF">[RFC5234]</cite></a></td></tr><tr><td>abnf2616</td><td>ABNF as per <a href="#RFC2616" id="rfc.xref.RFC2616.1"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-2.1">Section 2.1</a></td></tr><tr><td>application/relax-ng-compact-syntax</td><td>Relax NG Compact Syntax as per <a href="#RNC" id="rfc.xref.RNC.2"><cite title="RELAX NG Compact Syntax">[RNC]</cite></a></td></tr><tr><td>application/xml-dtd</td><td>XML DTD</td></tr><tr><td>message/http; msgtype="request"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.2"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr><tr><td>message/http; msgtype="response"</td><td>HTTP message, as per <a href="#RFC2616" id="rfc.xref.RFC2616.3"><cite title="Hypertext Transfer Protocol -- HTTP/1.1">[RFC2616]</cite></a>, <a href="http://tools.ietf.org/html/rfc2616#section-19.1">Section 19.1</a></td></tr></tbody></table></div><hr class="noprint"><h1 id="rfc.section.C" class="np"><a href="#rfc.section.C">C.</a> <a id="license" href="#license">License</a></h1><p id="rfc.section.C.p.1">Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de)</p><p id="rfc.section.C.p.2">All rights reserved.</p><p id="rfc.section.C.p.3">Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: </p><ul><li>Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.</li><li>Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</li><li>Neither the name of Julian Reschke nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.</li></ul><p id="rfc.section.C.p.4">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p><hr class="noprint"><h1 id="rfc.section.D" class="np"><a href="#rfc.section.D">D.</a> Change Logs</h1><h2 id="rfc.section.D.1"><a href="#rfc.section.D.1">D.1</a> Package</h2><dl><dt>2006-01-01</dt><dd>Switch to BSD License.</dd><dt>2007-01-12</dt><dd>Update to xml2rfc v1.33pre2.</dd><dt>2007-03-31</dt><dd>Update to xml2rfc v1.33pre3.</dd><dt>2007-05-01</dt><dd>Add XSLT test cases.</dd></dl><h2 id="rfc.section.D.2"><a href="#rfc.section.D.2">D.2</a> amazon-asin.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2005-04-02</dt><dd>Fix two DTD issues.</dd></dl><h2 id="rfc.section.D.3"><a href="#rfc.section.D.3">D.3</a> check-references.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2004-05-11</dt><dd>Add document status; print references type.</dd><dt>2005-01-01</dt><dd>Add experimental check for ID status.</dd><dt>2005-04-01</dt><dd>Add fixes from Bill Fenner.</dd><dt>2005-12-03</dt><dd>Add checks against local copy of <<a href="http://www.w3.org/2002/01/tr-automation/tr.rdf">http://www.w3.org/2002/01/tr-automation/tr.rdf</a>>.</dd><dt>2006-07-22</dt><dd>Add checks for standards levels.</dd><dt>2006-08-06</dt><dd>"check-ietf-references.xslt" replaced by "check-references.xslt".</dd><dt>2007-01-04</dt><dd>Use information online at <<a href="http://tools.ietf.org/">http://tools.ietf.org/</a>> to retrieve Internet-Draft status information.</dd><dt>2007-06-16</dt><dd>Fix bug looking up ref type when inside change markup.</dd></dl><h2 id="rfc.section.D.4"><a href="#rfc.section.D.4">D.4</a> gen-reference-graph.xslt</h2><dl><dt>2006-09-03</dt><dd>New.</dd><dt>2007-06-07</dt><dd>Use <a href="http://dpcarlisle.blogspot.com/2007/05/exslt-node-set-function.html">Carlisle method</a> to define exslt:node-set in msxsml (which means that the stylesheet can now be used with MSXML as well).</dd><dt>2007-10-15</dt><dd>Use W3C data from tr.rdf as well (experimental).</dd></dl><h2 id="rfc.section.D.5"><a href="#rfc.section.D.5">D.5</a> rfc2629.xslt</h2><dl><dt>2001-03-28</dt><dd>Code rearranged, generate numbered section anchors for paragraphs (t) as well. Fixes in index handling.</dd><dt>2001-04-12</dt><dd>Moved HTML output into XHTML namespace.</dd><dt>2001-10-02</dt><dd>Fixed default location for RFCs and numbering of section references. Support ?rfc editing processing instruction.</dd><dt>2001-10-07</dt><dd>Made telephone number links active.</dd><dt>2001-10-08</dt><dd>Support for vspace element.</dd><dt>2001-10-09</dt><dd>Experimental support for rfc-issue PI.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-11-11</dt><dd>Support rfc private PI. Removed bogus code reporting the WG in the header.</dd><dt>2001-12-17</dt><dd>Support title attribute on references element</dd><dt>2002-01-05</dt><dd>Support for list/@style="@format"</dd><dt>2002-01-09</dt><dd>Display "closed" RFC issues as deleted</dd><dt>2002-01-14</dt><dd>Experimentally and optionally parse XML encountered in artwork elements (requires MSXSL).</dd><dt>2002-01-27</dt><dd>Some cleanup. Moved RFC issues from PIs into namespaced elements.</dd><dt>2002-01-29</dt><dd>Added support for sortrefs PI. Added support for figure names.</dd><dt>2002-02-07</dt><dd>Highlight parts of artwork which are too wide (72 characters).</dd><dt>2002-02-12</dt><dd>Code rearrangement for static texts. Fixes for section numbering. TOC generation rewritten.</dd><dt>2002-02-15</dt><dd>Support for irefs in sections; support iref @primary=true</dd><dt>2002-03-03</dt><dd>Moved anchor prefix into a constant. Added sanity checks on user anchor names.</dd><dt>2002-03-23</dt><dd>Bugfix in detection of matching org names when creating the header. Fixed sorting in subitems.</dd><dt>2002-04-02</dt><dd>Fix TOC link HTML generation when no TOC is generated (created broken HTML table code).</dd><dt>2002-04-03</dt><dd>Made rendering of references more tolerant re: missing parts.</dd><dt>2002-04-08</dt><dd>Fixed reference numbering when references are split into separate sections.</dd><dt>2002-04-16</dt><dd>Fix default namespace (shouldn't be set for HTML output method).</dd><dt>2002-04-19</dt><dd>Lowercase internal CSS selectors for Mozilla compliance. Do not put TOC into ul element.</dd><dt>2002-04-21</dt><dd>Make numbered list inside numbered lists use alphanumeric numbering.</dd><dt>2002-05-05</dt><dd>Updated issue/editing support.</dd><dt>2002-05-15</dt><dd>Bugfix for section numbering after introduction of ed:replace</dd><dt>2002-06-21</dt><dd>When producing private documents, do not include document status, copyright etc.</dd><dt>2002-07-08</dt><dd>Fix xrefs to Appendices.</dd><dt>2002-07-19</dt><dd>Make artwork lightyellow for easier reading. (fielding)</dd><dt>2002-10-09</dt><dd>Translate references title to anchor name to avoid non-uri characters. (fielding)</dd><dt>2002-10-13</dt><dd>Support for tocdepth PI.</dd><dt>2002-11-03</dt><dd>Added temporariry workaround for Mozilla/Transformiix result tree fragment problem. (search for 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668')</dd><dt>2002-12-25</dt><dd>xref code: attempt to uppercase "section" and "appendix" when at the start of a sentence.</dd><dt>2003-02-02</dt><dd>fixed code for vspace blankLines="0", enhanced display for list with "format" style, got rid of HTML blockquote elements, added support for "hangIndent"</dd><dt>2003-04-10</dt><dd>experimental support for appendix and spanx elements</dd><dt>2003-04-19</dt><dd>fixed counting of list numbers in "format %" styles (one counter per unique format string). Added more spanx styles.</dd><dt>2003-05-02</dt><dd>experimental texttable support</dd><dt>2003-05-02</dt><dd>Make mailto links optional (default = none) (jre: default and PI name changed) (fielding)</dd><dt>2003-05-04</dt><dd>experimental support for HTML link elements; fix default for table header alignment default</dd><dt>2003-05-06</dt><dd>support for "background" PI.</dd><dt>2003-05-11</dt><dd>change %c format to lowercase alphabetic. add support for keyword elements (generate META tag). fix various HTML conformance problems. added experimental support for role attribute. do not number paragraphs in unnumbered sections. update boilerplate texts. support for "iprnotified" PI. bugfix list numbering. strip whitespace when building tel: URIs.</dd><dt>2003-05-12</dt><dd>more conformance fixes (layout moved into CSS, move lists and figures out of para content, do not use tables for list formatting)</dd><dt>2003-05-13</dt><dd>add DC.Creator meta tag, refactoring</dd><dt>2003-05-16</dt><dd>put nbsps between "section" and section number (xref).</dd><dt>2003-05-18</dt><dd>author summary: add missing comma.</dd><dt>2003-06-06</dt><dd>fix index generation bug (transposed characters in key generation). Enhance sentence start detection (xref starting a section was using lowercase "section").</dd><dt>2003-06-22</dt><dd>exp. support for xref/@format. Add missing support for eref w/o content. exp. support for annotations in reference elements. Code cleanup reference table formatting.</dd><dt>2003-07-09</dt><dd>Another fix for DC.Creator meta tag creation based on RFC2731</dd><dt>2003-07-24</dt><dd>Fix namespace name for DC.Creator.</dd><dt>2003-08-06</dt><dd>Cleanup node-set support (only use exslt (saxon, xalan, libxslt) extension functions; remove Transformix workarounds that stopped to work in Moz 1.4)</dd><dt>2003-08-09</dt><dd>Generate HTML lang tag.</dd><dt>2003-08-10</dt><dd>Map spanx/verb to HTML "samp" element. Fix author name display in references (reverse surname/initials for last author), add "Ed.". Fix internal bookmark generation.</dd><dt>2003-08-17</dt><dd>Add DCMI dates, identifiers and abstract. Add PI to suppress DCMI generation. Do not add TOC entry to Copyright Statement when there is none. Align RFC2629 PI names and parameter names. Change style for inline URIs generated by eref. Add header and footer support. Enhance CSS paging properties. Support topblock PI. Added hooks for proper XHTML generation through separate XSLT. Enhance warning and error messages. Add support for artwork image display. Table formatting fixes (borders, thead continuation).</dd><dt>2003-08-18</dt><dd>Add workaround for MSXML4 node-set and Mozilla node-set issues (fallback just displays are warning).</dd><dt>2003-10-06</dt><dd>Add workaround for broken pre/ins handling in Mozilla (see <<a href="http://bugzilla.mozilla.org/show_bug.cgi?id=204401">http://bugzilla.mozilla.org/show_bug.cgi?id=204401</a>>). Make use of cite attribute on ed:replace. CSS cleanup.</dd><dt>2003-10-08</dt><dd>Fix minor issue detecting the same org for the header (caused by IE's non-standard whitespace handling). Fix default handling for /rfc/@category.</dd><dt>2003-11-09</dt><dd>Inherit ed:entered-by from ancestor elements. Change CSS color for inserted text to green. Generate issues-list anchor. Do not complain about missing targets when the xref element is below ed:del. Remove code that attempted to distinguish section/Section when producing links - always use uppercase. Fix date rendering for issue resolutions.</dd><dt>2003-11-29</dt><dd>Fix color values for table backgrounds for issue rendering. Change rendering of issue links to use inline-styles. Add colored issue markers to issues.</dd><dt>2003-12-13</dt><dd>Fix inheritance of ed:entered-by attribute. Display note elements inside change tracking as well.</dd><dt>2004-01-18</dt><dd>When PI compact = 'yes', make most CSS print page breaks conditional.</dd><dt>2004-02-20</dt><dd>Support for RFC3667 IPR changes (xml2rfc 1.22); see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-February/001088.html</a>>.</dd><dt>2004-03-11</dt><dd>Add "(if approved)" to "updates" and "obsoletes" unless the document has an RFC number.</dd><dt>2004-04-01</dt><dd>Fix RFC3667 output, see <<a href="http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html">http://lists.xml.resource.org/pipermail/xml2rfc/2004-April/001208.html</a>>.</dd><dt>2004-04-04</dt><dd>Add support for section/top attribute. Move references into plain section container.</dd><dt>2004-04-06</dt><dd>Do not emit identical para anchors for deleted content.</dd><dt>2004-04-14</dt><dd>Fix references TOC generation when there are no references.</dd><dt>2004-04-24</dt><dd>Fix RFC3667 output, see <<a href="http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html">http://xml.resource.org/pipermail/xml2rfc/2004-April/001246.html</a>>.</dd><dt>2004-05-09</dt><dd>Add custom support for generating compound index documents. Add anchors for each Index letter. Add experimental cref support. Fix conditional page breaks before References section.</dd><dt>2004-05-16</dt><dd>Refactor external index generation.</dd><dt>2004-05-20</dt><dd>Rewrite anchor generation for comments.</dd><dt>2004-05-22</dt><dd>Enhance issues rendering (add links to changes).</dd><dt>2004-05-30</dt><dd>Allow single quote as delimiter in processing instructions as well. Move block-level issue pointers to floats. Disable issue pointers for print media. Add "purple numbers". Add hrefs to section headings. Add non-printing index key letter list to start of index.</dd><dt>2004-06-01</dt><dd>Use &#xb6; instead of # for PNs.</dd><dt>2004-07-18</dt><dd>Add support for list style=letters (thanks Roy F.). Make PNs optional; add new PI.</dd><dt>2004-09-05</dt><dd>Fix index links into unnumbered sections. Bring IPR boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 paged media support. Various HTML fixes.</dd><dt>2004-09-21</dt><dd>Enhance checking of artwork width.</dd><dt>2004-09-26</dt><dd>Add check for unused references. Uppercase letters in list style letters when nested into another list.</dd><dt>2004-10-10</dt><dd>Fix internal change track pointers.</dd><dt>2004-11-01</dt><dd>Allow change tracking on references (as a whole). Rewrite artwork handling so that it allows change tracking inside artwork. Also allow a subset of text markup inside artwork, such as xrefs (note this requires post-processing the source to make it compliant to RFC2629bis).</dd><dt>2004-11-03</dt><dd>Enhanced placement of iref anchors.</dd><dt>2004-11-06</dt><dd>Index: display irefs that appeared (with primary=true) inside artwork elements in a monospaced font.</dd><dt>2004-11-14</dt><dd>Add special code so that changes in section titles can be change-tracked.</dd><dt>2005-01-14</dt><dd>Bugfixes for HtmlToXhtml converter.</dd><dt>2005-01-22</dt><dd>Enhance generation of HTML h* elements (for Mozilla Outliner).</dd><dt>2005-01-31</dt><dd>Put vertical space around top-level TOC entries in TOC. Switch to pt-based CSS. Re-arrange top section. Make hr elements reflect new-page settings in TXT output (compact-PI). Fix page number in footer (CSS print) and add some more experimental support for paged media (tested with Prince 4.1 alpha). Rewrite TOC and Index generation to generate HTML lists. Cleanup id generation for paragraphs. Reduce whitespace in output. Fix vspace implementation. Use right/left dqoutes and copyright sign where appropriate.</dd><dt>2005-02-04</dt><dd>Add <link> element to references section. Fix newly introduced bug in references processing.</dd><dt>2005-02-05</dt><dd>Integrate various fixes/enhancements by Roy Fielding: spelling of "Authors' Addresses", comma setting in references, position of "Authors" section, optionally place authors addresses at end (PI), trailing dots in section numbers, switch to verdana default font in CSS. Add experimental support for centered artwork.</dd><dt>2005-02-09</dt><dd>Fixes in spacing and links of references section titles. Enhance sorting in references when change tracking is in place. Re-add figure centering support. Add missing 2nd part of "Author's Adresses" fix.</dd><dt>2005-02-25</dt><dd>Align section number format with xml2rfc1.29.</dd><dt>2005-03-28</dt><dd>Get rid of table elements in Author's section. Add experimental hCard (<<a href="http://developers.technorati.com/wiki/hCard">http://developers.technorati.com/wiki/hCard</a>>) support.</dd><dt>2005-04-03</dt><dd>Add RFC3978-style IPR statement support. (fenner@research.att.com)</dd><dt>2005-04-11</dt><dd>Cleanup author display. hCard related fixes.</dd><dt>2005-05-07</dt><dd>Minor fixes to allow change tracking in doc title. Add experimental support for table border styles. CSS cleanup.</dd><dt>2005-06-18</dt><dd>Implement missing support for references to texttables.</dd><dt>2005-09-25</dt><dd>Use (-moz-)column-count when printing the index.</dd><dt>2005-10-04</dt><dd>Report missing element templates with xsl:message.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2005-10-23</dt><dd>More workarounds for Mozilla's broken del/ins handling (this time for figures).</dd><dt>2005-10-27</dt><dd>lowercase hCard class names</dd><dt>2005-11-22</dt><dd>Enhance diagnostics for XML-in-artwork extension</dd><dt>2005-11-26</dt><dd>Fix formatting of section numbers for sections inserted into <back>.</dd><dt>2005-12-12</dt><dd>Fix some validity problems when change tracking occured inside lists.</dd><dt>2005-12-18</dt><dd>Add change tracking inside the index.</dd><dt>2006-02-04</dt><dd>Add prev/next links to highlighted changes (change tracking extension).</dd><dt>2006-02-10</dt><dd>Catch errors instantiating MSXML component.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-02-27</dt><dd>Fix front matter (lowercase Internet-Draft, say "Intended status" for non-RFC documents). Start work on experimental extension for simplified internal links.</dd><dt>2006-03-19</dt><dd>Tweaks to IESG Copyright stuff; support submissionType attribute. Fix duplicate reference anchors in HTML output. Reduce HTML Tidy warnings. Fix reference to normative ASCII version (now requires trailing ".txt"). Tweaks to hCard generation. Started to move non-issue-tracking extensions into namespace "http://purl.org/net/xml2rfc/ext".</dd><dt>2006-03-27</dt><dd>Moved "simple reference" extension into namespace "http://purl.org/net/xml2rfc/ext" and add documentation. HTML conformance enhancements.</dd><dt>2006-04-02</dt><dd>Cleanup special code for automated XHTML XSLT generation.</dd><dt>2006-04-21</dt><dd>Generate <CITE> elements where appropiate. Introduce x:blockquote, x:dfn, x:h and x:q elements.</dd><dt>2006-05-06</dt><dd>Introduce x:bcp14 element.</dd><dt>2006-05-14</dt><dd>Fix content model for x:blockquote.</dd><dt>2006-06-18</dt><dd>Add box drawing support (x:bt, x:bc, x:bb).</dd><dt>2006-06-20</dt><dd>HTML validity fixes (legal chars in anchors in index).</dd><dt>2006-06-24</dt><dd>Reduce leading empty lines in artwork. Move <dt> style info into CSS.</dd><dt>2006-07-14</dt><dd>Fix rendering of multiple street address entries (missing line break).</dd><dt>2006-07-24</dt><dd>Add extension for deep linking into RFCs, do not generate empty list items in TOC output, avoid empty <dt> elements for list items without hangText attribute.</dd><dt>2006-08-01</dt><dd>Allow @anchor on more elements; start work on Relax NG grammar for extensions. Reduce generated style elements (use CSS classes instead). Consistently use "id" instead of "name". Change default target for RFC links to "http://tools.ietf.org/html/rfcNNNN".</dd><dt>2006-08-06</dt><dd>Include appendices defined in <appendix> elements in TOC (please consider them deprecated anyhow!). Generate links to "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace x:frag by x:rel, allowing any kind of relative reference instead of just fragments.</dd><dt>2006-08-30</dt><dd>Reduce textual differences between HTML output and what xml2rfc produces in TXT output mode (section refs/reference targets). Add small workaround for Opera 9.0.1's problem with node-set().</dd><dt>2006-10-29</dt><dd>Fix problem generating internal links to change markup within references section. Enhancements when generating numbered references for deleted references. Allow inclusion of references into the index (through include-references-in-index extension). Fix a bug that caused the newer version of the IETF boilerplate to be produced rather than the pre-RFC3667 one. Update to RFC4287 boilerplate.</dd><dt>2006-11-11</dt><dd>Add extension attribute x:for-anchor to <iref> handling.</dd><dt>2006-11-26</dt><dd>Experimental (and limited) support for <x:lt>.</dd><dt>2006-12-04</dt><dd>Fix bugs in processing documents that have both the ipr and the number attribute set on the rfc root element. Add support for x:fmt='none' on xrefs. Add different pre style based on artwork type attributes (experimental).</dd><dt>2006-12-13</dt><dd>Add x:fmt='anchor' for xref elements.</dd><dt>2007-01-07</dt><dd>Fix root template for compatibility for the exslt:node-set implementation in Firefox3.</dd><dt>2007-01-29</dt><dd>Avoid empty table entry in front matter when organization is not specified for an author.</dd><dt>2007-02-10</dt><dd>Allow change tracking in table rows.</dd><dt>2007-03-09</dt><dd>Add hcard profile URI (<<a href="http://www.w3.org/2006/03/hcard">http://www.w3.org/2006/03/hcard</a>>) to head element. Add warning for misplaced <t> elements (after section).</dd><dt>2007-03-21</dt><dd>Fix internal linking from reference entries in index for some xref types. Minor CSS tweaks contributed by MTR. Allow turning on text justification through a PI. Improve iref anchor generation to generate less instable anchors.</dd><dt>2007-03-28</dt><dd>Fixes for numbering of ed:inserted references sections.</dd><dt>2007-05-04</dt><dd>Do not generate anchors for edits in deleted sections. Enhance HTML conformance.</dd><dt>2007-05-19</dt><dd>Enhance diagnostics when using Saxon (needs Saxon's "-l" command line parameter to keep line number information). Add warning when symref PI is missing (default will change in the future). Add support for overriding computed section numbers (when formatting historic documents).</dd><dt>2007-06-07</dt><dd>Change default for symrefs PI to "yes" (see change in xml2rfc 1.33pre4). Warn about docName attributes that appear to contain a file extension.</dd><dt>2007-06-26</dt><dd>Workaround author/@initials values without trailing dot, as in xml2rfc.tcl.</dd><dt>2007-07-14</dt><dd>Enhance index generation for references that use @x:sec attribute.</dd><dt>2007-09-09</dt><dd>Fix: sortrefs is a nop when symrefs=no.</dd><dt>2007-10-17</dt><dd>Work in progress: add support for referencing sections in sibling documents by anchor name.</dd><dt>2007-10-17</dt><dd>Work in progress (continued): support for referencing sections in sibling documents by anchor name.</dd><dt>2007-12-31</dt><dd>Emit warning when updating/obsoleting stuff that's not referenced.</dd><dt>2008-02-03</dt><dd>Support xml2rfc-1.33pre5's suppress-title attribute on texttable and figure.</dd><dt>2008-02-06</dt><dd>Extension: allow <eref> below <cref>.</dd><dt>2008-02-17</dt><dd>Extensions: add x:span and x:length-of.</dd><dt>2008-02-20</dt><dd>Add new RFC boilerplate (as changed in 2007-08).</dd><dt>2008-02-27</dt><dd>Improve diagnostics for artwork width problems; add defaulting of publication dates (requires XSLT processor supporting exslt:date, or msxml).</dd><dt>2008-02-29</dt><dd>Enhance CSS for link elements in the front header, update rules for generating "Acknowledgment" statement.</dd><dt>2008-03-01</dt><dd>Use line numbers in diagnostics in Saxon8/9 as well.</dd><dt>2008-03-02</dt><dd>Fix a bug in the logic choosing the boilerplate, resulting in obsolete text being inserted into IDs.</dd><dt>2008-04-01</dt><dd>Add support for superscript element.</dd></dl><h2 id="rfc.section.D.6"><a href="#rfc.section.D.6">D.6</a> rfc2629toFO.xslt</h2><dl><dt>2003-11-16</dt><dd>Initial release.</dd><dt>2003-11-29</dt><dd>Enhance handling of unknown list styles.</dd><dt>2004-04-04</dt><dd>Update reference section handling.</dd><dt>2004-04-17</dt><dd>Use XSL-WD-1.1-style fo:bookmark and index handling and add postprocessors for existing implementations. Unify PDF info generation by using XEP (postprocessors) will convert.</dd><dt>2004-04-20</dt><dd>Add experimental cref support.</dd><dt>2004-06-14</dt><dd>Set correct index-item defaults.</dd><dt>2004-07-18</dt><dd>Add list style=letters.</dd><dt>2004-09-03</dt><dd>Make URLs in text break where they are allowed to break by inserting zero-width spaces.</dd><dt>2004-09-26</dt><dd>Fix letter-style inside nested lists.</dd><dt>2004-10-31</dt><dd>Update handling of artwork.</dd><dt>2004-11-13</dt><dd>Fix handling of references inside ed:* markup. Fix whitespace handling in artwork.</dd><dt>2004-11-27</dt><dd>Irefs in artwork generate monospaced entries in index.</dd><dt>2005-01-31</dt><dd>Fix TOC generation that was broken after changes in main XSLT.</dd><dt>2005-02-05</dt><dd>Bring in sync with cosmetic changes in rfc2629.xslt.</dd><dt>2005-05-07</dt><dd>Minor fix for change tracking in document title. Support for table styles.</dd><dt>2005-06-18</dt><dd>Fix references to tables.</dd><dt>2005-10-15</dt><dd>Process t/@anchor.</dd><dt>2006-02-11</dt><dd>References: add "work in progress" for Internet Drafts.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd><dt>2007-03-21</dt><dd>Support optional text justification.</dd><dt>2007-05-19</dt><dd>Various improvements in spacing; also allow overriding the automatic list indentation via list/x:indent.</dd></dl><h2 id="rfc.section.D.7"><a href="#rfc.section.D.7">D.7</a> xsl11toAn.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.8"><a href="#rfc.section.D.8">D.8</a> xsl11toFop.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><h2 id="rfc.section.D.9"><a href="#rfc.section.D.9">D.9</a> xsl11toFop-0.93.xslt</h2><dl><dt>2008-03-15</dt><dd>Add a workaround to the fo:inline workaround (sigh).</dd></dl><h2 id="rfc.section.D.10"><a href="#rfc.section.D.10">D.10</a> xsl11toXep.xslt</h2><dl><dt>2004-05-17</dt><dd>Initial release.</dd><dt>2004-09-04</dt><dd>Fix xep:index-item attributes.</dd><dt>2006-06-02</dt><dd>Use XSL 1.1 WD Feb 2006.</dd></dl><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.A">A</a> <a href="#rfc.index.B">B</a> <a href="#rfc.index.C">C</a> <a href="#rfc.index.D">D</a> <a href="#rfc.index.E">E</a> <a href="#rfc.index.F">F</a> <a href="#rfc.index.G">G</a> <a href="#rfc.index.H">H</a> <a href="#rfc.index.I">I</a> <a href="#rfc.index.J">J</a> <a href="#rfc.index.K">K</a> <a href="#rfc.index.L">L</a> <a href="#rfc.index.M">M</a> <a href="#rfc.index.N">N</a> <a href="#rfc.index.O">O</a> <a href="#rfc.index.P">P</a> <a href="#rfc.index.Q">Q</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.S">S</a> <a href="#rfc.index.T">T</a> <a href="#rfc.index.X">X</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><a id="rfc.index.A" href="#rfc.index.A"><b>A</b></a><ul class="ind"><li class="indline1">allow-markup-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.a.1">3.3</a></li><li class="indline1">alternate HTML LINK element <a class="iref" href="#rfc.iref.a.22">6.2</a></li><li class="indline1">anchor-alias Extension Element <a class="iref" href="#rfc.iref.a.27"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.a.28">A</a></li><li class="indline1">Anchors <ul class="ind"><li class="indline1">rfc.abstract <a class="iref" href="#rfc.iref.a.3">4</a></li><li class="indline1">rfc.authors <a class="iref" href="#rfc.iref.a.4">4</a></li><li class="indline1">rfc.copyright <a class="iref" href="#rfc.iref.a.5">4</a></li><li class="indline1">rfc.copyrightnotice <a class="iref" href="#rfc.iref.a.6">4</a></li><li class="indline1">rfc.figure.n <a class="iref" href="#rfc.iref.a.7">4</a>, <a class="iref" href="#rfc.iref.a.18">4</a></li><li class="indline1">rfc.figure.u.n <a class="iref" href="#rfc.iref.a.8">4</a>, <a class="iref" href="#rfc.iref.a.19">4</a></li><li class="indline1">rfc.index <a class="iref" href="#rfc.iref.a.9">4</a></li><li class="indline1">rfc.ipr <a class="iref" href="#rfc.iref.a.10">4</a></li><li class="indline1">rfc.iref.n <a class="iref" href="#rfc.iref.a.11">4</a></li><li class="indline1">rfc.note.n <a class="iref" href="#rfc.iref.a.12">4</a></li><li class="indline1">rfc.references <a class="iref" href="#rfc.iref.a.13">4</a>, <a class="iref" href="#rfc.iref.a.14">4</a></li><li class="indline1">rfc.section.n <a class="iref" href="#rfc.iref.a.15">4</a></li><li class="indline1">rfc.section.n.p.m <a class="iref" href="#rfc.iref.a.16">4</a></li><li class="indline1">rfc.status <a class="iref" href="#rfc.iref.a.17">4</a></li><li class="indline1">rfc.toc <a class="iref" href="#rfc.iref.a.20">4</a></li><li class="indline1">rfc.xref.name.n <a class="iref" href="#rfc.iref.a.21">4</a></li></ul></li><li class="indline1">AntennaHouse XSL Formatter <a class="iref" href="#rfc.iref.a.26">9.1</a></li><li class="indline1">Apache FOP <a class="iref" href="#rfc.iref.a.25">9.1</a></li><li class="indline1">appendix HTML LINK element <a class="iref" href="#rfc.iref.a.23">6.2</a></li><li class="indline1">assign-section-number Extension Element <a class="iref" href="#rfc.iref.a.29">A</a></li><li class="indline1">author HTML LINK element <a class="iref" href="#rfc.iref.a.24">6.2</a></li><li class="indline1">authors-section PI pseudo-attribute <a class="iref" href="#rfc.iref.a.2">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.B" href="#rfc.index.B"><b>B</b></a><ul class="ind"><li class="indline1">background PI pseudo-attribute <a class="iref" href="#rfc.iref.b.1">3.1</a></li><li class="indline1">bb Extension Element <a class="iref" href="#rfc.iref.b.3"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.b.7">A</a></li><li class="indline1">bc Extension Element <a class="iref" href="#rfc.iref.b.4"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.b.8">A</a></li><li class="indline1">bcp14 Extension Element <a class="iref" href="#rfc.iref.b.2"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.b.9">A</a></li><li class="indline1">blockquote Extension Element <a class="iref" href="#rfc.iref.b.5"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.b.10">A</a></li><li class="indline1">bt Extension Element <a class="iref" href="#rfc.iref.b.6"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.b.11">A</a></li></ul></li><li class="indline0"><a id="rfc.index.C" href="#rfc.index.C"><b>C</b></a><ul class="ind"><li class="indline1">chapter HTML LINK element <a class="iref" href="#rfc.iref.c.3">6.2</a></li><li class="indline1">CHM format <a class="iref" href="#rfc.iref.c.7">8</a></li><li class="indline1">comments PI pseudo-attribute <a class="iref" href="#rfc.iref.c.2">3.1</a></li><li class="indline1">compact PI pseudo-attribute <a class="iref" href="#rfc.iref.c.1">3.1</a></li><li class="indline1">contents HTML LINK element <a class="iref" href="#rfc.iref.c.4">6.2</a></li><li class="indline1">copyright HTML LINK element <a class="iref" href="#rfc.iref.c.5">6.2</a></li><li class="indline1">Creator DCMI property <a class="iref" href="#rfc.iref.c.6">6.4</a></li></ul></li><li class="indline0"><a id="rfc.index.D" href="#rfc.index.D"><b>D</b></a><ul class="ind"><li class="indline1">Date.Issued DCMI property <a class="iref" href="#rfc.iref.d.2">6.4</a></li><li class="indline1">DCMI properties <ul class="ind"><li class="indline1">Creator <a class="iref" href="#rfc.iref.d.1">6.4</a></li><li class="indline1">Date.Issued <a class="iref" href="#rfc.iref.d.3">6.4</a></li><li class="indline1">Description.Abstract <a class="iref" href="#rfc.iref.d.5">6.4</a></li><li class="indline1">Identifier <a class="iref" href="#rfc.iref.d.6">6.4</a></li><li class="indline1">Relation.Replaces <a class="iref" href="#rfc.iref.d.7">6.4</a></li></ul></li><li class="indline1">Description.Abstract DCMI property <a class="iref" href="#rfc.iref.d.4">6.4</a></li><li class="indline1">dfn Extension Element <a class="iref" href="#rfc.iref.d.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.d.9">A</a></li></ul></li><li class="indline0"><a id="rfc.index.E" href="#rfc.index.E"><b>E</b></a><ul class="ind"><li class="indline1">editing PI pseudo-attribute <a class="iref" href="#rfc.iref.e.1">3.1</a></li><li class="indline1">Extension Elements <ul class="ind"><li class="indline1">anchor-alias <a class="iref" href="#rfc.iref.e.2"><b>10.1</b></a>, <a class="iref" href="#rfc.iref.e.17">A</a></li><li class="indline1">assign-section-number <a class="iref" href="#rfc.iref.e.18">A</a></li><li class="indline1">bb <a class="iref" href="#rfc.iref.e.4"><b>10.3</b></a>, <a class="iref" href="#rfc.iref.e.19">A</a></li><li class="indline1">bc <a class="iref" href="#rfc.iref.e.5"><b>10.4</b></a>, <a class="iref" href="#rfc.iref.e.20">A</a></li><li class="indline1">bcp14 <a class="iref" href="#rfc.iref.e.3"><b>10.2</b></a>, <a class="iref" href="#rfc.iref.e.21">A</a></li><li class="indline1">blockquote <a class="iref" href="#rfc.iref.e.6"><b>10.5</b></a>, <a class="iref" href="#rfc.iref.e.22">A</a></li><li class="indline1">bt <a class="iref" href="#rfc.iref.e.7"><b>10.6</b></a>, <a class="iref" href="#rfc.iref.e.23">A</a></li><li class="indline1">dfn <a class="iref" href="#rfc.iref.e.8"><b>10.7</b></a>, <a class="iref" href="#rfc.iref.e.24">A</a></li><li class="indline1">h <a class="iref" href="#rfc.iref.e.9"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.e.25">A</a></li><li class="indline1">length-of <a class="iref" href="#rfc.iref.e.10"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.e.26">A</a></li><li class="indline1">link <a class="iref" href="#rfc.iref.e.11"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.e.27">A</a></li><li class="indline1">lt <a class="iref" href="#rfc.iref.e.12"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.e.28">A</a></li><li class="indline1">q <a class="iref" href="#rfc.iref.e.13"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.e.29">A</a></li><li class="indline1">ref <a class="iref" href="#rfc.iref.e.14"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.e.30">A</a></li><li class="indline1">source <a class="iref" href="#rfc.iref.e.15"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.e.31">A</a></li><li class="indline1">span <a class="iref" href="#rfc.iref.e.33">A</a></li><li class="indline1">sup <a class="iref" href="#rfc.iref.e.16"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.e.32">A</a></li><li class="indline1">x <a class="iref" href="#rfc.iref.e.34">A</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.F" href="#rfc.index.F"><b>F</b></a><ul class="ind"><li class="indline1">Firefox <ul class="ind"><li class="indline1">1.*/2.* <a class="iref" href="#rfc.iref.f.3">5.2</a></li><li class="indline1">3.* <a class="iref" href="#rfc.iref.f.2">5.2</a></li></ul></li><li class="indline1">footer PI pseudo-attribute <a class="iref" href="#rfc.iref.f.1">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.G" href="#rfc.index.G"><b>G</b></a><ul class="ind"><li class="indline1">generator HTML META element <a class="iref" href="#rfc.iref.g.1">6.3</a></li><li class="indline1">Grammar <a class="iref" href="#rfc.iref.g.2"><b>A</b></a></li></ul></li><li class="indline0"><a id="rfc.index.H" href="#rfc.index.H"><b>H</b></a><ul class="ind"><li class="indline1">h Extension Element <a class="iref" href="#rfc.iref.h.12"><b>10.8</b></a>, <a class="iref" href="#rfc.iref.h.13">A</a></li><li class="indline1">header PI pseudo-attribute <a class="iref" href="#rfc.iref.h.1">3.1</a></li><li class="indline1"><em>HTML</em> <a class="iref" href="#rfc.xref.HTML.1">6.1</a>, <a class="iref" href="#rfc.xref.HTML.2">10.5</a>, <a class="iref" href="#rfc.xref.HTML.3">10.7</a>, <a class="iref" href="#rfc.xref.HTML.4">10.12</a>, <a class="iref" href="#rfc.xref.HTML.5">10.15</a>, <a class="iref" href="#HTML"><b>12</b></a></li><li class="indline1">HTML compliance <a class="iref" href="#rfc.iref.h.2">6.1</a></li><li class="indline1">HTML LINK elements <ul class="ind"><li class="indline1">alternate <a class="iref" href="#rfc.iref.h.3">6.2</a></li><li class="indline1">appendix <a class="iref" href="#rfc.iref.h.4">6.2</a></li><li class="indline1">author <a class="iref" href="#rfc.iref.h.5">6.2</a></li><li class="indline1">chapter <a class="iref" href="#rfc.iref.h.6">6.2</a></li><li class="indline1">contents <a class="iref" href="#rfc.iref.h.7">6.2</a></li><li class="indline1">copyright <a class="iref" href="#rfc.iref.h.8">6.2</a></li><li class="indline1">index <a class="iref" href="#rfc.iref.h.9">6.2</a></li></ul></li><li class="indline1">HTML META elements <ul class="ind"><li class="indline1">generator <a class="iref" href="#rfc.iref.h.10">6.3</a></li><li class="indline1">keywords <a class="iref" href="#rfc.iref.h.11">6.3</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">Identifier DCMI property <a class="iref" href="#rfc.iref.i.9">6.4</a></li><li class="indline1">include PI pseudo-attribute <a class="iref" href="#rfc.iref.i.3">3.2</a></li><li class="indline1">include-references-in-index PI pseudo-attribute <a class="iref" href="#rfc.iref.i.4">3.3</a></li><li class="indline1">index HTML LINK element <a class="iref" href="#rfc.iref.i.8">6.2</a></li><li class="indline1">inline PI pseudo-attribute <a class="iref" href="#rfc.iref.i.1">3.1</a></li><li class="indline1">Internet Explorer 5.5 <a class="iref" href="#rfc.iref.i.5">5.2</a></li><li class="indline1">Internet Explorer 6 <a class="iref" href="#rfc.iref.i.6">5.2</a></li><li class="indline1">Internet Explorer 7 <a class="iref" href="#rfc.iref.i.7">5.2</a></li><li class="indline1">iprnotified PI pseudo-attribute <a class="iref" href="#rfc.iref.i.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.J" href="#rfc.index.J"><b>J</b></a><ul class="ind"><li class="indline1">justification PI pseudo-attribute <a class="iref" href="#rfc.iref.j.1">3.3</a></li></ul></li><li class="indline0"><a id="rfc.index.K" href="#rfc.index.K"><b>K</b></a><ul class="ind"><li class="indline1">keywords HTML META element <a class="iref" href="#rfc.iref.k.1">6.3</a></li></ul></li><li class="indline0"><a id="rfc.index.L" href="#rfc.index.L"><b>L</b></a><ul class="ind"><li class="indline1">length-of Extension Element <a class="iref" href="#rfc.iref.l.2"><b>10.9</b></a>, <a class="iref" href="#rfc.iref.l.5">A</a></li><li class="indline1">link Extension Element <a class="iref" href="#rfc.iref.l.3"><b>10.10</b></a>, <a class="iref" href="#rfc.iref.l.6">A</a></li><li class="indline1">linkmailto PI pseudo-attribute <a class="iref" href="#rfc.iref.l.1">3.1</a></li><li class="indline1">lt Extension Element <a class="iref" href="#rfc.iref.l.4"><b>10.11</b></a>, <a class="iref" href="#rfc.iref.l.7">A</a></li></ul></li><li class="indline0"><a id="rfc.index.M" href="#rfc.index.M"><b>M</b></a><ul class="ind"><li class="indline1">Microsoft Help <a class="iref" href="#rfc.iref.m.5">8</a></li><li class="indline1">Mozilla <a class="iref" href="#rfc.iref.m.3">5.2</a>, <a class="iref" href="#rfc.iref.m.4">5.2</a></li><li class="indline1">MSXML3 <a class="iref" href="#rfc.iref.m.1">5.1</a></li><li class="indline1">MSXML4 <a class="iref" href="#rfc.iref.m.2">5.1</a></li></ul></li><li class="indline0"><a id="rfc.index.N" href="#rfc.index.N"><b>N</b></a><ul class="ind"><li class="indline1">needLines PI pseudo-attribute <a class="iref" href="#rfc.iref.n.1">3.2</a></li></ul></li><li class="indline0"><a id="rfc.index.O" href="#rfc.index.O"><b>O</b></a><ul class="ind"><li class="indline1">Opera <a class="iref" href="#rfc.iref.o.1">5.2</a>, <a class="iref" href="#rfc.iref.o.3">5.2</a><ul class="ind"><li class="indline1">9.5 <a class="iref" href="#rfc.iref.o.2">5.2</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.P" href="#rfc.index.P"><b>P</b></a><ul class="ind"><li class="indline1">Parameters <ul class="ind"><li class="indline1">xml2rfc-background <a class="iref" href="#rfc.iref.p.2">3.1</a></li><li class="indline1">xml2rfc-comments <a class="iref" href="#rfc.iref.p.6">3.1</a></li><li class="indline1">xml2rfc-compact <a class="iref" href="#rfc.iref.p.4">3.1</a></li><li class="indline1">xml2rfc-editing <a class="iref" href="#rfc.iref.p.8">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.40">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section <a class="iref" href="#rfc.iref.p.42">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index <a class="iref" href="#rfc.iref.p.44">3.3</a></li><li class="indline1">xml2rfc-ext-justification <a class="iref" href="#rfc.iref.p.46">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.49">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.53">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 <a class="iref" href="#rfc.iref.p.51">3.3</a></li><li class="indline1">xml2rfc-footer <a class="iref" href="#rfc.iref.p.10">3.1</a></li><li class="indline1">xml2rfc-header <a class="iref" href="#rfc.iref.p.12">3.1</a></li><li class="indline1">xml2rfc-inline <a class="iref" href="#rfc.iref.p.14">3.1</a></li><li class="indline1">xml2rfc-iprnotified <a class="iref" href="#rfc.iref.p.16">3.1</a></li><li class="indline1">xml2rfc-linkmailto <a class="iref" href="#rfc.iref.p.18">3.1</a></li><li class="indline1">xml2rfc-private <a class="iref" href="#rfc.iref.p.21">3.1</a></li><li class="indline1">xml2rfc-sortrefs <a class="iref" href="#rfc.iref.p.23">3.1</a></li><li class="indline1">xml2rfc-symrefs <a class="iref" href="#rfc.iref.p.25">3.1</a></li><li class="indline1">xml2rfc-toc <a class="iref" href="#rfc.iref.p.27">3.1</a></li><li class="indline1">xml2rfc-tocdepth <a class="iref" href="#rfc.iref.p.29">3.1</a></li><li class="indline1">xml2rfc-topblock <a class="iref" href="#rfc.iref.p.31">3.1</a></li></ul></li><li class="indline1">parse-xml-in-artwork PI pseudo-attribute <a class="iref" href="#rfc.iref.p.47">3.3</a></li><li class="indline1">private PI pseudo-attribute <a class="iref" href="#rfc.iref.p.19">3.1</a></li><li class="indline1">Processing Instruction pseudo attributes <ul class="ind"><li class="indline1">allow-markup-in-artwork <a class="iref" href="#rfc.iref.p.39">3.3</a></li><li class="indline1">authors-section <a class="iref" href="#rfc.iref.p.41">3.3</a></li><li class="indline1">background <a class="iref" href="#rfc.iref.p.1">3.1</a></li><li class="indline1">comments <a class="iref" href="#rfc.iref.p.5">3.1</a></li><li class="indline1">compact <a class="iref" href="#rfc.iref.p.3">3.1</a></li><li class="indline1">editing <a class="iref" href="#rfc.iref.p.7">3.1</a></li><li class="indline1">footer <a class="iref" href="#rfc.iref.p.9">3.1</a></li><li class="indline1">header <a class="iref" href="#rfc.iref.p.11">3.1</a></li><li class="indline1">ijustification <a class="iref" href="#rfc.iref.p.45">3.3</a></li><li class="indline1">include <a class="iref" href="#rfc.iref.p.32">3.2</a></li><li class="indline1">include-references-in-index <a class="iref" href="#rfc.iref.p.43">3.3</a></li><li class="indline1">inline <a class="iref" href="#rfc.iref.p.13">3.1</a></li><li class="indline1">iprnotified <a class="iref" href="#rfc.iref.p.15">3.1</a></li><li class="indline1">linkmailto <a class="iref" href="#rfc.iref.p.17">3.1</a></li><li class="indline1">needLines <a class="iref" href="#rfc.iref.p.33">3.2</a></li><li class="indline1">parse-xml-in-artwork <a class="iref" href="#rfc.iref.p.48">3.3</a></li><li class="indline1">private <a class="iref" href="#rfc.iref.p.20">3.1</a></li><li class="indline1">sec-no-trailing-dots <a class="iref" href="#rfc.iref.p.52">3.3</a></li><li class="indline1">slides <a class="iref" href="#rfc.iref.p.34">3.2</a></li><li class="indline1">sortrefs <a class="iref" href="#rfc.iref.p.22">3.1</a></li><li class="indline1">strict <a class="iref" href="#rfc.iref.p.35">3.2</a></li><li class="indline1">subcompact <a class="iref" href="#rfc.iref.p.36">3.2</a></li><li class="indline1">support-rfc2731 <a class="iref" href="#rfc.iref.p.50">3.3</a></li><li class="indline1">symrefs <a class="iref" href="#rfc.iref.p.24">3.1</a></li><li class="indline1">toc <a class="iref" href="#rfc.iref.p.26">3.1</a></li><li class="indline1">tocdepth <a class="iref" href="#rfc.iref.p.28">3.1</a></li><li class="indline1">tocindent <a class="iref" href="#rfc.iref.p.37">3.2</a></li><li class="indline1">tocompact <a class="iref" href="#rfc.iref.p.38">3.2</a></li><li class="indline1">topblock <a class="iref" href="#rfc.iref.p.30">3.1</a></li></ul></li></ul></li><li class="indline0"><a id="rfc.index.Q" href="#rfc.index.Q"><b>Q</b></a><ul class="ind"><li class="indline1">q Extension Element <a class="iref" href="#rfc.iref.q.1"><b>10.12</b></a>, <a class="iref" href="#rfc.iref.q.2">A</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1">ref Extension Element <a class="iref" href="#rfc.iref.r.21"><b>10.13</b></a>, <a class="iref" href="#rfc.iref.r.23">A</a></li><li class="indline1">Relation.Replaces DCMI property <a class="iref" href="#rfc.iref.r.20">6.4</a></li><li class="indline1">RELAX NG Compact Schema <a class="iref" href="#rfc.iref.r.22"><b>A</b></a></li><li class="indline1">rfc.abstract anchor <a class="iref" href="#rfc.iref.r.1">4</a></li><li class="indline1">rfc.authors anchor <a class="iref" href="#rfc.iref.r.2">4</a></li><li class="indline1">rfc.copyright anchor <a class="iref" href="#rfc.iref.r.3">4</a></li><li class="indline1">rfc.copyrightnotice anchor <a class="iref" href="#rfc.iref.r.4">4</a></li><li class="indline1">rfc.figure.n anchor <a class="iref" href="#rfc.iref.r.5">4</a>, <a class="iref" href="#rfc.iref.r.16">4</a></li><li class="indline1">rfc.figure.u.n anchor <a class="iref" href="#rfc.iref.r.6">4</a>, <a class="iref" href="#rfc.iref.r.17">4</a></li><li class="indline1">rfc.index anchor <a class="iref" href="#rfc.iref.r.7">4</a></li><li class="indline1">rfc.ipr anchor <a class="iref" href="#rfc.iref.r.8">4</a></li><li class="indline1">rfc.iref.n anchor <a class="iref" href="#rfc.iref.r.9">4</a></li><li class="indline1">rfc.note.n anchor <a class="iref" href="#rfc.iref.r.10">4</a></li><li class="indline1">rfc.references anchor <a class="iref" href="#rfc.iref.r.11">4</a></li><li class="indline1">rfc.references.n anchor <a class="iref" href="#rfc.iref.r.12">4</a></li><li class="indline1">rfc.section.n anchor <a class="iref" href="#rfc.iref.r.13">4</a></li><li class="indline1">rfc.section.n.p.m anchor <a class="iref" href="#rfc.iref.r.14">4</a></li><li class="indline1">rfc.status anchor <a class="iref" href="#rfc.iref.r.15">4</a></li><li class="indline1">rfc.toc anchor <a class="iref" href="#rfc.iref.r.18">4</a></li><li class="indline1">rfc.xref.name.n anchor <a class="iref" href="#rfc.iref.r.19">4</a></li><li class="indline1"><em>RFC2119</em> <a class="iref" href="#rfc.xref.RFC2119.1">10.2</a>, <a class="iref" href="#rfc.xref.RFC2119.2">10.19</a>, <a class="iref" href="#RFC2119"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section 5</em> <a class="iref" href="#rfc.xref.RFC2119.2">10.19</a></li></ul></li><li class="indline1"><em>RFC2616</em> <a class="iref" href="#RFC2616"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a><ul class="ind"><li class="indline1"><em>Section 2.1</em> <a class="iref" href="#rfc.xref.RFC2616.1">B.1</a></li><li class="indline1"><em>Section 19.1</em> <a class="iref" href="#rfc.xref.RFC2616.2">B.1</a>, <a class="iref" href="#rfc.xref.RFC2616.3">B.1</a></li></ul></li><li class="indline1"><em>RFC2629</em> <a class="iref" href="#rfc.xref.RFC2629.1">1</a>, <a class="iref" href="#RFC2629"><b>12</b></a></li><li class="indline1"><em>RFC2648</em> <a class="iref" href="#rfc.xref.RFC2648.1">6.4</a>, <a class="iref" href="#RFC2648"><b>12</b></a></li><li class="indline1"><em>RFC2731</em> <a class="iref" href="#rfc.xref.RFC2731.1">6.4</a>, <a class="iref" href="#RFC2731"><b>12</b></a></li><li class="indline1"><em>RFC5234</em> <a class="iref" href="#RFC5234"><b>12</b></a>, <a class="iref" href="#rfc.xref.RFC5234.1">B.1</a></li><li class="indline1"><em>RNC</em> <a class="iref" href="#RNC"><b>12</b></a>, <a class="iref" href="#rfc.xref.RNC.1">A</a>, <a class="iref" href="#rfc.xref.RNC.2">B.1</a></li></ul></li><li class="indline0"><a id="rfc.index.S" href="#rfc.index.S"><b>S</b></a><ul class="ind"><li class="indline1">Safari <a class="iref" href="#rfc.iref.s.9">5.2</a>, <a class="iref" href="#rfc.iref.s.11">5.2</a><ul class="ind"><li class="indline1">3.* <a class="iref" href="#rfc.iref.s.10">5.2</a></li></ul></li><li class="indline1">Saxon <a class="iref" href="#rfc.iref.s.8">5.1</a></li><li class="indline1">Schema <a class="iref" href="#rfc.iref.s.14"><b>A</b></a></li><li class="indline1">sec-no-trailing-dots PI pseudo-attribute <a class="iref" href="#rfc.iref.s.7">3.3</a></li><li class="indline1">slides PI pseudo-attribute <a class="iref" href="#rfc.iref.s.3">3.2</a></li><li class="indline1">sortrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.1">3.1</a></li><li class="indline1">source Extension Element <a class="iref" href="#rfc.iref.s.12"><b>10.14</b></a>, <a class="iref" href="#rfc.iref.s.15">A</a></li><li class="indline1">span Extension Element <a class="iref" href="#rfc.iref.s.17">A</a></li><li class="indline1">strict PI pseudo-attribute <a class="iref" href="#rfc.iref.s.4">3.2</a></li><li class="indline1">subcompact PI pseudo-attribute <a class="iref" href="#rfc.iref.s.5">3.2</a></li><li class="indline1">sup Extension Element <a class="iref" href="#rfc.iref.s.13"><b>10.15</b></a>, <a class="iref" href="#rfc.iref.s.16">A</a></li><li class="indline1">support-rfc2731 PI pseudo-attribute <a class="iref" href="#rfc.iref.s.6">3.3</a></li><li class="indline1">symrefs PI pseudo-attribute <a class="iref" href="#rfc.iref.s.2">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1">toc PI pseudo-attribute <a class="iref" href="#rfc.iref.t.1">3.1</a></li><li class="indline1">tocdepth PI pseudo-attribute <a class="iref" href="#rfc.iref.t.2">3.1</a></li><li class="indline1">tocindent PI pseudo-attribute <a class="iref" href="#rfc.iref.t.4">3.2</a></li><li class="indline1">tocompact PI pseudo-attribute <a class="iref" href="#rfc.iref.t.5">3.2</a></li><li class="indline1">topblock PI pseudo-attribute <a class="iref" href="#rfc.iref.t.3">3.1</a></li></ul></li><li class="indline0"><a id="rfc.index.X" href="#rfc.index.X"><b>X</b></a><ul class="ind"><li class="indline1">x Extension Element <a class="iref" href="#rfc.iref.x.27">A</a></li><li class="indline1">Xalan <a class="iref" href="#rfc.iref.x.24">5.1</a></li><li class="indline1"><em>XHTML2</em> <a class="iref" href="#rfc.xref.XHTML2.1">10.8</a>, <a class="iref" href="#XHTML2"><b>12</b></a></li><li class="indline1">xml-stylesheet PI <a class="iref" href="#rfc.iref.x.26">6</a></li><li class="indline1">xml2rfc-background parameter <a class="iref" href="#rfc.iref.x.2">3.1</a></li><li class="indline1">xml2rfc-comments parameter <a class="iref" href="#rfc.iref.x.4">3.1</a></li><li class="indline1">xml2rfc-editing parameter <a class="iref" href="#rfc.iref.x.3">3.1</a>, <a class="iref" href="#rfc.iref.x.5">3.1</a></li><li class="indline1">xml2rfc-ext-allow-markup-in-artwork parameter <a class="iref" href="#rfc.iref.x.17">3.3</a></li><li class="indline1">xml2rfc-ext-authors-section parameter <a class="iref" href="#rfc.iref.x.18">3.3</a></li><li class="indline1">xml2rfc-ext-include-references-in-index parameter <a class="iref" href="#rfc.iref.x.19">3.3</a></li><li class="indline1">xml2rfc-ext-justification parameter <a class="iref" href="#rfc.iref.x.20">3.3</a></li><li class="indline1">xml2rfc-ext-parse-xml-in-artwork parameter <a class="iref" href="#rfc.iref.x.21">3.3</a></li><li class="indline1">xml2rfc-ext-sec-no-trailing-dots parameter <a class="iref" href="#rfc.iref.x.23">3.3</a></li><li class="indline1">xml2rfc-ext-support-rfc2731 parameter <a class="iref" href="#rfc.iref.x.22">3.3</a></li><li class="indline1">xml2rfc-footer parameter <a class="iref" href="#rfc.iref.x.6">3.1</a></li><li class="indline1">xml2rfc-header parameter <a class="iref" href="#rfc.iref.x.7">3.1</a></li><li class="indline1">xml2rfc-inline parameter <a class="iref" href="#rfc.iref.x.8">3.1</a></li><li class="indline1">xml2rfc-iprnotified parameter <a class="iref" href="#rfc.iref.x.9">3.1</a></li><li class="indline1">xml2rfc-linkmailto parameter <a class="iref" href="#rfc.iref.x.10">3.1</a></li><li class="indline1">xml2rfc-private parameter <a class="iref" href="#rfc.iref.x.11">3.1</a></li><li class="indline1">xml2rfc-sortrefs parameter <a class="iref" href="#rfc.iref.x.12">3.1</a></li><li class="indline1">xml2rfc-symrefs parameter <a class="iref" href="#rfc.iref.x.13">3.1</a></li><li class="indline1">xml2rfc-toc parameter <a class="iref" href="#rfc.iref.x.14">3.1</a></li><li class="indline1">xml2rfc-tocdepth parameter <a class="iref" href="#rfc.iref.x.15">3.1</a></li><li class="indline1">xml2rfc-topblock parameter <a class="iref" href="#rfc.iref.x.16">3.1</a></li><li class="indline1"><em>XSL-FO</em> <a class="iref" href="#rfc.xref.XSL-FO.1">9.1</a>, <a class="iref" href="#rfc.xref.XSL-FO.2">9.1</a>, <a class="iref" href="#XSL-FO"><b>12</b></a></li><li class="indline1">xsltproc <a class="iref" href="#rfc.iref.x.25">5.1</a><ul class="ind"><li class="indline1">passing parameters <a class="iref" href="#rfc.iref.x.1">3</a></li></ul></li></ul></li></ul></div></body></html> -
rfc2629xslt/rfc2629xslt.txt
r230 r246 4 4 RFC2629 through XSLT J. Reschke 5 5 greenbytes 6 March 7,20086 April 2008 7 7 8 8 … … 56 56 57 57 58 Documentation RFC2629 through XSLT March200858 Documentation RFC2629 through XSLT April 2008 59 59 60 60 61 61 10.14. <source> element . . . . . . . . . . . . . . . . . . . . 24 62 10.15. Extensions to Xml2rfc <iref> element . . . . . . . . . . 24 63 10.16. Extensions to Xml2rfc <list> element . . . . . . . . . . 24 64 10.17. Extensions to Xml2rfc <section> element . . . . . . . . . 24 65 10.18. Extensions to Xml2rfc <xref> element . . . . . . . . . . 25 62 10.15. <sup> element . . . . . . . . . . . . . . . . . . . . . . 24 63 10.16. Extensions to Xml2rfc <iref> element . . . . . . . . . . 24 64 10.17. Extensions to Xml2rfc <list> element . . . . . . . . . . 24 65 10.18. Extensions to Xml2rfc <section> element . . . . . . . . . 25 66 10.19. Extensions to Xml2rfc <xref> element . . . . . . . . . . 25 66 67 11. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 26 67 68 11.1. Checking References . . . . . . . . . . . . . . . . . . . 26 … … 73 74 12. Informative References . . . . . . . . . . . . . . . . . . . . 30 74 75 Appendix A. RELAX NG Compact Schema . . . . . . . . . . . . . . . 32 75 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 39 76 B.1. Recognized type attributes for <artwork> element . . . . 39 77 Appendix C. License . . . . . . . . . . . . . . . . . . . . . . . 40 78 Appendix D. Change Logs . . . . . . . . . . . . . . . . . . . . . 41 79 D.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 41 80 D.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 41 81 D.3. check-references.xslt . . . . . . . . . . . . . . . . . . 41 82 D.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 41 83 D.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 42 84 D.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 52 85 D.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 53 86 D.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 53 87 D.9. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 53 88 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 89 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 62 90 91 76 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 40 77 B.1. Recognized type attributes for <artwork> element . . . . 40 78 Appendix C. License . . . . . . . . . . . . . . . . . . . . . . . 41 79 Appendix D. Change Logs . . . . . . . . . . . . . . . . . . . . . 42 80 D.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 42 81 D.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 42 82 D.3. check-references.xslt . . . . . . . . . . . . . . . . . . 42 83 D.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 42 84 D.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 43 85 D.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 53 86 D.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 54 87 D.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 54 88 D.9. xsl11toFop-0.93.xslt . . . . . . . . . . . . . . . . . . 54 89 D.10. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 55 90 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 91 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 63 92 92 93 93 … … 113 113 114 114 115 Documentation RFC2629 through XSLT March2008115 Documentation RFC2629 through XSLT April 2008 116 116 117 117 … … 170 170 171 171 172 Documentation RFC2629 through XSLT March2008172 Documentation RFC2629 through XSLT April 2008 173 173 174 174 … … 227 227 228 228 229 Documentation RFC2629 through XSLT March2008229 Documentation RFC2629 through XSLT April 2008 230 230 231 231 … … 284 284 285 285 286 Documentation RFC2629 through XSLT March2008286 Documentation RFC2629 through XSLT April 2008 287 287 288 288 … … 341 341 342 342 343 Documentation RFC2629 through XSLT March2008343 Documentation RFC2629 through XSLT April 2008 344 344 345 345 … … 398 398 399 399 400 Documentation RFC2629 through XSLT March2008400 Documentation RFC2629 through XSLT April 2008 401 401 402 402 … … 455 455 456 456 457 Documentation RFC2629 through XSLT March2008457 Documentation RFC2629 through XSLT April 2008 458 458 459 459 … … 512 512 513 513 514 Documentation RFC2629 through XSLT March2008514 Documentation RFC2629 through XSLT April 2008 515 515 516 516 … … 569 569 570 570 571 Documentation RFC2629 through XSLT March2008571 Documentation RFC2629 through XSLT April 2008 572 572 573 573 … … 626 626 627 627 628 Documentation RFC2629 through XSLT March2008628 Documentation RFC2629 through XSLT April 2008 629 629 630 630 … … 683 683 684 684 685 Documentation RFC2629 through XSLT March2008685 Documentation RFC2629 through XSLT April 2008 686 686 687 687 … … 740 740 741 741 742 Documentation RFC2629 through XSLT March2008742 Documentation RFC2629 through XSLT April 2008 743 743 744 744 … … 797 797 798 798 799 Documentation RFC2629 through XSLT March2008799 Documentation RFC2629 through XSLT April 2008 800 800 801 801 … … 854 854 855 855 856 Documentation RFC2629 through XSLT March2008856 Documentation RFC2629 through XSLT April 2008 857 857 858 858 … … 911 911 912 912 913 Documentation RFC2629 through XSLT March2008913 Documentation RFC2629 through XSLT April 2008 914 914 915 915 … … 968 968 969 969 970 Documentation RFC2629 through XSLT March2008970 Documentation RFC2629 through XSLT April 2008 971 971 972 972 … … 1025 1025 1026 1026 1027 Documentation RFC2629 through XSLT March20081027 Documentation RFC2629 through XSLT April 2008 1028 1028 1029 1029 … … 1082 1082 1083 1083 1084 Documentation RFC2629 through XSLT March20081084 Documentation RFC2629 through XSLT April 2008 1085 1085 1086 1086 … … 1139 1139 1140 1140 1141 Documentation RFC2629 through XSLT March20081141 Documentation RFC2629 through XSLT April 2008 1142 1142 1143 1143 … … 1196 1196 1197 1197 1198 Documentation RFC2629 through XSLT March20081198 Documentation RFC2629 through XSLT April 2008 1199 1199 1200 1200 … … 1253 1253 1254 1254 1255 Documentation RFC2629 through XSLT March20081255 Documentation RFC2629 through XSLT April 2008 1256 1256 1257 1257 … … 1310 1310 1311 1311 1312 Documentation RFC2629 through XSLT March20081312 Documentation RFC2629 through XSLT April 2008 1313 1313 1314 1314 … … 1332 1332 ... 1333 1333 1334 10.15. Extensions to Xml2rfc <iref> element 1334 10.15. <sup> element 1335 1336 This element is like the "sup" element in [HTML]. 1337 1338 Note: the down conversion to RFC2629 format replaces "x^y" by "x^y". 1339 1340 10.16. Extensions to Xml2rfc <iref> element 1335 1341 1336 1342 The extension attribute below is allowed on the standard <iref> … … 1343 1349 closest ancestor. 1344 1350 1345 10.1 6. Extensions to Xml2rfc <list> element1351 10.17. Extensions to Xml2rfc <list> element 1346 1352 1347 1353 The extension attribute below is allowed on the standard <list> … … 1355 1361 1356 1362 Also, the <list> element can take <x:lt> child elements instead of 1363 1364 1365 1366 Reschke [Page 24] 1367 1368 1369 Documentation RFC2629 through XSLT April 2008 1370 1371 1357 1372 <t>, allowing to insert multiple paragraphs into a single list item. 1358 1373 1359 10.1 7. Extensions to Xml2rfc <section> element1374 10.18. Extensions to Xml2rfc <section> element 1360 1375 1361 1376 The extension attribute below is allowed on the standard <list> 1362 1377 element: 1363 1364 1365 1366 Reschke [Page 24]1367 1368 1369 Documentation RFC2629 through XSLT March 20081370 1371 1378 1372 1379 o x:fixed-section-number can be used to specify a fixed section … … 1374 1381 that used a different numbering style. 1375 1382 1376 10.1 8. Extensions to Xml2rfc <xref> element1383 10.19. Extensions to Xml2rfc <xref> element 1377 1384 1378 1385 Three extension attributes are allowed on the standard <xref> … … 1414 1421 1415 1422 1416 1417 1418 1419 1420 1421 1422 1423 1423 Reschke [Page 25] 1424 1424 1425 1425 1426 Documentation RFC2629 through XSLT March20081426 Documentation RFC2629 through XSLT April 2008 1427 1427 1428 1428 … … 1481 1481 1482 1482 1483 Documentation RFC2629 through XSLT March20081483 Documentation RFC2629 through XSLT April 2008 1484 1484 1485 1485 … … 1538 1538 1539 1539 1540 Documentation RFC2629 through XSLT March20081540 Documentation RFC2629 through XSLT April 2008 1541 1541 1542 1542 … … 1595 1595 1596 1596 1597 Documentation RFC2629 through XSLT March20081597 Documentation RFC2629 through XSLT April 2008 1598 1598 1599 1599 … … 1652 1652 1653 1653 1654 Documentation RFC2629 through XSLT March20081654 Documentation RFC2629 through XSLT April 2008 1655 1655 1656 1656 … … 1709 1709 1710 1710 1711 Documentation RFC2629 through XSLT March20081711 Documentation RFC2629 through XSLT April 2008 1712 1712 1713 1713 … … 1766 1766 1767 1767 1768 Documentation RFC2629 through XSLT March20081768 Documentation RFC2629 through XSLT April 2008 1769 1769 1770 1770 … … 1823 1823 1824 1824 1825 Documentation RFC2629 through XSLT March20081825 Documentation RFC2629 through XSLT April 2008 1826 1826 1827 1827 … … 1880 1880 1881 1881 1882 Documentation RFC2629 through XSLT March20081882 Documentation RFC2629 through XSLT April 2008 1883 1883 1884 1884 … … 1937 1937 1938 1938 1939 Documentation RFC2629 through XSLT March20081939 Documentation RFC2629 through XSLT April 2008 1940 1940 1941 1941 … … 1950 1950 | x_h 1951 1951 | x_q 1952 | x_ref)* 1952 | x_ref 1953 | x_sup)* 1953 1954 } 1954 1955 } 1955 1956 1956 # Extend attribute set for <iref> (see Section 10.1 5)1957 # Extend attribute set for <iref> (see Section 10.16) 1957 1958 attlist.iref &= 1958 1959 attribute x:for-anchor { ATEXT }? 1959 1960 1960 # Extend attribute set for <list> (see Section 10.1 6)1961 # Extend attribute set for <list> (see Section 10.17) 1961 1962 attlist.list &= 1962 1963 attribute x:indent { ATEXT }? … … 1970 1971 attribute grddl:transformation { ATEXT }? 1971 1972 1972 # Extend attribute set for <section> (see Section 10.1 7)1973 # Extend attribute set for <section> (see Section 10.18) 1973 1974 attlist.section &= 1974 1975 attribute x:fixed-section-number { ATEXT }? … … 1978 1979 attribute anchor { xsd:ID }? 1979 1980 1980 # Extend attribute set for <xref> (see Section 10.1 8)1981 # Extend attribute set for <xref> (see Section 10.19) 1981 1982 attlist.xref &= 1982 1983 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | … … 1987 1988 # Aliasing of anchors (see Section 10.1) 1988 1989 x_anchor-alias = 1990 1991 1992 1993 Reschke [Page 35] 1994 1995 1996 Documentation RFC2629 through XSLT April 2008 1997 1998 1989 1999 element x:anchor-alias { 1990 1991 1992 1993 Reschke [Page 35]1994 1995 1996 Documentation RFC2629 through XSLT March 20081997 1998 1999 2000 attribute value { TEXT }, 2000 2001 empty … … 2044 2045 | "RECOMMENDED" 2045 2046 | "REQUIRED" 2047 2048 2049 2050 Reschke [Page 36] 2051 2052 2053 Documentation RFC2629 through XSLT April 2008 2054 2055 2046 2056 | "SHALL" 2047 2048 2049 2050 Reschke [Page 36]2051 2052 2053 Documentation RFC2629 through XSLT March 20082054 2055 2056 2057 | "SHALL NOT" 2057 2058 | "SHOULD" … … 2101 2102 # Link (see Section 10.10) 2102 2103 x_link = 2104 2105 2106 2107 Reschke [Page 37] 2108 2109 2110 Documentation RFC2629 through XSLT April 2008 2111 2112 2103 2113 element x:link { 2104 2105 2106 2107 Reschke [Page 37]2108 2109 2110 Documentation RFC2629 through XSLT March 20082111 2112 2113 2114 attribute href { URI }, 2114 2115 attribute title { TEXT }?, … … 2145 2146 } 2146 2147 2148 # superscript (see Section 10.15) 2149 x_sup = 2150 element x:sup { 2151 TEXT 2152 } 2153 2147 2154 # Inline Span 2148 2155 x_span = … … 2152 2159 } 2153 2160 2161 2162 2163 2164 Reschke [Page 38] 2165 2166 2167 Documentation RFC2629 through XSLT April 2008 2168 2169 2154 2170 # Nop (for alignment in source) 2155 2171 x_x = … … 2162 2178 2163 2179 2164 Reschke [Page 38] 2165 2166 2167 Documentation RFC2629 through XSLT March 2008 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 Reschke [Page 39] 2222 2223 2224 Documentation RFC2629 through XSLT April 2008 2168 2225 2169 2226 … … 2219 2276 2220 2277 2221 Reschke [Page 39]2222 2223 2224 Documentation RFC2629 through XSLT March20082278 Reschke [Page 40] 2279 2280 2281 Documentation RFC2629 through XSLT April 2008 2225 2282 2226 2283 … … 2276 2333 2277 2334 2278 Reschke [Page 4 0]2279 2280 2281 Documentation RFC2629 through XSLT March20082335 Reschke [Page 41] 2336 2337 2338 Documentation RFC2629 through XSLT April 2008 2282 2339 2283 2340 … … 2333 2390 2334 2391 2335 Reschke [Page 4 1]2336 2337 2338 Documentation RFC2629 through XSLT March20082392 Reschke [Page 42] 2393 2394 2395 Documentation RFC2629 through XSLT April 2008 2339 2396 2340 2397 … … 2390 2447 2391 2448 2392 Reschke [Page 4 2]2393 2394 2395 Documentation RFC2629 through XSLT March20082449 Reschke [Page 43] 2450 2451 2452 Documentation RFC2629 through XSLT April 2008 2396 2453 2397 2454 … … 2447 2504 2448 2505 2449 Reschke [Page 4 3]2450 2451 2452 Documentation RFC2629 through XSLT March20082506 Reschke [Page 44] 2507 2508 2509 Documentation RFC2629 through XSLT April 2008 2453 2510 2454 2511 … … 2504 2561 2505 2562 2506 Reschke [Page 4 4]2507 2508 2509 Documentation RFC2629 through XSLT March20082563 Reschke [Page 45] 2564 2565 2566 Documentation RFC2629 through XSLT April 2008 2510 2567 2511 2568 … … 2561 2618 2562 2619 2563 Reschke [Page 4 5]2564 2565 2566 Documentation RFC2629 through XSLT March20082620 Reschke [Page 46] 2621 2622 2623 Documentation RFC2629 through XSLT April 2008 2567 2624 2568 2625 … … 2618 2675 2619 2676 2620 Reschke [Page 4 6]2621 2622 2623 Documentation RFC2629 through XSLT March20082677 Reschke [Page 47] 2678 2679 2680 Documentation RFC2629 through XSLT April 2008 2624 2681 2625 2682 … … 2675 2732 2676 2733 2677 Reschke [Page 4 7]2678 2679 2680 Documentation RFC2629 through XSLT March20082734 Reschke [Page 48] 2735 2736 2737 Documentation RFC2629 through XSLT April 2008 2681 2738 2682 2739 … … 2732 2789 2733 2790 2734 Reschke [Page 4 8]2735 2736 2737 Documentation RFC2629 through XSLT March20082791 Reschke [Page 49] 2792 2793 2794 Documentation RFC2629 through XSLT April 2008 2738 2795 2739 2796 … … 2789 2846 2790 2847 2791 Reschke [Page 49]2792 2793 2794 Documentation RFC2629 through XSLT March20082848 Reschke [Page 50] 2849 2850 2851 Documentation RFC2629 through XSLT April 2008 2795 2852 2796 2853 … … 2846 2903 2847 2904 2848 Reschke [Page 5 0]2849 2850 2851 Documentation RFC2629 through XSLT March20082905 Reschke [Page 51] 2906 2907 2908 Documentation RFC2629 through XSLT April 2008 2852 2909 2853 2910 … … 2903 2960 2904 2961 2905 Reschke [Page 5 1]2906 2907 2908 Documentation RFC2629 through XSLT March20082962 Reschke [Page 52] 2963 2964 2965 Documentation RFC2629 through XSLT April 2008 2909 2966 2910 2967 … … 2933 2990 resulting in obsolete text being inserted into IDs. 2934 2991 2992 2008-04-01 Add support for superscript element. 2993 2935 2994 D.6. rfc2629toFO.xslt 2936 2995 … … 2958 3017 2959 3018 2960 2961 2962 Reschke [Page 52] 2963 2964 2965 Documentation RFC2629 through XSLT March 2008 3019 Reschke [Page 53] 3020 3021 3022 Documentation RFC2629 through XSLT April 2008 2966 3023 2967 3024 … … 3008 3065 2006-06-02 Use XSL 1.1 WD Feb 2006. 3009 3066 3010 D.9. xsl11toXep.xslt 3011 3012 3013 3014 3015 3016 3017 3018 3019 Reschke [Page 53] 3020 3021 3022 Documentation RFC2629 through XSLT March 2008 3023 3067 D.9. xsl11toFop-0.93.xslt 3068 3069 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54] 3077 3078 3079 Documentation RFC2629 through XSLT April 2008 3080 3081 3082 2008-03-15 Add a workaround to the fo:inline workaround (sigh). 3083 3084 D.10. xsl11toXep.xslt 3024 3085 3025 3086 2004-05-17 Initial release. … … 3070 3131 3071 3132 3072 3073 3074 3075 3076 Reschke [Page 54] 3077 3078 3079 Documentation RFC2629 through XSLT March 2008 3133 Reschke [Page 55] 3134 3135 3136 Documentation RFC2629 through XSLT April 2008 3080 3137 3081 3138 … … 3131 3188 3132 3189 3133 Reschke [Page 5 5]3134 3135 3136 Documentation RFC2629 through XSLT March20083190 Reschke [Page 56] 3191 3192 3193 Documentation RFC2629 through XSLT April 2008 3137 3194 3138 3195 … … 3166 3223 source 24, 32 3167 3224 span 32 3225 sup 24, 32 3168 3226 x 32 3169 3227 … … 3184 3242 HTML LINK elements 3185 3243 alternate 15 3244 3245 3246 3247 Reschke [Page 57] 3248 3249 3250 Documentation RFC2629 through XSLT April 2008 3251 3252 3186 3253 appendix 15 3187 3188 3189 3190 Reschke [Page 56]3191 3192 3193 Documentation RFC2629 through XSLT March 20083194 3195 3196 3254 author 15 3197 3255 chapter 15 … … 3241 3299 P 3242 3300 Parameters 3301 3302 3303 3304 Reschke [Page 58] 3305 3306 3307 Documentation RFC2629 through XSLT April 2008 3308 3309 3243 3310 xml2rfc-background 6 3244 3245 3246 3247 Reschke [Page 57]3248 3249 3250 Documentation RFC2629 through XSLT March 20083251 3252 3253 3311 xml2rfc-comments 6 3254 3312 xml2rfc-compact 6 … … 3298 3356 subcompact 7 3299 3357 support-rfc2731 8 3358 3359 3360 3361 Reschke [Page 59] 3362 3363 3364 Documentation RFC2629 through XSLT April 2008 3365 3366 3300 3367 symrefs 6 3301 3302 3303 3304 Reschke [Page 58]3305 3306 3307 Documentation RFC2629 through XSLT March 20083308 3309 3310 3368 toc 6 3311 3369 tocdepth 6 … … 3351 3409 strict PI pseudo-attribute 7 3352 3410 subcompact PI pseudo-attribute 7 3411 sup Extension Element 24, 32 3353 3412 support-rfc2731 PI pseudo-attribute 8 3354 3413 symrefs PI pseudo-attribute 6 3355 3414 3415 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT April 2008 3422 3423 3356 3424 T 3357 3425 toc PI pseudo-attribute 6 3358 3359 3360 3361 Reschke [Page 59]3362 3363 3364 Documentation RFC2629 through XSLT March 20083365 3366 3367 3426 tocdepth PI pseudo-attribute 6 3368 3427 tocindent PI pseudo-attribute 7 … … 3414 3473 3415 3474 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT March 2008 3475 Reschke [Page 61] 3476 3477 3478 Documentation RFC2629 through XSLT April 2008 3422 3479 3423 3480 … … 3473 3530 3474 3531 3475 Reschke [Page 6 1]3476 3477 3532 Reschke [Page 62] 3533 3534 -
rfc2629xslt/rfc2629xslt.xml
r230 r246 30 30 </author> 31 31 32 <date month=" March" year="2008"/>32 <date month="April" year="2008"/> 33 33 <keyword>RFC2629</keyword> 34 34 <keyword>xml2rfc</keyword> … … 901 901 </artwork> 902 902 </figure> 903 </section> 904 905 <section title="<sup> element" anchor="ext.element.sup"> 906 <iref item="Extension Elements" subitem="sup" primary="true"/> 907 <iref item="sup Extension Element" primary="true"/> 908 <x:anchor-alias value="sup"/> 909 <t> 910 This element is like the "<eref target="http://www.w3.org/TR/html401/struct/text.html#edef-SUP">sup</eref>" element in <xref target="HTML"/>. 911 </t> 912 <t> 913 Note: the down conversion to RFC2629 format replaces 914 "x<x:sup>y</x:sup>" by "x^y". 915 </t> 903 916 </section> 904 917 … … 1637 1650 <spanx style="strong">| <x:ref>x_h</x:ref></spanx> 1638 1651 <spanx style="strong">| <x:ref>x_q</x:ref></spanx> 1639 <spanx style="strong">| <x:ref>x_ref</x:ref></spanx>)* 1652 <spanx style="strong">| <x:ref>x_ref</x:ref></spanx> 1653 <spanx style="strong">| <x:ref>x_sup</x:ref></spanx>)* 1640 1654 } 1641 1655 } … … 1820 1834 } 1821 1835 1836 <spanx anchor="x_sup"><iref item="sup Extension Element"/><iref item="Extension Elements" subitem="sup" 1837 /># superscript (see <xref target="ext.element.sup"/>)</spanx> 1838 <x:ref>x_sup</x:ref> = 1839 element x:sup { 1840 TEXT 1841 } 1842 1822 1843 <spanx anchor="x_span"><iref item="span Extension Element"/><iref item="Extension Elements" subitem="span" 1823 1844 /># Inline Span <!--(see <xref target="ext.element.span"/>)--></spanx> … … 2534 2555 text being inserted into IDs. 2535 2556 </t> 2557 <t hangText="2008-04-01"> 2558 Add support for superscript element. 2559 </t> 2536 2560 </list></t> 2537 2561 </section> … … 2632 2656 </section> 2633 2657 2658 <section title="xsl11toFop-0.93.xslt"> 2659 <t><list style="hanging"> 2660 <t hangText="2008-03-15"> 2661 Add a workaround to the fo:inline workaround (sigh). 2662 </t> 2663 </list></t> 2664 </section> 2665 2634 2666 <section title="xsl11toXep.xslt"> 2635 2667 <t><list style="hanging"> -
rfc2629xslt/testcase.html
r230 r246 342 342 } 343 343 @top-right { 344 content: " December 2007";344 content: "March 2008"; 345 345 } 346 346 @top-center { … … 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.36 5, 2008-03-07 07:17:25, 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">December 2007</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <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></ul></li><li class="tocline0">6. <a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7. <a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1 <a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1 <a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8. <a href="#rfc.section.8">Comments</a></li><li class="tocline0">9. <a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10. <a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2 <a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3 <a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4 <a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5 <a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6 <a href="#computed.reference.targets">Computed Reference Targets</a></li></ul></li><li class="tocline0">11. <a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12. <a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a> numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a> <a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a> no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a> with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a> Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a> list without style</h2><dl class="empty"><dd>One</dd><dd>Two</dd><dd>Three</dd></dl><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a> list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table summary="The list of valid keywords are:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td>try to enforce the ID-nits conventions and DTD validity</td><td>a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td>include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td>bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td>when producing a txt/nroff file, try to conserve vertical whitespace</td><td>ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td>if compact is "yes", then setting this to "no" will make things a little less compact</td><td>dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td>an integer hint indicating how many contiguous lines are needed at this point in the output</td><td>eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td></td><td></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table summary="The table below should appear with no borders." class="tt none" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table summary="The table below should appear with borders just around the headers." class="tt headers" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p> <pre> +--+371 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Lists" href="#rfc.section.1"><link rel="Chapter" title="2 spanx" href="#rfc.section.2"><link rel="Chapter" title="3 Tables" href="#rfc.section.3"><link rel="Chapter" title="4 Figures" href="#rfc.section.4"><link rel="Chapter" title="5 References" href="#rfc.section.5"><link rel="Chapter" title="6 Paragraph formatting" href="#rfc.section.6"><link rel="Chapter" title="7 Sections" href="#rfc.section.7"><link rel="Chapter" title="8 Comments" href="#rfc.section.8"><link rel="Chapter" title="9 Artwork width" href="#rfc.section.9"><link rel="Chapter" title="10 Extensions" href="#rfc.section.10"><link rel="Chapter" title="11 Blank Lines" href="#rfc.section.11"><link rel="Chapter" href="#rfc.section.12" title="12 References"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.367, 2008-05-19 13:00:19, XSLT vendor: SAXON 6.5.5 from Michael Kay http://saxon.sf.net/"><meta name="keywords" content="RFC2629, test case, xml2rfc"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.Creator" content="Reschke, J. F."></head><body><table summary="header information" class="header" border="0" cellpadding="1" cellspacing="1"><tr><td class="header left">RFC2629 test cases</td><td class="header right">J. F. Reschke</td></tr><tr><td class="header left"></td><td class="header right">greenbytes</td></tr><tr><td class="header left"></td><td class="header right">March 2008</td></tr></table><p class="title">Test cases for RFC2629 formatting</p><hr class="noprint"><h1 class="np" id="rfc.toc"><a href="#rfc.toc">Table of Contents</a></h1><ul class="toc"><li class="tocline0">1. <a href="#lists">Lists</a><ul class="toc"><li class="tocline1">1.1 <a href="#rfc.section.1.1">hanging list</a></li><li class="tocline1">1.2 <a href="#rfc.section.1.2">numbered list</a></li><li class="tocline1">1.3 <a href="#ordered.list.letters">ordered list (letters)</a></li><li class="tocline1">1.4 <a href="#rfc.section.1.4">no explicit counters</a></li><li class="tocline1">1.5 <a href="#rfc.section.1.5">with explicit counters</a></li><li class="tocline1">1.6 <a href="#rfc.section.1.6">Nested list</a></li><li class="tocline1">1.7 <a href="#rfc.section.1.7">list without style</a></li><li class="tocline1">1.8 <a href="#rfc.section.1.8">list with multiple paragraphs in a single list item</a></li></ul></li><li class="tocline0">2. <a href="#rfc.section.2">spanx</a></li><li class="tocline0">3. <a href="#rfc.section.3">Tables</a><ul class="toc"><li class="tocline1">3.1 <a href="#rfc.section.3.1">no borders</a></li><li class="tocline1">3.2 <a href="#rfc.section.3.2">borders around headers</a></li><li class="tocline1">3.3 <a href="#rfc.section.3.3">referencing tables</a></li><li class="tocline1">3.4 <a href="#rfc.section.3.4">table captions</a></li></ul></li><li class="tocline0">4. <a href="#rfc.section.4">Figures</a><ul class="toc"><li class="tocline1">4.1 <a href="#rfc.section.4.1">with preamble, no title...</a></li><li class="tocline1">4.2 <a href="#rfc.section.4.2">with postamble and title...</a></li><li class="tocline1">4.3 <a href="#rfc.section.4.3">Whitespace handling</a></li><li class="tocline1">4.4 <a href="#rfc.section.4.4">Whitespace around figures</a></li></ul></li><li class="tocline0">5. <a href="#refs">References</a><ul class="toc"><li class="tocline1">5.1 <a href="#rfc.section.5.1">xref with no content</a></li><li class="tocline1">5.2 <a href="#xref.with.no.content">xref with no content</a></li><li class="tocline1">5.3 <a href="#rfc.section.5.3">xref to named <t> element</a></li><li class="tocline1">5.4 <a href="#rfc.section.5.4">xref to named <t> element inside list</a></li><li class="tocline1">5.5 <a href="#rfc.section.5.5">xref with no auto-formatting</a></li><li class="tocline1">5.6 <a href="#rfc.section.5.6">xref with content and auto-formatting</a></li><li class="tocline1">5.7 <a href="#rfc.section.5.7">xref with content and no formatting</a></li><li class="tocline1">5.8 <a href="#rfc.section.5.8">xref with no content and anchor formatting</a></li><li class="tocline1">5.9 <a href="#rfc.section.5.9">eref with no content</a></li><li class="tocline1">5.10 <a href="#rfc.section.5.10">eref with content</a></li><li class="tocline1">5.11 <a href="#rfc.section.5.11">iref inside paragraph</a></li></ul></li><li class="tocline0">6. <a href="#rfc.section.6">Paragraph formatting</a></li><li class="tocline0">7. <a href="#rfc.section.7">Sections</a><ul class="toc"><li class="tocline1">7.1 <a href="#rfc.section.7.1">Subsection with TOC entry</a></li><li class="tocline2"><ul class="toc"><li class="tocline1">7.2.1 <a href="#rfc.section.7.2.1">Sub-subsection with TOC entry</a></li></ul></li></ul></li><li class="tocline0">8. <a href="#rfc.section.8">Comments</a></li><li class="tocline0">9. <a href="#rfc.section.9">Artwork width</a></li><li class="tocline0">10. <a href="#extensions">Extensions</a><ul class="toc"><li class="tocline1">10.1 <a href="#rfc.section.10.1">Markup in figure/artwork</a></li><li class="tocline1">10.2 <a href="#rfc.section.10.2">Measuring Lengths</a></li><li class="tocline1">10.3 <a href="#rfc.section.10.3">Quotations</a></li><li class="tocline1">10.4 <a href="#rfc.section.10.4">Subsections</a></li><li class="tocline1">10.5 <a href="#rfc.section.10.5">Box Drawing</a></li><li class="tocline1">10.6 <a href="#computed.reference.targets">Computed Reference Targets</a></li></ul></li><li class="tocline0">11. <a href="#rfc.section.11">Blank Lines</a></li><li class="tocline0">12. <a href="#rfc.references">References</a></li><li class="tocline0"><a href="#rfc.comments">Editorial Comments</a></li><li class="tocline0"><a href="#rfc.authors">Author's Address</a></li><li class="tocline0"><a href="#rfc.index">Index</a></li></ul><ul class="toc"><li class="tocline0"><a href="#rfc.figure.1">Figure 1: another figure</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> <a id="lists" href="#lists">Lists</a></h1><h2 id="rfc.section.1.1"><a href="#rfc.section.1.1">1.1</a> hanging list</h2><dl><dt>Name:</dt><dd>timeout</dd><dt>Namespace:</dt><dd>DAV:</dd><dt>Purpose:</dt><dd>The timeout associated with a lock</dd><dt>Value:</dt><dd>TimeType ;Defined in section 9.8</dd></dl><h2 id="rfc.section.1.2"><a href="#rfc.section.1.2">1.2</a> numbered list</h2><p id="rfc.section.1.2.p.1">A numbered list: </p><ol><li>one</li><li>two</li><li>three</li></ol><h2 id="rfc.section.1.3"><a href="#rfc.section.1.3">1.3</a> <a id="ordered.list.letters" href="#ordered.list.letters">ordered list (letters)</a></h2><p id="rfc.section.1.3.p.1">An ordered list using letters: </p><ol style="list-style-type: lower-alpha"><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li>three</li><li>one</li><li>two</li><li id="ordered.list.letters.last">three</li></ol><h2 id="rfc.section.1.4"><a href="#rfc.section.1.4">1.4</a> no explicit counters</h2><p id="rfc.section.1.4.p.1">Example for numbered list with user-defined-format: </p><dl><dt>R1:</dt><dd>R1</dd><dt>R2:</dt><dd>R2</dd></dl><p id="rfc.section.1.4.p.2">Another list: </p><dl><dt>S1:</dt><dd>S1</dd><dt>S2:</dt><dd>S2</dd></dl><p id="rfc.section.1.4.p.3">Next list should continue counting R's: </p><dl><dt>R3:</dt><dd>R3</dd><dt>R4:</dt><dd>R4</dd></dl><p id="rfc.section.1.4.p.4">Same with character-based numbering: </p><dl><dt>c-a:</dt><dd>c-a</dd><dt>c-b:</dt><dd>c-b</dd></dl><h2 id="rfc.section.1.5"><a href="#rfc.section.1.5">1.5</a> with explicit counters</h2><p id="rfc.section.1.5.p.1">A few requirements: </p><dl><dt>R1:</dt><dd>req R1</dd><dt>R2:</dt><dd>req R2</dd></dl><p id="rfc.section.1.5.p.2">More requirements: </p><dl><dt>R3:</dt><dd>req R3</dd><dt>R4:</dt><dd>req R4</dd></dl><p id="rfc.section.1.5.p.3">A few rules: </p><dl><dt>R1:</dt><dd>rule R1</dd><dt>R2:</dt><dd>rule R2</dd><dt>R3:</dt><dd>rule R3</dd></dl><p id="rfc.section.1.5.p.4">Explicit counter with name matching it's format string: </p><dl><dt>c-c:</dt><dd>c-c</dd><dt>c-d:</dt><dd>c-d</dd></dl><p id="rfc.section.1.5.p.5">Same, without counter: </p><dl><dt>c-e:</dt><dd>c-e</dd><dt>c-f:</dt><dd>c-f</dd></dl><h2 id="rfc.section.1.6"><a href="#rfc.section.1.6">1.6</a> Nested list</h2><p id="rfc.section.1.6.p.1"> </p><ol><li>One</li><li>Two <ol style="list-style-type: upper-alpha"><li>17</li><li>42</li></ol> </li><li>Three</li></ol><h2 id="rfc.section.1.7"><a href="#rfc.section.1.7">1.7</a> list without style</h2><dl class="empty"><dd>One</dd><dd>Two</dd><dd>Three</dd></dl><h2 id="rfc.section.1.8"><a href="#rfc.section.1.8">1.8</a> list with multiple paragraphs in a single list item</h2><ol><li><p>Simple list item.</p></li><li><p>This one has two paragraphs. This is the first one.</p><p>This one has two paragraphs. This is the second one.</p></li><li><p>Another simple list item.</p></li></ol><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> spanx</h1><p id="rfc.section.2.p.1">This is <em>default</em>.</p><p id="rfc.section.2.p.2">This is <em>emph(asized)</em>.</p><p id="rfc.section.2.p.3">This is <strong>strong</strong>.</p><p id="rfc.section.2.p.4">This is <samp>verb(atim)</samp>.</p><p id="rfc.section.2.p.5">Here is <samp>a carriage return inside</samp> a spanx element.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> Tables</h1><div id="rfc.table.u.1"><p>The list of valid keywords are:</p><table summary="The list of valid keywords are:" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="right" style="width: 20%;">keyword</th><th class="center" style="width: 20%;">default</th><th class="left">meaning</th><th class="left">not aligned</th></tr></thead><tbody><tr><td class="right">strict</td><td class="center">no</td><td>try to enforce the ID-nits conventions and DTD validity</td><td>a</td></tr><tr><td class="right">iprnotified</td><td class="center">no</td><td>include boilerplate from Section 10.4(d) of <a href="#RFC2026" id="rfc.xref.RFC2026.1"><cite title="The Internet Standards Process -- Revision 3">[RFC2026]</cite></a></td><td>bb bb</td></tr><tr><td class="right">compact</td><td class="center">no</td><td>when producing a txt/nroff file, try to conserve vertical whitespace</td><td>ccc ccc ccc</td></tr><tr><td class="right">subcompact</td><td class="center">compact</td><td>if compact is "yes", then setting this to "no" will make things a little less compact</td><td>dddd dddd dddd dddd</td></tr><tr><td class="right">needLines</td><td class="center">n/a</td><td>an integer hint indicating how many contiguous lines are needed at this point in the output</td><td>eeeee eeeee eeeee eeeee eeeee</td></tr><tr><td class="right">here come empty cells</td><td class="center"></td><td></td><td></td></tr></tbody></table><p>Remember, that as with everything else in XML, keywords and values are case-sensitive.</p></div><h2 id="rfc.section.3.1"><a href="#rfc.section.3.1">3.1</a> no borders</h2><div id="rfc.table.1"><div id="tablenoborder"></div><p>The table below should appear with no borders.</p><table summary="The table below should appear with no borders." class="tt none" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table><p class="figure">Table 1: a table with no borders</p></div><h2 id="rfc.section.3.2"><a href="#rfc.section.3.2">3.2</a> borders around headers</h2><div id="rfc.table.u.2"><p>The table below should appear with borders just around the headers.</p><table summary="The table below should appear with borders just around the headers." class="tt headers" cellpadding="3" cellspacing="0"><thead><tr><th class="left">C1</th><th class="left">C2</th></tr></thead><tbody><tr><td>11</td><td>12</td></tr><tr><td>21</td><td>22</td></tr></tbody></table></div><h2 id="rfc.section.3.3"><a href="#rfc.section.3.3">3.3</a> referencing tables</h2><p id="rfc.section.3.3.p.1"> <a href="#tablenoborder">Table 1</a> shows a table with no borders.</p><p id="rfc.section.3.3.p.2"> <a href="#tablenoborder">The table above</a> shows a table with no borders.</p><h2 id="rfc.section.3.4"><a href="#rfc.section.3.4">3.4</a> table captions</h2><div id="rfc.table.u.3"><p>No anchor, no title</p><table summary="No anchor, no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>-</td></tr></tbody></table></div><div id="rfc.table.2"><div id="texttable1"></div><p>Anchor (not being referenced), no title</p><table summary="Anchor (not being referenced), no title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>-</td></tr></tbody></table><p class="figure">Table 2</p></div><div id="rfc.table.3"><p>No anchor, with title</p><table summary="No anchor, with title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>-</td><td>"title"</td></tr></tbody></table><p class="figure">Table 3: title</p></div><div id="rfc.table.4"><div id="texttable2"></div><p>Both anchor and title</p><table summary="Both anchor and title" class="tt full" cellpadding="3" cellspacing="0"><thead><tr><th class="left">Anchor</th><th class="left">Title</th></tr></thead><tbody><tr><td>yes</td><td>"title"</td></tr></tbody></table><p class="figure">Table 4: title</p></div><hr class="noprint"><h1 id="rfc.section.4" class="np"><a href="#rfc.section.4">4.</a> Figures</h1><h2 id="rfc.section.4.1"><a href="#rfc.section.4.1">4.1</a> with preamble, no title...</h2><div id="rfc.figure.u.1"></div> <p>with preamble, no title...</p> <pre> +--+ 372 372 | | 373 373 +--+ … … 376 376 +--+ 377 377 </pre> <p>with postamble and title...</p> <p class="figure">Figure 1: another figure</p><p id="rfc.section.4.2.p.2">The figure above has the title "<a href="#testfig">another figure</a>".</p><h2 id="rfc.section.4.3"><a href="#rfc.section.4.3">4.3</a> Whitespace handling</h2><p id="rfc.section.4.3.p.1">Para...</p><div id="rfc.figure.u.2"></div> <p>Leading whitespace</p> <pre>test test (leading ws)</pre> <p id="rfc.section.4.3.p.3">Para...</p><div id="rfc.figure.u.3"></div> <p>Trailing whitespace</p> <pre>test test (trailing ws) 378 </pre> <p id="rfc.section.4.3.p.5">Para...</p><div id="rfc.figure.u.4"></div> <p>No whitespace</p> <pre>test test (no ws)</pre> <p id="rfc.section.4.3.p.7">Para...</p><h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a> Whitespace around figures</h2><p id="rfc.section.4.4.p.1">spacing paragraph</p><div id="rfc.figure.u.5"></div><pre>ART</pre><p id="rfc.section.4.4.p.3">spacing paragraph</p><div id="rfc.figure.u.6"></div><p>preamble, then</p><pre>ART</pre><p id="rfc.section.4.4.p.5">spacing paragraph</p><div id="rfc.figure.u.7"></div><pre>ART</pre><p>then postamble</p><p id="rfc.section.4.4.p.7">spacing paragraph</p><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="refs" href="#refs">References</a></h1><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> xref with no content</h2><p id="rfc.section.5.1.p.1">We are in <a href="#refs" title="References">Section 5</a>.</p><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="xref.with.no.content" href="#xref.with.no.content">xref with no content</a></h2><div id="xref.with.no.content.first.sentence"><p id="rfc.section.5.2.p.1"> <a href="#refs" title="References">Section 5</a> is the parent section.</p></div><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a> xref to named <t> element</h2><p id="rfc.section.5.3.p.1">See <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> xref to named <t> element inside list</h2><p id="rfc.section.5.4.p.1">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section 1.3</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> xref with no auto-formatting</h2><p id="rfc.section.5.5.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> xref with content and auto-formatting</h2><p id="rfc.section.5.6.p.1">This is a subsection of References (<a href="#refs" title="References">Section 5</a>).</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> xref with content and no formatting</h2><p id="rfc.section.5.7.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> xref with no content and anchor formatting</h2><p id="rfc.section.5.8.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.3"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> eref with no content</h2><p id="rfc.section.5.9.p.1">See also <<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>>. Here's another one that is quite long: <<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected">http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected</a>>. Does it break properly?</p><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a> eref with content</h2><p id="rfc.section.5.10.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h r class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> Paragraph formatting</h1><p id="rfc.section.6.p.1">This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.</p><p id="rfc.section.6.p.2">This is the second paragraph.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a> Sections</h1><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> Subsection with TOC entry</h2><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> Subsection without TOC entry</h2><h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a> Sub-subsection with TOC entry</h3><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a> Comments</h1><p id="rfc.section.8.p.1">This line contains a few comments. <span class="comment" title="JRE: No anchor, source given.">[<a href="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments.</p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> Artwork width</h1><div id="rfc.figure.u.8"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p> <pre>012345678901234567890123456789012345678901234567890123456789012345678378 </pre> <p id="rfc.section.4.3.p.5">Para...</p><div id="rfc.figure.u.4"></div> <p>No whitespace</p> <pre>test test (no ws)</pre> <p id="rfc.section.4.3.p.7">Para...</p><h2 id="rfc.section.4.4"><a href="#rfc.section.4.4">4.4</a> Whitespace around figures</h2><p id="rfc.section.4.4.p.1">spacing paragraph</p><div id="rfc.figure.u.5"></div><pre>ART</pre><p id="rfc.section.4.4.p.3">spacing paragraph</p><div id="rfc.figure.u.6"></div><p>preamble, then</p><pre>ART</pre><p id="rfc.section.4.4.p.5">spacing paragraph</p><div id="rfc.figure.u.7"></div><pre>ART</pre><p>then postamble</p><p id="rfc.section.4.4.p.7">spacing paragraph</p><hr class="noprint"><h1 id="rfc.section.5" class="np"><a href="#rfc.section.5">5.</a> <a id="refs" href="#refs">References</a></h1><h2 id="rfc.section.5.1"><a href="#rfc.section.5.1">5.1</a> xref with no content</h2><p id="rfc.section.5.1.p.1">We are in <a href="#refs" title="References">Section 5</a>.</p><h2 id="rfc.section.5.2"><a href="#rfc.section.5.2">5.2</a> <a id="xref.with.no.content" href="#xref.with.no.content">xref with no content</a></h2><div id="xref.with.no.content.first.sentence"><p id="rfc.section.5.2.p.1"> <a href="#refs" title="References">Section 5</a> is the parent section.</p></div><h2 id="rfc.section.5.3"><a href="#rfc.section.5.3">5.3</a> xref to named <t> element</h2><p id="rfc.section.5.3.p.1">See <a href="#xref.with.no.content.first.sentence">first sentence</a> of previous section.</p><h2 id="rfc.section.5.4"><a href="#rfc.section.5.4">5.4</a> xref to named <t> element inside list</h2><p id="rfc.section.5.4.p.1">See <a href="#ordered.list.letters.last">last entry</a> in <a href="#ordered.list.letters" title="ordered list (letters)">Section 1.3</a>.</p><h2 id="rfc.section.5.5"><a href="#rfc.section.5.5">5.5</a> xref with no auto-formatting</h2><p id="rfc.section.5.5.p.1">So far we have sections <a href="#lists" title="Lists">1</a> ("<a href="#lists" title="Lists">Lists</a>") through <a href="#refs" title="References">5</a> ("<a href="#refs" title="References">References</a>").</p><h2 id="rfc.section.5.6"><a href="#rfc.section.5.6">5.6</a> xref with content and auto-formatting</h2><p id="rfc.section.5.6.p.1">This is a subsection of References (<a href="#refs" title="References">Section 5</a>).</p><h2 id="rfc.section.5.7"><a href="#rfc.section.5.7">5.7</a> xref with content and no formatting</h2><p id="rfc.section.5.7.p.1">This is a subsection of References. Here we are referring to <cite title="The Internet Standards Process -- Revision 3" id="rfc.xref.RFC2026.2">RFC 2026</cite>, without emitting extra formatting.</p><h2 id="rfc.section.5.8"><a href="#rfc.section.5.8">5.8</a> xref with no content and anchor formatting</h2><p id="rfc.section.5.8.p.1">See [<a href="#RFC2026" id="rfc.xref.RFC2026.3"><cite title="The Internet Standards Process -- Revision 3">RFC2026</cite></a>, <a href="#RFC2396" id="rfc.xref.RFC2396.1"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">RFC2396</cite></a>].</p><h2 id="rfc.section.5.9"><a href="#rfc.section.5.9">5.9</a> eref with no content</h2><p id="rfc.section.5.9.p.1">See also <<a href="http://greenbytes.de/tech/webdav">http://greenbytes.de/tech/webdav</a>>. Here's another one that is quite long: <<a href="http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected">http://greenbytes.de/tech/webdav/draft-reschke-rfc3744bis-issues.html#5.7_inherited-acl-set-protected</a>>. Does it break properly?</p><h2 id="rfc.section.5.10"><a href="#rfc.section.5.10">5.10</a> eref with content</h2><p id="rfc.section.5.10.p.1">See also <a href="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</a>.</p><h2 id="rfc.section.5.11"><a href="#rfc.section.5.11">5.11</a> iref inside paragraph</h2><p id="rfc.section.5.11.p.1">This paragraph contains an <span id="rfc.iref.i.1"></span>inline iref.</p><hr class="noprint"><h1 id="rfc.section.6" class="np"><a href="#rfc.section.6">6.</a> Paragraph formatting</h1><p id="rfc.section.6.p.1">This is the first sentence of the paragraph. This is the second sentence of the paragraph (with two leading blanks). Here's another sentence that was started on a separate line in the input file.</p><p id="rfc.section.6.p.2">This is the second paragraph.</p><hr class="noprint"><h1 id="rfc.section.7" class="np"><a href="#rfc.section.7">7.</a> Sections</h1><h2 id="rfc.section.7.1"><a href="#rfc.section.7.1">7.1</a> Subsection with TOC entry</h2><h2 id="rfc.section.7.2"><a href="#rfc.section.7.2">7.2</a> Subsection without TOC entry</h2><h3 id="rfc.section.7.2.1"><a href="#rfc.section.7.2.1">7.2.1</a> Sub-subsection with TOC entry</h3><hr class="noprint"><h1 id="rfc.section.8" class="np"><a href="#rfc.section.8">8.</a> Comments</h1><p id="rfc.section.8.p.1">This line contains a few comments. <span class="comment" title="JRE: No anchor, source given.">[<a href="#rfc.comment.1">rfc.comment.1</a>]</span> This line contains a few comments. <span class="comment" title="Anchor given, no source.">[<a href="#comment1">comment1</a>]</span> This line contains a few comments. <span class="comment" title="JRE: Both specified.">[<a href="#comment2">comment2</a>]</span> This line contains a few comments. <span class="comment" title="No anchor, no source.">[<a href="#rfc.comment.2">rfc.comment.2</a>]</span> This line contains a few comments.</p><hr class="noprint"><h1 id="rfc.section.9" class="np"><a href="#rfc.section.9">9.</a> Artwork width</h1><div id="rfc.figure.u.8"></div> <p>This should fit (69 characters plus three spaces of indentation in text output).</p> <pre>012345678901234567890123456789012345678901234567890123456789012345678 379 379 </pre> <div id="rfc.figure.u.9"></div> <p>This shouldn't.</p> <pre>0123456789012345678901234567890123456789012345678901234567890123456789 380 380 </pre> <hr class="noprint"><h1 id="rfc.section.10" class="np"><a href="#rfc.section.10">10.</a> <a id="extensions" href="#extensions">Extensions</a></h1><p id="rfc.section.10.p.1">These are tests for extensions done in <samp>rfc2629.xslt</samp>. Do not expect them to work out-of-the-box in <samp>xml2rfc</samp>.</p><h2 id="rfc.section.10.1"><a href="#rfc.section.10.1">10.1</a> Markup in figure/artwork</h2><div id="rfc.figure.u.10"></div> <pre>Internal References: a test reference to <a href="#RFC2396" id="rfc.xref.RFC2396.2"><cite title="Uniform Resource Identifiers (URI): Generic Syntax">[RFC2396]</cite></a> … … 382 382 External References: a test reference to <<a href="http://xml.resource.org">http://xml.resource.org</a>> 383 383 384 <span id="rfc.iref. "></span>a test index entry inside a figure384 <span id="rfc.iref.1"></span>a test index entry inside a figure 385 385 386 386 Styling: <em><spanx></em> inside artwork … … 408 408 └────────────────┘ 409 409 </pre> <h2 id="rfc.section.10.6"><a href="#rfc.section.10.6">10.6</a> <a id="computed.reference.targets" href="#computed.reference.targets">Computed Reference Targets</a></h2><p id="rfc.section.10.6.p.1">Referring to this section by anchor name indirectly through the references: Section 10.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.1"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><p id="rfc.section.10.6.p.2">(default formatting): Section 10.6 of <a href="#TSTCS" id="rfc.xref.TSTCS.2"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><div id="rfc.figure.u.15"></div><pre> Default inside a figure: <a href="#TSTCS" id="rfc.xref.TSTCS.3"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>, Section 10.6 410 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> Blank Lines</h1><p id="rfc.section.11.p.1">Just a forced <br> line break.</p><p id="rfc.section.11.p.2">One <br><br> blank line.</p><p id="rfc.section.11.p.3">Seven <br><br><br><br><br><br><br><br> blank lines.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> References</h1><table summary="References"> <tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>”, BCP 9, RFC 2026, October 1996.</td></tr> <tr><td class="reference"><b id="RFC2396">[RFC2396]</b></td><td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="Department of Information and Computer Science">Fielding, R.T.</a>, and <a href="mailto:masinter@parc.xerox.com" title="Xerox PARC">L. Masinter</a>, “<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>”, RFC 2396, August 1998.<br>This RFC will soon be updated, check <<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html</a>> for the latest draft.<br>The issues list is at <<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html</a>>.</td></tr> <tr><td class="reference"><b id="TSTCS">[TSTCS]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, “Test cases for RFC2629 formatting”, October 2007.</td></tr> </table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="rfc.comment.1">410 </pre><p id="rfc.section.10.6.p.4">With a broken anchor: <a href="#TSTCS" id="rfc.xref.TSTCS.4"><cite title="Test cases for RFC2629 formatting">[TSTCS]</cite></a>.</p><hr class="noprint"><h1 id="rfc.section.11" class="np"><a href="#rfc.section.11">11.</a> Blank Lines</h1><p id="rfc.section.11.p.1">Just a forced <br> line break.</p><p id="rfc.section.11.p.2">One <br><br> blank line.</p><p id="rfc.section.11.p.3">Seven <br><br><br><br><br><br><br><br> blank lines.</p><h1 class="np" id="rfc.references"><a href="#rfc.section.12" id="rfc.section.12">12.</a> References</h1><table summary="References"> <tr><td class="reference"><b id="RFC2026">[RFC2026]</b></td><td class="top"><a href="mailto:sob@harvard.edu" title="Harvard University">Bradner, S.</a>, “<a href="http://tools.ietf.org/html/rfc2026">The Internet Standards Process -- Revision 3</a>”, BCP 9, RFC 2026, October 1996.</td></tr> <tr><td class="reference"><b id="RFC2396">[RFC2396]</b></td><td class="top"><a href="mailto:timbl@w3.org" title="World Wide Web Consortium">Berners-Lee, T.</a>, <a href="mailto:fielding@ics.uci.edu" title="Department of Information and Computer Science">Fielding, R.T.</a>, and <a href="mailto:masinter@parc.xerox.com" title="Xerox PARC">L. Masinter</a>, “<a href="http://tools.ietf.org/html/rfc2396">Uniform Resource Identifiers (URI): Generic Syntax</a>”, RFC 2396, August 1998.<br>This RFC will soon be updated, check <<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/rfc2396bis.html</a>> for the latest draft.<br>The issues list is at <<a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html">http://cvs.apache.org/viewcvs.cgi/*checkout*/ietf-uri/rev-2002/issues.html</a>>.</td></tr> <tr><td class="reference"><b id="TSTCS">[TSTCS]</b></td><td class="top"><a href="mailto:julian.reschke@greenbytes.de" title="greenbytes GmbH">Reschke, J. F.</a>, “Test cases for RFC2629 formatting”, March 2008.</td></tr> </table><hr class="noprint"><h1 class="np"><a id="rfc.comments" href="#rfc.comments">Editorial Comments</a></h1><dl><dt id="rfc.comment.1"> 411 411 [rfc.comment.1] 412 412 </dt><dd>No anchor, source given. --JRE</dd><dt id="comment1"> … … 416 416 </dt><dd>Both specified. --JRE</dd><dt id="rfc.comment.2"> 417 417 [rfc.comment.2] 418 </dt><dd>No anchor, no source.</dd></dl><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index. R">R</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><b><</b><ul class="ind"><li class="indline1"><iref> in <artwork> <a class="iref" href="#rfc.iref.">10.1</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.7</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.8</a>, <a class="iref" href="#RFC2026"><b>12</b></a></li><li class="indline1"><em>RFC2396</em> <a class="iref" href="#rfc.xref.RFC2396.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>12</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section </em> <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a></li><li class="indline1"><em>Section 10.6</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a></li></ul></li></ul></li></ul></div></body></html>418 </dt><dd>No anchor, no source.</dd></dl><hr class="noprint"><h1 id="rfc.authors" class="np"><a href="#rfc.authors">Author's Address</a></h1><address class="vcard"><span class="vcardline"><span class="fn">Julian F. Reschke</span><span class="n hidden"><span class="family-name">Reschke</span><span class="given-name">Julian F.</span></span></span><span class="org vcardline">greenbytes GmbH</span><span class="adr"><span class="street-address vcardline">Hafenweg 16</span><span class="vcardline"><span class="locality">Muenster</span>, <span class="region">NW</span> <span class="postal-code">48155</span></span><span class="country-name vcardline">Germany</span></span><span class="vcardline tel">Phone: <a href="tel:+492512807760"><span class="value">+49 251 2807760</span></a></span><span class="vcardline tel"><span class="type">Fax</span>: <a href="fax:+492512807761"><span class="value">+49 251 2807761</span></a></span><span class="vcardline">EMail: <a href="mailto:julian.reschke@greenbytes.de"><span class="email">julian.reschke@greenbytes.de</span></a></span><span class="vcardline">URI: <a href="http://greenbytes.de/tech/webdav/" class="url">http://greenbytes.de/tech/webdav/</a></span></address><hr class="noprint"><h1 id="rfc.index" class="np"><a href="#rfc.index">Index</a></h1><p class="noprint"><a href="#rfc.index.I">I</a> <a href="#rfc.index.R">R</a> <a href="#rfc.index.T">T</a> </p><div class="print2col"><ul class="ind"><li class="indline0"><b><</b><ul class="ind"><li class="indline1"><iref> in <artwork> <a class="iref" href="#rfc.iref.1">10.1</a></li></ul></li><li class="indline0"><a id="rfc.index.I" href="#rfc.index.I"><b>I</b></a><ul class="ind"><li class="indline1">inline iref <a class="iref" href="#rfc.iref.i.1">5.11</a></li></ul></li><li class="indline0"><a id="rfc.index.R" href="#rfc.index.R"><b>R</b></a><ul class="ind"><li class="indline1"><em>RFC2026</em> <a class="iref" href="#rfc.xref.RFC2026.1">3</a>, <a class="iref" href="#rfc.xref.RFC2026.2">5.7</a>, <a class="iref" href="#rfc.xref.RFC2026.3">5.8</a>, <a class="iref" href="#RFC2026"><b>12</b></a></li><li class="indline1"><em>RFC2396</em> <a class="iref" href="#rfc.xref.RFC2396.1">5.8</a>, <a class="iref" href="#rfc.xref.RFC2396.2">10.1</a>, <a class="iref" href="#RFC2396"><b>12</b></a></li></ul></li><li class="indline0"><a id="rfc.index.T" href="#rfc.index.T"><b>T</b></a><ul class="ind"><li class="indline1"><em>TSTCS</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a>, <a class="iref" href="#TSTCS"><b>12</b></a><ul class="ind"><li class="indline1"><em>Section </em> <a class="iref" href="#rfc.xref.TSTCS.4">10.6</a></li><li class="indline1"><em>Section 10.6</em> <a class="iref" href="#rfc.xref.TSTCS.1">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.2">10.6</a>, <a class="iref" href="#rfc.xref.TSTCS.3">10.6</a></li></ul></li></ul></li></ul></div></body></html> -
rfc2629xslt/testcase.xml
r213 r246 31 31 </author> 32 32 33 <date month=" December" year="2007"/>33 <date month="March" year="2008"/> 34 34 <keyword>RFC2629</keyword> 35 35 <keyword>test case</keyword> … … 474 474 <t> 475 475 See also <eref target="http://greenbytes.de/tech/webdav">greenbytes WebDAV resources</eref>. 476 </t> 477 </section> 478 479 <section title="iref inside paragraph"> 480 <t> 481 This paragraph contains an <iref item="inline iref"/>inline iref. 476 482 </t> 477 483 </section> … … 770 776 </address> 771 777 </author> 772 <date month=" October" year="2007"/>778 <date month="March" year="2008"/> 773 779 </front> 774 780 <x:source href="testcase.xml"/> -
rfc2629xslt/xsl11toFop-0.93.xslt
r6 r246 2 2 Transform XSL 1.1 extensions to FOP 0.93 3 3 4 Copyright (c) 2007 , Julian Reschke (julian.reschke@greenbytes.de)4 Copyright (c) 2007-2008, Julian Reschke (julian.reschke@greenbytes.de) 5 5 All rights reserved. 6 6 … … 80 80 </xsl:template> 81 81 <xsl:template match="fo:inline[@id and @index-key and not(node())]"> 82 <fo:block id="{@id}"/> 82 <xsl:choose> 83 <xsl:when test="ancestor::fo:block"> 84 <fo:wrapper id="{@id}"/> 85 </xsl:when> 86 <xsl:otherwise> 87 <fo:block id="{@id}"/> 88 </xsl:otherwise> 89 </xsl:choose> 83 90 </xsl:template> 84 91
Note: See TracChangeset
for help on using the changeset viewer.