Ignore:
Timestamp:
Jan 29, 2009, 7:34:57 AM (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/rfc2629toXHTML.xslt

    r329 r440  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    22<!--Auto-generated from rfc2629.xslt through HTMLtoXHTML.xslt-->
    3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ed="http://greenbytes.de/2002/rfcedit" xmlns:date="http://exslt.org/dates-and-times" xmlns:exslt="http://exslt.org/common" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:saxon-old="http://icl.com/saxon" xmlns:saxon="http://saxon.sf.net/" xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="date ed exslt msxsl myns rdf saxon saxon-old x xhtml">
     3<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" xmlns:ed="http://greenbytes.de/2002/rfcedit" xmlns:exslt="http://exslt.org/common" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:saxon="http://saxon.sf.net/" xmlns:saxon-old="http://icl.com/saxon" xmlns:x="http://purl.org/net/xml2rfc/ext" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="date ed exslt msxsl myns rdf saxon saxon-old x xhtml">
    44
    55<xsl:strip-space elements="back front list middle rfc section"/>               
     
    6262<xsl:param name="xml2rfc-topblock" select="substring-after(       translate(/processing-instruction('rfc')[contains(.,'topblock=')], concat($quote-chars,' '), ''),         'topblock=')"/>
    6363
     64<!-- Format to the RFC Editor's taste -->
     65
     66<xsl:param name="xml2rfc-rfcedstyle" select="substring-after(       translate(/processing-instruction('rfc')[contains(.,'rfcedstyle=')], concat($quote-chars,' '), ''),         'rfcedstyle=')"/>
     67
    6468<!-- use symbolic reference names instead of numeric ones unless a processing instruction <?rfc?>
    6569     exists with contents symrefs="no". Can be overriden by an XSLT parameter -->
     
    131135<xsl:param name="rfcUrlPrefix" select="'http://tools.ietf.org/html/rfc'"/>
    132136<xsl:param name="rfcUrlPostfix" select="''"/>
    133 <xsl:param name="rfcUrlFrag" select="'section-'"/>
     137<xsl:param name="rfcUrlFragSection" select="'section-'"/>
     138<xsl:param name="rfcUrlFragAppendix" select="'appendix-'"/>
    134139<xsl:param name="internetDraftUrlPrefix" select="'http://tools.ietf.org/html/'"/>
    135140<xsl:param name="internetDraftUrlPostfix" select="''"/>
     
    147152<xsl:variable name="ucase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>       
    148153
    149 <xsl:variable name="plain" select="' #/ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
    150 <xsl:variable name="touri" select="'___abcdefghijklmnopqrstuvwxyz'"/>
    151 
    152154<!-- build help keys for indices -->
    153155<xsl:key name="index-first-letter" match="iref|reference" use="translate(substring(concat(@anchor,@item),1,1),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
     
    177179<xsl:variable name="ipr-2007-08" select="(   $ipr-rfc4748 and     (       (/rfc/@number &gt; 5000         and /rfc/@number != 5020         and /rfc/@number != 5021         and /rfc/@number != 5034         and /rfc/@number != 5052         and /rfc/@number != 5065         and /rfc/@number != 5094) or       ($xml2rfc-ext-pub-year &gt;= 2008) or       (not(/rfc/@number) and $xml2rfc-ext-pub-year &gt;= 2007 and $xml2rfc-ext-pub-month-numeric &gt;= 9)     )   )"/>
    178180
     181<xsl:variable name="ipr-2008-11" select="(     /rfc/@number and     ($xml2rfc-ext-pub-year &gt;= 2009 or ($xml2rfc-ext-pub-year &gt;= 2008 and $xml2rfc-ext-pub-month-numeric &gt;= 11))   )   or   (     /rfc/@ipr = 'trust200811' or     /rfc/@ipr = 'noModificationTrust200811' or     /rfc/@ipr = 'noDerivativesTrust200811'   )"/>
     182
    179183<!-- funding switch --> 
    180184<xsl:variable name="funding0" select="(   /rfc/@number &gt; 2499) or   (not(/rfc/@number) and /rfc/@docName and $xml2rfc-ext-pub-year &gt;= 1999   )"/>
     
    182186<xsl:variable name="funding1" select="(   /rfc/@number &gt; 4320) or   (not(/rfc/@number) and /rfc/@docName and $xml2rfc-ext-pub-year &gt;= 2006   )"/>
    183187
    184 <xsl:variable name="funding2" select="$ipr-2007-08"/>
     188<xsl:variable name="no-funding" select="$ipr-2007-08"/>
     189
     190<xsl:variable name="no-copylong" select="$ipr-2008-11"/>
    185191
    186192<!-- will document have an index -->
     
    233239<xsl:template name="add-artwork-class">
    234240  <xsl:choose>
    235     <xsl:when test="@type='abnf' or @type='abnf2616' or @type='application/xml-dtd' or @type='inline' or @type='application/relax-ng-compact-syntax'">
     241    <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'">
    236242      <xsl:attribute name="class">inline</xsl:attribute>
    237243    </xsl:when>
     
    464470       
    465471        <span class="vcardline">
    466           <xsl:text>EMail: </xsl:text>
     472          <xsl:choose>
     473            <xsl:when test="$xml2rfc-rfcedstyle='yes'">Email: </xsl:when>
     474            <xsl:otherwise>EMail: </xsl:otherwise>
     475          </xsl:choose>
    467476          <a>
    468477            <xsl:if test="$xml2rfc-linkmailto!='no'">
     
    619628  </xsl:if>
    620629   
     630  <!-- check for conforming ipr attribute -->
     631  <xsl:choose>
     632    <xsl:when test="not(/rfc/@ipr)"/>
     633    <xsl:when test="/rfc/@ipr = 'full2026'"/>
     634    <xsl:when test="/rfc/@ipr = 'noDerivativeWorks'"/>
     635    <xsl:when test="/rfc/@ipr = 'none'"/>
     636    <xsl:when test="/rfc/@ipr = 'full3667'"/>
     637    <xsl:when test="/rfc/@ipr = 'noModification3667'"/>
     638    <xsl:when test="/rfc/@ipr = 'noDerivatives3667'"/>
     639    <xsl:when test="/rfc/@ipr = 'full3978'"/>
     640    <xsl:when test="/rfc/@ipr = 'noModification3978'"/>
     641    <xsl:when test="/rfc/@ipr = 'noDerivatives3978'"/>
     642    <xsl:when test="/rfc/@ipr = 'trust200811'"/>
     643    <xsl:when test="/rfc/@ipr = 'noModificationTrust200811'"/>
     644    <xsl:when test="/rfc/@ipr = 'noDerivativesTrust200811'"/>
     645    <xsl:otherwise>
     646      <xsl:call-template name="error">
     647        <xsl:with-param name="msg" select="concat('Unknown value for /rfc/@ipr: ', /rfc/@ipr)"/>
     648      </xsl:call-template>
     649    </xsl:otherwise>       
     650  </xsl:choose>           
     651
    621652  <xsl:if test="not($xml2rfc-private)">
     653 
    622654    <!-- Get status info formatted as per RFC2629-->
    623     <xsl:variable name="preamble"><xsl:call-template name="insertPreamble"/></xsl:variable>
     655    <xsl:variable name="preamble">
     656      <xsl:call-template name="insertPreamble"/>
     657    </xsl:variable>
    624658   
    625659    <!-- emit it -->
     
    635669    </xsl:choose>
    636670  </xsl:if>
    637            
     671         
    638672  <xsl:apply-templates select="abstract"/>
    639673  <xsl:apply-templates select="note"/>
     
    928962      </xsl:variable>
    929963      <xsl:value-of select="concat($rfcUrlPrefix,$bib/seriesInfo[@name='RFC']/@value,$rfcUrlPostfix)"/>
    930       <xsl:if test="$ref and $sec!='' and $rfcUrlFrag">
    931         <xsl:value-of select="concat('#',$rfcUrlFrag,$sec)"/>
     964      <xsl:if test="$ref and $sec!='' and $rfcUrlFragSection and $rfcUrlFragAppendix">
     965        <xsl:choose>
     966          <xsl:when test="translate(substring($sec,1,1),$ucase,'')=''">
     967            <xsl:value-of select="concat('#',$rfcUrlFragAppendix,$sec)"/>
     968          </xsl:when>
     969          <xsl:otherwise>
     970            <xsl:value-of select="concat('#',$rfcUrlFragSection,$sec)"/>
     971          </xsl:otherwise>
     972        </xsl:choose>
    932973      </xsl:if>
    933974    </xsl:when>
     
    15971638    <xsl:when test="@x:fmt='none'">
    15981639      <xsl:choose>
    1599         <xsl:when test="name($node)='reference'">
     1640        <xsl:when test="$node/self::reference">
    16001641          <cite xmlns="http://www.w3.org/1999/xhtml" title="{normalize-space($node/front/title)}">
    16011642            <xsl:if test="$xml2rfc-ext-include-references-in-index='yes'">
     
    16231664
    16241665    <!-- Section links -->
    1625     <xsl:when test="name($node)='section' or name($node)='appendix'">
     1666    <xsl:when test="$node/self::section or $node/self::appendix">
    16261667      <xsl:apply-templates/>
    1627       <xsl:variable name="context" select="."/>
    16281668      <xsl:text> (</xsl:text>
    16291669      <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}">
     
    16641704<xsl:template match="xref[not(node())]">
    16651705
    1666   <xsl:variable name="context" select="."/>
    16671706  <xsl:variable name="target" select="@target"/>
    16681707  <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>
     
    16771716 
    16781717    <!-- Section links -->
    1679     <xsl:when test="name($node)='section' or name($node)='appendix'">
     1718    <xsl:when test="$node/self::section or $node/self::appendix">
    16801719      <a xmlns="http://www.w3.org/1999/xhtml" href="#{@target}">
    16811720        <!-- insert id when a backlink to this xref is needed in the index -->
     
    16911730
    16921731    <!-- Figure links -->
    1693     <xsl:when test="name($node)='figure'">
     1732    <xsl:when test="$node/self::figure">
    16941733      <a xmlns="http://www.w3.org/1999/xhtml" href="#{$target}">
    16951734        <xsl:variable name="figcnt">
     
    17131752   
    17141753    <!-- Table links -->
    1715     <xsl:when test="name($node)='texttable'">
     1754    <xsl:when test="$node/self::texttable">
    17161755      <a xmlns="http://www.w3.org/1999/xhtml" href="#{$target}">
    17171756        <xsl:variable name="tabcnt">
     
    17351774   
    17361775    <!-- Reference links -->
    1737     <xsl:when test="name($node)='reference'">
     1776    <xsl:when test="$node/self::reference">
    17381777
    17391778      <xsl:variable name="href">
     
    19431982  <!-- default case -->
    19441983  <xsl:if test="not($xml2rfc-private)">
    1945     <myns:item>Network Working Group</myns:item>
     1984    <xsl:choose>
     1985      <xsl:when test="/rfc/front/workgroup">
     1986        <xsl:for-each select="/rfc/front/workgroup">
     1987          <myns:item><xsl:value-of select="."/></myns:item>
     1988        </xsl:for-each>
     1989      </xsl:when>
     1990      <xsl:otherwise>
     1991        <myns:item>Network Working Group</myns:item>
     1992      </xsl:otherwise>
     1993    </xsl:choose>
    19461994    <myns:item>
    19471995       <xsl:choose>
     
    21972245<xsl:template name="insertCopyright" myns:namespaceless-elements="xml2rfc">
    21982246
    2199   <xsl:choose>
    2200     <xsl:when test="$ipr-rfc3667">
    2201       <section title="Full Copyright Statement" anchor="{$anchor-prefix}.copyright" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2202         <t>
    2203           <xsl:choose>
    2204             <xsl:when test="$ipr-2007-08"/>
    2205             <xsl:when test="$ipr-rfc4748">
    2206               Copyright © The IETF Trust (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).
    2207             </xsl:when>
    2208             <xsl:otherwise>
    2209               Copyright © The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).
    2210             </xsl:otherwise>
    2211           </xsl:choose>
    2212         </t>
    2213         <t>
    2214           This document is subject to the rights, licenses and restrictions
    2215           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
    2216           retain all their rights.
    2217         </t>
    2218         <t>
    2219           <xsl:choose>
    2220             <xsl:when test="$ipr-rfc4748">
    2221               This document and the information contained herein are provided
    2222               on an &#8220;AS IS&#8221; basis and THE CONTRIBUTOR,
    2223               THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY),
    2224               THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING
    2225               TASK FORCE DISCLAIM ALL WARRANTIES,
    2226               EXPRESS OR IMPLIED,
    2227               INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    2228               INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    2229               WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
    2230             </xsl:when>
    2231             <xsl:otherwise>
    2232               This document and the information contained herein are provided
    2233               on an &#8220;AS IS&#8221; basis and THE CONTRIBUTOR,
    2234               THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY),
    2235               THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM
    2236               ALL WARRANTIES,
    2237               EXPRESS OR IMPLIED,
    2238               INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
    2239               INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
    2240               WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
    2241             </xsl:otherwise>
    2242           </xsl:choose>
    2243         </t>
    2244       </section>   
    2245     </xsl:when>
    2246     <xsl:otherwise>
    2247       <!-- <http://tools.ietf.org/html/rfc2026#section-10.4> -->
    2248       <section title="Full Copyright Statement" anchor="{$anchor-prefix}.copyright" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2249         <t>
    2250           Copyright © The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year"/>). All Rights Reserved.
    2251         </t>
    2252         <t>
    2253           This document and translations of it may be copied and furnished to
    2254           others, and derivative works that comment on or otherwise explain it
    2255           or assist in its implementation may be prepared, copied, published and
    2256           distributed, in whole or in part, without restriction of any kind,
    2257           provided that the above copyright notice and this paragraph are
    2258           included on all such copies and derivative works. However, this
    2259           document itself may not be modified in any way, such as by removing
    2260           the copyright notice or references to the Internet Society or other
    2261           Internet organizations, except as needed for the purpose of
    2262           developing Internet standards in which case the procedures for
    2263           copyrights defined in the Internet Standards process must be
    2264           followed, or as required to translate it into languages other than
    2265           English.
    2266         </t>
    2267         <t>
    2268           The limited permissions granted above are perpetual and will not be
    2269           revoked by the Internet Society or its successors or assignees.
    2270         </t>
    2271         <t>
    2272           This document and the information contained herein is provided on an
    2273           &#8220;AS IS&#8221; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
    2274           TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
    2275           BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
    2276           HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
    2277           MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
    2278         </t>
    2279       </section>
    2280     </xsl:otherwise>
    2281   </xsl:choose>
    2282 
    2283   <section title="Intellectual Property" anchor="{$anchor-prefix}.ipr" myns:unnumbered="unnumbered">
     2247  <xsl:if test="not($no-copylong)">
     2248    <section title="Full Copyright Statement" anchor="{$anchor-prefix}.copyright" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2249      <xsl:choose>
     2250        <xsl:when test="$ipr-rfc3667">
     2251          <t>
     2252            <xsl:choose>
     2253              <xsl:when test="$ipr-2007-08"/>
     2254              <xsl:when test="$ipr-rfc4748">
     2255                Copyright © The IETF Trust (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).
     2256              </xsl:when>
     2257              <xsl:otherwise>
     2258                Copyright © The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).
     2259              </xsl:otherwise>
     2260            </xsl:choose>
     2261          </t>
     2262          <t>
     2263            This document is subject to the rights, licenses and restrictions
     2264            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
     2265            retain all their rights.
     2266          </t>
     2267          <t>
     2268            This document and the information contained herein are provided
     2269            on an &#8220;AS IS&#8221; basis and THE CONTRIBUTOR,
     2270            THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY),
     2271            THE INTERNET SOCIETY<xsl:if test="$ipr-rfc4748">, THE IETF TRUST</xsl:if>
     2272            AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES,
     2273            EXPRESS OR IMPLIED,
     2274            INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
     2275            INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
     2276            WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
     2277          </t>
     2278        </xsl:when>
     2279        <xsl:otherwise>
     2280          <!-- <http://tools.ietf.org/html/rfc2026#section-10.4> -->
     2281          <t>
     2282            Copyright © The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year"/>). All Rights Reserved.
     2283          </t>
     2284          <t>
     2285            This document and translations of it may be copied and furnished to
     2286            others, and derivative works that comment on or otherwise explain it
     2287            or assist in its implementation may be prepared, copied, published and
     2288            distributed, in whole or in part, without restriction of any kind,
     2289            provided that the above copyright notice and this paragraph are
     2290            included on all such copies and derivative works. However, this
     2291            document itself may not be modified in any way, such as by removing
     2292            the copyright notice or references to the Internet Society or other
     2293            Internet organizations, except as needed for the purpose of
     2294            developing Internet standards in which case the procedures for
     2295            copyrights defined in the Internet Standards process must be
     2296            followed, or as required to translate it into languages other than
     2297            English.
     2298          </t>
     2299          <t>
     2300            The limited permissions granted above are perpetual and will not be
     2301            revoked by the Internet Society or its successors or assignees.
     2302          </t>
     2303          <t>
     2304            This document and the information contained herein is provided on an
     2305            &#8220;AS IS&#8221; basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
     2306            TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
     2307            BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
     2308            HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
     2309            MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
     2310          </t>
     2311        </xsl:otherwise>
     2312      </xsl:choose>
     2313    </section>
     2314   
     2315    <section title="Intellectual Property" anchor="{$anchor-prefix}.ipr" myns:unnumbered="unnumbered">
     2316      <xsl:choose>
     2317        <xsl:when test="$ipr-rfc3667">
     2318          <t>
     2319            The IETF takes no position regarding the validity or scope of any
     2320            Intellectual Property Rights or other rights that might be claimed to
     2321            pertain to the implementation or use of the technology described in
     2322            this document or the extent to which any license under such rights
     2323            might or might not be available; nor does it represent that it has
     2324            made any independent effort to identify any such rights.  Information
     2325            on the procedures with respect to rights in RFC documents
     2326            can be found in BCP 78 and BCP 79.
     2327          </t>       
     2328          <t>
     2329            Copies of IPR disclosures made to the IETF Secretariat and any
     2330            assurances of licenses to be made available, or the result of an
     2331            attempt made to obtain a general license or permission for the use
     2332            of such proprietary rights by implementers or users of this
     2333            specification can be obtained from the IETF on-line IPR repository
     2334            at <eref target="http://www.ietf.org/ipr"/>.
     2335          </t>       
     2336          <t>
     2337            The IETF invites any interested party to bring to its attention any
     2338            copyrights, patents or patent applications, or other proprietary
     2339            rights that may cover technology that may be required to implement
     2340            this standard. Please address the information to the IETF at
     2341            <eref target="mailto:ietf-ipr@ietf.org">ietf-ipr@ietf.org</eref>.
     2342          </t>       
     2343        </xsl:when>
     2344        <xsl:otherwise>
     2345          <t>
     2346            The IETF takes no position regarding the validity or scope of
     2347            any intellectual property or other rights that might be claimed
     2348            to  pertain to the implementation or use of the technology
     2349            described in this document or the extent to which any license
     2350            under such rights might or might not be available; neither does
     2351            it represent that it has made any effort to identify any such
     2352            rights. Information on the IETF's procedures with respect to
     2353            rights in standards-track and standards-related documentation
     2354            can be found in BCP-11. Copies of claims of rights made
     2355            available for publication and any assurances of licenses to
     2356            be made available, or the result of an attempt made
     2357            to obtain a general license or permission for the use of such
     2358            proprietary rights by implementors or users of this
     2359            specification can be obtained from the IETF Secretariat.
     2360          </t>
     2361          <t>
     2362            The IETF invites any interested party to bring to its
     2363            attention any copyrights, patents or patent applications, or
     2364            other proprietary rights which may cover technology that may be
     2365            required to practice this standard. Please address the
     2366            information to the IETF Executive Director.
     2367          </t>
     2368          <xsl:if test="$xml2rfc-iprnotified='yes'">
     2369            <t>
     2370              The IETF has been notified of intellectual property rights
     2371              claimed in regard to some or all of the specification contained
     2372              in this document. For more information consult the online list
     2373              of claimed rights.
     2374            </t>
     2375          </xsl:if>
     2376        </xsl:otherwise>
     2377      </xsl:choose>
     2378    </section>
     2379   
    22842380    <xsl:choose>
    2285       <xsl:when test="$ipr-rfc3667">
    2286         <t>
    2287           The IETF takes no position regarding the validity or scope of any
    2288           Intellectual Property Rights or other rights that might be claimed to
    2289           pertain to the implementation or use of the technology described in
    2290           this document or the extent to which any license under such rights
    2291           might or might not be available; nor does it represent that it has
    2292           made any independent effort to identify any such rights.  Information
    2293           on the procedures with respect to rights in RFC documents
    2294           can be found in BCP 78 and BCP 79.
    2295         </t>       
    2296         <t>
    2297           Copies of IPR disclosures made to the IETF Secretariat and any
    2298           assurances of licenses to be made available, or the result of an
    2299           attempt made to obtain a general license or permission for the use
    2300           of such proprietary rights by implementers or users of this
    2301           specification can be obtained from the IETF on-line IPR repository
    2302           at <eref target="http://www.ietf.org/ipr"/>.
    2303         </t>       
    2304         <t>
    2305           The IETF invites any interested party to bring to its attention any
    2306           copyrights, patents or patent applications, or other proprietary
    2307           rights that may cover technology that may be required to implement
    2308           this standard. Please address the information to the IETF at
    2309           <eref target="mailto:ietf-ipr@ietf.org">ietf-ipr@ietf.org</eref>.
    2310         </t>       
     2381      <xsl:when test="$no-funding"/>
     2382      <xsl:when test="$funding1 and /rfc/@number">
     2383        <section myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2384          <xsl:attribute name="title">
     2385            <xsl:choose>
     2386              <xsl:when test="$xml2rfc-rfcedstyle='yes'">Acknowledgement</xsl:when>
     2387              <xsl:otherwise>Acknowledgment</xsl:otherwise>
     2388            </xsl:choose>
     2389          </xsl:attribute>
     2390          <t>
     2391            Funding for the RFC Editor function is provided by the IETF
     2392            Administrative Support Activity (IASA).
     2393          </t>
     2394        </section>
    23112395      </xsl:when>
    2312       <xsl:otherwise>
    2313         <t>
    2314           The IETF takes no position regarding the validity or scope of
    2315           any intellectual property or other rights that might be claimed
    2316           to  pertain to the implementation or use of the technology
    2317           described in this document or the extent to which any license
    2318           under such rights might or might not be available; neither does
    2319           it represent that it has made any effort to identify any such
    2320           rights. Information on the IETF's procedures with respect to
    2321           rights in standards-track and standards-related documentation
    2322           can be found in BCP-11. Copies of claims of rights made
    2323           available for publication and any assurances of licenses to
    2324           be made available, or the result of an attempt made
    2325           to obtain a general license or permission for the use of such
    2326           proprietary rights by implementors or users of this
    2327           specification can be obtained from the IETF Secretariat.
    2328         </t>
    2329         <t>
    2330           The IETF invites any interested party to bring to its
    2331           attention any copyrights, patents or patent applications, or
    2332           other proprietary rights which may cover technology that may be
    2333           required to practice this standard. Please address the
    2334           information to the IETF Executive Director.
    2335         </t>
    2336         <xsl:if test="$xml2rfc-iprnotified='yes'">
     2396      <xsl:when test="$funding0 and /rfc/@number">
     2397        <section myns:unnumbered="unnumbered" myns:notoclink="notoclink">
     2398          <xsl:attribute name="title">
     2399            <xsl:choose>
     2400              <xsl:when test="$xml2rfc-rfcedstyle='yes'">Acknowledgement</xsl:when>
     2401              <xsl:otherwise>Acknowledgment</xsl:otherwise>
     2402            </xsl:choose>
     2403          </xsl:attribute>
    23372404          <t>
    2338             The IETF has been notified of intellectual property rights
    2339             claimed in regard to some or all of the specification contained
    2340             in this document. For more information consult the online list
    2341             of claimed rights.
     2405            Funding for the RFC Editor function is currently provided by
     2406            the Internet Society.
    23422407          </t>
    2343         </xsl:if>
    2344       </xsl:otherwise>
     2408        </section>
     2409      </xsl:when>
     2410      <xsl:otherwise/>
    23452411    </xsl:choose>
    2346   </section>
    2347  
    2348   <xsl:choose>
    2349     <xsl:when test="$funding2"/>
    2350     <xsl:when test="$funding1 and /rfc/@number">
    2351       <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2352         <t>
    2353           Funding for the RFC Editor function is provided by the IETF
    2354           Administrative Support Activity (IASA).
    2355         </t>
    2356       </section>
    2357     </xsl:when>
    2358     <xsl:when test="$funding0 and /rfc/@number">
    2359       <section title="Acknowledgement" myns:unnumbered="unnumbered" myns:notoclink="notoclink">
    2360         <t>
    2361           Funding for the RFC Editor function is currently provided by
    2362           the Internet Society.
    2363         </t>
    2364       </section>
    2365     </xsl:when>
    2366     <xsl:otherwise/>
    2367   </xsl:choose>
     2412  </xsl:if>
    23682413
    23692414</xsl:template>
     
    26112656  margin-left: 0em;
    26122657}
    2613 ul.ind {
     2658<xsl:if test="$has-index">ul.ind {
    26142659  list-style: none;
    26152660  margin-left: 1.5em;
    26162661  margin-right: 0em;
    26172662  padding-left: 0em;
     2663  page-break-before: avoid;
    26182664}
    26192665li.indline0 {
     
    26292675  margin-right: 0em;
    26302676}
    2631 <xsl:if test="//x:bcp14">.bcp14 {
     2677</xsl:if><xsl:if test="//x:bcp14">.bcp14 {
    26322678  font-style: normal;
    26332679  text-transform: lowercase;
     
    31413187                              <xsl:if test="generate-id(.) = generate-id(key('index-item-subitem',concat(@item,'..',@subitem)))">
    31423188                 
    3143                                 <xsl:variable name="itemsubitem" select="concat(@item,'..',@subitem)"/>
    31443189                                <xsl:variable name="in-artwork2" select="key('index-item-subitem',concat(@item,'..',@subitem))[@primary='true' and ancestor::artwork]"/>
    31453190                 
     
    31923237<xsl:template name="insertPreamble" myns:namespaceless-elements="xml2rfc">
    31933238
    3194   <section title="Status of this Memo" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.status">
     3239  <section myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.status">
     3240  <xsl:attribute name="title">
     3241    <xsl:choose>
     3242      <xsl:when test="$xml2rfc-rfcedstyle='yes'">Status of This Memo</xsl:when>
     3243      <xsl:otherwise>Status of this Memo</xsl:otherwise>
     3244    </xsl:choose>
     3245  </xsl:attribute>
    31953246
    31963247  <xsl:choose>
     
    32843335            <xref target="{/rfc/@iprExtract}"/> as-is for separate use.</xsl:if>.
    32853336          </xsl:when>
    3286 
    3287           <xsl:otherwise>CONFORMANCE UNDEFINED.</xsl:otherwise>
     3337 
     3338          <!-- as of Nov 2008 -->
     3339          <xsl:when test="/rfc/@ipr = 'trust200811'">
     3340            This Internet-Draft is submitted to IETF pursuant to, and in full
     3341            conformance with, the provisions of BCP 78 and BCP 79.
     3342          </xsl:when>
     3343          <xsl:when test="/rfc/@ipr = 'noModificationTrust200811'">
     3344            This Internet-Draft is submitted to IETF pursuant to, and in full
     3345            conformance with, the provisions of BCP 78 and BCP 79.
     3346            This document may not be modified, and derivative works of it may
     3347            not be created, except to format it for publication as an RFC and
     3348            to translate it into languages other than English.
     3349          </xsl:when>
     3350          <xsl:when test="/rfc/@ipr = 'noDerivativesTrust200811'">
     3351            This Internet-Draft is submitted to IETF pursuant to, and in full
     3352            conformance with, the provisions of BCP 78 and BCP 79.
     3353            This document may not be modified, and derivative works of it may
     3354            not be created, and it may not be published except as an Internet-Draft.
     3355          </xsl:when>
     3356          <xsl:otherwise>
     3357            CONFORMANCE UNDEFINED.
     3358          </xsl:otherwise>
    32883359        </xsl:choose>
    32893360      </t>
     
    33593430
    33603431  <xsl:choose>
    3361     <xsl:when test="$ipr-2007-08"/>
     3432    <xsl:when test="$ipr-2008-11">
     3433      <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
     3434        <t>
     3435          Copyright © <xsl:value-of select="$xml2rfc-ext-pub-year"/> IETF Trust and the persons identified
     3436          as the document authors.  All rights reserved.
     3437        </t>
     3438        <t>   
     3439          This document is subject to BCP 78 and the IETF Trust's Legal
     3440          Provisions Relating to IETF Documents
     3441          (<eref target="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</eref>) in effect on the date of
     3442          publication of this document.  Please review these documents
     3443          carefully, as they describe your rights and restrictions with respect
     3444          to this document.
     3445        </t>
     3446      </section>
     3447    </xsl:when>
     3448    <xsl:when test="$ipr-2007-08">
     3449      <!-- no copyright notice -->
     3450    </xsl:when>
    33623451    <xsl:when test="$ipr-rfc4748">
    33633452      <section title="Copyright Notice" myns:unnumbered="unnumbered" myns:notoclink="notoclink" anchor="{$anchor-prefix}.copyrightnotice">
     
    33713460        <t>
    33723461          Copyright © The Internet Society (<xsl:value-of select="$xml2rfc-ext-pub-year"/>).  All Rights Reserved.
    3373       </t>
     3462        </t>
    33743463      </section>
    33753464    </xsl:otherwise>
     
    34733562
    34743563  <!-- copyright statements -->
    3475   <xsl:if test="not($xml2rfc-private)">
     3564  <xsl:if test="not($xml2rfc-private) and not($no-copylong)">
    34763565    <li xmlns="http://www.w3.org/1999/xhtml">
    34773566      <xsl:call-template name="insert-toc-line">
     
    40404129   
    40414130  <xsl:choose>
     4131    <xsl:when test="$c='-'">2D</xsl:when>
     4132    <xsl:when test="$c='0'">30</xsl:when>
     4133    <xsl:when test="$c='1'">31</xsl:when>
     4134    <xsl:when test="$c='2'">32</xsl:when>
     4135    <xsl:when test="$c='3'">33</xsl:when>
     4136    <xsl:when test="$c='4'">34</xsl:when>
     4137    <xsl:when test="$c='5'">35</xsl:when>
     4138    <xsl:when test="$c='6'">36</xsl:when>
     4139    <xsl:when test="$c='7'">37</xsl:when>
     4140    <xsl:when test="$c='8'">38</xsl:when>
     4141    <xsl:when test="$c='9'">39</xsl:when>
    40424142    <xsl:when test="$c='A'">41</xsl:when>
    40434143    <xsl:when test="$c='B'">42</xsl:when>
     
    41404240<xsl:template match="x:bc">
    41414241  <xsl:variable name="first" select="substring(.,1)"/>
    4142   <xsl:variable name="last" select="substring(.,string-length(.)-1)"/>
    41434242  <xsl:variable name="content" select="substring(.,2,string-length(.)-2)"/>
    41444243  <xsl:variable name="is-delimiter" select="translate($content,'-','')=''"/>
     
    43264425
    43274426<xsl:template match="*|@*" mode="issuehtml">
    4328   <xsl:message terminate="yes">Unexpected node in issue HTML: <xsl:value-of select="local-name(.)"/></xsl:message>
     4427  <xsl:message terminate="yes">Unexpected node in issue HTML: <xsl:value-of select="name(.)"/></xsl:message>
    43294428</xsl:template>
    43304429
     
    43844483  </table>
    43854484 
    4386 </xsl:template>
    4387 
    4388 <xsl:template name="formatTitle">
    4389   <xsl:if test="@who">
    4390     <xsl:value-of select="@who"/>
    4391   </xsl:if>
    4392   <xsl:if test="@datetime">
    4393     <xsl:value-of select="concat(' (',@datetime,')')"/>
    4394   </xsl:if>
    4395   <xsl:if test="@reason">
    4396     <xsl:value-of select="concat(': ',@reason)"/>
    4397   </xsl:if>
    4398   <xsl:if test="@cite">
    4399     <xsl:value-of select="concat(' &lt;',@cite,'&gt;')"/>
    4400   </xsl:if>
    44014485</xsl:template>
    44024486
     
    48994983</xsl:template>
    49004984
    4901 <xsl:template name="get-authors">
    4902   <xsl:for-each select="/rfc/front/author">
    4903     <xsl:value-of select="@fullname"/>
    4904     <xsl:if test="position()!=last()">, </xsl:if>
    4905   </xsl:for-each>
    4906 </xsl:template>
    4907 
    49084985<xsl:template name="get-category-long">
    49094986  <xsl:choose>
     
    49435020    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    49445021    <!-- when RCS keyword substitution in place, add version info -->
    4945     <xsl:if test="contains('$Revision: 1.400 $',':')">
    4946       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.400 $', 'Revision: '),'$','')),', ')"/>
     5022    <xsl:if test="contains('$Revision: 1.415 $',':')">
     5023      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.415 $', 'Revision: '),'$','')),', ')"/>
    49475024    </xsl:if>
    4948     <xsl:if test="contains('$Date: 2008-10-10 14:04:14 $',':')">
    4949       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-10-10 14:04:14 $', 'Date: '),'$','')),', ')"/>
     5025    <xsl:if test="contains('$Date: 2009-01-29 15:06:08 $',':')">
     5026      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-01-29 15:06:08 $', 'Date: '),'$','')),', ')"/>
    49505027    </xsl:if>
    49515028    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
     
    52835360</xsl:param>
    52845361
    5285 </xsl:stylesheet>
     5362</xsl:transform>
Note: See TracChangeset for help on using the changeset viewer.