Ignore:
Timestamp:
29/01/09 15:34:57 (11 years ago)
Author:
julian.reschke@…
Message:

update to latest version of rfc2629.xslt, add <workgroup> element throughout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r329 r440  
    22    XSLT transformation from RFC2629 XML format to HTML
    33
    4     Copyright (c) 2006-2008, Julian Reschke (julian.reschke@greenbytes.de)
     4    Copyright (c) 2006-2009, Julian Reschke (julian.reschke@greenbytes.de)
    55    All rights reserved.
    66
     
    3030-->
    3131
    32 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     32<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    3333                version="1.0"
    3434               
     35                xmlns:date="http://exslt.org/dates-and-times"
    3536                xmlns:ed="http://greenbytes.de/2002/rfcedit"
    36                 xmlns:date="http://exslt.org/dates-and-times"
    3737                xmlns:exslt="http://exslt.org/common"
    3838                xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    3939                xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt"
    4040                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     41                xmlns:saxon="http://saxon.sf.net/"
    4142                xmlns:saxon-old="http://icl.com/saxon"
    42                 xmlns:saxon="http://saxon.sf.net/"
    4343                xmlns:x="http://purl.org/net/xml2rfc/ext"
    4444                xmlns:xhtml="http://www.w3.org/1999/xhtml"
     
    142142/>
    143143
     144<!-- Format to the RFC Editor's taste -->
     145
     146<xsl:param name="xml2rfc-rfcedstyle"
     147  select="substring-after(
     148      translate(/processing-instruction('rfc')[contains(.,'rfcedstyle=')], concat($quote-chars,' '), ''),
     149        'rfcedstyle=')"
     150/>
     151
    144152<!-- use symbolic reference names instead of numeric ones unless a processing instruction <?rfc?>
    145153     exists with contents symrefs="no". Can be overriden by an XSLT parameter -->
     
    267275<xsl:param name="rfcUrlPrefix" select="'http://tools.ietf.org/html/rfc'" />
    268276<xsl:param name="rfcUrlPostfix" select="''" />
    269 <xsl:param name="rfcUrlFrag" select="'section-'" />
     277<xsl:param name="rfcUrlFragSection" select="'section-'" />
     278<xsl:param name="rfcUrlFragAppendix" select="'appendix-'" />
    270279<xsl:param name="internetDraftUrlPrefix" select="'http://tools.ietf.org/html/'" />
    271280<xsl:param name="internetDraftUrlPostfix" select="''" />
     
    282291<xsl:variable name="lcase" select="'abcdefghijklmnopqrstuvwxyz'" />
    283292<xsl:variable name="ucase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />       
    284 
    285 <xsl:variable name="plain" select="' #/ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />
    286 <xsl:variable name="touri" select="'___abcdefghijklmnopqrstuvwxyz'" />
    287293
    288294<!-- build help keys for indices -->
     
    358364  )" />
    359365
     366<xsl:variable name="ipr-2008-11" select="(
     367    /rfc/@number and
     368    ($xml2rfc-ext-pub-year &gt;= 2009 or ($xml2rfc-ext-pub-year &gt;= 2008 and $xml2rfc-ext-pub-month-numeric >= 11))
     369  )
     370  or
     371  (
     372    /rfc/@ipr = 'trust200811' or
     373    /rfc/@ipr = 'noModificationTrust200811' or
     374    /rfc/@ipr = 'noDerivativesTrust200811'
     375  )" />
     376
    360377<!-- funding switch --> 
    361378<xsl:variable name="funding0" select="(
     
    369386  )" />
    370387
    371 <xsl:variable name="funding2" select="$ipr-2007-08"/>
     388<xsl:variable name="no-funding" select="$ipr-2007-08"/>
     389
     390<xsl:variable name="no-copylong" select="$ipr-2008-11"/>
    372391
    373392<!-- will document have an index -->
     
    420439<xsl:template name="add-artwork-class">
    421440  <xsl:choose>
    422     <xsl:when test="@type='abnf' or @type='abnf2616' or @type='application/xml-dtd' or @type='inline' or @type='application/relax-ng-compact-syntax'">
     441    <xsl:when test="@type='abnf' or @type='abnf2045' or @type='abnf2616' or @type='application/xml-dtd' or @type='inline' or @type='application/relax-ng-compact-syntax'">
    423442      <xsl:attribute name="class">inline</xsl:attribute>
    424443    </xsl:when>
     
    651670       
    652671        <span class="vcardline">
    653           <xsl:text>EMail: </xsl:text>
     672          <xsl:choose>
     673            <xsl:when test="$xml2rfc-rfcedstyle='yes'">Email: </xsl:when>
     674            <xsl:otherwise>EMail: </xsl:otherwise>
     675          </xsl:choose>
    654676          <a>
    655677            <xsl:if test="$xml2rfc-linkmailto!='no'">
     
    806828  </xsl:if>
    807829   
     830  <!-- check for conforming ipr attribute -->
     831  <xsl:choose>
     832    <xsl:when test="not(/rfc/@ipr)" />
     833    <xsl:when test="/rfc/@ipr = 'full2026'" />
     834    <xsl:when test="/rfc/@ipr = 'noDerivativeWorks'" />
     835    <xsl:when test="/rfc/@ipr = 'none'" />
     836    <xsl:when test="/rfc/@ipr = 'full3667'" />
     837    <xsl:when test="/rfc/@ipr = 'noModification3667'" />
     838    <xsl:when test="/rfc/@ipr = 'noDerivatives3667'" />
     839    <xsl:when test="/rfc/@ipr = 'full3978'" />
     840    <xsl:when test="/rfc/@ipr = 'noModification3978'" />
     841    <xsl:when test="/rfc/@ipr = 'noDerivatives3978'" />
     842    <xsl:when test="/rfc/@ipr = 'trust200811'" />
     843    <xsl:when test="/rfc/@ipr = 'noModificationTrust200811'" />
     844    <xsl:when test="/rfc/@ipr = 'noDerivativesTrust200811'" />
     845    <xsl:otherwise>
     846      <xsl:call-template name="error">
     847        <xsl:with-param name="msg" select="concat('Unknown value for /rfc/@ipr: ', /rfc/@ipr)"/>
     848      </xsl:call-template>
     849    </xsl:otherwise>       
     850  </xsl:choose>           
     851
    808852  <xsl:if test="not($xml2rfc-private)">
     853 
    809854    <!-- Get status info formatted as per RFC2629-->
    810     <xsl:variable name="preamble"><xsl:call-template name="insertPreamble" /></xsl:variable>
     855    <xsl:variable name="preamble">
     856      <xsl:call-template name="insertPreamble" />
     857    </xsl:variable>
    811858   
    812859    <!-- emit it -->
     
    822869    </xsl:choose>
    823870  </xsl:if>
    824            
     871         
    825872  <xsl:apply-templates select="abstract" />
    826873  <xsl:apply-templates select="note" />
     
    11151162      </xsl:variable>
    11161163      <xsl:value-of select="concat($rfcUrlPrefix,$bib/seriesInfo[@name='RFC']/@value,$rfcUrlPostfix)" />
    1117       <xsl:if test="$ref and $sec!='' and $rfcUrlFrag">
    1118         <xsl:value-of select="concat('#',$rfcUrlFrag,$sec)"/>
     1164      <xsl:if test="$ref and $sec!='' and $rfcUrlFragSection and $rfcUrlFragAppendix">
     1165        <xsl:choose>
     1166          <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''">
     1167            <xsl:value-of select="concat('#',$rfcUrlFragAppendix,$sec)"/>
     1168          </xsl:when>
     1169          <xsl:otherwise>
     1170            <xsl:value-of select="concat('#',$rfcUrlFragSection,$sec)"/>
     1171          </xsl:otherwise>
     1172        </xsl:choose>
    11191173      </xsl:if>
    11201174    </xsl:when>
     
    17841838    <xsl:when test="@x:fmt='none'">
    17851839      <xsl:choose>
    1786         <xsl:when test="name($node)='reference'">
     1840        <xsl:when test="$node/self::reference">
    17871841          <cite title="{normalize-space($node/front/title)}">
    17881842            <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
     
    18101864
    18111865    <!-- Section links -->
    1812     <xsl:when test="name($node)='section' or name($node)='appendix'">
     1866    <xsl:when test="$node/self::section or $node/self::appendix">
    18131867      <xsl:apply-templates/>
    1814       <xsl:variable name="context" select="."/>
    18151868      <xsl:text> (</xsl:text>
    18161869      <a href="#{@target}">
     
    18511904<xsl:template match="xref[not(node())]">
    18521905
    1853   <xsl:variable name="context" select="." />
    18541906  <xsl:variable name="target" select="@target" />
    18551907  <xsl:variable name="anchor"><xsl:value-of select="$anchor-prefix"/>.xref.<xsl:value-of select="@target"/>.<xsl:number level="any" count="xref[@target=$target]"/></xsl:variable>
     
    18641916 
    18651917    <!-- Section links -->
    1866     <xsl:when test="name($node)='section' or name($node)='appendix'">
     1918    <xsl:when test="$node/self::section or $node/self::appendix">
    18671919      <a href="#{@target}">
    18681920        <!-- insert id when a backlink to this xref is needed in the index -->
     
    18781930
    18791931    <!-- Figure links -->
    1880     <xsl:when test="name($node)='figure'">
     1932    <xsl:when test="$node/self::figure">
    18811933      <a href="#{$target}">
    18821934        <xsl:variable name="figcnt">
     
    19001952   
    19011953    <!-- Table links -->
    1902     <xsl:when test="name($node)='texttable'">
     1954    <xsl:when test="$node/self::texttable">
    19031955      <a href="#{$target}">
    19041956        <xsl:variable name="tabcnt">
     
    19221974   
    19231975    <!-- Reference links -->
    1924     <xsl:when test="name($node)='reference'">
     1976    <xsl:when test="$node/self::reference">
    19251977
    19261978      <xsl:variable name="href">
     
    21302182  <!-- default case -->
    21312183  <xsl:if test="not($xml2rfc-private)">
    2132     <myns:item>Network Working Group</myns:item>
     2184    <xsl:choose>
     2185      <xsl:when test="/rfc/front/workgroup">
     2186        <xsl:for-each select="/rfc/front/workgroup">
     2187          <myns:item><xsl:value-of select="."/></myns:item>
     2188        </xsl:for-each>
     2189      </xsl:when>
     2190      <xsl:otherwise>
     2191        <myns:item>Network Working Group</myns:item>
     2192      </xsl:otherwise>
     2193    </xsl:choose>
    21332194    <myns:item>
    21342195       <xsl:choose>
     
    23842445<xsl:template name="insertCopyright" myns:namespaceless-elements="xml2rfc">
    23852446
    2386   <xsl:choose>
    2387     <xsl:when test="$ipr-rfc3667">
    2388       <section title="Full Copyright Statement" anchor="{$anchor-prefix}.copyright" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2389         <t>
    2390           <xsl:choose>
    2391             <xsl:when test="$ipr-2007-08"/>
    2392             <xsl:when test="$ipr-rfc4748">
    2393               Copyright &#169; The IETF Trust (<xsl:value-of select="$xml2rfc-ext-pub-year" />).
    2394             </xsl:when>
    2395             <xsl:otherwise>
    2396               Copyright &#169; The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year" />).
    2397             </xsl:otherwise>
    2398           </xsl:choose>
    2399         </t>
    2400         <t>
    2401           This document is subject to the rights, licenses and restrictions
    2402           contained in BCP 78<xsl:if test="/rfc/@submissionType='independent'"> and at <eref target="http://www.rfc-editor.org/copyright.html"/></xsl:if>, and except as set forth therein, the authors
    2403           retain all their rights.
    2404         </t>
    2405         <t>
    2406           <xsl:choose>
    2407             <xsl:when test="$ipr-rfc4748">
    2408               This document and the information contained herein are provided
    2409               on an &#8220;AS IS&#8221; basis and THE CONTRIBUTOR,
    2410               THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY),
    2411               THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING
    2412               TASK FORCE DISCLAIM ALL WARRANTIES,
    2413               EXPRESS OR IMPLIED,
    2414               INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    2415               INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    2416               WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
    2417             </xsl:when>
    2418             <xsl:otherwise>
    2419               This document and the information contained herein are provided
    2420               on an &#8220;AS IS&#8221; basis and THE CONTRIBUTOR,
    2421               THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY),
    2422               THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM
    2423               ALL WARRANTIES,
    2424               EXPRESS OR IMPLIED,
    2425               INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    2426               INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    2427               WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
    2428             </xsl:otherwise>
    2429           </xsl:choose>
    2430         </t>
    2431       </section>   
    2432     </xsl:when>
    2433     <xsl:otherwise>
    2434       <!-- <http://tools.ietf.org/html/rfc2026#section-10.4> -->
    2435       <section title="Full Copyright Statement" anchor="{$anchor-prefix}.copyright" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2436         <t>
    2437           Copyright &#169; The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year" />). All Rights Reserved.
    2438         </t>
    2439         <t>
    2440           This document and translations of it may be copied and furnished to
    2441           others, and derivative works that comment on or otherwise explain it
    2442           or assist in its implementation may be prepared, copied, published and
    2443           distributed, in whole or in part, without restriction of any kind,
    2444           provided that the above copyright notice and this paragraph are
    2445           included on all such copies and derivative works. However, this
    2446           document itself may not be modified in any way, such as by removing
    2447           the copyright notice or references to the Internet Society or other
    2448           Internet organizations, except as needed for the purpose of
    2449           developing Internet standards in which case the procedures for
    2450           copyrights defined in the Internet Standards process must be
    2451           followed, or as required to translate it into languages other than
    2452           English.
    2453         </t>
    2454         <t>
    2455           The limited permissions granted above are perpetual and will not be
    2456           revoked by the Internet Society or its successors or assignees.
    2457         </t>
    2458         <t>
    2459           This document and the information contained herein is provided on an
    2460           &#8220;AS IS&#8221; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
    2461           TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
    2462           BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
    2463           HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
    2464           MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
    2465         </t>
    2466       </section>
    2467     </xsl:otherwise>
    2468   </xsl:choose>
    2469 
    2470   <section title="Intellectual Property" anchor="{$anchor-prefix}.ipr" myns:unnumbered="unnumbered">
     2447  <xsl:if test="not($no-copylong)">
     2448    <section title="Full Copyright Statement" anchor="{$anchor-prefix}.copyright" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2449      <xsl:choose>
     2450        <xsl:when test="$ipr-rfc3667">
     2451          <t>
     2452            <xsl:choose>
     2453              <xsl:when test="$ipr-2007-08"/>
     2454              <xsl:when test="$ipr-rfc4748">
     2455                Copyright &#169; The IETF Trust (<xsl:value-of select="$xml2rfc-ext-pub-year" />).
     2456              </xsl:when>
     2457              <xsl:otherwise>
     2458                Copyright &#169; The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year" />).
     2459              </xsl:otherwise>
     2460            </xsl:choose>
     2461          </t>
     2462          <t>
     2463            This document is subject to the rights, licenses and restrictions
     2464            contained in BCP 78<xsl:if test="/rfc/@submissionType='independent'"> and at <eref target="http://www.rfc-editor.org/copyright.html"/></xsl:if>, and except as set forth therein, the authors
     2465            retain all their rights.
     2466          </t>
     2467          <t>
     2468            This document and the information contained herein are provided
     2469            on an &#8220;AS IS&#8221; basis and THE CONTRIBUTOR,
     2470            THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY),
     2471            THE INTERNET SOCIETY<xsl:if test="$ipr-rfc4748">, THE IETF TRUST</xsl:if>
     2472            AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES,
     2473            EXPRESS OR IMPLIED,
     2474            INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
     2475            INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
     2476            WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
     2477          </t>
     2478        </xsl:when>
     2479        <xsl:otherwise>
     2480          <!-- <http://tools.ietf.org/html/rfc2026#section-10.4> -->
     2481          <t>
     2482            Copyright &#169; The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year" />). All Rights Reserved.
     2483          </t>
     2484          <t>
     2485            This document and translations of it may be copied and furnished to
     2486            others, and derivative works that comment on or otherwise explain it
     2487            or assist in its implementation may be prepared, copied, published and
     2488            distributed, in whole or in part, without restriction of any kind,
     2489            provided that the above copyright notice and this paragraph are
     2490            included on all such copies and derivative works. However, this
     2491            document itself may not be modified in any way, such as by removing
     2492            the copyright notice or references to the Internet Society or other
     2493            Internet organizations, except as needed for the purpose of
     2494            developing Internet standards in which case the procedures for
     2495            copyrights defined in the Internet Standards process must be
     2496            followed, or as required to translate it into languages other than
     2497            English.
     2498          </t>
     2499          <t>
     2500            The limited permissions granted above are perpetual and will not be
     2501            revoked by the Internet Society or its successors or assignees.
     2502          </t>
     2503          <t>
     2504            This document and the information contained herein is provided on an
     2505            &#8220;AS IS&#8221; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
     2506            TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
     2507            BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
     2508            HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
     2509            MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
     2510          </t>
     2511        </xsl:otherwise>
     2512      </xsl:choose>
     2513    </section>
     2514   
     2515    <section title="Intellectual Property" anchor="{$anchor-prefix}.ipr" myns:unnumbered="unnumbered">
     2516      <xsl:choose>
     2517        <xsl:when test="$ipr-rfc3667">
     2518          <t>
     2519            The IETF takes no position regarding the validity or scope of any
     2520            Intellectual Property Rights or other rights that might be claimed to
     2521            pertain to the implementation or use of the technology described in
     2522            this document or the extent to which any license under such rights
     2523            might or might not be available; nor does it represent that it has
     2524            made any independent effort to identify any such rights.  Information
     2525            on the procedures with respect to rights in RFC documents
     2526            can be found in BCP 78 and BCP 79.
     2527          </t>       
     2528          <t>
     2529            Copies of IPR disclosures made to the IETF Secretariat and any
     2530            assurances of licenses to be made available, or the result of an
     2531            attempt made to obtain a general license or permission for the use
     2532            of such proprietary rights by implementers or users of this
     2533            specification can be obtained from the IETF on-line IPR repository
     2534            at <eref target="http://www.ietf.org/ipr"/>.
     2535          </t>       
     2536          <t>
     2537            The IETF invites any interested party to bring to its attention any
     2538            copyrights, patents or patent applications, or other proprietary
     2539            rights that may cover technology that may be required to implement
     2540            this standard. Please address the information to the IETF at
     2541            <eref target="mailto:ietf-ipr@ietf.org">ietf-ipr@ietf.org</eref>.
     2542          </t>       
     2543        </xsl:when>
     2544        <xsl:otherwise>
     2545          <t>
     2546            The IETF takes no position regarding the validity or scope of
     2547            any intellectual property or other rights that might be claimed
     2548            to  pertain to the implementation or use of the technology
     2549            described in this document or the extent to which any license
     2550            under such rights might or might not be available; neither does
     2551            it represent that it has made any effort to identify any such
     2552            rights. Information on the IETF's procedures with respect to
     2553            rights in standards-track and standards-related documentation
     2554            can be found in BCP-11. Copies of claims of rights made
     2555            available for publication and any assurances of licenses to
     2556            be made available, or the result of an attempt made
     2557            to obtain a general license or permission for the use of such
     2558            proprietary rights by implementors or users of this
     2559            specification can be obtained from the IETF Secretariat.
     2560          </t>
     2561          <t>
     2562            The IETF invites any interested party to bring to its
     2563            attention any copyrights, patents or patent applications, or
     2564            other proprietary rights which may cover technology that may be
     2565            required to practice this standard. Please address the
     2566            information to the IETF Executive Director.
     2567          </t>
     2568          <xsl:if test="$xml2rfc-iprnotified='yes'">
     2569            <t>
     2570              The IETF has been notified of intellectual property rights
     2571              claimed in regard to some or all of the specification contained
     2572              in this document. For more information consult the online list
     2573              of claimed rights.
     2574            </t>
     2575          </xsl:if>
     2576        </xsl:otherwise>
     2577      </xsl:choose>
     2578    </section>
     2579   
    24712580    <xsl:choose>
    2472       <xsl:when test="$ipr-rfc3667">
    2473         <t>
    2474           The IETF takes no position regarding the validity or scope of any
    2475           Intellectual Property Rights or other rights that might be claimed to
    2476           pertain to the implementation or use of the technology described in
    2477           this document or the extent to which any license under such rights
    2478           might or might not be available; nor does it represent that it has
    2479           made any independent effort to identify any such rights.  Information
    2480           on the procedures with respect to rights in RFC documents
    2481           can be found in BCP 78 and BCP 79.
    2482         </t>       
    2483         <t>
    2484           Copies of IPR disclosures made to the IETF Secretariat and any
    2485           assurances of licenses to be made available, or the result of an
    2486           attempt made to obtain a general license or permission for the use
    2487           of such proprietary rights by implementers or users of this
    2488           specification can be obtained from the IETF on-line IPR repository
    2489           at <eref target="http://www.ietf.org/ipr"/>.
    2490         </t>       
    2491         <t>
    2492           The IETF invites any interested party to bring to its attention any
    2493           copyrights, patents or patent applications, or other proprietary
    2494           rights that may cover technology that may be required to implement
    2495           this standard. Please address the information to the IETF at
    2496           <eref target="mailto:ietf-ipr@ietf.org">ietf-ipr@ietf.org</eref>.
    2497         </t>       
     2581      <xsl:when test="$no-funding"/>
     2582      <xsl:when test="$funding1 and /rfc/@number">
     2583        <section myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2584          <xsl:attribute name="title">
     2585            <xsl:choose>
     2586              <xsl:when test="$xml2rfc-rfcedstyle='yes'">Acknowledgement</xsl:when>
     2587              <xsl:otherwise>Acknowledgment</xsl:otherwise>
     2588            </xsl:choose>
     2589          </xsl:attribute>
     2590          <t>
     2591            Funding for the RFC Editor function is provided by the IETF
     2592            Administrative Support Activity (IASA).
     2593          </t>
     2594        </section>
    24982595      </xsl:when>
    2499       <xsl:otherwise>
    2500         <t>
    2501           The IETF takes no position regarding the validity or scope of
    2502           any intellectual property or other rights that might be claimed
    2503           to  pertain to the implementation or use of the technology
    2504           described in this document or the extent to which any license
    2505           under such rights might or might not be available; neither does
    2506           it represent that it has made any effort to identify any such
    2507           rights. Information on the IETF's procedures with respect to
    2508           rights in standards-track and standards-related documentation
    2509           can be found in BCP-11. Copies of claims of rights made
    2510           available for publication and any assurances of licenses to
    2511           be made available, or the result of an attempt made
    2512           to obtain a general license or permission for the use of such
    2513           proprietary rights by implementors or users of this
    2514           specification can be obtained from the IETF Secretariat.
    2515         </t>
    2516         <t>
    2517           The IETF invites any interested party to bring to its
    2518           attention any copyrights, patents or patent applications, or
    2519           other proprietary rights which may cover technology that may be
    2520           required to practice this standard. Please address the
    2521           information to the IETF Executive Director.
    2522         </t>
    2523         <xsl:if test="$xml2rfc-iprnotified='yes'">
     2596      <xsl:when test="$funding0 and /rfc/@number">
     2597        <section myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2598          <xsl:attribute name="title">
     2599            <xsl:choose>
     2600              <xsl:when test="$xml2rfc-rfcedstyle='yes'">Acknowledgement</xsl:when>
     2601              <xsl:otherwise>Acknowledgment</xsl:otherwise>
     2602            </xsl:choose>
     2603          </xsl:attribute>
    25242604          <t>
    2525             The IETF has been notified of intellectual property rights
    2526             claimed in regard to some or all of the specification contained
    2527             in this document. For more information consult the online list
    2528             of claimed rights.
     2605            Funding for the RFC Editor function is currently provided by
     2606            the Internet Society.
    25292607          </t>
    2530         </xsl:if>
    2531       </xsl:otherwise>
     2608        </section>
     2609      </xsl:when>
     2610      <xsl:otherwise/>
    25322611    </xsl:choose>
    2533   </section>
    2534  
    2535   <xsl:choose>
    2536     <xsl:when test="$funding2"/>
    2537     <xsl:when test="$funding1 and /rfc/@number">
    2538       <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2539         <t>
    2540           Funding for the RFC Editor function is provided by the IETF
    2541           Administrative Support Activity (IASA).
    2542         </t>
    2543       </section>
    2544     </xsl:when>
    2545     <xsl:when test="$funding0 and /rfc/@number">
    2546       <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2547         <t>
    2548           Funding for the RFC Editor function is currently provided by
    2549           the Internet Society.
    2550         </t>
    2551       </section>
    2552     </xsl:when>
    2553     <xsl:otherwise/>
    2554   </xsl:choose>
     2612  </xsl:if>
    25552613
    25562614</xsl:template>
     
    27982856  margin-left: 0em;
    27992857}
    2800 ul.ind {
     2858<xsl:if test="$has-index">ul.ind {
    28012859  list-style: none;
    28022860  margin-left: 1.5em;
    28032861  margin-right: 0em;
    28042862  padding-left: 0em;
     2863  page-break-before: avoid;
    28052864}
    28062865li.indline0 {
     
    28162875  margin-right: 0em;
    28172876}
    2818 <xsl:if test="//x:bcp14">.bcp14 {
     2877</xsl:if><xsl:if test="//x:bcp14">.bcp14 {
    28192878  font-style: normal;
    28202879  text-transform: lowercase;
     
    33283387                              <xsl:if test="generate-id(.) = generate-id(key('index-item-subitem',concat(@item,'..',@subitem)))">
    33293388                 
    3330                                 <xsl:variable name="itemsubitem" select="concat(@item,'..',@subitem)"/>
    33313389                                <xsl:variable name="in-artwork2" select="key('index-item-subitem',concat(@item,'..',@subitem))[@primary='true' and ancestor::artwork]" />
    33323390                 
     
    33793437<xsl:template name="insertPreamble" myns:namespaceless-elements="xml2rfc">
    33803438
    3381   <section title="Status of this Memo" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.status">
     3439  <section myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.status">
     3440  <xsl:attribute name="title">
     3441    <xsl:choose>
     3442      <xsl:when test="$xml2rfc-rfcedstyle='yes'">Status of This Memo</xsl:when>
     3443      <xsl:otherwise>Status of this Memo</xsl:otherwise>
     3444    </xsl:choose>
     3445  </xsl:attribute>
    33823446
    33833447  <xsl:choose>
     
    34713535            <xref target="{/rfc/@iprExtract}"/> as-is for separate use.</xsl:if>.
    34723536          </xsl:when>
    3473 
    3474           <xsl:otherwise>CONFORMANCE UNDEFINED.</xsl:otherwise>
     3537 
     3538          <!-- as of Nov 2008 -->
     3539          <xsl:when test="/rfc/@ipr = 'trust200811'">
     3540            This Internet-Draft is submitted to IETF pursuant to, and in full
     3541            conformance with, the provisions of BCP 78 and BCP 79.
     3542          </xsl:when>
     3543          <xsl:when test="/rfc/@ipr = 'noModificationTrust200811'">
     3544            This Internet-Draft is submitted to IETF pursuant to, and in full
     3545            conformance with, the provisions of BCP 78 and BCP 79.
     3546            This document may not be modified, and derivative works of it may
     3547            not be created, except to format it for publication as an RFC and
     3548            to translate it into languages other than English.
     3549          </xsl:when>
     3550          <xsl:when test="/rfc/@ipr = 'noDerivativesTrust200811'">
     3551            This Internet-Draft is submitted to IETF pursuant to, and in full
     3552            conformance with, the provisions of BCP 78 and BCP 79.
     3553            This document may not be modified, and derivative works of it may
     3554            not be created, and it may not be published except as an Internet-Draft.
     3555          </xsl:when>
     3556          <xsl:otherwise>
     3557            CONFORMANCE UNDEFINED.
     3558          </xsl:otherwise>
    34753559        </xsl:choose>
    34763560      </t>
     
    35463630
    35473631  <xsl:choose>
    3548     <xsl:when test="$ipr-2007-08"/>
     3632    <xsl:when test="$ipr-2008-11">
     3633      <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
     3634        <t>
     3635          Copyright &#169; <xsl:value-of select="$xml2rfc-ext-pub-year" /> IETF Trust and the persons identified
     3636          as the document authors.  All rights reserved.
     3637        </t>
     3638        <t>   
     3639          This document is subject to BCP 78 and the IETF Trust's Legal
     3640          Provisions Relating to IETF Documents
     3641          (<eref target="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</eref>) in effect on the date of
     3642          publication of this document.  Please review these documents
     3643          carefully, as they describe your rights and restrictions with respect
     3644          to this document.
     3645        </t>
     3646      </section>
     3647    </xsl:when>
     3648    <xsl:when test="$ipr-2007-08">
     3649      <!-- no copyright notice -->
     3650    </xsl:when>
    35493651    <xsl:when test="$ipr-rfc4748">
    35503652      <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
     
    35583660        <t>
    35593661          Copyright &#169; The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year" />).  All Rights Reserved.
    3560       </t>
     3662        </t>
    35613663      </section>
    35623664    </xsl:otherwise>
     
    36603762
    36613763  <!-- copyright statements -->
    3662   <xsl:if test="not($xml2rfc-private)">
     3764  <xsl:if test="not($xml2rfc-private) and not($no-copylong)">
    36633765    <li>
    36643766      <xsl:call-template name="insert-toc-line">
     
    42274329   
    42284330  <xsl:choose>
     4331    <xsl:when test="$c='-'">2D</xsl:when>
     4332    <xsl:when test="$c='0'">30</xsl:when>
     4333    <xsl:when test="$c='1'">31</xsl:when>
     4334    <xsl:when test="$c='2'">32</xsl:when>
     4335    <xsl:when test="$c='3'">33</xsl:when>
     4336    <xsl:when test="$c='4'">34</xsl:when>
     4337    <xsl:when test="$c='5'">35</xsl:when>
     4338    <xsl:when test="$c='6'">36</xsl:when>
     4339    <xsl:when test="$c='7'">37</xsl:when>
     4340    <xsl:when test="$c='8'">38</xsl:when>
     4341    <xsl:when test="$c='9'">39</xsl:when>
    42294342    <xsl:when test="$c='A'">41</xsl:when>
    42304343    <xsl:when test="$c='B'">42</xsl:when>
     
    43274440<xsl:template match="x:bc">
    43284441  <xsl:variable name="first" select="substring(.,1)"/>
    4329   <xsl:variable name="last" select="substring(.,string-length(.)-1)"/>
    43304442  <xsl:variable name="content" select="substring(.,2,string-length(.)-2)"/>
    43314443  <xsl:variable name="is-delimiter" select="translate($content,'-','')=''"/>
     
    45134625
    45144626<xsl:template match="*|@*" mode="issuehtml">
    4515   <xsl:message terminate="yes">Unexpected node in issue HTML: <xsl:value-of select="local-name(.)"/></xsl:message>
     4627  <xsl:message terminate="yes">Unexpected node in issue HTML: <xsl:value-of select="name(.)"/></xsl:message>
    45164628</xsl:template>
    45174629
     
    45714683  </table>
    45724684 
    4573 </xsl:template>
    4574 
    4575 <xsl:template name="formatTitle">
    4576   <xsl:if test="@who">
    4577     <xsl:value-of select="@who" />
    4578   </xsl:if>
    4579   <xsl:if test="@datetime">
    4580     <xsl:value-of select="concat(' (',@datetime,')')" />
    4581   </xsl:if>
    4582   <xsl:if test="@reason">
    4583     <xsl:value-of select="concat(': ',@reason)" />
    4584   </xsl:if>
    4585   <xsl:if test="@cite">
    4586     <xsl:value-of select="concat(' &lt;',@cite,'&gt;')" />
    4587   </xsl:if>
    45884685</xsl:template>
    45894686
     
    50875184</xsl:template>
    50885185
    5089 <xsl:template name="get-authors">
    5090   <xsl:for-each select="/rfc/front/author">
    5091     <xsl:value-of select="@fullname" />
    5092     <xsl:if test="position()!=last()">, </xsl:if>
    5093   </xsl:for-each>
    5094 </xsl:template>
    5095 
    50965186<xsl:template name="get-category-long">
    50975187  <xsl:choose>
     
    51315221    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    51325222    <!-- when RCS keyword substitution in place, add version info -->
    5133     <xsl:if test="contains('$Revision: 1.400 $',':')">
    5134       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.400 $', 'Revision: '),'$','')),', ')" />
     5223    <xsl:if test="contains('$Revision: 1.415 $',':')">
     5224      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.415 $', 'Revision: '),'$','')),', ')" />
    51355225    </xsl:if>
    5136     <xsl:if test="contains('$Date: 2008-10-10 14:04:14 $',':')">
    5137       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-10-10 14:04:14 $', 'Date: '),'$','')),', ')" />
     5226    <xsl:if test="contains('$Date: 2009-01-29 15:06:08 $',':')">
     5227      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-01-29 15:06:08 $', 'Date: '),'$','')),', ')" />
    51385228    </xsl:if>
    51395229    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
     
    54715561</xsl:param>
    54725562
    5473 </xsl:stylesheet>
     5563</xsl:transform>
Note: See TracChangeset for help on using the changeset viewer.