Ignore:
Timestamp:
01/04/10 07:49:35 (10 years ago)
Author:
julian.reschke@…
Message:

latest versions of rfc2629.xslt and xml2rfc.tcl, bump up document dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r764 r799  
    290290</xsl:param>
    291291
    292 <!-- experimental support for TLP 4.0, work in progress -->
    293 
    294 <xsl:param name="xml2rfc-ext-tlp">
    295   <xsl:call-template name="parse-pis">
    296     <xsl:with-param name="nodes" select="/processing-instruction('rfc-ext')"/>
    297     <xsl:with-param name="attr" select="'tlp'"/>
    298     <xsl:with-param name="default" select="''"/>
    299   </xsl:call-template>
    300 </xsl:param>
    301 
    302292<!-- trailing dots in section numbers -->
    303293
     
    437427      ($rfcno=5741 or $rfcno=5742 or $rfcno=5743)"
    438428      >2010</xsl:when>
    439     <xsl:when test="$xml2rfc-ext-tlp='4'">2010</xsl:when>
    440429    <xsl:otherwise/>
    441430  </xsl:choose>   
     
    504493  )" />
    505494
    506 <!-- this makes the Jan 2010 TLP text depend on the tlp ext PI
     495<!-- this makes the Jan 2010 TLP text depend on the publication date to be >= 2010-04
    507496     for IDs, and around 2010-01 for RFCs-->
    508497<xsl:variable name="ipr-2010-01" select="(
    509     ( not(/rfc/@number) and $xml2rfc-ext-tlp='4' )
     498    ( not(/rfc/@number) and $pub-yearmonth >= 201004 )
    510499    or
    511500    (
     
    791780        <xsl:if test="@role">
    792781          (<xsl:value-of select="@role" />)
     782        </xsl:if>
     783        <!-- annotation support for Martin "uuml" Duerst -->
     784        <xsl:if test="@x:annotation">
     785          <xsl:text> </xsl:text>
     786          <i><xsl:value-of select="@x:annotation"/></i>
    793787        </xsl:if>
    794788        <!-- components of name (hidden from display -->
     
    900894          <xsl:text>URI: </xsl:text>
    901895          <a href="{$uri}" class="url"><xsl:value-of select="$uri" /></a>
     896          <xsl:if test="@x:annotation">
     897            <xsl:text> </xsl:text>
     898            <i><xsl:value-of select="@x:annotation"/></i>
     899          </xsl:if>
    902900        </span>
    903901      </xsl:for-each>
     
    27012699        <xsl:text>,</xsl:text>
    27022700      </xsl:if>
     2701    </xsl:if>
     2702    <xsl:if test="$xml2rfc-ext-pub-day='' and /rfc/@docName and not(substring(/rfc/@docName, string-length(/rfc/@docName) - string-length('-latest') + 1) = '-latest')">
     2703      <xsl:call-template name="warning">
     2704        <xsl:with-param name="msg" select="concat('/rfc/front/date/@day appears to be missing for a historic draft dated ', $pub-yearmonth)"/>
     2705        <xsl:with-param name="inline" select="'no'"/>
     2706      </xsl:call-template>
    27032707    </xsl:if>
    27042708    <xsl:value-of select="concat(' ',$xml2rfc-ext-pub-year)" />
     
    61146118    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    61156119    <!-- when RCS keyword substitution in place, add version info -->
    6116     <xsl:if test="contains('$Revision: 1.510 $',':')">
    6117       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.510 $', 'Revision: '),'$','')),', ')" />
     6120    <xsl:if test="contains('$Revision: 1.517 $',':')">
     6121      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.517 $', 'Revision: '),'$','')),', ')" />
    61186122    </xsl:if>
    6119     <xsl:if test="contains('$Date: 2010-02-20 17:14:25 $',':')">
    6120       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-02-20 17:14:25 $', 'Date: '),'$','')),', ')" />
     6123    <xsl:if test="contains('$Date: 2010-03-31 18:24:38 $',':')">
     6124      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-03-31 18:24:38 $', 'Date: '),'$','')),', ')" />
    61216125    </xsl:if>
    61226126    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
Note: See TracChangeset for help on using the changeset viewer.