Ignore:
Timestamp:
Aug 1, 2010, 3:48:12 AM (9 years ago)
Author:
julian.reschke@…
Message:

bump up document dates, update to latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629toXHTML.xslt

    r832 r971  
    26862686
    26872687<xsl:template name="expirydate">
     2688  <xsl:param name="in-prose"/>
    26882689  <xsl:choose>
    26892690    <xsl:when test="$xml2rfc-ext-pub-day &gt;= 1">
     2691      <xsl:if test="$in-prose">
     2692        <xsl:text>on </xsl:text>
     2693      </xsl:if>
    26902694      <xsl:call-template name="normalize-date">
    26912695        <xsl:with-param name="year" select="$xml2rfc-ext-pub-year"/>
     
    26942698      </xsl:call-template>
    26952699    </xsl:when>
    2696     <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
    2697     <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
    2698     <xsl:when test="$xml2rfc-ext-pub-month='March'">September <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
    2699     <xsl:when test="$xml2rfc-ext-pub-month='April'">October <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
    2700     <xsl:when test="$xml2rfc-ext-pub-month='May'">November <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
    2701     <xsl:when test="$xml2rfc-ext-pub-month='June'">December <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
    2702     <xsl:when test="$xml2rfc-ext-pub-month='July'">January <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
    2703     <xsl:when test="$xml2rfc-ext-pub-month='August'">February <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
    2704     <xsl:when test="$xml2rfc-ext-pub-month='September'">March <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
    2705     <xsl:when test="$xml2rfc-ext-pub-month='October'">April <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
    2706     <xsl:when test="$xml2rfc-ext-pub-month='November'">May <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
    2707     <xsl:when test="$xml2rfc-ext-pub-month='December'">June <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
    2708       <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
    2709    </xsl:choose>
     2700    <xsl:otherwise>
     2701      <xsl:if test="$in-prose">
     2702        <xsl:text>in </xsl:text>
     2703      </xsl:if>
     2704      <xsl:choose>
     2705        <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2706        <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2707        <xsl:when test="$xml2rfc-ext-pub-month='March'">September <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2708        <xsl:when test="$xml2rfc-ext-pub-month='April'">October <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2709        <xsl:when test="$xml2rfc-ext-pub-month='May'">November <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2710        <xsl:when test="$xml2rfc-ext-pub-month='June'">December <xsl:value-of select="$xml2rfc-ext-pub-year"/></xsl:when>
     2711        <xsl:when test="$xml2rfc-ext-pub-month='July'">January <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2712        <xsl:when test="$xml2rfc-ext-pub-month='August'">February <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2713        <xsl:when test="$xml2rfc-ext-pub-month='September'">March <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2714        <xsl:when test="$xml2rfc-ext-pub-month='October'">April <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2715        <xsl:when test="$xml2rfc-ext-pub-month='November'">May <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2716        <xsl:when test="$xml2rfc-ext-pub-month='December'">June <xsl:value-of select="$xml2rfc-ext-pub-year + 1"/></xsl:when>
     2717        <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
     2718      </xsl:choose>
     2719    </xsl:otherwise>
     2720  </xsl:choose>
    27102721</xsl:template>
    27112722
     
    40774088      </xsl:if>
    40784089      <t>
    4079         This Internet-Draft will expire in <xsl:call-template name="expirydate"/>.
     4090        This Internet-Draft will expire <xsl:call-template name="expirydate"><xsl:with-param name="in-prose" select="true()"/></xsl:call-template>.
    40804091      </t>
    40814092    </xsl:when>
     
    60386049    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    60396050    <!-- when RCS keyword substitution in place, add version info -->
    6040     <xsl:if test="contains('$Revision: 1.518 $',':')">
    6041       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.518 $', 'Revision: '),'$','')),', ')"/>
     6051    <xsl:if test="contains('$Revision: 1.520 $',':')">
     6052      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.520 $', 'Revision: '),'$','')),', ')"/>
    60426053    </xsl:if>
    6043     <xsl:if test="contains('$Date: 2010-06-27 12:07:31 $',':')">
    6044       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-06-27 12:07:31 $', 'Date: '),'$','')),', ')"/>
     6054    <xsl:if test="contains('$Date: 2010-07-14 12:36:35 $',':')">
     6055      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-07-14 12:36:35 $', 'Date: '),'$','')),', ')"/>
    60456056    </xsl:if>
    60466057    <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.