Changeset 1667 for rfc2629xslt
- Timestamp:
- 01/06/12 11:38:56 (11 years ago)
- Location:
- rfc2629xslt
- Files:
-
- 57 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629.xslt
r1661 r1667 701 701 <xsl:choose> 702 702 <xsl:when test="@align='right'"> 703 <div style="display:table; margin-left: auto; margin-right: 0 pt;">703 <div style="display:table; margin-left: auto; margin-right: 0em;"> 704 704 <xsl:call-template name="insert-begin-code"/> 705 705 <pre style="margin-left: 0em;"> … … 3401 3401 font-family: verdana, helvetica, arial, sans-serif; 3402 3402 font-size: 10pt; 3403 margin-right: 2em; 3403 3404 }<xsl:if test="//xhtml:p"> 3404 3405 br.p { … … 3411 3412 margin-left: 2em; 3412 3413 }</xsl:if> 3413 dd {3414 margin-right: 2em;3415 }3416 3414 dl { 3417 3415 margin-left: 2em; 3418 3416 } 3419 <!-- spacing between two entries in definition lists --> 3420 ul.empty { 3417 ul.empty {<!-- spacing between two entries in definition lists --> 3421 3418 list-style-type: none; 3422 3419 } … … 3458 3455 li { 3459 3456 margin-left: 2em; 3460 margin-right: 2em;3461 3457 } 3462 3458 ol { 3463 3459 margin-left: 2em; 3464 margin-right: 2em;3465 3460 } 3466 3461 ol.la { … … 3478 3473 p { 3479 3474 margin-left: 2em; 3480 margin-right: 2em;3481 3475 } 3482 3476 pre { … … 3484 3478 background-color: lightyellow; 3485 3479 padding: .25em; 3480 page-break-inside: avoid; 3486 3481 }<xsl:if test="//artwork[@x:isCodeComponent='yes']"><!-- support "<CODE BEGINS>" and "<CODE ENDS>" markers--> 3487 3482 pre.ccmarker { … … 3607 3602 list-style: none; 3608 3603 margin-left: 1.5em; 3609 margin-right: 0em;3610 3604 padding-left: 0em; 3611 3605 } … … 3615 3609 font-size: 10pt; 3616 3610 margin-left: 0em; 3617 margin-right: 0em;3618 3611 } 3619 3612 ul.toc li li { … … 3622 3615 font-size: 9pt; 3623 3616 margin-left: 0em; 3624 margin-right: 0em;3625 3617 } 3626 3618 li.excluded { … … 3633 3625 list-style: none; 3634 3626 margin-left: 1.5em; 3635 margin-right: 0em;3636 3627 padding-left: 0em; 3637 3628 page-break-before: avoid; … … 3641 3632 line-height: 200%; 3642 3633 margin-left: 0em; 3643 margin-right: 0em;3644 3634 } 3645 3635 ul.ind li li { … … 3647 3637 line-height: 150%; 3648 3638 margin-left: 0em; 3649 margin-right: 0em;3650 3639 } 3651 3640 .avoidbreak { … … 5101 5090 5102 5091 <xsl:if test="//figure[@title!='' or @anchor!='']"> 5103 <ul> 5104 <xsl:for-each select="//figure[@title!='' or @anchor!='']"> 5105 <xsl:variable name="title">Figure <xsl:value-of select="position()"/><xsl:if test="@title">: <xsl:value-of select="@title"/></xsl:if> 5106 </xsl:variable> 5107 <li> 5108 <xsl:call-template name="insert-toc-line"> 5109 <xsl:with-param name="target" select="concat($anchor-prefix,'.figure.',position())" /> 5110 <xsl:with-param name="title" select="$title" /> 5111 </xsl:call-template> 5112 </li> 5113 </xsl:for-each> 5092 <ul class="toc"> 5093 <li>Figures 5094 <ul> 5095 <xsl:for-each select="//figure[@title!='' or @anchor!='']"> 5096 <xsl:variable name="title">Figure <xsl:value-of select="position()"/><xsl:if test="@title">: <xsl:value-of select="@title"/></xsl:if> 5097 </xsl:variable> 5098 <li> 5099 <xsl:call-template name="insert-toc-line"> 5100 <xsl:with-param name="target" select="concat($anchor-prefix,'.figure.',position())" /> 5101 <xsl:with-param name="title" select="$title" /> 5102 </xsl:call-template> 5103 </li> 5104 </xsl:for-each> 5105 </ul> 5106 </li> 5114 5107 </ul> 5115 5108 </xsl:if> … … 6538 6531 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6539 6532 <!-- when RCS keyword substitution in place, add version info --> 6540 <xsl:if test="contains('$Revision: 1.57 6$',':')">6541 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.57 6$', 'Revision: '),'$','')),', ')" />6533 <xsl:if test="contains('$Revision: 1.579 $',':')"> 6534 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.579 $', 'Revision: '),'$','')),', ')" /> 6542 6535 </xsl:if> 6543 <xsl:if test="contains('$Date: 2012-05- 02 14:26:45 $',':')">6544 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-05- 02 14:26:45 $', 'Date: '),'$','')),', ')" />6536 <xsl:if test="contains('$Date: 2012-05-24 20:24:05 $',':')"> 6537 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-05-24 20:24:05 $', 'Date: '),'$','')),', ')" /> 6545 6538 </xsl:if> 6546 6539 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> -
rfc2629xslt/rfc2629toXHTML.xslt
r1661 r1667 569 569 <xsl:choose> 570 570 <xsl:when test="@align='right'"> 571 <div xmlns="http://www.w3.org/1999/xhtml" style="display:table; margin-left: auto; margin-right: 0 pt;">571 <div xmlns="http://www.w3.org/1999/xhtml" style="display:table; margin-left: auto; margin-right: 0em;"> 572 572 <xsl:call-template name="insert-begin-code"/> 573 573 <pre style="margin-left: 0em;"> … … 3269 3269 font-family: verdana, helvetica, arial, sans-serif; 3270 3270 font-size: 10pt; 3271 margin-right: 2em; 3271 3272 }<xsl:if test="//xhtml:p"> 3272 3273 br.p { … … 3279 3280 margin-left: 2em; 3280 3281 }</xsl:if> 3281 dd {3282 margin-right: 2em;3283 }3284 3282 dl { 3285 3283 margin-left: 2em; 3286 3284 } 3287 <!-- spacing between two entries in definition lists --> 3288 ul.empty { 3285 ul.empty {<!-- spacing between two entries in definition lists --> 3289 3286 list-style-type: none; 3290 3287 } … … 3326 3323 li { 3327 3324 margin-left: 2em; 3328 margin-right: 2em;3329 3325 } 3330 3326 ol { 3331 3327 margin-left: 2em; 3332 margin-right: 2em;3333 3328 } 3334 3329 ol.la { … … 3346 3341 p { 3347 3342 margin-left: 2em; 3348 margin-right: 2em;3349 3343 } 3350 3344 pre { … … 3352 3346 background-color: lightyellow; 3353 3347 padding: .25em; 3348 page-break-inside: avoid; 3354 3349 }<xsl:if test="//artwork[@x:isCodeComponent='yes']"><!-- support "<CODE BEGINS>" and "<CODE ENDS>" markers--> 3355 3350 pre.ccmarker { … … 3475 3470 list-style: none; 3476 3471 margin-left: 1.5em; 3477 margin-right: 0em;3478 3472 padding-left: 0em; 3479 3473 } … … 3483 3477 font-size: 10pt; 3484 3478 margin-left: 0em; 3485 margin-right: 0em;3486 3479 } 3487 3480 ul.toc li li { … … 3490 3483 font-size: 9pt; 3491 3484 margin-left: 0em; 3492 margin-right: 0em;3493 3485 } 3494 3486 li.excluded { … … 3501 3493 list-style: none; 3502 3494 margin-left: 1.5em; 3503 margin-right: 0em;3504 3495 padding-left: 0em; 3505 3496 page-break-before: avoid; … … 3509 3500 line-height: 200%; 3510 3501 margin-left: 0em; 3511 margin-right: 0em;3512 3502 } 3513 3503 ul.ind li li { … … 3515 3505 line-height: 150%; 3516 3506 margin-left: 0em; 3517 margin-right: 0em;3518 3507 } 3519 3508 .avoidbreak { … … 4957 4946 4958 4947 <xsl:if test="//figure[@title!='' or @anchor!='']"> 4959 <ul xmlns="http://www.w3.org/1999/xhtml"> 4960 <xsl:for-each select="//figure[@title!='' or @anchor!='']"> 4961 <xsl:variable name="title">Figure <xsl:value-of select="position()"/><xsl:if test="@title">: <xsl:value-of select="@title"/></xsl:if> 4962 </xsl:variable> 4963 <li> 4964 <xsl:call-template name="insert-toc-line"> 4965 <xsl:with-param name="target" select="concat($anchor-prefix,'.figure.',position())"/> 4966 <xsl:with-param name="title" select="$title"/> 4967 </xsl:call-template> 4968 </li> 4969 </xsl:for-each> 4948 <ul xmlns="http://www.w3.org/1999/xhtml" class="toc"> 4949 <li>Figures 4950 <ul> 4951 <xsl:for-each select="//figure[@title!='' or @anchor!='']"> 4952 <xsl:variable name="title">Figure <xsl:value-of select="position()"/><xsl:if test="@title">: <xsl:value-of select="@title"/></xsl:if> 4953 </xsl:variable> 4954 <li> 4955 <xsl:call-template name="insert-toc-line"> 4956 <xsl:with-param name="target" select="concat($anchor-prefix,'.figure.',position())"/> 4957 <xsl:with-param name="title" select="$title"/> 4958 </xsl:call-template> 4959 </li> 4960 </xsl:for-each> 4961 </ul> 4962 </li> 4970 4963 </ul> 4971 4964 </xsl:if> … … 6393 6386 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6394 6387 <!-- when RCS keyword substitution in place, add version info --> 6395 <xsl:if test="contains('$Revision: 1.57 6$',':')">6396 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.57 6$', 'Revision: '),'$','')),', ')"/>6388 <xsl:if test="contains('$Revision: 1.579 $',':')"> 6389 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.579 $', 'Revision: '),'$','')),', ')"/> 6397 6390 </xsl:if> 6398 <xsl:if test="contains('$Date: 2012-05- 02 14:26:45 $',':')">6399 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-05- 02 14:26:45 $', 'Date: '),'$','')),', ')"/>6391 <xsl:if test="contains('$Date: 2012-05-24 20:24:05 $',':')"> 6392 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-05-24 20:24:05 $', 'Date: '),'$','')),', ')"/> 6400 6393 </xsl:if> 6401 6394 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/> -
rfc2629xslt/rfc2629xslt.html
r1661 r1667 33 33 font-family: verdana, helvetica, arial, sans-serif; 34 34 font-size: 10pt; 35 margin-right: 2em; 35 36 } 36 37 cite { … … 40 41 margin-left: 2em; 41 42 } 42 dd {43 margin-right: 2em;44 }45 43 dl { 46 44 margin-left: 2em; 47 45 } 48 49 46 ul.empty { 50 47 list-style-type: none; … … 87 84 li { 88 85 margin-left: 2em; 89 margin-right: 2em;90 86 } 91 87 ol { 92 88 margin-left: 2em; 93 margin-right: 2em;94 89 } 95 90 ol.la { … … 104 99 p { 105 100 margin-left: 2em; 106 margin-right: 2em;107 101 } 108 102 pre { … … 110 104 background-color: lightyellow; 111 105 padding: .25em; 106 page-break-inside: avoid; 112 107 } 113 108 pre.text2 { … … 213 208 list-style: none; 214 209 margin-left: 1.5em; 215 margin-right: 0em;216 210 padding-left: 0em; 217 211 } … … 221 215 font-size: 10pt; 222 216 margin-left: 0em; 223 margin-right: 0em;224 217 } 225 218 ul.toc li li { … … 228 221 font-size: 9pt; 229 222 margin-left: 0em; 230 margin-right: 0em;231 223 } 232 224 li.excluded { … … 239 231 list-style: none; 240 232 margin-left: 1.5em; 241 margin-right: 0em;242 233 padding-left: 0em; 243 234 page-break-before: avoid; … … 247 238 line-height: 200%; 248 239 margin-left: 0em; 249 margin-right: 0em;250 240 } 251 241 ul.ind li li { … … 253 243 line-height: 150%; 254 244 margin-left: 0em; 255 margin-right: 0em;256 245 } 257 246 .avoidbreak { … … 383 372 } 384 373 } 385 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Transforming to ePub" href="#rfc.section.10"><link rel="Chapter" title="11 Generic Extensions" href="#rfc.section.11"><link rel="Chapter" title="12 Utilities" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C Examples" href="#rfc.section.C"><link rel="Appendix" title="D Producing the IETF 'Boilerplate'" href="#rfc.section.D"><link rel="Appendix" title="E License" href="#rfc.section.E"><link rel="Appendix" title="F Change Logs" href="#rfc.section.F"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.57 6, 2012-05-02 14:26:45, 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, epub, Dublin Core"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 through XSLT</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">March 2012</td></tr></tbody></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>1. <a href="#rfc.section.1">Introduction</a></li><li>2. <a href="#supported.elements">Supported RFC2629 elements</a><ul><li>2.1 <a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li>3. <a href="#processing.instructions">Processing Instructions</a><ul><li>3.1 <a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li>3.2 <a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li>3.3 <a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li>4. <a href="#anchors">Anchors</a></li><li>5. <a href="#xslt.engines">Supported XSLT engines</a><ul><li>5.1 <a href="#rfc.section.5.1">Standalone Engines</a></li><li>5.2 <a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li>6. <a href="#output.html">Transforming to HTML</a><ul><li>6.1 <a href="#rfc.section.6.1">HTML compliance</a></li><li>6.2 <a href="#html.link">Standard HTML LINK elements</a></li><li>6.3 <a href="#rfc.section.6.3">Standard HTML metadata</a></li><li>6.4 <a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li>6.5 <a href="#hcard">Experimental hCard support</a></li></ul></li><li>7. <a href="#output.xhtml">Transforming to XHTML</a></li><li>8. <a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li>9. <a href="#output.pdf">Transforming to PDF</a><ul><li>9.1 <a href="#output.pdf.fop">Via XSL-FO</a><ul><li>9.1.1 <a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li>9.1.2 <a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li>9.2 <a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li>10. <a href="#output.epub">Transforming to ePub</a></li><li>11. <a href="#extensions">Generic Extensions</a><ul><li>11.1 <a href="#ext.element.abnf-char-sequence"><abnf-char-sequence> element</a></li><li>11.2 <a href="#ext.element.anchor-alias"><anchor-alias> element</a></li><li>11.3 <a href="#ext.element.bcp14"><bcp14> element</a></li><li>11.4 <a href="#ext.element.bb"><bb> element</a></li><li>11.5 <a href="#ext.element.bc"><bc> element</a></li><li>11.6 <a href="#ext.element.blockquote"><blockquote> element</a></li><li>11.7 <a href="#ext.element.boilerplate"><boilerplate> element</a></li><li>11.8 <a href="#ext.element.bt"><bt> element</a></li><li>11.9 <a href="#ext.element.dfn"><dfn> element</a></li><li>11.10 <a href="#ext.element.feedback"><feedback> element</a></li><li>11.11 <a href="#ext.element.h"><h> element</a></li><li>11.12 <a href="#ext.element.highlight"><highlight> element</a></li><li>11.13 <a href="#ext.element.length-of"><length-of> element</a></li><li>11.14 <a href="#ext.element.link"><link> element</a></li><li>11.15 <a href="#ext.element.lt"><lt> element</a></li><li>11.16 <a href="#ext.element.note"><note> element</a></li><li>11.17 <a href="#ext.element.parse-xml"><parse-xml> element</a></li><li>11.18 <a href="#ext.element.prose"><prose> element</a></li><li>11.19 <a href="#ext.element.q"><q> element</a></li><li>11.20 <a href="#ext.element.ref"><ref> element</a></li><li>11.21 <a href="#ext.element.source"><source> element</a></li><li>11.22 <a href="#ext.element.sup"><sup> element</a></li><li>11.23 <a href="#ext-rfc2629.artwork">Extensions to Xml2rfc <artwork> element</a></li><li>11.24 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li>11.25 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li>11.26 <a href="#ext-rfc2629.rfc">Extensions to Xml2rfc <rfc> element</a></li><li>11.27 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li>11.28 <a href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></li></ul></li><li>12. <a href="#utilities">Utilities</a><ul><li>12.1 <a href="#checking-references">Checking References</a></li><li>12.2 <a href="#rfc.section.12.2">Generating Graphs from References</a></li><li>12.3 <a href="#rfc.section.12.3">Producing reference entries for books</a></li><li>12.4 <a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li>12.5 <a href="#extract-artwork">Extracting artwork</a></li><li>12.6 <a href="#grddl">GRRDL</a></li></ul></li><li>13. <a href="#rfc.references">Informative References</a></li><li><a href="#rfc.authors">Author's Address</a></li><li>A. <a href="#grammar">RELAX NG Compact Schema</a></li><li>B. <a href="#rfc.section.B">Implementation Notes</a><ul><li>B.1 <a href="#rfc.section.B.1">Recognized type attributes for <artwork> element</a></li></ul></li><li>C. <a href="#examples">Examples</a><ul><li>C.1 <a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li>C.2 <a href="#examples.customizing">Customization</a></li></ul></li><li>D. <a href="#boilerplate">Producing the IETF 'Boilerplate'</a><ul><li>D.1 <a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul><li>D.1.1 <a href="#attribute-ipr-current">Current Values: '*trust200902'</a><ul><li>D.1.1.1 <a href="#attribute-ipr-trust200902">trust200902</a></li><li>D.1.1.2 <a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></li><li>D.1.1.3 <a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></li><li>D.1.1.4 <a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></li></ul></li><li>D.1.2 <a href="#attribute-ipr-historic">Historic Values</a><ul><li>D.1.2.1 <a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></li><li>D.1.2.2 <a href="#attribute-ipr-3978">Historic Values: '*3978'</a></li><li>D.1.2.3 <a href="#attribute-ipr-3667">Historic Values: '*3667'</a></li><li>D.1.2.4 <a href="#attribute-ipr-2026">Historic Values: '*2026'</a></li></ul></li></ul></li><li>D.2 <a href="#attribute-category">The /rfc/@category Attribute</a></li><li>D.3 <a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></li><li>D.4 <a href="#attribute-consensus">The /rfc/@consensus Attribute</a></li><li>D.5 <a href="#attribute-number">The /rfc/@number Attribute</a></li><li>D.6 <a href="#attribute-docname">The /rfc/@docName Attribute</a></li><li>D.7 <a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></li><li>D.8 <a href="#attribute-updates">The /rfc/@updates Attribute</a></li></ul></li><li>E. <a href="#license">License</a></li><li>F. <a href="#rfc.section.F">Change Logs</a><ul><li>F.1 <a href="#rfc.section.F.1">Package</a></li><li>F.2 <a href="#rfc.section.F.2">amazon-asin.xslt</a></li><li>F.3 <a href="#rfc.section.F.3">check-references.xslt</a></li><li>F.4 <a href="#rfc.section.F.4">gen-reference-graph.xslt</a></li><li>F.5 <a href="#rfc.section.F.5">rfc2629.xslt</a></li><li>F.6 <a href="#rfc.section.F.6">rfc2629toFO.xslt</a></li><li>F.7 <a href="#rfc.section.F.7">xsl11toAn.xslt</a></li><li>F.8 <a href="#rfc.section.F.8">xsl11toFop.xslt</a></li><li>F.9 <a href="#rfc.section.F.9">xsl11toXep.xslt</a></li></ul></li><li><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section 2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section 3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section 4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section 5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section 6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section 7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section 8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section 9</a>),</li><li>outputting ePub (<a href="#output.epub" title="Transforming to ePub">Section 10</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section 11</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section 12</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at <<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>>.</p><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> <a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.36.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> Extension elements</h2><p id="rfc.section.2.1.p.1"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section 11</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p> <pre class="text"><?rfc toc="yes"?>374 </style><link rel="Contents" href="#rfc.toc"><link rel="Author" href="#rfc.authors"><link rel="Index" href="#rfc.index"><link rel="Chapter" title="1 Introduction" href="#rfc.section.1"><link rel="Chapter" title="2 Supported RFC2629 elements" href="#rfc.section.2"><link rel="Chapter" title="3 Processing Instructions" href="#rfc.section.3"><link rel="Chapter" title="4 Anchors" href="#rfc.section.4"><link rel="Chapter" title="5 Supported XSLT engines" href="#rfc.section.5"><link rel="Chapter" title="6 Transforming to HTML" href="#rfc.section.6"><link rel="Chapter" title="7 Transforming to XHTML" href="#rfc.section.7"><link rel="Chapter" title="8 Transforming to CHM (Microsoft Compiled Help)" href="#rfc.section.8"><link rel="Chapter" title="9 Transforming to PDF" href="#rfc.section.9"><link rel="Chapter" title="10 Transforming to ePub" href="#rfc.section.10"><link rel="Chapter" title="11 Generic Extensions" href="#rfc.section.11"><link rel="Chapter" title="12 Utilities" href="#rfc.section.12"><link rel="Chapter" href="#rfc.section.13" title="13 Informative References"><link rel="Appendix" title="A RELAX NG Compact Schema" href="#rfc.section.A"><link rel="Appendix" title="B Implementation Notes" href="#rfc.section.B"><link rel="Appendix" title="C Examples" href="#rfc.section.C"><link rel="Appendix" title="D Producing the IETF 'Boilerplate'" href="#rfc.section.D"><link rel="Appendix" title="E License" href="#rfc.section.E"><link rel="Appendix" title="F Change Logs" href="#rfc.section.F"><meta name="generator" content="http://greenbytes.de/tech/webdav/rfc2629.xslt, Revision 1.579, 2012-05-24 20:24:05, 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, epub, Dublin Core"><link rel="schema.dct" href="http://purl.org/dc/terms/"><meta name="dct.creator" content="Reschke, J. F."></head><body><table class="header"><tbody><tr><td class="left">RFC2629 through XSLT</td><td class="right">J. Reschke</td></tr><tr><td class="left"></td><td class="right">greenbytes</td></tr><tr><td class="left"></td><td class="right">March 2012</td></tr></tbody></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>1. <a href="#rfc.section.1">Introduction</a></li><li>2. <a href="#supported.elements">Supported RFC2629 elements</a><ul><li>2.1 <a href="#rfc.section.2.1">Extension elements</a></li></ul></li><li>3. <a href="#processing.instructions">Processing Instructions</a><ul><li>3.1 <a href="#rfc.section.3.1">Supported xml2rfc-compatible PIs</a></li><li>3.2 <a href="#rfc.section.3.2">Unsupported xml2rfc-compatible PIs</a></li><li>3.3 <a href="#rfc.section.3.3">Extension PIs</a></li></ul></li><li>4. <a href="#anchors">Anchors</a></li><li>5. <a href="#xslt.engines">Supported XSLT engines</a><ul><li>5.1 <a href="#rfc.section.5.1">Standalone Engines</a></li><li>5.2 <a href="#xslt.engines.browser">In-Browser Engines</a></li></ul></li><li>6. <a href="#output.html">Transforming to HTML</a><ul><li>6.1 <a href="#rfc.section.6.1">HTML compliance</a></li><li>6.2 <a href="#html.link">Standard HTML LINK elements</a></li><li>6.3 <a href="#rfc.section.6.3">Standard HTML metadata</a></li><li>6.4 <a href="#rfc2731.properties">Dublin Core (RFC2731) metadata</a></li><li>6.5 <a href="#hcard">Experimental hCard support</a></li></ul></li><li>7. <a href="#output.xhtml">Transforming to XHTML</a></li><li>8. <a href="#output.chm">Transforming to CHM (Microsoft Compiled Help)</a></li><li>9. <a href="#output.pdf">Transforming to PDF</a><ul><li>9.1 <a href="#output.pdf.fop">Via XSL-FO</a><ul><li>9.1.1 <a href="#rfc.section.9.1.1">Extension feature matrix</a></li><li>9.1.2 <a href="#rfc.section.9.1.2">Example: producing output for Apache FOP</a></li></ul></li><li>9.2 <a href="#output.pdf.html">Via X(HTML)</a></li></ul></li><li>10. <a href="#output.epub">Transforming to ePub</a></li><li>11. <a href="#extensions">Generic Extensions</a><ul><li>11.1 <a href="#ext.element.abnf-char-sequence"><abnf-char-sequence> element</a></li><li>11.2 <a href="#ext.element.anchor-alias"><anchor-alias> element</a></li><li>11.3 <a href="#ext.element.bcp14"><bcp14> element</a></li><li>11.4 <a href="#ext.element.bb"><bb> element</a></li><li>11.5 <a href="#ext.element.bc"><bc> element</a></li><li>11.6 <a href="#ext.element.blockquote"><blockquote> element</a></li><li>11.7 <a href="#ext.element.boilerplate"><boilerplate> element</a></li><li>11.8 <a href="#ext.element.bt"><bt> element</a></li><li>11.9 <a href="#ext.element.dfn"><dfn> element</a></li><li>11.10 <a href="#ext.element.feedback"><feedback> element</a></li><li>11.11 <a href="#ext.element.h"><h> element</a></li><li>11.12 <a href="#ext.element.highlight"><highlight> element</a></li><li>11.13 <a href="#ext.element.length-of"><length-of> element</a></li><li>11.14 <a href="#ext.element.link"><link> element</a></li><li>11.15 <a href="#ext.element.lt"><lt> element</a></li><li>11.16 <a href="#ext.element.note"><note> element</a></li><li>11.17 <a href="#ext.element.parse-xml"><parse-xml> element</a></li><li>11.18 <a href="#ext.element.prose"><prose> element</a></li><li>11.19 <a href="#ext.element.q"><q> element</a></li><li>11.20 <a href="#ext.element.ref"><ref> element</a></li><li>11.21 <a href="#ext.element.source"><source> element</a></li><li>11.22 <a href="#ext.element.sup"><sup> element</a></li><li>11.23 <a href="#ext-rfc2629.artwork">Extensions to Xml2rfc <artwork> element</a></li><li>11.24 <a href="#ext-rfc2629.iref">Extensions to Xml2rfc <iref> element</a></li><li>11.25 <a href="#ext-rfc2629.list">Extensions to Xml2rfc <list> element</a></li><li>11.26 <a href="#ext-rfc2629.rfc">Extensions to Xml2rfc <rfc> element</a></li><li>11.27 <a href="#ext-rfc2629.section">Extensions to Xml2rfc <section> element</a></li><li>11.28 <a href="#ext-rfc2629.xref">Extensions to Xml2rfc <xref> element</a></li></ul></li><li>12. <a href="#utilities">Utilities</a><ul><li>12.1 <a href="#checking-references">Checking References</a></li><li>12.2 <a href="#rfc.section.12.2">Generating Graphs from References</a></li><li>12.3 <a href="#rfc.section.12.3">Producing reference entries for books</a></li><li>12.4 <a href="#clean-for-dtd">Down-converting to RFC2629bis DTD</a></li><li>12.5 <a href="#extract-artwork">Extracting artwork</a></li><li>12.6 <a href="#grddl">GRRDL</a></li></ul></li><li>13. <a href="#rfc.references">Informative References</a></li><li><a href="#rfc.authors">Author's Address</a></li><li>A. <a href="#grammar">RELAX NG Compact Schema</a></li><li>B. <a href="#rfc.section.B">Implementation Notes</a><ul><li>B.1 <a href="#rfc.section.B.1">Recognized type attributes for <artwork> element</a></li></ul></li><li>C. <a href="#examples">Examples</a><ul><li>C.1 <a href="#examples.internalsubset">Using the 'Internal Subset'</a></li><li>C.2 <a href="#examples.customizing">Customization</a></li></ul></li><li>D. <a href="#boilerplate">Producing the IETF 'Boilerplate'</a><ul><li>D.1 <a href="#attribute-ipr">The /rfc/@ipr Attribute</a><ul><li>D.1.1 <a href="#attribute-ipr-current">Current Values: '*trust200902'</a><ul><li>D.1.1.1 <a href="#attribute-ipr-trust200902">trust200902</a></li><li>D.1.1.2 <a href="#attribute-ipr-noModificationTrust200902">noModificationTrust200902</a></li><li>D.1.1.3 <a href="#attribute-ipr-noDerivativesTrust200902">noDerivativesTrust200902</a></li><li>D.1.1.4 <a href="#attribute-ipr-pre5378Trust200902">pre5378Trust200902</a></li></ul></li><li>D.1.2 <a href="#attribute-ipr-historic">Historic Values</a><ul><li>D.1.2.1 <a href="#attribute-ipr-200811">Historic Values: '*trust200811'</a></li><li>D.1.2.2 <a href="#attribute-ipr-3978">Historic Values: '*3978'</a></li><li>D.1.2.3 <a href="#attribute-ipr-3667">Historic Values: '*3667'</a></li><li>D.1.2.4 <a href="#attribute-ipr-2026">Historic Values: '*2026'</a></li></ul></li></ul></li><li>D.2 <a href="#attribute-category">The /rfc/@category Attribute</a></li><li>D.3 <a href="#attribute-submissiontype">The /rfc/@submissionType Attribute</a></li><li>D.4 <a href="#attribute-consensus">The /rfc/@consensus Attribute</a></li><li>D.5 <a href="#attribute-number">The /rfc/@number Attribute</a></li><li>D.6 <a href="#attribute-docname">The /rfc/@docName Attribute</a></li><li>D.7 <a href="#attribute-obsoletes">The /rfc/@obsoletes Attribute</a></li><li>D.8 <a href="#attribute-updates">The /rfc/@updates Attribute</a></li></ul></li><li>E. <a href="#license">License</a></li><li>F. <a href="#rfc.section.F">Change Logs</a><ul><li>F.1 <a href="#rfc.section.F.1">Package</a></li><li>F.2 <a href="#rfc.section.F.2">amazon-asin.xslt</a></li><li>F.3 <a href="#rfc.section.F.3">check-references.xslt</a></li><li>F.4 <a href="#rfc.section.F.4">gen-reference-graph.xslt</a></li><li>F.5 <a href="#rfc.section.F.5">rfc2629.xslt</a></li><li>F.6 <a href="#rfc.section.F.6">rfc2629toFO.xslt</a></li><li>F.7 <a href="#rfc.section.F.7">xsl11toAn.xslt</a></li><li>F.8 <a href="#rfc.section.F.8">xsl11toFop.xslt</a></li><li>F.9 <a href="#rfc.section.F.9">xsl11toXep.xslt</a></li></ul></li><li><a href="#rfc.index">Index</a></li></ul><hr class="noprint"><h1 id="rfc.section.1" class="np"><a href="#rfc.section.1">1.</a> Introduction</h1><p id="rfc.section.1.p.1">This document describes a set of XSLT transformations that can be used to transform RFC2629-compliant XML (see <a href="#RFC2629" id="rfc.xref.RFC2629.1"><cite title="Writing I-Ds and RFCs using XML">[RFC2629]</cite></a>) to various output formats, such as HTML and PDF. The main topics are </p><ul><li>compliance to the xml2rfc XML element set (<a href="#supported.elements" title="Supported RFC2629 elements">Section 2</a>),</li><li>support for xml2rfc processing instructions (<a href="#processing.instructions" title="Processing Instructions">Section 3</a>),</li><li>the names of anchor elements generated in HTML and PDF output (<a href="#anchors" title="Anchors">Section 4</a>),</li><li>various XSLT engines that can be used (<a href="#xslt.engines" title="Supported XSLT engines">Section 5</a>),</li><li>outputting HTML (<a href="#output.html" title="Transforming to HTML">Section 6</a>) and XHTML (<a href="#output.xhtml" title="Transforming to XHTML">Section 7</a>),</li><li>outputting CHM (Compiled Microsoft Help, <a href="#output.chm" title="Transforming to CHM (Microsoft Compiled Help)">Section 8</a>),</li><li>outputting PDF (<a href="#output.pdf" title="Transforming to PDF">Section 9</a>),</li><li>outputting ePub (<a href="#output.epub" title="Transforming to ePub">Section 10</a>),</li><li>extensions to the xml2rfc vocabulary (<a href="#extensions" title="Generic Extensions">Section 11</a>).</li><li>various utilities (<a href="#utilities" title="Utilities">Section 12</a>).</li></ul><p id="rfc.section.1.p.2">The full distribution is available at <<a href="http://greenbytes.de/tech/webdav/rfc2629xslt.zip">http://greenbytes.de/tech/webdav/rfc2629xslt.zip</a>>.</p><hr class="noprint"><h1 id="rfc.section.2" class="np"><a href="#rfc.section.2">2.</a> <a id="supported.elements" href="#supported.elements">Supported RFC2629 elements</a></h1><p id="rfc.section.2.p.1"> <samp>rfc2629.xslt</samp> supports both all RFC2629 grammar elements and the extensions implemented in xml2rfc 1.36.</p><h2 id="rfc.section.2.1"><a href="#rfc.section.2.1">2.1</a> Extension elements</h2><p id="rfc.section.2.1.p.1"> <samp>rfc2629.xslt</samp> supports two kind of extension elements, using different XML namespaces.</p><p id="rfc.section.2.1.p.2">The first set contains (hopefully) generally useful extensions, see <a href="#extensions" title="Generic Extensions">Section 11</a>.</p><p id="rfc.section.2.1.p.3">The second set is used for change and issue tracking and currently is not documented here. Please email the author in case you're interested in using these extensions.</p><hr class="noprint"><h1 id="rfc.section.3" class="np"><a href="#rfc.section.3">3.</a> <a id="processing.instructions" href="#processing.instructions">Processing Instructions</a></h1><p id="rfc.section.3.p.1">All PIs can be set as XSLT parameter as well, overriding any value that is found in the source file to be transformed.</p><div id="rfc.figure.u.1"></div> <p>Using processing instructions:</p> <pre class="text"><?rfc toc="yes"?> 386 375 <?rfc-ext support-rfc2731="no"?> 387 376 </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 \ -
rfc2629xslt/rfc2629xslt.txt
r1661 r1667 13 13 Table of Contents 14 14 15 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . ancho16 2. Supported RFC2629 elements . . . . . . . . . . . . . . . . suppo17 2.1. Extension elements . . . . . . . . . . . . . . . . . . ancho18 3. Processing Instructions . . . . . . . . . . . . . . . . . . proce19 3.1. Supported xml2rfc-compatible PIs . . . . . . . . . . . ancho20 3.2. Unsupported xml2rfc-compatible PIs . . . . . . . . . . ancho21 3.3. Extension PIs . . . . . . . . . . . . . . . . . . . . ancho22 4. Anchors . . . . . . . . . . . . . . . . . . . . . . . . . . ancho23 5. Supported XSLT engines . . . . . . . . . . . . . . . . . . xslt.24 5.1. Standalone Engines . . . . . . . . . . . . . . . . . . ancho25 5.2. In-Browser Engines . . . . . . . . . . . . . . . . . . xslt.26 6. Transforming to HTML . . . . . . . . . . . . . . . . . . . outpu27 6.1. HTML compliance . . . . . . . . . . . . . . . . . . . ancho28 6.2. Standard HTML LINK elements . . . . . . . . . . . . . html.29 6.3. Standard HTML metadata . . . . . . . . . . . . . . . . ancho30 6.4. Dublin Core (RFC2731) metadata . . . . . . . . . . . . rfc2731 6.5. Experimental hCard support . . . . . . . . . . . . . . hcard32 7. Transforming to XHTML . . . . . . . . . . . . . . . . . . . outpu33 8. Transforming to CHM (Microsoft Compiled Help) . . . . . . . outpu34 9. Transforming to PDF . . . . . . . . . . . . . . . . . . . . outpu35 9.1. Via XSL-FO . . . . . . . . . . . . . . . . . . . . . . outpu36 9.1.1. Extension feature matrix . . . . . . . . . . . . . ancho37 9.1.2. Example: producing output for Apache FOP . . . . . ancho38 9.2. Via X(HTML) . . . . . . . . . . . . . . . . . . . . . outpu39 10. Transforming to ePub . . . . . . . . . . . . . . . . . . . outpu40 11. Generic Extensions . . . . . . . . . . . . . . . . . . . . exten41 11.1. <abnf-char-sequence> element . . . . . . . . . . . . . ext.e42 11.2. <anchor-alias> element . . . . . . . . . . . . . . . . ext.e43 11.3. <bcp14> element . . . . . . . . . . . . . . . . . . . ext.e44 11.4. <bb> element . . . . . . . . . . . . . . . . . . . . . ext.e45 11.5. <bc> element . . . . . . . . . . . . . . . . . . . . . ext.e46 11.6. <blockquote> element . . . . . . . . . . . . . . . . . ext.e47 11.7. <boilerplate> element . . . . . . . . . . . . . . . . ext.e48 11.8. <bt> element . . . . . . . . . . . . . . . . . . . . . ext.e49 11.9. <dfn> element . . . . . . . . . . . . . . . . . . . . ext.e50 11.10. <feedback> element . . . . . . . . . . . . . . . . . . ext.e51 11.11. <h> element . . . . . . . . . . . . . . . . . . . . . ext.e15 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 4 16 2. Supported RFC2629 elements . . . . . . . . . . . . . . . . . . 5 17 2.1. Extension elements . . . . . . . . . . . . . . . . . . . 5 18 3. Processing Instructions . . . . . . . . . . . . . . . . . . . 6 19 3.1. Supported xml2rfc-compatible PIs . . . . . . . . . . . . 7 20 3.2. Unsupported xml2rfc-compatible PIs . . . . . . . . . . . 8 21 3.3. Extension PIs . . . . . . . . . . . . . . . . . . . . . . 9 22 4. Anchors . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 23 5. Supported XSLT engines . . . . . . . . . . . . . . . . . . . . 15 24 5.1. Standalone Engines . . . . . . . . . . . . . . . . . . . 15 25 5.2. In-Browser Engines . . . . . . . . . . . . . . . . . . . 15 26 6. Transforming to HTML . . . . . . . . . . . . . . . . . . . . . 17 27 6.1. HTML compliance . . . . . . . . . . . . . . . . . . . . . 17 28 6.2. Standard HTML LINK elements . . . . . . . . . . . . . . . 17 29 6.3. Standard HTML metadata . . . . . . . . . . . . . . . . . 18 30 6.4. Dublin Core (RFC2731) metadata . . . . . . . . . . . . . 18 31 6.5. Experimental hCard support . . . . . . . . . . . . . . . 18 32 7. Transforming to XHTML . . . . . . . . . . . . . . . . . . . . 19 33 8. Transforming to CHM (Microsoft Compiled Help) . . . . . . . . 20 34 9. Transforming to PDF . . . . . . . . . . . . . . . . . . . . . 21 35 9.1. Via XSL-FO . . . . . . . . . . . . . . . . . . . . . . . 21 36 9.1.1. Extension feature matrix . . . . . . . . . . . . . . . 21 37 9.1.2. Example: producing output for Apache FOP . . . . . . . 22 38 9.2. Via X(HTML) . . . . . . . . . . . . . . . . . . . . . . . 22 39 10. Transforming to ePub . . . . . . . . . . . . . . . . . . . . . 23 40 11. Generic Extensions . . . . . . . . . . . . . . . . . . . . . . 24 41 11.1. <abnf-char-sequence> element . . . . . . . . . . . . . . 24 42 11.2. <anchor-alias> element . . . . . . . . . . . . . . . . . 24 43 11.3. <bcp14> element . . . . . . . . . . . . . . . . . . . . . 24 44 11.4. <bb> element . . . . . . . . . . . . . . . . . . . . . . 25 45 11.5. <bc> element . . . . . . . . . . . . . . . . . . . . . . 25 46 11.6. <blockquote> element . . . . . . . . . . . . . . . . . . 25 47 11.7. <boilerplate> element . . . . . . . . . . . . . . . . . . 25 48 11.8. <bt> element . . . . . . . . . . . . . . . . . . . . . . 26 49 11.9. <dfn> element . . . . . . . . . . . . . . . . . . . . . . 26 50 11.10. <feedback> element . . . . . . . . . . . . . . . . . . . 26 51 11.11. <h> element . . . . . . . . . . . . . . . . . . . . . . . 26 52 52 53 53 … … 59 59 60 60 61 11.12. <highlight> element . . . . . . . . . . . . . . . . . ext.e62 11.13. <length-of> element . . . . . . . . . . . . . . . . . ext.e63 11.14. <link> element . . . . . . . . . . . . . . . . . . . . ext.e64 11.15. <lt> element . . . . . . . . . . . . . . . . . . . . . ext.e65 11.16. <note> element . . . . . . . . . . . . . . . . . . . . ext.e66 11.17. <parse-xml> element . . . . . . . . . . . . . . . . . ext.e67 11.18. <prose> element . . . . . . . . . . . . . . . . . . . ext.e68 11.19. <q> element . . . . . . . . . . . . . . . . . . . . . ext.e69 11.20. <ref> element . . . . . . . . . . . . . . . . . . . . ext.e70 11.21. <source> element . . . . . . . . . . . . . . . . . . . ext.e71 11.22. <sup> element . . . . . . . . . . . . . . . . . . . . ext.e72 11.23. Extensions to Xml2rfc <artwork> element . . . . . . . ext-r73 11.24. Extensions to Xml2rfc <iref> element . . . . . . . . . ext-r74 11.25. Extensions to Xml2rfc <list> element . . . . . . . . . ext-r75 11.26. Extensions to Xml2rfc <rfc> element . . . . . . . . . ext-r76 11.27. Extensions to Xml2rfc <section> element . . . . . . . ext-r77 11.28. Extensions to Xml2rfc <xref> element . . . . . . . . . ext-r78 12. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . utili79 12.1. Checking References . . . . . . . . . . . . . . . . . check80 12.2. Generating Graphs from References . . . . . . . . . . ancho81 12.3. Producing reference entries for books . . . . . . . . ancho82 12.4. Down-converting to RFC2629bis DTD . . . . . . . . . . clean83 12.5. Extracting artwork . . . . . . . . . . . . . . . . . . extra84 12.6. GRRDL . . . . . . . . . . . . . . . . . . . . . . . . grddl85 13. Informative References . . . . . . . . . . . . . . . . . . ancho86 Appendix A. RELAX NG Compact Schema . . . . . . . . . . . . . gramm87 Appendix B. Implementation Notes . . . . . . . . . . . . . . . ancho88 B.1. Recognized type attributes for <artwork> element . . . ancho89 Appendix C. Examples . . . . . . . . . . . . . . . . . . . . . examp90 C.1. Using the 'Internal Subset' . . . . . . . . . . . . . examp91 C.2. Customization . . . . . . . . . . . . . . . . . . . . examp92 Appendix D. Producing the IETF 'Boilerplate' . . . . . . . . . boile93 D.1. The /rfc/@ipr Attribute . . . . . . . . . . . . . . . attri94 D.1.1. Current Values: '*trust200902' . . . . . . . . . . attri95 D.1.2. Historic Values . . . . . . . . . . . . . . . . . . attri96 D.2. The /rfc/@category Attribute . . . . . . . . . . . . . attri97 D.3. The /rfc/@submissionType Attribute . . . . . . . . . . attri98 D.4. The /rfc/@consensus Attribute . . . . . . . . . . . . attri99 D.5. The /rfc/@number Attribute . . . . . . . . . . . . . . attri100 D.6. The /rfc/@docName Attribute . . . . . . . . . . . . . attri101 D.7. The /rfc/@obsoletes Attribute . . . . . . . . . . . . attri102 D.8. The /rfc/@updates Attribute . . . . . . . . . . . . . attri103 Appendix E. License . . . . . . . . . . . . . . . . . . . . . licen104 Appendix F. Change Logs . . . . . . . . . . . . . . . . . . . ancho105 F.1. Package . . . . . . . . . . . . . . . . . . . . . . . ancho106 F.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . ancho107 F.3. check-references.xslt . . . . . . . . . . . . . . . . ancho108 F.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . ancho61 11.12. <highlight> element . . . . . . . . . . . . . . . . . . . 26 62 11.13. <length-of> element . . . . . . . . . . . . . . . . . . . 26 63 11.14. <link> element . . . . . . . . . . . . . . . . . . . . . 27 64 11.15. <lt> element . . . . . . . . . . . . . . . . . . . . . . 27 65 11.16. <note> element . . . . . . . . . . . . . . . . . . . . . 27 66 11.17. <parse-xml> element . . . . . . . . . . . . . . . . . . . 27 67 11.18. <prose> element . . . . . . . . . . . . . . . . . . . . . 28 68 11.19. <q> element . . . . . . . . . . . . . . . . . . . . . . . 28 69 11.20. <ref> element . . . . . . . . . . . . . . . . . . . . . . 28 70 11.21. <source> element . . . . . . . . . . . . . . . . . . . . 28 71 11.22. <sup> element . . . . . . . . . . . . . . . . . . . . . . 29 72 11.23. Extensions to Xml2rfc <artwork> element . . . . . . . . . 29 73 11.24. Extensions to Xml2rfc <iref> element . . . . . . . . . . 29 74 11.25. Extensions to Xml2rfc <list> element . . . . . . . . . . 29 75 11.26. Extensions to Xml2rfc <rfc> element . . . . . . . . . . . 30 76 11.27. Extensions to Xml2rfc <section> element . . . . . . . . . 30 77 11.28. Extensions to Xml2rfc <xref> element . . . . . . . . . . 30 78 12. Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 32 79 12.1. Checking References . . . . . . . . . . . . . . . . . . . 32 80 12.2. Generating Graphs from References . . . . . . . . . . . . 34 81 12.3. Producing reference entries for books . . . . . . . . . . 34 82 12.4. Down-converting to RFC2629bis DTD . . . . . . . . . . . . 35 83 12.5. Extracting artwork . . . . . . . . . . . . . . . . . . . 36 84 12.6. GRRDL . . . . . . . . . . . . . . . . . . . . . . . . . . 36 85 13. Informative References . . . . . . . . . . . . . . . . . . . . 37 86 Appendix A. RELAX NG Compact Schema . . . . . . . . . . . . . . . 39 87 Appendix B. Implementation Notes . . . . . . . . . . . . . . . . 49 88 B.1. Recognized type attributes for <artwork> element . . . . 49 89 Appendix C. Examples . . . . . . . . . . . . . . . . . . . . . . 50 90 C.1. Using the 'Internal Subset' . . . . . . . . . . . . . . . 50 91 C.2. Customization . . . . . . . . . . . . . . . . . . . . . . 50 92 Appendix D. Producing the IETF 'Boilerplate' . . . . . . . . . . 52 93 D.1. The /rfc/@ipr Attribute . . . . . . . . . . . . . . . . . 52 94 D.1.1. Current Values: '*trust200902' . . . . . . . . . . . . 53 95 D.1.2. Historic Values . . . . . . . . . . . . . . . . . . . 54 96 D.2. The /rfc/@category Attribute . . . . . . . . . . . . . . 55 97 D.3. The /rfc/@submissionType Attribute . . . . . . . . . . . 55 98 D.4. The /rfc/@consensus Attribute . . . . . . . . . . . . . . 56 99 D.5. The /rfc/@number Attribute . . . . . . . . . . . . . . . 56 100 D.6. The /rfc/@docName Attribute . . . . . . . . . . . . . . . 57 101 D.7. The /rfc/@obsoletes Attribute . . . . . . . . . . . . . . 57 102 D.8. The /rfc/@updates Attribute . . . . . . . . . . . . . . . 57 103 Appendix E. License . . . . . . . . . . . . . . . . . . . . . . . 58 104 Appendix F. Change Logs . . . . . . . . . . . . . . . . . . . . . 59 105 F.1. Package . . . . . . . . . . . . . . . . . . . . . . . . . 59 106 F.2. amazon-asin.xslt . . . . . . . . . . . . . . . . . . . . 60 107 F.3. check-references.xslt . . . . . . . . . . . . . . . . . . 60 108 F.4. gen-reference-graph.xslt . . . . . . . . . . . . . . . . 61 109 109 110 110 … … 116 116 117 117 118 F.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . ancho119 F.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . ancho120 F.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . ancho121 F.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . ancho122 F.9. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . ancho123 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0124 Author's Address . . . . . . . . . . . . . . . . . . . . . . . 0118 F.5. rfc2629.xslt . . . . . . . . . . . . . . . . . . . . . . 61 119 F.6. rfc2629toFO.xslt . . . . . . . . . . . . . . . . . . . . 72 120 F.7. xsl11toAn.xslt . . . . . . . . . . . . . . . . . . . . . 74 121 F.8. xsl11toFop.xslt . . . . . . . . . . . . . . . . . . . . . 74 122 F.9. xsl11toXep.xslt . . . . . . . . . . . . . . . . . . . . . 74 123 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 124 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 83 125 125 126 126 … … 1446 1446 1447 1447 <x:feedback template="mailto:ietf-http-wg@w3.org?subject={docname},%20%22{section}%22&body=<{ref}>:"/> 1448 1449 where "docname" is substituted by the document name, "section" is 1450 substituted by section title (number and name), and "ref" is 1451 substituted by a URI pointing to the section being referenced. 1452 1453 11.11. <h> element 1454 1455 This element is like the "h" element in [XHTML2]. 1456 1457 11.12. <highlight> element 1458 1459 Used to highlight text passages, currently only allowed in <artwork>. 1460 1461 Note: this is stripped when generating input for xml2rfc, so please 1462 use with care. 1463 1464 11.13. <length-of> element 1465 1466 This element can be used to insert the length of another formatted 1467 section (in decimal). 1468 1469 Example: computing the Content-Length header value 1470 1471 <artwork> 1472 ... 1473 Content-Length: <x:length-of target="req"/> 1474 1475 <x:span anchor="req">123456789 1476 <x:span><artwork/> 1477 1478 1479 1480 Reschke [Page 26] 1481 1482 1483 Documentation RFC2629 through XSLT March 2012 1484 1485 1486 The lenght computation counts line ends as two characters (CRLF). 1487 1488 Note that indentation characters in artwork _will_ be counted. The 1489 "indented" attribute allows to specify the amount of indentation to 1490 be substracted from the computed length. 1491 1492 11.14. <link> element 1493 1494 This element can be added as a top-level child element below <rfc> to 1495 indicate additional link information. It's currently used only when 1496 generating HTML output, in which case an HTML <link> element with 1497 identical attributes gets generated. 1498 1499 Example: generating HTML link element 1500 1501 <x:link xmlns="http://purl.org/net/xml2rfc/ext" 1502 rel="Bookmark" 1503 title="IETF WEBDAV Working Group" 1504 href="http://ftp.ics.uci.edu/pub/ietf/webdav/"/> 1505 1506 If the attribute "basename" is present, it is used to compute the 1507 target href based on the output format being generated (this is handy 1508 for "next"/"prev" links in a series of documents. In this case, the 1509 href attribute is not required. 1510 1511 For instance: 1512 1513 <x:link xmlns="http://purl.org/net/xml2rfc/ext" 1514 rel="next" 1515 title="Part2" 1516 basename="draft-foobar-protocol-p2-latest"/> 1517 1518 11.15. <lt> element 1519 1520 Used for grouping multiple <t> elements into a single list item. 1521 1522 11.16. <note> element 1523 1524 Can be used to add a note, usually indented by a few characters. It 1525 should contain one or more <t> child elements. 1526 1527 11.17. <parse-xml> element 1528 1529 This element instructs the processor to parse the contents as XML and 1530 to warn when there's a problem (requires either MSXML or Saxon8 or 1531 newer). 1532 1533 1534 1535 1536 1537 Reschke [Page 27] 1538 1539 1540 Documentation RFC2629 through XSLT March 2012 1541 1542 1543 11.18. <prose> element 1544 1545 This element can be used inside <reference> to add plain text (before 1546 the date, when present). 1547 1548 11.19. <q> element 1549 1550 This element is like the "q" element in [HTML]. 1551 1552 11.20. <ref> element 1553 1554 This element is a simplified variant of the <xref> element, in that 1555 no "target" attribute needs to be specified, instead the text 1556 contents acts as identifier. That in itself wouldn't be terribly 1557 useful, but together with the <anchor-alias>, it allows referring to 1558 other parts of the document with minimal additional markup. 1559 1560 For instance, given an alias definition such as 1561 1562 <section title="Test" anchor="test"> 1563 <x:anchor-alias value="alias1"/> 1564 <x:anchor-alias value="alias 2"/> 1565 ... 1566 </section> 1567 1568 the following simple references 1569 1570 <x:ref>test</x:ref> 1571 <x:ref>alias1</x:ref> 1572 <x:ref>alias 2</x:ref> 1573 1574 are equivalent to...: 1575 1576 <xref target="test">test</xref> 1577 <xref target="test">alias1</xref> 1578 <xref target="test">alias 2</xref> 1579 1580 11.21. <source> element 1581 1582 Can be used to enhance a <reference> with information about the 1583 location for the XML source. This can be used by the <xref> 1584 processing code to automatically extract the target section number. 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 Reschke [Page 28] 1595 1596 1597 Documentation RFC2629 through XSLT March 2012 1598 1599 1600 For example: 1601 1602 ... 1603 <xref target="RFC2616" x:fmt="of" x:rel="#PUT" /> 1604 ... 1605 1606 <reference target="RFC2616"/> 1607 ... 1608 <x:source href="rfc2616.xml"/> 1609 ... 1610 1611 11.22. <sup> element 1612 1613 This element is like the "sup" element in [HTML]. 1614 1615 Note: the down conversion to RFC2629 format replaces "x^y" by "x^y". 1616 1617 11.23. Extensions to Xml2rfc <artwork> element 1618 1619 Sometimes, artwork occurs inside lists. To get it indent properly in 1620 xml2rfc's text output, it needs to be indented in the source. This 1621 is sub-optimal, as this whitespace will also appear in the HTML 1622 output, where it's already indented due to HTML's semantics. 1623 1624 As a workaround, a "x:indent-with" attribute can be specified, 1625 containing a string that will be prepended to each line when 1626 "clean-for-DTD.xslt" is run (see Section 12.4). 1627 1628 11.24. Extensions to Xml2rfc <iref> element 1629 1630 The extension attribute below is allowed on the standard <iref> 1631 element: 1632 1633 o x:for-anchor specifies that the <iref> will also be automatically 1634 inserted whenever the specified anchor is cross-referenced -- this 1635 may save entering lots of <iref> instances. As a special case, a 1636 value of "" (empty string) refers to the anchor attribute of the 1637 closest ancestor. 1638 1639 11.25. Extensions to Xml2rfc <list> element 1640 1641 The extension attribute below is allowed on the standard <list> 1642 element: 1643 1644 o x:indent specifies the amount of indentation for list items in 1645 hanging lists. This can be useful when the output format, such as 1646 XSL-FO, does not support automatical formatting. The value takes 1647 an XSL-FO width, such as "5em". The default is _length of longest 1648 1649 1650 1651 Reschke [Page 29] 1652 1653 1654 Documentation RFC2629 through XSLT March 2012 1655 1656 1657 label in characters_ times _0.8em_. 1658 1659 Also, the <list> element can take <x:lt> child elements instead of 1660 <t>, allowing to insert multiple paragraphs into a single list item. 1661 1662 11.26. Extensions to Xml2rfc <rfc> element 1663 1664 The extension attributes below are allowed on the standard <rfc> 1665 element: 1666 1667 o grddl:transformation can be used to reference a GRDDL transform. 1668 1669 o x:maturity-level can be used to specify the IETF Standards Track 1670 Maturity Level of "proposed", "draft" or "internet" (see Section 1671 4.1 of [RFC2026]). 1672 1673 11.27. Extensions to Xml2rfc <section> element 1674 1675 The extension attribute below is allowed on the standard <list> 1676 element: 1677 1678 o x:fixed-section-number can be used to specify a fixed section 1679 number. This can be useful when formatting historic documents 1680 that used a different numbering style. 1681 1682 11.28. Extensions to Xml2rfc <xref> element 1683 1684 Three extension attributes are allowed on the standard <xref> 1685 element: 1686 1687 1. x:sec can be specified to point to a specific section of the 1688 referenced document, 1689 1690 2. x:rel may specify a relative reference to use when linking into 1691 the referenced document (if linking by section number is not 1692 available), 1693 1694 3. x:fmt defines the text format to be used. 1695 1696 The following formats are defined for the x:fmt attribute: 1697 1698 , (Comma) [_reference_], Section _sec_ 1699 1700 () [_reference_] (Section _sec_) 1701 1702 1703 1704 1705 1706 1707 1708 Reschke [Page 30] 1709 1710 1711 Documentation RFC2629 through XSLT March 2012 1712 1713 1714 anchor Like the default format, but without brackets. 1715 1716 of Section _sec_ of [_reference_] 1717 1718 number _sec_ 1719 1720 none No output (can be used to have xrefs to references without 1721 having them rendered as such) 1722 1723 sec Section _sec_ 1724 1725 These extensions are currently only supported for <xref> elements 1726 without child nodes. 1727 1728 If the processor knows how to reference the target section, it will 1729 generate a link directly to the target section, such as in [RFC2119], 1730 Section 5. 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 Reschke [Page 31] 1766 1767 1768 Documentation RFC2629 through XSLT March 2012 1769 1770 1771 12. Utilities 1772 1773 12.1. Checking References 1774 1775 "check-references.xslt" can be used to check all references to RFC- 1776 and ID-series IETF publications and to W3C publications (note this 1777 script requires local copies of 1778 <ftp://ftp.isi.edu/in-notes/rfc-index.xml> and 1779 <http://www.w3.org/2002/01/tr-automation/tr.rdf> and will use the XML 1780 status information provided at <http://tools.ietf.org/>). 1781 1782 If the document is supposed to be published on the IETF standards 1783 track, the desired level can be specified using the parameter 1784 "intended-level" as 'proposed', 'draft' or 'internet'. 1785 Alternatively, it can be specified inside the document using the 1786 attribute x:maturity-level on the <rfc> element (see Section 11.26). 1787 1788 Note: Downward references should be annotated using the <annotate> 1789 element, containing an <xref> to [BCP97]. 1790 1791 When an XSLT 2.0 processor is used, links in the document can be 1792 checked as well using the "link-check" paramerer ('yes' or 'no'). 1793 Note that this only works for http links to documents of type text/*. 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 Reschke [Page 32] 1823 1824 1825 Documentation RFC2629 through XSLT March 2012 1826 1827 1828 For instance, as of 2008-07-12, the script produces for 1829 <http://greenbytes.de/tech/webdav/rfc2518.xml>: 1830 1831 > saxon rfc2518.xml check-references.xslt intended-status=PROPOSED \ 1832 link-check=yes 1833 1834 Normative References: 1835 ISO-11578: not checked 1836 ISO-639: not checked 1837 ISO-8601: not checked 1838 REC-xml-19980210: [FirstEdition] obsoleted by REC-xml-20001006 1839 REC-xml-names-19990114: [FirstEdition] obsoleted by 1840 REC-xml-names-20060816 1841 RFC1766: [PROPOSED STANDARD] obsoleted by RFC3066 RFC3282 1842 RFC2068: [PROPOSED STANDARD] obsoleted by RFC2616 1843 RFC2069: [PROPOSED STANDARD] obsoleted by RFC2617 1844 RFC2119: [BEST CURRENT PRACTICE] (-> BCP0014) ok 1845 RFC2141: [PROPOSED STANDARD] ok 1846 RFC2277: [BEST CURRENT PRACTICE] (-> BCP0018) ok 1847 RFC2396: [DRAFT STANDARD] obsoleted by RFC3986 1848 RFC2279: [DRAFT STANDARD] obsoleted by RFC3629 1849 1850 Informational References: 1851 REC-PICS-labels-961031: [REC] ok 1852 RFC1807: [INFORMATIONAL] ok 1853 RFC2026: [BEST CURRENT PRACTICE] (-> BCP0009) ok 1854 RFC2291: [INFORMATIONAL] ok 1855 RFC2376: [INFORMATIONAL] obsoleted by RFC3023 1856 RFC2413: [INFORMATIONAL] obsoleted by RFC5013 1857 USMARC: not checked 1858 WF: not checked 1859 1860 Link Targets 1861 <http://www.w3.org/TR/1998/REC-xml-19980210>: ok 1862 <http://www.w3.org/TR/1999/REC-xml-names-19990114>: ok 1863 <http://www.dlib.org/dlib/july96/lagoze/07lagoze.html>: ok 1864 <http://www.w3.org/pub/WWW/TR/REC-PICS-labels-961031.html>: ok 1865 1866 Recognized formats in the <seriesInfo> element are: 1867 1868 o for RFCs, the name attribute must be "RFC", and the value 1869 attribute must be the number of the RFC, 1870 1871 o for Internet Drafs, the name attribute must be "ID" or "Internet- 1872 Draft", and the value attribute must be the file name of the draft 1873 (including the two-digit running number, but excluding a file 1874 extension), 1875 1876 1877 1878 1879 Reschke [Page 33] 1880 1881 1882 Documentation RFC2629 through XSLT March 2012 1883 1884 1885 o for W3C documents, the name attribute must be "W3C", must start 1886 with "W3C ", or must start with "World Wide Web Consortium ", and 1887 the value attribute must be the "shorthand" name of the 1888 specification, such as "REC-xml-19980210". 1889 1890 Note: this stylesheet will need network access to check links and 1891 status of Internet Drafts. When running a Java-based XSLT engine, 1892 you may have to supply Java system properties specifying the HTTP 1893 proxy to be used, such as "-Dhttp.proxyHost=hostname 1894 -Dhttp.proxyPort=80". 1895 1896 12.2. Generating Graphs from References 1897 1898 "gen-reference-graph.xslt" generates a graph of RFC dependencies, 1899 using the same base data as in "check-references.xslt" (see 1900 Section 12.1). Its output is a "dot" file, to be processed by 1901 GraphViz (see <http://www.graphviz.org/>). 1902 1903 The picture below shows the RFC dependencies in RFC2629. 1904 1905 1906 12.3. Producing reference entries for books 1907 1908 "amazon-asin.xslt" uses the Amazon web services to generate a 1909 <reference> element for a given ASIN (ISBN). 1910 1911 For instance: 1912 1913 <?xml version="1.0" encoding="utf-8"?> 1914 <references> 1915 <reference target="urn:isbn:0134516591"> 1916 <front> 1917 <title>Simple Book, The: An Introduction to Internet Management, 1918 Revised Second Edition</title> 1919 <author surname="Rose" 1920 fullname="Marshall T. Rose" initials="M. T. "> 1921 <organization/> 1922 </author> 1923 <author surname="Marshall" 1924 fullname="Rose T. Marshall" initials="R. T."> 1925 <organization/> 1926 </author> 1927 <date year="1996" month="March"/> 1928 </front> 1929 <seriesInfo name="Prentice Hall" value=""/> 1930 </reference> 1931 </references> 1932 1933 1934 1935 1936 Reschke [Page 34] 1937 1938 1939 Documentation RFC2629 through XSLT March 2012 1940 1941 1942 Note that the resulting XML usually requires checking, in this case 1943 Amazon's database is playing tricks with Marshall's name... 1944 1945 12.4. Down-converting to RFC2629bis DTD 1946 1947 "clean-for-DTD.xslt" can be used to down-convert some extensions to a 1948 format that is supported by the base xml2rfc distribution. Note that 1949 these extensions are experimental (feedback appreciated). 1950 1951 The following mappings are done: 1952 1953 o <iref> elements inside <artwork> elements are moved in front of 1954 the enclosing <figure> element. 1955 1956 o <xref> elements inside <artwork> are expanded just like in regular 1957 text (that is, the markup is stripped, but the element is replaced 1958 by the applicable replacement text). 1959 1960 o <x:anchor-alias> elements get stripped. 1961 1962 o <x:bcp14> elements get stripped. 1963 1964 o <x:bb>, <x:bc> and <x:bt> elements get stripped. 1965 1966 o <x:blockquote> elements get converted to indented text (through a 1967 <list> element). 1968 1969 o <x:dfn> elements get stripped. 1970 1971 o <x:h> elements get stripped. 1972 1973 o <x:link> elements get stripped. 1974 1975 o <x:lt> elements get collapsed into a single <lt> element with 1976 added <vspace> added to simulate paragraph breaks. 1977 1978 o <x:note> elements get converted to indented text (through a <list> 1979 element). 1980 1981 o <x:q> elements get stripped, with apostrophes added around the 1982 text. 1983 1984 o <x:prose> elements are transformed into <seriesInfo> elements 1985 (which is an abuse of the element and only a workaround until 1986 xml2rfc gets a matching extension). 1987 1988 o <x:ref> elements get replaced by <xref> elements, targetting 1989 either the anchor or another anchor with matching <x:anchor-alias> 1990 1991 1992 1993 Reschke [Page 35] 1994 1995 1996 Documentation RFC2629 through XSLT March 2012 1997 1998 1999 child element. 2000 2001 12.5. Extracting artwork 2002 2003 With "extract-artwork.xslt", artwork elements named through the 2004 "name" attribute can be extracted. This can be used to automatically 2005 check their syntax (for instance, when ABNFs appear within a figure 2006 element). 2007 2008 For instance: 2009 saxon rfc3986.xml extract-artwork.xslt name=uri.abnf 2010 2011 In addition, artwork of a specific type can be extracted, such as 2012 with: 2013 saxon rfc3986.xml extract-artwork.xslt type=abnf 2014 2015 When extracting by type, artwork elements with a specified name can 2016 be excluded; this can be handy when the document uses some kind of 2017 schema language, and an appendix contains the collected schema, 2018 repeating definitions from earlier on. Example: 2019 saxon rfc3986.xml extract-artwork.xslt type=abnf except-name=clschm 2020 2021 12.6. GRRDL 2022 2023 "rfc2629grddl.xslt" extracts RDF information. This is experimental 2024 work-in-progress. See <http://www.w3.org/TR/grddl/> for more 2025 information. 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 Reschke [Page 36] 2051 2052 2053 Documentation RFC2629 through XSLT March 2012 2054 2055 2056 13. Informative References 2057 2058 [BCP97] Klensin, J. and S. Hartman, "Handling Normative References 2059 to Standards-Track Documents", BCP 97, RFC 4897, 2060 June 2007. 2061 2062 [DC-HTML] Johnston, P. and A. Powell, "Expressing Dublin Core 2063 metadata using HTML/XHTML meta and link elements", Dublin 2064 Core Metadata Initiative , August 2008, 2065 <http://dublincore.org/documents/2008/08/04/dc-html/>. 2066 2067 [HTML] Raggett, D., Hors, A., and I. Jacobs, "HTML 4.01 2068 Specification", W3C REC-html401-19991224, December 1999, 2069 <http://www.w3.org/TR/html401/>. 2070 2071 [RFC2026] Bradner, S., "The Internet Standards Process -- Revision 2072 3", BCP 9, RFC 2026, October 1996. 2073 2074 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 2075 Requirement Levels", BCP 14, RFC 2119, March 1997. 2076 2077 [RFC2616] Fielding, R., Gettys, J., Mogul, J., Nielsen, H., 2078 Masinter, L., Leach, P., and T. Berners-Lee, "Hypertext 2079 Transfer Protocol -- HTTP/1.1", RFC 2616, June 1999. 2080 2081 [RFC2629] Rose, M., "Writing I-Ds and RFCs using XML", RFC 2629, 2082 June 1999. 2083 2084 [RFC2648] Moats, R., "A URN Namespace for IETF Documents", RFC 2648, 2085 August 1999. 2086 2087 [RFC2731] Kunze, J., "Encoding Dublin Core Metadata in HTML", 2088 RFC 2731, December 1999. 2089 2090 [RFC5234] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax 2091 Specifications: ABNF", STD 68, RFC 5234, January 2008. 2092 2093 [RFC5741] Daigle, L. and O. Kolkman, "RFC Streams, Headers, and 2094 Boilerplates", RFC 5741, December 2009. 2095 2096 [RNC] Clark, J., "RELAX NG Compact Syntax", OASIS , Nov 2002, <h 2097 ttp://www.oasis-open.org/committees/relax-ng/ 2098 compact-20021121.html>. 2099 2100 [XHTML2] Axelsson, J., Birbeck, M., Dubinko, M., Epperson, B., 2101 Ishikawa, M., McCarron, S., Navarro, A., and S. Pemberton, 2102 "XHTML[TM] 2.0", W3C WD-xhtml2-20060726, July 2006, 2103 <http://www.w3.org/TR/xhtml2>. 2104 2105 2106 2107 Reschke [Page 37] 2108 2109 2110 Documentation RFC2629 through XSLT March 2012 2111 2112 2113 [XML] Bray, T., Paoli, J., Sperberg-McQueen, C., Maler, E., and 2114 F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fifth 2115 Edition)", W3C REC-xml-20081126, November 2008, 2116 <http://www.w3.org/TR/2008/REC-xml-20081126/>. 2117 2118 [XSL-FO] Berglund, A., "Extensible Stylesheet Language (XSL) 2119 Version 1.1", W3C REC-xsl11-20061205, Dec 2006, 2120 <http://www.w3.org/TR/2006/REC-xsl11-20061205/>. 2121 2122 [1] <http://www.exslt.org/exsl/functions/node-set/index.html> 2123 2124 [2] <http://www.exslt.org/date/functions/date-time/> 2125 2126 [3] <http://www.microsoft.com/downloads/ 2127 details.aspx?FamilyID=2FB55371-C94E-4373-B0E9-DB4816552E41> 2128 2129 [4] <https://addons.mozilla.org/de/firefox/addon/722> 2130 2131 [5] <https://bugzilla.mozilla.org/show_bug.cgi?id=22942> 2132 2133 [6] <http://bugzilla.mozilla.org/show_bug.cgi?id=193678> 2134 2135 [7] <https://addons.mozilla.org/firefox/2933/> 2136 2137 [8] <http://microformats.org/wiki/hcard> 2138 2139 [9] <http://www.w3.org/TR/2003/WD-xsl11-20031217/> 2140 2141 [10] <http://www.antennahouse.com/> 2142 2143 [11] <http://www.antennahouse.com/XSL20/axf-extension.htm> 2144 2145 [12] <http://xml.apache.org/fop/> 2146 2147 [13] <http://xep.xattic.com/> 2148 2149 [14] <http://xep.xattic.com/xep/spec.html> 2150 2151 [15] <http://www.thaiopensource.com/relaxng/jing.html> 2152 2153 [16] <http://dpcarlisle.blogspot.com/2007/05/ 2154 exslt-node-set-function.html> 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 Reschke [Page 38] 2165 2166 2167 Documentation RFC2629 through XSLT March 2012 2168 2169 2170 Appendix A. RELAX NG Compact Schema 2171 2172 The RelaxNG schema ([RNC]) below can be used to validate input 2173 documents (for instance, with Jing [15]). 2174 2175 _Note that this is work in progress, and doesn't yet cover all 2176 extensions completely._ 2177 2178 # WORK IN PROGRESS! PLEASE REPORT PROBLEMS TO THE AUTHOR. 2179 2180 # Define our extension namespace 2181 namespace x = "http://purl.org/net/xml2rfc/ext" 2182 2183 # Define GRDDL namespace 2184 namespace grddl = "http://www.w3.org/2003/g/data-view#" 2185 2186 # Define RDF namespace 2187 namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" 2188 2189 # Include rfc2629bis RNC grammar 2190 include "rfc2629.rnc" { 2191 2192 # Redefine <artwork> to allow markup 2193 artwork = 2194 element artwork { 2195 attlist.artwork, 2196 (TEXT 2197 | eref 2198 | iref 2199 | spanx 2200 | xref 2201 | x_abnf-char-sequence 2202 | x_bb 2203 | x_bc 2204 | x_bcp14 2205 | x_bt 2206 | x_highlight 2207 | x_length-of 2208 | x_parse-xml 2209 | x_ref 2210 | x_span 2211 | x_x)* 2212 } 2213 2214 # Redefine <back> to allow boilerplate 2215 back = 2216 element back { 2217 attlist.back, 2218 2219 2220 2221 Reschke [Page 39] 2222 2223 2224 Documentation RFC2629 through XSLT March 2012 2225 2226 2227 references*, 2228 section*, 2229 x_boilerplate? 2230 } 2231 2232 # Redefine <c> to allow our extension elements 2233 c = 2234 element c { 2235 attlist.c, 2236 (TEXT 2237 | xref 2238 | eref 2239 | iref 2240 | cref 2241 | spanx 2242 | x_ref)* 2243 } 2244 2245 # Redefine <cref> to allow more child elements 2246 cref = 2247 element cref { 2248 attlist.cref, 2249 (TEXT 2250 | eref 2251 | xref)* 2252 } 2253 2254 # Redefine <front> to allow boilerplate 2255 front = 2256 element front { 2257 attlist.front, 2258 title, 2259 author+, 2260 date, 2261 area*, 2262 workgroup*, 2263 keyword*, 2264 x_boilerplate?, 2265 abstract?, 2266 note* 2267 } 2268 2269 # Redefine <list> element to allow <x:lt> child elements 2270 \list = 2271 element list { 2272 attlist.list, 2273 (t+ | x_lt+) 2274 } 2275 2276 2277 2278 Reschke [Page 40] 2279 2280 2281 Documentation RFC2629 through XSLT March 2012 2282 2283 2284 # Redefine <preamble> to allow our extension elements 2285 preamble = 2286 element preamble { 2287 attlist.preamble, 2288 (TEXT 2289 | xref 2290 | eref 2291 | iref 2292 | cref 2293 | spanx 2294 | x_anchor-alias* 2295 | x_bcp14)* 2296 } 2297 2298 # Redefine <postamble> to allow our extension elements 2299 postamble = 2300 element postamble { 2301 attlist.postamble, 2302 (TEXT 2303 | xref 2304 | eref 2305 | iref 2306 | cref 2307 | spanx 2308 | x_bcp14)* 2309 } 2310 2311 # Redefine <reference> to allow our extension elements 2312 reference = 2313 element reference { 2314 attlist.reference, 2315 front, 2316 seriesInfo*, 2317 x_prose?, 2318 format*, 2319 annotation*, 2320 x_source? 2321 } 2322 2323 # Redefine <rfc> to allow our extension elements 2324 rfc = 2325 element rfc { 2326 attlist.rfc, 2327 x_link*, 2328 x_feedback?, 2329 x_assign-section-number*, 2330 front, 2331 middle, 2332 2333 2334 2335 Reschke [Page 41] 2336 2337 2338 Documentation RFC2629 through XSLT March 2012 2339 2340 2341 back? 2342 } 2343 2344 # Redefine <section> to allow our extension elements 2345 section = 2346 element section { 2347 attlist.section, 2348 (t 2349 | figure 2350 | texttable 2351 | iref 2352 | section 2353 | x_anchor-alias 2354 | x_blockquote 2355 | x_include-author 2356 | x_note 2357 | rdf_Description)* 2358 } 2359 2360 # Redefine <spanx> to allow some markup 2361 spanx = 2362 element spanx { 2363 attlist.spanx, 2364 (TEXT 2365 | iref 2366 | xref 2367 | x_ref)* 2368 } 2369 2370 # Redefine <t> to allow our extension elements 2371 t = 2372 element t { 2373 attlist.t, 2374 (TEXT 2375 | \list 2376 | figure 2377 | xref 2378 | eref 2379 | iref 2380 | cref 2381 | spanx 2382 | vspace 2383 | x_abnf-char-sequence 2384 | x_anchor-alias 2385 | x_bcp14 2386 | x_dfn 2387 | x_h 2388 | x_q 2389 2390 2391 2392 Reschke [Page 42] 2393 2394 2395 Documentation RFC2629 through XSLT March 2012 2396 2397 2398 | x_ref 2399 | x_sup)* 2400 } 2401 } 2402 2403 # Allow x:indent-with attribute on <artwork> 2404 attlist.artwork &= 2405 attribute x:indent-with { ATEXT }? 2406 2407 # Allow anchor and x:annotation attributes on <author> 2408 attlist.author &= 2409 attribute anchor { xsd:ID }?, 2410 attribute x:annotation { ATEXT }? 2411 2412 # Extend attribute set for <c> (see Section 11.24) 2413 attlist.c &= 2414 attribute anchor { xsd:ID }? 2415 2416 # Extend attribute set for <iref> (see Section 11.24) 2417 attlist.iref &= 2418 attribute x:for-anchor { ATEXT }? 2419 2420 # Extend attribute set for <list> (see Section 11.25) 2421 attlist.list &= 2422 attribute x:indent { ATEXT }? 2423 2424 # Extend attribute set for <preamble> 2425 attlist.preamble &= 2426 attribute anchor { xsd:ID }? 2427 2428 # Extend attribute set for <rfc> 2429 attlist.rfc &= 2430 attribute grddl:transformation { ATEXT }?, 2431 attribute x:maturity-level { "proposed" | "draft" | "internet" }? 2432 2433 # Extend attribute set for <section> (see Section 11.27) 2434 attlist.section &= 2435 attribute x:fixed-section-number { ATEXT }? 2436 2437 # Allow anchor attribute on <spanx> 2438 attlist.spanx &= 2439 attribute anchor { xsd:ID }? 2440 2441 # Allow x:quotes attribute on <title> 2442 attlist.title &= 2443 attribute x:quotes { "true" | "false" }? 2444 2445 # Allow annotation attribute on <uri> 2446 2447 2448 2449 Reschke [Page 43] 2450 2451 2452 Documentation RFC2629 through XSLT March 2012 2453 2454 2455 attlist.uri &= 2456 attribute x:annotation { ATEXT }? 2457 2458 # Extend attribute set for <xref> (see Section 11.28) 2459 attlist.xref &= 2460 attribute x:fmt { "()" | "," | "anchor" | "of" | "number" | "sec" | 2461 "none" }?, 2462 attribute x:rel { ATEXT }?, 2463 attribute x:sec { ATEXT }? 2464 2465 # Conversion to ABNF char sequence (see Section 11.1) 2466 x_abnf-char-sequence = 2467 element x:abnf-char-sequence { 2468 TEXT 2469 } 2470 2471 # Aliasing of anchors (see Section 11.2) 2472 x_anchor-alias = 2473 element x:anchor-alias { 2474 attribute value { TEXT }, 2475 empty 2476 } 2477 2478 # Supply feedback links (see Section 11.10) 2479 x_feedback = 2480 element x:feedback { 2481 attribute template { TEXT }, 2482 empty 2483 } 2484 2485 # Including Author information 2486 # (experimental) 2487 x_include-author = 2488 element x:include-author { 2489 attribute target { xsd:IDREF } 2490 } 2491 2492 # Setting section numbers for internally generated sections 2493 # (experimental) 2494 x_assign-section-number = 2495 element x:assign-section-number { 2496 attribute builtin-target { "authors" }, 2497 attribute number { TEXT }, 2498 empty 2499 } 2500 2501 # Bottom line of box drawing (see Section 11.4) 2502 x_bb = 2503 2504 2505 2506 Reschke [Page 44] 2507 2508 2509 Documentation RFC2629 through XSLT March 2012 2510 2511 2512 element x:bb { 2513 (TEXT 2514 | iref 2515 | xref 2516 | x_bb 2517 | x_bc 2518 | x_bt 2519 | x_ref)* 2520 } 2521 2522 # Center line of box drawing (see Section 11.5) 2523 x_bc = 2524 element x:bc { 2525 (TEXT 2526 | iref 2527 | spanx 2528 | xref 2529 | x_bb 2530 | x_bc 2531 | x_bt 2532 | x_ref)* 2533 } 2534 2535 # BCP14/RFC2119 keywords (see Section 11.3) 2536 x_bcp14 = 2537 element x:bcp14 { 2538 "MAY" 2539 | "MUST" 2540 | "MUST NOT" 2541 | "NOT RECOMMENDED" 2542 | "OPTIONAL" 2543 | "RECOMMENDED" 2544 | "REQUIRED" 2545 | "SHALL" 2546 | "SHALL NOT" 2547 | "SHOULD" 2548 | "SHOULD NOT" 2549 } 2550 2551 # Blockquote (see Section 11.6) 2552 x_blockquote = 2553 element x:blockquote { 2554 attribute cite { URI }?, 2555 t+ 2556 } 2557 2558 # Boilerplate (see Section 11.6) 2559 x_boilerplate = 2560 2561 2562 2563 Reschke [Page 45] 2564 2565 2566 Documentation RFC2629 through XSLT March 2012 2567 2568 2569 element x:boilerplate { 2570 section+ 2571 } 2572 2573 # Top line of box drawing (see Section 11.8) 2574 x_bt = 2575 element x:bt { 2576 (TEXT 2577 | iref 2578 | xref 2579 | x_bb 2580 | x_bc 2581 | x_bt 2582 | x_ref)* 2583 } 2584 2585 # Definition (see Section 11.9) 2586 x_dfn = 2587 element x:dfn { 2588 attribute anchor { xsd:ID }?, 2589 (TEXT 2590 | iref)* 2591 } 2592 2593 # Heading (see Section 11.11) 2594 x_h = 2595 element x:h { 2596 TEXT 2597 } 2598 2599 # Heading (see Section 11.12) 2600 x_highlight = 2601 element x:highlight { 2602 TEXT 2603 } 2604 2605 # Length Measurement (see Section 11.13) 2606 x_length-of = 2607 element x:length-of { 2608 attribute indented { NUMBER }?, 2609 attribute target { xsd:IDREF }, 2610 empty 2611 } 2612 2613 # Link (see Section 11.14) 2614 x_link = 2615 element x:link { 2616 attribute basename { URI }?, 2617 2618 2619 2620 Reschke [Page 46] 2621 2622 2623 Documentation RFC2629 through XSLT March 2012 2624 2625 2626 attribute href { URI }?, 2627 attribute title { TEXT }?, 2628 attribute rel { TEXT }, 2629 empty 2630 } 2631 2632 # Extended list item (see Section 11.15) 2633 x_lt = 2634 element x:lt { 2635 attribute anchor { xsd:ID }?, 2636 attribute hangText { TEXT }?, 2637 t+ 2638 } 2639 2640 # Note (see Section 11.16) 2641 x_note = 2642 element x:note { 2643 t+ 2644 } 2645 2646 # Signal XML content (see Section 11.17) 2647 x_parse-xml = 2648 element x:parse-xml { 2649 (TEXT 2650 | xref)* 2651 } 2652 2653 # Inline prose in a reference (see Section 11.18) 2654 x_prose = 2655 element x:prose { 2656 TEXT 2657 } 2658 2659 # Inline quote (see Section 11.19) 2660 x_q = 2661 element x:q { 2662 TEXT 2663 } 2664 2665 # Anchor reference (see Section 11.20) 2666 x_ref = 2667 element x:ref { 2668 attribute anchor { xsd:ID }?, 2669 TEXT 2670 } 2671 2672 # source information (see Section 11.21) 2673 x_source = 2674 2675 2676 2677 Reschke [Page 47] 2678 2679 2680 Documentation RFC2629 through XSLT March 2012 2681 2682 2683 element x:source { 2684 attribute basename { ATEXT }?, 2685 attribute href { URI }, 2686 empty 2687 } 2688 2689 # superscript (see Section 11.22) 2690 x_sup = 2691 element x:sup { 2692 TEXT 2693 } 2694 2695 # Inline Span 2696 x_span = 2697 element x:span { 2698 attribute anchor { xsd:ID }?, 2699 (TEXT 2700 | x_parse-xml)* 2701 } 2702 2703 # Nop (for alignment in source) 2704 x_x = 2705 element x:x { 2706 empty 2707 } 2708 2709 # Embed RDF statements 2710 rdf_Description = 2711 element rdf:Description { 2712 rdf_content 2713 } 2714 2715 rdf_content = 2716 ( TEXT | element * { rdf_content })* 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 Reschke [Page 48] 2735 2736 2737 Documentation RFC2629 through XSLT March 2012 2738 2739 2740 Appendix B. Implementation Notes 2741 2742 B.1. Recognized type attributes for <artwork> element 2743 2744 Specific values in the <artwork> element's "type" attribute are 2745 recognized and cause a different visual style to be used: 2746 2747 +-------------------------------------+-----------------------------+ 2748 | Media Type | Comment | 2749 +-------------------------------------+-----------------------------+ 2750 | abnf | ABNF as per [RFC5234] | 2751 | | | 2752 | abnf2616 | ABNF as per [RFC2616], | 2753 | | Section 2.1 | 2754 | | | 2755 | application/relax-ng-compact-syntax | Relax NG Compact Syntax as | 2756 | | per [RNC] | 2757 | | | 2758 | application/xml-dtd | XML DTD | 2759 | | | 2760 | message/http; msgtype="request" | HTTP message, as per | 2761 | | [RFC2616], Section 19.1 | 2762 | | | 2763 | message/http; msgtype="response" | HTTP message, as per | 2764 | | [RFC2616], Section 19.1 | 2765 +-------------------------------------+-----------------------------+ 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 Reschke [Page 49] 2792 2793 2794 Documentation RFC2629 through XSLT March 2012 2795 2796 2797 Appendix C. Examples 2798 2799 C.1. Using the 'Internal Subset' 2800 2801 The prolog of the XML document can both be used to refer to an 2802 external DTD, and also to define internal entities (Section 2.8 of 2803 [XML]): 2804 2805 <?xml version="1.0"?> 2806 <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?> 2807 2808 <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [ 2809 2810 <!-- use "&MAY;" for a BCP 14 "MAY", see Section 11.3 --> 2811 <!ENTITY MAY 2812 "<bcp14 xmlns='http://purl.org/net/xml2rfc/ext'>MAY</bcp14>"> 2813 2814 <!-- re-declare " " as code point 160 (non-breaking space) --> 2815 <!-- you may need this for UAs that do not read external DTDs --> 2816 <!ENTITY nbsp 2817 " "> 2818 2819 <!-- allow later RFC2616 reference using "&rfc2616;" --> 2820 <!-- the data will be fetched from xml.resource.org --> 2821 <!ENTITY rfc2616 PUBLIC 2822 "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2616.xml"> 2823 2824 <!-- allow a custom reference using "&mydraft;" --> 2825 <!-- the data will be fetched from the same location as the 2826 source file --> 2827 <!ENTITY mydraft PUBLIC "reference.mydraft.xml"> 2828 ]> 2829 2830 Note: including entities from a remote site will not work in Firefox, 2831 see <https://bugzilla.mozilla.org/show_bug.cgi?id=22942>. 2832 2833 C.2. Customization 2834 2835 The XSLT code can be customized by creating a custom XSLT file that 2836 uses <xsl:import> to include the original code, and just overrides 2837 particular rules. 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 Reschke [Page 50] 2849 2850 2851 Documentation RFC2629 through XSLT March 2012 2852 2853 2854 For instance, the code below overrides several attributes in 2855 "rfc2629toFO.xslt", changing the color, spacing and font family for 2856 headers. 2857 2858 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 2859 version="1.0"> 2860 2861 <xsl:import href="rfc2629toFO.xslt"/> 2862 2863 <xsl:attribute-set name="h1"> 2864 <xsl:attribute name="color">darkblue</xsl:attribute> 2865 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2866 <xsl:attribute name="space-before">24pt</xsl:attribute> 2867 </xsl:attribute-set> 2868 2869 <xsl:attribute-set name="h2"> 2870 <xsl:attribute name="color">darkblue</xsl:attribute> 2871 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2872 <xsl:attribute name="space-before">18pt</xsl:attribute> 2873 <xsl:attribute name="space-after">3pt</xsl:attribute> 2874 </xsl:attribute-set> 2875 2876 <xsl:attribute-set name="h3"> 2877 <xsl:attribute name="color">darkblue</xsl:attribute> 2878 <xsl:attribute name="font-family">sans-serif</xsl:attribute> 2879 <xsl:attribute name="space-before">16pt</xsl:attribute> 2880 <xsl:attribute name="space-after">2pt</xsl:attribute> 2881 </xsl:attribute-set> 2882 2883 </xsl:transform> 2884 2885 Note: the name for the attribute sets may change in the future as 2886 more working is done with respect to customizability. In any 2887 case, overriding the settings in a separate file will be easier to 2888 maintain. Please contact the author if you find yourself trying 2889 to override style definitions that currently do not use attribute 2890 sets. 2891 2892 Note: the CSS style information used in "rfc2629.xslt" can be 2893 overriden in a similar (but less granular) way: just overwrite the 2894 template called "insertCss". As for XSL-FO, the class names may 2895 change in future. 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 Reschke [Page 51] 2906 2907 2908 Documentation RFC2629 through XSLT March 2012 2909 2910 2911 Appendix D. Producing the IETF 'Boilerplate' 2912 2913 Various attributes of the "<rfc>" element plus some child elements of 2914 "<front>" affect the automatically generated parts of the front page, 2915 such as the tabular information at the beginning, the "Status Of This 2916 Memo", and the "Copyright Notice". 2917 2918 When submitting an Internet Draft, this "boilerplate" is checked by 2919 "Idnits" (<http://tools.ietf.org/tools/idnits/>) for compliance with 2920 the current Intellectual Property rules, and thus it is important to 2921 set the correct values. 2922 2923 Furthermore, the RFC Production Center uses RFC2629-based tools to 2924 generate the final RFC text, so the more accurate the supplied 2925 information is, the less additional work is left, and the risk for 2926 errors in producing the final (and immutable!) document is reduced. 2927 2928 Note: this only applies to the case when IETF documents are 2929 produced. The "private" processing instruction allows to switch 2930 off most of the autogeneration logic. 2931 2932 D.1. The /rfc/@ipr Attribute 2933 2934 As of the time of this writing, this attribute value can take a long 2935 list of values. As frequently, this is not the result of a grand 2936 plan, but simply for historic reasons. Of these values, only a few 2937 are currently in use; all others are supported by the various tools 2938 for backwards compatibility with old source files. 2939 2940 Note: some variations of the boilerplate are selected based on the 2941 document's date; therefore it is important to specify the "year", 2942 "month" and "day" attributes of the "<date>" element when 2943 archiving the XML source of an Internet Draft on the day of 2944 submission. 2945 2946 _Disclaimer: THIS ONLY PROVIDES IMPLEMENTATION INFORMATION. IF YOU 2947 NEED LEGAL ADVICE, PLEASE CONTACT A LAWYER._ For further information, 2948 refer to <http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf>. 2949 2950 Finally, for the current "Status Of This Memo" text, the 2951 "submissionType" attribute determines whether a statement about "Code 2952 Components" is inserted (this is the case for the value "IETF", which 2953 also happens to be the default). Other values, such as 2954 "independent", suppress this part of the text. 2955 2956 2957 2958 2959 2960 2961 2962 Reschke [Page 52] 2963 2964 2965 Documentation RFC2629 through XSLT March 2012 2966 2967 2968 D.1.1. Current Values: '*trust200902' 2969 2970 The name for these values refers to the "TLP" ("IETF TRUST Legal 2971 Provisions Relating to IETF Documents"), on effect February 15, 2009 2972 (see <http://trustee.ietf.org/license-info/archive/ 2973 IETF-Trust-License-Policy-20090215.pdf>). Updates to this document 2974 were published on September 12, 2009 (TLP 3.0, <http:// 2975 trustee.ietf.org/license-info/archive/ 2976 IETF-Trust-License-Policy-20090912.pdf>) and on December 28, 2009 2977 (TLP 4.0, <http://trustee.ietf.org/license-info/archive/ 2978 IETF-Trust-License-Policy-20091228.pdf>), modifying the license for 2979 code components. The actual text is located in Section 6 ("Text To 2980 Be Included in IETF Documents") of these documents. 2981 2982 The tools will automatically produce the "right" text depending on 2983 the document's date information (see above): 2984 2985 +----+----------------------------------------------------+---------+ 2986 | TL | URI | startin | 2987 | P | | g with | 2988 | | | publica | 2989 | | | tion | 2990 | | | date | 2991 +----+----------------------------------------------------+---------+ 2992 | 3. | <http://trustee.ietf.org/license-info/archive/IETF | 2009-11 | 2993 | 0 | -Trust-License-Policy-20090912.pdf> | -01 | 2994 | | | | 2995 | 4. | <http://trustee.ietf.org/license-info/archive/IETF | 2010-04 | 2996 | 0 | -Trust-License-Policy-20091228.pdf> | -01 | 2997 +----+----------------------------------------------------+---------+ 2998 2999 D.1.1.1. trust200902 3000 3001 This should be the default, unless one of the more specific 3002 '*trust200902' values is a better fit. It produces the text in 3003 Sections 6.a and 6.b of the TLP. 3004 3005 D.1.1.2. noModificationTrust200902 3006 3007 This produces the additional text from Section 6.c.i of the TLP: 3008 3009 This document may not be modified, and derivative works of it may 3010 not be created, except to format it for publication as an RFC or 3011 to translate it into languages other than English. 3012 3013 Note: this clause is incompatible with RFCs to be published on the 3014 Standards Track. 3015 3016 3017 3018 3019 Reschke [Page 53] 3020 3021 3022 Documentation RFC2629 through XSLT March 2012 3023 3024 3025 D.1.1.3. noDerivativesTrust200902 3026 3027 This produces the additional text from Section 6.c.ii of the TLP: 3028 3029 This document may not be modified, and derivative works of it may 3030 not be created, and it may not be published except as an Internet- 3031 Draft. 3032 3033 Note: this clause is incompatible with RFCs to be published on the 3034 Standards Track. 3035 3036 D.1.1.4. pre5378Trust200902 3037 3038 This produces the additional text from Section 6.c.iii of the TLP, 3039 frequently called the "pre-5378 escape clause": 3040 3041 This document may contain material from IETF Documents or IETF 3042 Contributions published or made publicly available before November 3043 10, 2008. The person(s) controlling the copyright in some of this 3044 material may not have granted the IETF Trust the right to allow 3045 modifications of such material outside the IETF Standards Process. 3046 Without obtaining an adequate license from the person(s) 3047 controlling the copyright in such materials, this document may not 3048 be modified outside the IETF Standards Process, and derivative 3049 works of it may not be created outside the IETF Standards Process, 3050 except to format it for publication as an RFC or to translate it 3051 into languages other than English. 3052 3053 See Section 4 of 3054 <http://trustee.ietf.org/docs/IETF-Copyright-FAQ.pdf> for further 3055 information about when to use this value. 3056 3057 Note: this text appears under "Copyright Notice", unless the 3058 document was published before November 2009, in which case it 3059 appears under "Status Of This Memo". 3060 3061 D.1.2. Historic Values 3062 3063 D.1.2.1. Historic Values: '*trust200811' 3064 3065 The attribute values "trust200811", "noModificationTrust200811" and 3066 "noDerivativesTrust200811" are similar to their "trust200902" 3067 counterparts, except that they use text specified in <http:// 3068 trustee.ietf.org/license-info/archive/ 3069 IETF-Trust-License-Policy_11-10-08.pdf>. 3070 3071 3072 3073 3074 3075 3076 Reschke [Page 54] 3077 3078 3079 Documentation RFC2629 through XSLT March 2012 3080 3081 3082 D.1.2.2. Historic Values: '*3978' 3083 3084 The attribute values "full3978", "noModification3978" and 3085 "noDerivatives3978" are similar to their counterparts above, except 3086 that they use text specified in RFC 3978 (March 2005). 3087 3088 D.1.2.3. Historic Values: '*3667' 3089 3090 The attribute values "full3667", "noModification3667" and 3091 "noDerivatives3667" are similar to their counterparts above, except 3092 that they use text specified in RFC 3667 (February 2004). 3093 3094 D.1.2.4. Historic Values: '*2026' 3095 3096 The attribute values "full2026" and "noDerivativeWorks2026" are 3097 similar to their counterparts above, except that they use text 3098 specified in RFC 2026 (October 1996). 3099 3100 The special value "none" was also used back then, and denied the IETF 3101 any rights beyond publication as Internet Draft. 3102 3103 D.2. The /rfc/@category Attribute 3104 3105 For RFCs, the "category" determines the "maturity level" (see Section 3106 4 of [RFC2026]). The allowed values are "std" for "Standards Track", 3107 "bcp" for "BCP", "info" for "Informational", "exp" for 3108 "Experimental", and "historic" for - surprise - "Historic". 3109 3110 For Internet Drafts, the category attribute is not needed, but _will_ 3111 appear on the front page ("Intended Status"). Supplying this 3112 information can be useful, because reviewers may want to know. 3113 3114 Note: the Standards Track consists of "Proposed Standard", "Draft 3115 Standards", and "Internet Standard". These do not appear in the 3116 boilerplate, thus the category attribute doesn't handle them. 3117 However, this information can be useful for validity checkers, and 3118 thus "rfc2629.xslt" supports an extension attribute for that 3119 purpose (see Section 11.26 for details). 3120 3121 D.3. The /rfc/@submissionType Attribute 3122 3123 The RFC Editor publishes documents from different "document streams", 3124 of which the "IETF stream" of course is the most prominent one. 3125 Other streams are the "independent stream" (used for things like 3126 administrative information or April 1st RFCs), the "IAB stream" 3127 (Internet Architecture Board) and the "IRTF stream" (Internet 3128 Research Task Force). 3129 3130 3131 3132 3133 Reschke [Page 55] 3134 3135 3136 Documentation RFC2629 through XSLT March 2012 3137 3138 3139 Not surprisingly, the values for the attribute are "IETF" (the 3140 default value), "independent", "IAB", and "IRTF". 3141 3142 Historically, this did not affect the final appearance of RFCs, 3143 except for subtle differences in Copyright notices. Nowadays (as of 3144 [RFC5741]), the stream name appears in the first line of the front 3145 page, and it also affects the text in the "Status Of This Memo" 3146 section. 3147 3148 For current documents, setting "submissionType" attribute will have 3149 the following effect: 3150 3151 o For RFCs, the stream name appears in the upper left corner of the 3152 first page (in Internet Drafts, this is either "Network Working 3153 Group", or the value of the "<workgroup>" element). 3154 3155 o For RFCs, if affects the whole "Status Of This Memo" section (see 3156 Section 3.2.2 of [RFC5741]). 3157 3158 o For all RFCs and Internet Drafts, it determines whether the 3159 "Copyright Notice" mentions the Copyright on Code Components (see 3160 TLP, Section "Text To Be Included in IETF Documents"). 3161 3162 D.4. The /rfc/@consensus Attribute 3163 3164 For some of the publication streams (see Appendix D.3), the "Status 3165 Of This Memo" section depends on whether there was a consensus to 3166 publish (again, see Section 3.2.2 of [RFC5741]). 3167 3168 The "consensus" attribute ("yes"/"no", defaulting to "yes") can be 3169 used to supply this information. The effect for the various streams 3170 is: 3171 3172 o "independent" and "IAB": none. 3173 3174 o "IETF": mention that there was an IETF consensus. 3175 3176 o "IRTF": mention that there was a research group consensus (where 3177 the name of the research group is extracted from the "<workgroup>" 3178 element). 3179 3180 D.5. The /rfc/@number Attribute 3181 3182 For RFCs, this attribute supplies the RFC number. 3183 3184 3185 3186 3187 3188 3189 3190 Reschke [Page 56] 3191 3192 3193 Documentation RFC2629 through XSLT March 2012 3194 3195 3196 D.6. The /rfc/@docName Attribute 3197 3198 For Internet Drafts, this specifies the draft name (which appears 3199 below the title). The file extension is _not_ part of the draft, so 3200 in general it should end with the current draft number ("-", plus two 3201 digits). 3202 3203 Note: "Idnits" (<http://tools.ietf.org/tools/idnits/>) checks the 3204 in-document draft name for consistency with the filename of the 3205 submitted document. 3206 3207 D.7. The /rfc/@obsoletes Attribute 3208 3209 The RFC Editor maintains a database 3210 (<http://www.rfc-editor.org/rfc.html>) of all RFCs, including 3211 information about which one obsoletes which. Upon publication of an 3212 RFC, this database is updated from the data on the front page. 3213 3214 This attribute takes a list of comma-separated RFC _numbers_. Do 3215 _not_ put the string "RFC" here. 3216 3217 D.8. The /rfc/@updates Attribute 3218 3219 This is like "obsoletes", but for the "updates" relation. 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 Reschke [Page 57] 3248 3249 3250 Documentation RFC2629 through XSLT March 2012 3251 3252 3253 Appendix E. License 3254 3255 Copyright (c) 2006-2010, Julian Reschke 3256 (julian.reschke@greenbytes.de) 3257 3258 All rights reserved. 3259 3260 Redistribution and use in source and binary forms, with or without 3261 modification, are permitted provided that the following conditions 3262 are met: 3263 3264 o Redistributions of source code must retain the above copyright 3265 notice, this list of conditions and the following disclaimer. 3266 3267 o Redistributions in binary form must reproduce the above copyright 3268 notice, this list of conditions and the following disclaimer in 3269 the documentation and/or other materials provided with the 3270 distribution. 3271 3272 o Neither the name of Julian Reschke nor the names of its 3273 contributors may be used to endorse or promote products derived 3274 from this software without specific prior written permission. 3275 3276 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3277 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3278 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 3279 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3280 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3281 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3282 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3283 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3284 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3285 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3286 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 Reschke [Page 58] 3305 3306 3307 Documentation RFC2629 through XSLT March 2012 3308 3309 3310 Appendix F. Change Logs 3311 3312 F.1. Package 3313 3314 2006-01-01 Switch to BSD License. 3315 3316 2007-01-12 Update to xml2rfc v1.33pre2. 3317 3318 2007-03-31 Update to xml2rfc v1.33pre3. 3319 3320 2007-05-01 Add XSLT test cases. 3321 3322 2008-07-18 Experimental support for inlined rdf:Description elements 3323 (ignored by the formatter, extracted by rfc2629grddl). 3324 3325 2008-12-04 Update to xml2rfc v1.34pre2. 3326 3327 2009-02-24 Experimental support for February 2009 boilerplate 3328 changes, and for the x:boilerplate element. 3329 3330 2009-07-08 Support new boilerplate ordering in RFCs published since 3331 July 2009. Fix problems with one-column text tables. 3332 3333 2009-07-19 When possible, calculate the actual Expiry date for 3334 Internet Drafts (full date must be available). 3335 3336 2009-08-01 For '$xml2rfc-ext-authors-section='end'", move the index 3337 in front of the authors section. 3338 3339 2009-08-04 Consider /rfc/@ipr="pre5378Trust200902" when producing 3340 RFCs, not IDs. 3341 3342 2009-08-29 Support alignment for artwork containing images (as 3343 opposed to, well, artwork). 3344 3345 2009-09-01 Allow xref in cref (as extension). 3346 3347 2009-09-14 Refactor handling of processing instructions. 3348 3349 2009-09-24 Fix typo in Status Of This Memo, present since November 3350 2008. Fix formatting of iprExtract attribute. Starting with 3351 Internet Draft publication dates after 2009-11-30: use new Trust 3352 Legal Provisions text; for Internet Drafts: move Abstract up, and 3353 move "pre5378" escape clause to the Copyright Notice. Add support 3354 for refparent PI. For RFCs: use new TLP text as of September 3355 2009. Incorporate xml2rfc v1.34pre4. 3356 3357 3358 3359 3360 3361 Reschke [Page 59] 3362 3363 3364 Documentation RFC2629 through XSLT March 2012 3365 3366 3367 2009-10-06 Starting with Internet Draft publication dates after 3368 2009-10-31: use new Trust Legal Provisions text; for Internet 3369 Drafts: move Abstract up, and move "pre5378" escape clause to the 3370 Copyright Notice. Incorporate xml2rfc v1.34pre5. 3371 3372 2009-10-27 Upgrade to xml2rfc v1.34. 3373 3374 2010-01-08 For RFC generation (not IDs), experimentally support RFC 3375 5741 headers and boilerplate and Trust Legal Provisions 4.0. 3376 3377 2010-03-31 Upgrade to xml2rfc v1.35. 3378 3379 2010-06-27 Be consistent with xml2rfc.tcl in formatting initials 3380 (truncate after the first); see 3381 <http://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/10>. 3382 3383 2010-08-31 Experimental support for prose in references. 3384 3385 2011-01-27 Update to xml2rfc v1.36pre1. 3386 3387 2011-04-17 Update to xml2rfc v1.36. Add support for more /rfc/@ipr 3388 values when producing RFCs. 3389 3390 F.2. amazon-asin.xslt 3391 3392 2003-11-16 Initial release. 3393 3394 2005-04-02 Fix two DTD issues. 3395 3396 F.3. check-references.xslt 3397 3398 2003-11-16 Initial release. 3399 3400 2004-05-11 Add document status; print references type. 3401 3402 2005-01-01 Add experimental check for ID status. 3403 3404 2005-04-01 Add fixes from Bill Fenner. 3405 3406 2005-12-03 Add checks against local copy of 3407 <http://www.w3.org/2002/01/tr-automation/tr.rdf>. 3408 3409 2006-07-22 Add checks for standards levels. 3410 3411 2006-08-06 "check-ietf-references.xslt" replaced by "check- 3412 references.xslt". 3413 3414 3415 3416 3417 3418 Reschke [Page 60] 3419 3420 3421 Documentation RFC2629 through XSLT March 2012 3422 3423 3424 2007-01-04 Use information online at <http://tools.ietf.org/> to 3425 retrieve Internet-Draft status information. 3426 3427 2007-06-16 Fix bug looking up ref type when inside change markup. 3428 3429 2008-06-14 Enhance output when draft was updated, and then published 3430 as RFC. 3431 3432 2008-07-12 Add XSLT2-based link target checking. 3433 3434 2008-08-10 Change keywords for "intended-level" to proposed/draft/ 3435 internet, optionally extract intended level from /rfc/@ 3436 x:maturity-level attribute. 3437 3438 F.4. gen-reference-graph.xslt 3439 3440 2006-09-03 New. 3441 3442 2007-06-07 Use Carlisle method [16] to define exslt:node-set in 3443 msxsml (which means that the stylesheet can now be used with MSXML 3444 as well). 3445 3446 2007-10-15 Use W3C data from tr.rdf as well (experimental). 3447 3448 F.5. rfc2629.xslt 3449 3450 2001-03-28 Code rearranged, generate numbered section anchors for 3451 paragraphs (t) as well. Fixes in index handling. 3452 3453 2001-04-12 Moved HTML output into XHTML namespace. 3454 3455 2001-10-02 Fixed default location for RFCs and numbering of section 3456 references. Support ?rfc editing processing instruction. 3457 3458 2001-10-07 Made telephone number links active. 3459 3460 2001-10-08 Support for vspace element. 3461 3462 2001-10-09 Experimental support for rfc-issue PI. 3463 3464 2001-11-11 Support rfc private PI. Removed bogus code reporting the 3465 WG in the header. 3466 3467 2001-11-11 Support rfc private PI. Removed bogus code reporting the 3468 WG in the header. 3469 3470 3471 3472 3473 3474 3475 Reschke [Page 61] 3476 3477 3478 Documentation RFC2629 through XSLT March 2012 3479 3480 3481 2001-12-17 Support title attribute on references element 3482 3483 2002-01-05 Support for list/@style="@format" 3484 3485 2002-01-09 Display "closed" RFC issues as deleted 3486 3487 2002-01-14 Experimentally and optionally parse XML encountered in 3488 artwork elements (requires MSXSL). 3489 3490 2002-01-27 Some cleanup. Moved RFC issues from PIs into namespaced 3491 elements. 3492 3493 2002-01-29 Added support for sortrefs PI. Added support for figure 3494 names. 3495 3496 2002-02-07 Highlight parts of artwork which are too wide (72 3497 characters). 3498 3499 2002-02-12 Code rearrangement for static texts. Fixes for section 3500 numbering. TOC generation rewritten. 3501 3502 2002-02-15 Support for irefs in sections; support iref @primary=true 3503 3504 2002-03-03 Moved anchor prefix into a constant. Added sanity checks 3505 on user anchor names. 3506 3507 2002-03-23 Bugfix in detection of matching org names when creating 3508 the header. Fixed sorting in subitems. 3509 3510 2002-04-02 Fix TOC link HTML generation when no TOC is generated 3511 (created broken HTML table code). 3512 3513 2002-04-03 Made rendering of references more tolerant re: missing 3514 parts. 3515 3516 2002-04-08 Fixed reference numbering when references are split into 3517 separate sections. 3518 3519 2002-04-16 Fix default namespace (shouldn't be set for HTML output 3520 method). 3521 3522 2002-04-19 Lowercase internal CSS selectors for Mozilla compliance. 3523 Do not put TOC into ul element. 3524 3525 2002-04-21 Make numbered list inside numbered lists use alphanumeric 3526 numbering. 3527 3528 3529 3530 3531 3532 Reschke [Page 62] 3533 3534 3535 Documentation RFC2629 through XSLT March 2012 3536 3537 3538 2002-05-05 Updated issue/editing support. 3539 3540 2002-05-15 Bugfix for section numbering after introduction of ed: 3541 replace 3542 3543 2002-06-21 When producing private documents, do not include document 3544 status, copyright etc. 3545 3546 2002-07-08 Fix xrefs to Appendices. 3547 3548 2002-07-19 Make artwork lightyellow for easier reading. (fielding) 3549 3550 2002-10-09 Translate references title to anchor name to avoid non- 3551 uri characters. (fielding) 3552 3553 2002-10-13 Support for tocdepth PI. 3554 3555 2002-11-03 Added temporariry workaround for Mozilla/Transformiix 3556 result tree fragment problem. (search for 3557 'http://bugzilla.mozilla.org/show_bug.cgi?id=143668') 3558 3559 2002-12-25 xref code: attempt to uppercase "section" and "appendix" 3560 when at the start of a sentence. 3561 3562 2003-02-02 fixed code for vspace blankLines="0", enhanced display 3563 for list with "format" style, got rid of HTML blockquote elements, 3564 added support for "hangIndent" 3565 3566 2003-04-10 experimental support for appendix and spanx elements 3567 3568 2003-04-19 fixed counting of list numbers in "format %" styles (one 3569 counter per unique format string). Added more spanx styles. 3570 3571 2003-05-02 experimental texttable support 3572 3573 2003-05-02 Make mailto links optional (default = none) (jre: default 3574 and PI name changed) (fielding) 3575 3576 2003-05-04 experimental support for HTML link elements; fix default 3577 for table header alignment default 3578 3579 2003-05-06 support for "background" PI. 3580 3581 2003-05-11 change %c format to lowercase alphabetic. add support for 3582 keyword elements (generate META tag). fix various HTML conformance 3583 problems. added experimental support for role attribute. do not 3584 number paragraphs in unnumbered sections. update boilerplate 3585 texts. support for "iprnotified" PI. bugfix list numbering. strip 3586 3587 3588 3589 Reschke [Page 63] 3590 3591 3592 Documentation RFC2629 through XSLT March 2012 3593 3594 3595 whitespace when building tel: URIs. 3596 3597 2003-05-12 more conformance fixes (layout moved into CSS, move lists 3598 and figures out of para content, do not use tables for list 3599 formatting) 3600 3601 2003-05-13 add DC.Creator meta tag, refactoring 3602 3603 2003-05-16 put nbsps between "section" and section number (xref). 3604 3605 2003-05-18 author summary: add missing comma. 3606 3607 2003-06-06 fix index generation bug (transposed characters in key 3608 generation). Enhance sentence start detection (xref starting a 3609 section was using lowercase "section"). 3610 3611 2003-06-22 exp. support for xref/@format. Add missing support for 3612 eref w/o content. exp. support for annotations in reference 3613 elements. Code cleanup reference table formatting. 3614 3615 2003-07-09 Another fix for DC.Creator meta tag creation based on 3616 RFC2731 3617 3618 2003-07-24 Fix namespace name for DC.Creator. 3619 3620 2003-08-06 Cleanup node-set support (only use exslt (saxon, xalan, 3621 libxslt) extension functions; remove Transformix workarounds that 3622 stopped to work in Moz 1.4) 3623 3624 2003-08-09 Generate HTML lang tag. 3625 3626 2003-08-10 Map spanx/verb to HTML "samp" element. Fix author name 3627 display in references (reverse surname/initials for last author), 3628 add "Ed.". Fix internal bookmark generation. 3629 3630 2003-08-17 Add DCMI dates, identifiers and abstract. Add PI to 3631 suppress DCMI generation. Do not add TOC entry to Copyright 3632 Statement when there is none. Align RFC2629 PI names and 3633 parameter names. Change style for inline URIs generated by eref. 3634 Add header and footer support. Enhance CSS paging properties. 3635 Support topblock PI. Added hooks for proper XHTML generation 3636 through separate XSLT. Enhance warning and error messages. Add 3637 support for artwork image display. Table formatting fixes 3638 (borders, thead continuation). 3639 3640 3641 3642 3643 3644 3645 3646 Reschke [Page 64] 3647 3648 3649 Documentation RFC2629 through XSLT March 2012 3650 3651 3652 2003-08-18 Add workaround for MSXML4 node-set and Mozilla node-set 3653 issues (fallback just displays are warning). 3654 3655 2003-10-06 Add workaround for broken pre/ins handling in Mozilla 3656 (see <http://bugzilla.mozilla.org/show_bug.cgi?id=204401>). Make 3657 use of cite attribute on ed:replace. CSS cleanup. 3658 3659 2003-10-08 Fix minor issue detecting the same org for the header 3660 (caused by IE's non-standard whitespace handling). Fix default 3661 handling for /rfc/@category. 3662 3663 2003-11-09 Inherit ed:entered-by from ancestor elements. Change CSS 3664 color for inserted text to green. Generate issues-list anchor. 3665 Do not complain about missing targets when the xref element is 3666 below ed:del. Remove code that attempted to distinguish section/ 3667 Section when producing links - always use uppercase. Fix date 3668 rendering for issue resolutions. 3669 3670 2003-11-29 Fix color values for table backgrounds for issue 3671 rendering. Change rendering of issue links to use inline-styles. 3672 Add colored issue markers to issues. 3673 3674 2003-12-13 Fix inheritance of ed:entered-by attribute. Display note 3675 elements inside change tracking as well. 3676 3677 2004-01-18 When PI compact = 'yes', make most CSS print page breaks 3678 conditional. 3679 3680 2004-02-20 Support for RFC3667 IPR changes (xml2rfc 1.22); see <http 3681 ://lists.xml.resource.org/pipermail/xml2rfc/2004-February/ 3682 001088.html>. 3683 3684 2004-03-11 Add "(if approved)" to "updates" and "obsoletes" unless 3685 the document has an RFC number. 3686 3687 2004-04-01 Fix RFC3667 output, see <http://lists.xml.resource.org/ 3688 pipermail/xml2rfc/2004-April/001208.html>. 3689 3690 2004-04-04 Add support for section/top attribute. Move references 3691 into plain section container. 3692 3693 2004-04-06 Do not emit identical para anchors for deleted content. 3694 3695 2004-04-14 Fix references TOC generation when there are no 3696 references. 3697 3698 3699 3700 3701 3702 3703 Reschke [Page 65] 3704 3705 3706 Documentation RFC2629 through XSLT March 2012 3707 3708 3709 2004-04-24 Fix RFC3667 output, see 3710 <http://xml.resource.org/pipermail/xml2rfc/2004-April/ 3711 001246.html>. 3712 3713 2004-05-09 Add custom support for generating compound index 3714 documents. Add anchors for each Index letter. Add experimental 3715 cref support. Fix conditional page breaks before References 3716 section. 3717 3718 2004-05-16 Refactor external index generation. 3719 3720 2004-05-20 Rewrite anchor generation for comments. 3721 3722 2004-05-22 Enhance issues rendering (add links to changes). 3723 3724 2004-05-30 Allow single quote as delimiter in processing 3725 instructions as well. Move block-level issue pointers to floats. 3726 Disable issue pointers for print media. Add "purple numbers". 3727 Add hrefs to section headings. Add non-printing index key letter 3728 list to start of index. 3729 3730 2004-06-01 Use ¶ instead of # for PNs. 3731 3732 2004-07-18 Add support for list style=letters (thanks Roy F.). Make 3733 PNs optional; add new PI. 3734 3735 2004-09-05 Fix index links into unnumbered sections. Bring IPR 3736 boilerplate in-line with xml2rfc 1.25. Add experimental CSS3 3737 paged media support. Various HTML fixes. 3738 3739 2004-09-21 Enhance checking of artwork width. 3740 3741 2004-09-26 Add check for unused references. Uppercase letters in 3742 list style letters when nested into another list. 3743 3744 2004-10-10 Fix internal change track pointers. 3745 3746 2004-11-01 Allow change tracking on references (as a whole). 3747 Rewrite artwork handling so that it allows change tracking inside 3748 artwork. Also allow a subset of text markup inside artwork, such 3749 as xrefs (note this requires post-processing the source to make it 3750 compliant to RFC2629bis). 3751 3752 2004-11-03 Enhanced placement of iref anchors. 3753 3754 3755 3756 3757 3758 3759 3760 Reschke [Page 66] 3761 3762 3763 Documentation RFC2629 through XSLT March 2012 3764 3765 3766 2004-11-06 Index: display irefs that appeared (with primary=true) 3767 inside artwork elements in a monospaced font. 3768 3769 2004-11-14 Add special code so that changes in section titles can be 3770 change-tracked. 3771 3772 2005-01-14 Bugfixes for HtmlToXhtml converter. 3773 3774 2005-01-22 Enhance generation of HTML h* elements (for Mozilla 3775 Outliner). 3776 3777 2005-01-31 Put vertical space around top-level TOC entries in TOC. 3778 Switch to pt-based CSS. Re-arrange top section. Make hr elements 3779 reflect new-page settings in TXT output (compact-PI). Fix page 3780 number in footer (CSS print) and add some more experimental 3781 support for paged media (tested with Prince 4.1 alpha). Rewrite 3782 TOC and Index generation to generate HTML lists. Cleanup id 3783 generation for paragraphs. Reduce whitespace in output. Fix 3784 vspace implementation. Use right/left dqoutes and copyright sign 3785 where appropriate. 3786 3787 2005-02-04 Add <link> element to references section. Fix newly 3788 introduced bug in references processing. 3789 3790 2005-02-05 Integrate various fixes/enhancements by Roy Fielding: 3791 spelling of "Authors' Addresses", comma setting in references, 3792 position of "Authors" section, optionally place authors addresses 3793 at end (PI), trailing dots in section numbers, switch to verdana 3794 default font in CSS. Add experimental support for centered 3795 artwork. 3796 3797 2005-02-09 Fixes in spacing and links of references section titles. 3798 Enhance sorting in references when change tracking is in place. 3799 Re-add figure centering support. Add missing 2nd part of 3800 "Author's Adresses" fix. 3801 3802 2005-02-25 Align section number format with xml2rfc1.29. 3803 3804 2005-03-28 Get rid of table elements in Author's section. Add 3805 experimental hCard (<http://developers.technorati.com/wiki/hCard>) 3806 support. 3807 3808 2005-04-03 Add RFC3978-style IPR statement support. 3809 (fenner@research.att.com) 3810 3811 3812 3813 3814 3815 3816 3817 Reschke [Page 67] 3818 3819 3820 Documentation RFC2629 through XSLT March 2012 3821 3822 3823 2005-04-11 Cleanup author display. hCard related fixes. 3824 3825 2005-05-07 Minor fixes to allow change tracking in doc title. Add 3826 experimental support for table border styles. CSS cleanup. 3827 3828 2005-06-18 Implement missing support for references to texttables. 3829 3830 2005-09-25 Use (-moz-)column-count when printing the index. 3831 3832 2005-10-04 Report missing element templates with xsl:message. 3833 3834 2005-10-15 Process t/@anchor. 3835 3836 2005-10-23 More workarounds for Mozilla's broken del/ins handling 3837 (this time for figures). 3838 3839 2005-10-27 lowercase hCard class names 3840 3841 2005-11-22 Enhance diagnostics for XML-in-artwork extension 3842 3843 2005-11-26 Fix formatting of section numbers for sections inserted 3844 into <back>. 3845 3846 2005-12-12 Fix some validity problems when change tracking occured 3847 inside lists. 3848 3849 2005-12-18 Add change tracking inside the index. 3850 3851 2006-02-04 Add prev/next links to highlighted changes (change 3852 tracking extension). 3853 3854 2006-02-10 Catch errors instantiating MSXML component. 3855 3856 2006-02-11 References: add "work in progress" for Internet Drafts. 3857 3858 2006-02-27 Fix front matter (lowercase Internet-Draft, say "Intended 3859 status" for non-RFC documents). Start work on experimental 3860 extension for simplified internal links. 3861 3862 2006-03-19 Tweaks to IESG Copyright stuff; support submissionType 3863 attribute. Fix duplicate reference anchors in HTML output. 3864 Reduce HTML Tidy warnings. Fix reference to normative ASCII 3865 version (now requires trailing ".txt"). Tweaks to hCard 3866 generation. Started to move non-issue-tracking extensions into 3867 namespace "http://purl.org/net/xml2rfc/ext". 3868 3869 3870 3871 3872 3873 3874 Reschke [Page 68] 3875 3876 3877 Documentation RFC2629 through XSLT March 2012 3878 3879 3880 2006-03-27 Moved "simple reference" extension into namespace 3881 "http://purl.org/net/xml2rfc/ext" and add documentation. HTML 3882 conformance enhancements. 3883 3884 2006-04-02 Cleanup special code for automated XHTML XSLT generation. 3885 3886 2006-04-21 Generate <CITE> elements where appropiate. Introduce 3887 x:blockquote, x:dfn, x:h and x:q elements. 3888 3889 2006-05-06 Introduce x:bcp14 element. 3890 3891 2006-05-14 Fix content model for x:blockquote. 3892 3893 2006-06-18 Add box drawing support (x:bt, x:bc, x:bb). 3894 3895 2006-06-20 HTML validity fixes (legal chars in anchors in index). 3896 3897 2006-06-24 Reduce leading empty lines in artwork. Move <dt> style 3898 info into CSS. 3899 3900 2006-07-14 Fix rendering of multiple street address entries (missing 3901 line break). 3902 3903 2006-07-24 Add extension for deep linking into RFCs, do not generate 3904 empty list items in TOC output, avoid empty <dt> elements for list 3905 items without hangText attribute. 3906 3907 2006-08-01 Allow @anchor on more elements; start work on Relax NG 3908 grammar for extensions. Reduce generated style elements (use CSS 3909 classes instead). Consistently use "id" instead of "name". 3910 Change default target for RFC links to 3911 "http://tools.ietf.org/html/rfcNNNN". 3912 3913 2006-08-06 Include appendices defined in <appendix> elements in TOC 3914 (please consider them deprecated anyhow!). Generate links to 3915 "http://tools.ietf.org/html/draft-*" for Internet Drafts. Replace 3916 x:frag by x:rel, allowing any kind of relative reference instead 3917 of just fragments. 3918 3919 2006-08-30 Reduce textual differences between HTML output and what 3920 xml2rfc produces in TXT output mode (section refs/reference 3921 targets). Add small workaround for Opera 9.0.1's problem with 3922 node-set(). 3923 3924 2006-10-29 Fix problem generating internal links to change markup 3925 within references section. Enhancements when generating numbered 3926 references for deleted references. Allow inclusion of references 3927 into the index (through include-references-in-index extension). 3928 3929 3930 3931 Reschke [Page 69] 3932 3933 3934 Documentation RFC2629 through XSLT March 2012 3935 3936 3937 Fix a bug that caused the newer version of the IETF boilerplate to 3938 be produced rather than the pre-RFC3667 one. Update to RFC4287 3939 boilerplate. 3940 3941 2006-11-11 Add extension attribute x:for-anchor to <iref> handling. 3942 3943 2006-11-26 Experimental (and limited) support for <x:lt>. 3944 3945 2006-12-04 Fix bugs in processing documents that have both the ipr 3946 and the number attribute set on the rfc root element. Add support 3947 for x:fmt='none' on xrefs. Add different pre style based on 3948 artwork type attributes (experimental). 3949 3950 2006-12-13 Add x:fmt='anchor' for xref elements. 3951 3952 2007-01-07 Fix root template for compatibility for the exslt:node- 3953 set implementation in Firefox3. 3954 3955 2007-01-29 Avoid empty table entry in front matter when organization 3956 is not specified for an author. 3957 3958 2007-02-10 Allow change tracking in table rows. 3959 3960 2007-03-09 Add hcard profile URI (<http://www.w3.org/2006/03/hcard>) 3961 to head element. Add warning for misplaced <t> elements (after 3962 section). 3963 3964 2007-03-21 Fix internal linking from reference entries in index for 3965 some xref types. Minor CSS tweaks contributed by MTR. Allow 3966 turning on text justification through a PI. Improve iref anchor 3967 generation to generate less instable anchors. 3968 3969 2007-03-28 Fixes for numbering of ed:inserted references sections. 3970 3971 2007-05-04 Do not generate anchors for edits in deleted sections. 3972 Enhance HTML conformance. 3973 3974 2007-05-19 Enhance diagnostics when using Saxon (needs Saxon's "-l" 3975 command line parameter to keep line number information). Add 3976 warning when symref PI is missing (default will change in the 3977 future). Add support for overriding computed section numbers 3978 (when formatting historic documents). 3979 3980 2007-06-07 Change default for symrefs PI to "yes" (see change in 3981 xml2rfc 1.33pre4). Warn about docName attributes that appear to 3982 contain a file extension. 3983 3984 3985 3986 3987 3988 Reschke [Page 70] 3989 3990 3991 Documentation RFC2629 through XSLT March 2012 3992 3993 3994 2007-06-26 Workaround author/@initials values without trailing dot, 3995 as in xml2rfc.tcl. 3996 3997 2007-07-14 Enhance index generation for references that use @x:sec 3998 attribute. 3999 4000 2007-09-09 Fix: sortrefs is a nop when symrefs=no. 4001 4002 2007-10-17 Work in progress: add support for referencing sections in 4003 sibling documents by anchor name. 4004 4005 2007-10-17 Work in progress (continued): support for referencing 4006 sections in sibling documents by anchor name. 4007 4008 2007-12-31 Emit warning when updating/obsoleting stuff that's not 4009 referenced. 4010 4011 2008-02-03 Support xml2rfc-1.33pre5's suppress-title attribute on 4012 texttable and figure. 4013 4014 2008-02-06 Extension: allow <eref> below <cref>. 4015 4016 2008-02-17 Extensions: add x:span and x:length-of. 4017 4018 2008-02-20 Add new RFC boilerplate (as changed in 2007-08). 4019 4020 2008-02-27 Improve diagnostics for artwork width problems; add 4021 defaulting of publication dates (requires XSLT processor 4022 supporting exslt:date, or msxml). 4023 4024 2008-02-29 Enhance CSS for link elements in the front header, update 4025 rules for generating "Acknowledgment" statement. 4026 4027 2008-03-01 Use line numbers in diagnostics in Saxon8/9 as well. 4028 4029 2008-03-02 Fix a bug in the logic choosing the boilerplate, 4030 resulting in obsolete text being inserted into IDs. 4031 4032 2008-04-01 Add support for superscript element. 4033 4034 2008-06-28 Add sanity checks for email addresses, allow multiple 4035 email elements. 4036 4037 2008-07-06 Add x:abnf-char-sequence. 4038 4039 4040 4041 4042 4043 4044 4045 Reschke [Page 71] 4046 4047 4048 Documentation RFC2629 through XSLT March 2012 4049 4050 4051 2008-08-21 Add x:note. 4052 4053 2008-09-06 Add experimental support for SVG images. 4054 4055 2008-09-17 Add experimental support for x:author. Fix xref/@ 4056 format=none. 4057 4058 2008-10-10 Fix a huge bug, causing text content after an XML comment 4059 to be ignored. 4060 4061 2009-02-24 Use table/caption when needed. 4062 4063 2009-03-07 Fix bug that caused text to disappear in the output in 4064 presence of processing instructions. 4065 4066 2009-03-12 Make inlined comments bookmarkable. 4067 4068 2009-04-09 Upgrade to DC-HTML from RFC 2731 (affects head/@profile). 4069 4070 2009-07-08 Remove table/@summary in output; the value getting 4071 inserted was just repeating stuff that appeared in the preamble. 4072 4073 2009-08-01 Implement table alignment (HTML output only for now). 4074 4075 2009-08-18 Replicate Dublin Core "abstract" metadata into meta/@ 4076 name=description (search engines do use it). 4077 4078 2009-09-02 Fix default/left alignment of table columns, remove silly 4079 table summmary attributes. 4080 4081 2009-09-24 Support double-sided layout using CSS page:left/right 4082 selectors. 4083 4084 2009-11-27 Generate unordered lists instead of broken definition 4085 lists for list style empty. 4086 4087 F.6. rfc2629toFO.xslt 4088 4089 2003-11-16 Initial release. 4090 4091 2003-11-29 Enhance handling of unknown list styles. 4092 4093 2004-04-04 Update reference section handling. 4094 4095 2004-04-17 Use XSL-WD-1.1-style fo:bookmark and index handling and 4096 add postprocessors for existing implementations. Unify PDF info 4097 generation by using XEP (postprocessors) will convert. 4098 4099 4100 4101 4102 Reschke [Page 72] 4103 4104 4105 Documentation RFC2629 through XSLT March 2012 4106 4107 4108 2004-04-20 Add experimental cref support. 4109 4110 2004-06-14 Set correct index-item defaults. 4111 4112 2004-07-18 Add list style=letters. 4113 4114 2004-09-03 Make URLs in text break where they are allowed to break 4115 by inserting zero-width spaces. 4116 4117 2004-09-26 Fix letter-style inside nested lists. 4118 4119 2004-10-31 Update handling of artwork. 4120 4121 2004-11-13 Fix handling of references inside ed:* markup. Fix 4122 whitespace handling in artwork. 4123 4124 2004-11-27 Irefs in artwork generate monospaced entries in index. 4125 4126 2005-01-31 Fix TOC generation that was broken after changes in main 4127 XSLT. 4128 4129 2005-02-05 Bring in sync with cosmetic changes in rfc2629.xslt. 4130 4131 2005-05-07 Minor fix for change tracking in document title. Support 4132 for table styles. 4133 4134 2005-06-18 Fix references to tables. 4135 4136 2005-10-15 Process t/@anchor. 4137 4138 2006-02-11 References: add "work in progress" for Internet Drafts. 4139 4140 2006-06-02 Use XSL 1.1 WD Feb 2006. 4141 4142 2007-03-21 Support optional text justification. 4143 4144 2007-05-19 Various improvements in spacing; also allow overriding 4145 the automatic list indentation via list/x:indent. 4146 4147 2009-04-08 Fix spacing in headers; add support for formatting for 4148 double-sided printing. 4149 4150 2009-08-01 Remove surplus empty pages when not generating double- 4151 sided output. 4152 4153 4154 4155 4156 4157 4158 4159 Reschke [Page 73] 4160 4161 4162 Documentation RFC2629 through XSLT March 2012 4163 4164 4165 F.7. xsl11toAn.xslt 4166 4167 2004-05-17 Initial release. 4168 4169 2006-06-02 Use XSL 1.1 WD Feb 2006. 4170 4171 F.8. xsl11toFop.xslt 4172 4173 2010-08-25 Switch to Apache FOP 1.0. 4174 4175 2009-09-12 Support for FOP 0.20.5 and FOP 0.93 removed. Please use 4176 FOP 0.95. 4177 4178 2008-03-15 Add a workaround to the fo:inline workaround (sigh). 4179 4180 F.9. xsl11toXep.xslt 4181 4182 2004-05-17 Initial release. 4183 4184 2004-09-04 Fix xep:index-item attributes. 4185 4186 2006-06-02 Use XSL 1.1 WD Feb 2006. 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 Reschke [Page 74] 4217 4218 4219 Documentation RFC2629 through XSLT March 2012 4220 4221 4222 Index 4223 4224 A 4225 abnf-char-sequence Extension Element 24, 39 4226 allow-markup-in-artwork PI pseudo-attribute 9 4227 alternate HTML LINK element 17 4228 anchor-alias Extension Element 24, 39 4229 Anchors 4230 rfc.abstract 14 4231 rfc.authors 14 4232 rfc.copyright 14 4233 rfc.copyrightnotice 14 4234 rfc.figure.n 14 4235 rfc.figure.u.n 14 4236 rfc.index 14 4237 rfc.ipr 14 4238 rfc.iref.n 14 4239 rfc.note.n 14 4240 rfc.references 14 4241 rfc.section.n 14 4242 rfc.section.n.p.m 14 4243 rfc.status 14 4244 rfc.toc 14 4245 rfc.xref.name.n 14 4246 AntennaHouse XSL Formatter 21 4247 Apache FOP 21 4248 appendix HTML LINK element 17 4249 assign-section-number Extension Element 39 4250 author HTML LINK element 17 4251 authors-section PI pseudo-attribute 9 4252 4253 B 4254 background PI pseudo-attribute 7 4255 bb Extension Element 25, 39 4256 bc Extension Element 25, 39 4257 bcp14 Extension Element 24, 39 4258 blockquote Extension Element 25, 39 4259 boilerplate Extension Element 25, 39 4260 bt Extension Element 26, 39 4261 4262 C 4263 chapter HTML LINK element 17 4264 CHM format 20 4265 comments PI pseudo-attribute 7 4266 compact PI pseudo-attribute 7 4267 contents HTML LINK element 17 4268 copyright HTML LINK element 17 4269 Creator DCMI property 18 4270 4271 4272 4273 Reschke [Page 75] 4274 4275 4276 Documentation RFC2629 through XSLT March 2012 4277 4278 4279 D 4280 Date.Issued DCMI property 18 4281 DCMI properties 4282 Creator 18 4283 Date.Issued 18 4284 Description.Abstract 18 4285 Identifier 18 4286 isPartOf 18 4287 Relation.Replaces 18 4288 Description.Abstract DCMI property 18 4289 dfn Extension Element 26, 39 4290 duplex PI pseudo-attribute 9 4291 4292 E 4293 editing PI pseudo-attribute 7 4294 Extension Elements 4295 abnf-char-sequence 24, 39 4296 anchor-alias 24, 39 4297 assign-section-number 39 4298 bb 25, 39 4299 bc 25, 39 4300 bcp14 24, 39 4301 blockquote 25, 39 4302 boilerplate 25, 39 4303 bt 26, 39 4304 dfn 26, 39 4305 feedback 26, 39 4306 h 26, 39 4307 highlight 26, 39 4308 include-author 39 4309 length-of 26, 39 4310 link 27, 39 4311 lt 27, 39 4312 note 27, 39 4313 parse-xml 27, 39 4314 prose 28, 39 4315 q 28, 39 4316 rdf:Description 39 4317 ref 28, 39 4318 source 28, 39 4319 span 39 4320 sup 29, 39 4321 x 39 4322 4323 F 4324 feedback Extension Element 26, 39 4325 Firefox 4326 1.*/2.* 16 4327 4328 4329 4330 Reschke [Page 76] 4331 4332 4333 Documentation RFC2629 through XSLT March 2012 4334 4335 4336 3.* 15 4337 footer PI pseudo-attribute 7 4338 4339 G 4340 generator HTML META element 18 4341 Google Chrome 16 4342 Grammar 39 4343 4344 H 4345 h Extension Element 26, 39 4346 header PI pseudo-attribute 7 4347 highlight Extension Element 26, 39 4348 HTML compliance 17 4349 HTML LINK elements 4350 alternate 17 4351 appendix 17 4352 author 17 4353 chapter 17 4354 contents 17 4355 copyright 17 4356 index 17 4357 HTML META elements 4358 generator 18 4359 keywords 18 4360 4361 I 4362 Identifier DCMI property 18 4363 include PI pseudo-attribute 8 4364 include-author Extension Element 39 4365 include-index PI pseudo-attribute 9 4366 include-references-in-index PI pseudo-attribute 9 4367 index HTML LINK element 17 4368 inline PI pseudo-attribute 7 4369 Internet Explorer 5.5 15 4370 Internet Explorer 6 15 4371 Internet Explorer 7 15 4372 Internet Explorer 8 15 4373 Internet Explorer 9 15 4374 iprnotified PI pseudo-attribute 7 4375 isPartOf DCMI property 18 4376 4377 J 4378 justification PI pseudo-attribute 9 4379 4380 K 4381 keywords HTML META element 18 4382 4383 L 4384 4385 4386 4387 Reschke [Page 77] 4388 4389 4390 Documentation RFC2629 through XSLT March 2012 4391 4392 4393 length-of Extension Element 26, 39 4394 link Extension Element 27, 39 4395 linkmailto PI pseudo-attribute 7 4396 lt Extension Element 27, 39 4397 4398 M 4399 Microsoft Help 20 4400 Mozilla 15-16 4401 MSXML3 15 4402 MSXML4 15 4403 4404 N 4405 needLines PI pseudo-attribute 8 4406 NoScript 15 4407 note Extension Element 27, 39 4408 4409 O 4410 Opera 16 4411 4412 P 4413 Parameters 4414 xml2rfc-background 7 4415 xml2rfc-comments 7 4416 xml2rfc-compact 7 4417 xml2rfc-editing 7 4418 xml2rfc-ext-allow-markup-in-artwork 9 4419 xml2rfc-ext-authors-section 9 4420 xml2rfc-ext-duplex 9 4421 xml2rfc-ext-include-index 9 4422 xml2rfc-ext-include-references-in-index 9 4423 xml2rfc-ext-justification 9 4424 xml2rfc-ext-parse-xml-in-artwork 9 4425 xml2rfc-ext-sec-no-trailing-dots 9 4426 xml2rfc-ext-support-rfc2731 9 4427 xml2rfc-footer 7 4428 xml2rfc-header 7 4429 xml2rfc-inline 7 4430 xml2rfc-iprnotified 7 4431 xml2rfc-linkmailto 7 4432 xml2rfc-private 7 4433 xml2rfc-refparent 7 4434 xml2rfc-rfcedstyle 7 4435 xml2rfc-sortrefs 7 4436 xml2rfc-symrefs 7 4437 xml2rfc-toc 7 4438 xml2rfc-tocdepth 7 4439 xml2rfc-topblock 7 4440 parse-xml Extension Element 27, 39 4441 4442 4443 4444 Reschke [Page 78] 4445 4446 4447 Documentation RFC2629 through XSLT March 2012 4448 4449 4450 parse-xml-in-artwork PI pseudo-attribute 9 4451 private PI pseudo-attribute 7, 52 4452 Processing Instruction pseudo attributes 4453 allow-markup-in-artwork 9 4454 authors-section 9 4455 background 7 4456 comments 7 4457 compact 7 4458 duplex 9 4459 editing 7 4460 footer 7 4461 header 7 4462 ijustification 9 4463 include 8 4464 include-index 9 4465 include-references-in-index 9 4466 inline 7 4467 iprnotified 7 4468 linkmailto 7 4469 needLines 8 4470 parse-xml-in-artwork 9 4471 private 7, 52 4472 refparent 7 4473 rfcedstyle 7 4474 sec-no-trailing-dots 9 4475 slides 8 4476 sortrefs 7 4477 strict 8 4478 subcompact 8 4479 support-rfc2731 9 4480 symrefs 7 4481 toc 7 4482 tocdepth 7 4483 tocindent 8 4484 tocompact 8 4485 topblock 7 4486 prose Extension Element 28, 39 4487 4488 Q 4489 q Extension Element 28, 39 4490 4491 R 4492 rdf:Description Extension Element 39 4493 ref Extension Element 28, 39 4494 refparent PI pseudo-attribute 7 4495 Relation.Replaces DCMI property 18 4496 RELAX NG Compact Schema 39 4497 rfc.abstract anchor 14 4498 4499 4500 4501 Reschke [Page 79] 4502 4503 4504 Documentation RFC2629 through XSLT March 2012 4505 4506 4507 rfc.authors anchor 14 4508 rfc.copyright anchor 14 4509 rfc.copyrightnotice anchor 14 4510 rfc.figure.n anchor 14 4511 rfc.figure.u.n anchor 14 4512 rfc.index anchor 14 4513 rfc.ipr anchor 14 4514 rfc.iref.n anchor 14 4515 rfc.note.n anchor 14 4516 rfc.references anchor 14 4517 rfc.references.n anchor 14 4518 rfc.section.n anchor 14 4519 rfc.section.n.p.m anchor 14 4520 rfc.status anchor 14 4521 rfc.toc anchor 14 4522 rfc.xref.name.n anchor 14 4523 rfcedstyle PI pseudo-attribute 7 4524 4525 S 4526 Safari 16 4527 3.* 16 4528 Saxon 15 4529 Schema 39 4530 sec-no-trailing-dots PI pseudo-attribute 9 4531 slides PI pseudo-attribute 8 4532 sortrefs PI pseudo-attribute 7 4533 source Extension Element 28, 39 4534 span Extension Element 39 4535 strict PI pseudo-attribute 8 4536 subcompact PI pseudo-attribute 8 4537 sup Extension Element 29, 39 4538 support-rfc2731 PI pseudo-attribute 9 4539 symrefs PI pseudo-attribute 7 4540 4541 T 4542 toc PI pseudo-attribute 7 4543 tocdepth PI pseudo-attribute 7 4544 tocindent PI pseudo-attribute 8 4545 tocompact PI pseudo-attribute 8 4546 topblock PI pseudo-attribute 7 4547 4548 X 4549 x Extension Element 39 4550 Xalan 15 4551 xml-stylesheet PI 17 4552 xml2rfc-background parameter 7 4553 xml2rfc-comments parameter 7 4554 xml2rfc-editing parameter 7 4555 4556 4557 4558 Reschke [Page 80] 4559 4560 4561 Documentation RFC2629 through XSLT March 2012 4562 4563 4564 xml2rfc-ext-allow-markup-in-artwork parameter 9 4565 xml2rfc-ext-authors-section parameter 9 4566 xml2rfc-ext-duplex 9 4567 xml2rfc-ext-include-index parameter 9 4568 xml2rfc-ext-include-references-in-index parameter 9 4569 xml2rfc-ext-justification parameter 9 4570 xml2rfc-ext-parse-xml-in-artwork parameter 9 4571 xml2rfc-ext-sec-no-trailing-dots parameter 9 4572 xml2rfc-ext-support-rfc2731 parameter 9 4573 xml2rfc-footer parameter 7 4574 xml2rfc-header parameter 7 4575 xml2rfc-inline parameter 7 4576 xml2rfc-iprnotified parameter 7 4577 xml2rfc-linkmailto parameter 7 4578 xml2rfc-private parameter 7 4579 xml2rfc-refparent parameter 7 4580 xml2rfc-rfcedstyle parameter 7 4581 xml2rfc-sortrefs parameter 7 4582 xml2rfc-symrefs parameter 7 4583 xml2rfc-toc parameter 7 4584 xml2rfc-tocdepth parameter 7 4585 xml2rfc-topblock parameter 7 4586 xsltproc 15 4587 passing parameters 6 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 Reschke [Page 81] 4616 4617 4618 Documentation RFC2629 through XSLT March 2012 4619 4620 4621 Author's Address 4622 4623 Julian F. Reschke 4624 greenbytes GmbH 4625 Hafenweg 16 4626 Muenster, NW 48155 4627 Germany 4628 4629 Phone: +49 251 2807760 4630 Email: julian.reschke@greenbytes.de 4631 URI: http://greenbytes.de/tech/webdav/ 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 Reschke [Page 82] 4673 4674 -
rfc2629xslt/rfc2629xslt.xml
r1661 r1667 6 6 <?rfc toc="yes"?> 7 7 <!-- <?rfc topblock="no"?> --> 8 <?rfc strict=" yes"?>8 <?rfc strict="no"?> 9 9 <?rfc symrefs="yes"?> 10 10 <?rfc sortrefs="yes"?> -
rfc2629xslt/samples/rfc2629.xslt
r1661 r1667 701 701 <xsl:choose> 702 702 <xsl:when test="@align='right'"> 703 <div style="display:table; margin-left: auto; margin-right: 0 pt;">703 <div style="display:table; margin-left: auto; margin-right: 0em;"> 704 704 <xsl:call-template name="insert-begin-code"/> 705 705 <pre style="margin-left: 0em;"> … … 3401 3401 font-family: verdana, helvetica, arial, sans-serif; 3402 3402 font-size: 10pt; 3403 margin-right: 2em; 3403 3404 }<xsl:if test="//xhtml:p"> 3404 3405 br.p { … … 3411 3412 margin-left: 2em; 3412 3413 }</xsl:if> 3413 dd {3414 margin-right: 2em;3415 }3416 3414 dl { 3417 3415 margin-left: 2em; 3418 3416 } 3419 <!-- spacing between two entries in definition lists --> 3420 ul.empty { 3417 ul.empty {<!-- spacing between two entries in definition lists --> 3421 3418 list-style-type: none; 3422 3419 } … … 3458 3455 li { 3459 3456 margin-left: 2em; 3460 margin-right: 2em;3461 3457 } 3462 3458 ol { 3463 3459 margin-left: 2em; 3464 margin-right: 2em;3465 3460 } 3466 3461 ol.la { … … 3478 3473 p { 3479 3474 margin-left: 2em; 3480 margin-right: 2em;3481 3475 } 3482 3476 pre { … … 3484 3478 background-color: lightyellow; 3485 3479 padding: .25em; 3480 page-break-inside: avoid; 3486 3481 }<xsl:if test="//artwork[@x:isCodeComponent='yes']"><!-- support "<CODE BEGINS>" and "<CODE ENDS>" markers--> 3487 3482 pre.ccmarker { … … 3607 3602 list-style: none; 3608 3603 margin-left: 1.5em; 3609 margin-right: 0em;3610 3604 padding-left: 0em; 3611 3605 } … … 3615 3609 font-size: 10pt; 3616 3610 margin-left: 0em; 3617 margin-right: 0em;3618 3611 } 3619 3612 ul.toc li li { … … 3622 3615 font-size: 9pt; 3623 3616 margin-left: 0em; 3624 margin-right: 0em;3625 3617 } 3626 3618 li.excluded { … … 3633 3625 list-style: none; 3634 3626 margin-left: 1.5em; 3635 margin-right: 0em;3636 3627 padding-left: 0em; 3637 3628 page-break-before: avoid; … … 3641 3632 line-height: 200%; 3642 3633 margin-left: 0em; 3643 margin-right: 0em;3644 3634 } 3645 3635 ul.ind li li { … … 3647 3637 line-height: 150%; 3648 3638 margin-left: 0em; 3649 margin-right: 0em;3650 3639 } 3651 3640 .avoidbreak { … … 5101 5090 5102 5091 <xsl:if test="//figure[@title!='' or @anchor!='']"> 5103 <ul> 5104 <xsl:for-each select="//figure[@title!='' or @anchor!='']"> 5105 <xsl:variable name="title">Figure <xsl:value-of select="position()"/><xsl:if test="@title">: <xsl:value-of select="@title"/></xsl:if> 5106 </xsl:variable> 5107 <li> 5108 <xsl:call-template name="insert-toc-line"> 5109 <xsl:with-param name="target" select="concat($anchor-prefix,'.figure.',position())" /> 5110 <xsl:with-param name="title" select="$title" /> 5111 </xsl:call-template> 5112 </li> 5113 </xsl:for-each> 5092 <ul class="toc"> 5093 <li>Figures 5094 <ul> 5095 <xsl:for-each select="//figure[@title!='' or @anchor!='']"> 5096 <xsl:variable name="title">Figure <xsl:value-of select="position()"/><xsl:if test="@title">: <xsl:value-of select="@title"/></xsl:if> 5097 </xsl:variable> 5098 <li> 5099 <xsl:call-template name="insert-toc-line"> 5100 <xsl:with-param name="target" select="concat($anchor-prefix,'.figure.',position())" /> 5101 <xsl:with-param name="title" select="$title" /> 5102 </xsl:call-template> 5103 </li> 5104 </xsl:for-each> 5105 </ul> 5106 </li> 5114 5107 </ul> 5115 5108 </xsl:if> … … 6538 6531 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6539 6532 <!-- when RCS keyword substitution in place, add version info --> 6540 <xsl:if test="contains('$Revision: 1.57 6$',':')">6541 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.57 6$', 'Revision: '),'$','')),', ')" />6533 <xsl:if test="contains('$Revision: 1.579 $',':')"> 6534 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.579 $', 'Revision: '),'$','')),', ')" /> 6542 6535 </xsl:if> 6543 <xsl:if test="contains('$Date: 2012-05- 02 14:26:45 $',':')">6544 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-05- 02 14:26:45 $', 'Date: '),'$','')),', ')" />6536 <xsl:if test="contains('$Date: 2012-05-24 20:24:05 $',':')"> 6537 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-05-24 20:24:05 $', 'Date: '),'$','')),', ')" /> 6545 6538 </xsl:if> 6546 6539 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> -
rfc2629xslt/samples/sample.ipr.id.noDerivativesTrust200902.200909.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.noModification3978.200606.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.noModificationTrust200902.200909.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.pre5378Trust200902.200909.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.pre5378Trust200902.200912.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.pre5378Trust200902.201011.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.trust200902.200909.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.trust200902.200911.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.trust200902.201006.iab.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.trust200902.201006.ietf.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.trust200902.201006.ind.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.trust200902.201006.irtf.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.id.trust200902.201006.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200201.iprnotified.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200201.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200609.ind.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200609.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200808.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200812.nomod.test.xhtml
r1661 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200812.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200906.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200907.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200909.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.200912.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.201001.iab.exp.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.201001.iab.hist.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.201001.iab.inf.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.201001.ietf.bcp.c.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.201001.ietf.exp.c.nomod.test.xhtml
r1661 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 } 31 32 cite { 32 33 font-style: normal; 33 34 } 34 dd {35 margin-right: 2em;36 }37 35 dl { 38 36 margin-left: 2em; 39 37 } 40 41 38 ul.empty { 42 39 list-style-type: none; … … 79 76 li { 80 77 margin-left: 2em; 81 margin-right: 2em;82 78 } 83 79 ol { 84 80 margin-left: 2em; 85 margin-right: 2em;86 81 } 87 82 ol.la { … … 96 91 p { 97 92 margin-left: 2em; 98 margin-right: 2em;99 93 } 100 94 pre { … … 102 96 background-color: lightyellow; 103 97 padding: .25em; 98 page-break-inside: avoid; 104 99 } 105 100 pre.text2 { … … 156 151 list-style: none; 157 152 margin-left: 1.5em; 158 margin-right: 0em;159 153 padding-left: 0em; 160 154 } … … 164 158 font-size: 10pt; 165 159 margin-left: 0em; 166 margin-right: 0em;167 160 } 168 161 ul.toc li li { … … 171 164 font-size: 9pt; 172 165 margin-left: 0em; 173 margin-right: 0em;174 166 } 175 167 li.excluded { -
rfc2629xslt/samples/sample.ipr.rfc.201001.ietf.exp.c.test.xhtml
r1528 r1667 28 28 font-family: verdana, helvetica, arial, sans-serif; 29 29 font-size: 10pt; 30 margin-right: 2em; 30 31 }