Changeset 971 for rfc2629xslt/samples


Ignore:
Timestamp:
01/08/10 10:48:12 (11 years ago)
Author:
julian.reschke@…
Message:

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

Location:
rfc2629xslt/samples
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/samples/rfc2629.xslt

    r832 r971  
    28182818
    28192819<xsl:template name="expirydate">
     2820  <xsl:param name="in-prose"/>
    28202821  <xsl:choose>
    28212822    <xsl:when test="$xml2rfc-ext-pub-day >= 1">
     2823      <xsl:if test="$in-prose">
     2824        <xsl:text>on </xsl:text>
     2825      </xsl:if>
    28222826      <xsl:call-template name="normalize-date">
    28232827        <xsl:with-param name="year" select="$xml2rfc-ext-pub-year"/>
     
    28262830      </xsl:call-template>
    28272831    </xsl:when>
    2828     <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
    2829     <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
    2830     <xsl:when test="$xml2rfc-ext-pub-month='March'">September <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
    2831     <xsl:when test="$xml2rfc-ext-pub-month='April'">October <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
    2832     <xsl:when test="$xml2rfc-ext-pub-month='May'">November <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
    2833     <xsl:when test="$xml2rfc-ext-pub-month='June'">December <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
    2834     <xsl:when test="$xml2rfc-ext-pub-month='July'">January <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
    2835     <xsl:when test="$xml2rfc-ext-pub-month='August'">February <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
    2836     <xsl:when test="$xml2rfc-ext-pub-month='September'">March <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
    2837     <xsl:when test="$xml2rfc-ext-pub-month='October'">April <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
    2838     <xsl:when test="$xml2rfc-ext-pub-month='November'">May <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
    2839     <xsl:when test="$xml2rfc-ext-pub-month='December'">June <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
    2840       <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
    2841    </xsl:choose>
     2832    <xsl:otherwise>
     2833      <xsl:if test="$in-prose">
     2834        <xsl:text>in </xsl:text>
     2835      </xsl:if>
     2836      <xsl:choose>
     2837        <xsl:when test="$xml2rfc-ext-pub-month='January'">July <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2838        <xsl:when test="$xml2rfc-ext-pub-month='February'">August <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2839        <xsl:when test="$xml2rfc-ext-pub-month='March'">September <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2840        <xsl:when test="$xml2rfc-ext-pub-month='April'">October <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2841        <xsl:when test="$xml2rfc-ext-pub-month='May'">November <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2842        <xsl:when test="$xml2rfc-ext-pub-month='June'">December <xsl:value-of select="$xml2rfc-ext-pub-year" /></xsl:when>
     2843        <xsl:when test="$xml2rfc-ext-pub-month='July'">January <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2844        <xsl:when test="$xml2rfc-ext-pub-month='August'">February <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2845        <xsl:when test="$xml2rfc-ext-pub-month='September'">March <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2846        <xsl:when test="$xml2rfc-ext-pub-month='October'">April <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2847        <xsl:when test="$xml2rfc-ext-pub-month='November'">May <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2848        <xsl:when test="$xml2rfc-ext-pub-month='December'">June <xsl:value-of select="$xml2rfc-ext-pub-year + 1" /></xsl:when>
     2849        <xsl:otherwise>WRONG SYNTAX FOR MONTH</xsl:otherwise>
     2850      </xsl:choose>
     2851    </xsl:otherwise>
     2852  </xsl:choose>
    28422853</xsl:template>
    28432854
     
    42184229      </xsl:if>
    42194230      <t>
    4220         This Internet-Draft will expire in <xsl:call-template name="expirydate" />.
     4231        This Internet-Draft will expire <xsl:call-template name="expirydate"><xsl:with-param name="in-prose" select="true()"/></xsl:call-template>.
    42214232      </t>
    42224233    </xsl:when>
     
    61806191    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    61816192    <!-- when RCS keyword substitution in place, add version info -->
    6182     <xsl:if test="contains('$Revision: 1.518 $',':')">
    6183       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.518 $', 'Revision: '),'$','')),', ')" />
     6193    <xsl:if test="contains('$Revision: 1.520 $',':')">
     6194      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.520 $', 'Revision: '),'$','')),', ')" />
    61846195    </xsl:if>
    6185     <xsl:if test="contains('$Date: 2010-06-27 12:07:31 $',':')">
    6186       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-06-27 12:07:31 $', 'Date: '),'$','')),', ')" />
     6196    <xsl:if test="contains('$Date: 2010-07-14 12:36:35 $',':')">
     6197      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-07-14 12:36:35 $', 'Date: '),'$','')),', ')" />
    61876198    </xsl:if>
    61886199    <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

    r799 r971  
    338338      <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>
    339339      <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.</p>
    340       <p>This Internet-Draft will expire in March 5, 2010.</p>
     340      <p>This Internet-Draft will expire on March 5, 2010.</p>
    341341      <h1>
    342342         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.noModification3978.200606.test.xhtml

    r799 r971  
    338338      <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>
    339339      <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.</p>
    340       <p>This Internet-Draft will expire in December 3, 2006.</p>
     340      <p>This Internet-Draft will expire on December 3, 2006.</p>
    341341      <h1>
    342342         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.noModificationTrust200902.200909.test.xhtml

    r799 r971  
    338338      <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>
    339339      <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.</p>
    340       <p>This Internet-Draft will expire in March 5, 2010.</p>
     340      <p>This Internet-Draft will expire on March 5, 2010.</p>
    341341      <h1>
    342342         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.pre5378Trust200902.200909.test.xhtml

    r799 r971  
    338338      <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>
    339339      <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.</p>
    340       <p>This Internet-Draft will expire in March 5, 2010.</p>
     340      <p>This Internet-Draft will expire on March 5, 2010.</p>
    341341      <h1>
    342342         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.pre5378Trust200902.200912.test.xhtml

    r799 r971  
    342342      <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>
    343343      <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.</p>
    344       <p>This Internet-Draft will expire in June 4, 2010.</p>
     344      <p>This Internet-Draft will expire on June 4, 2010.</p>
    345345      <h1>
    346346         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.trust200902.200909.test.xhtml

    r799 r971  
    338338      <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>
    339339      <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.</p>
    340       <p>This Internet-Draft will expire in March 5, 2010.</p>
     340      <p>This Internet-Draft will expire on March 5, 2010.</p>
    341341      <h1>
    342342         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.trust200902.200911.test.xhtml

    r799 r971  
    342342      <p>The list of current Internet-Drafts can be accessed at <a href="http://www.ietf.org/ietf/1id-abstracts.txt">http://www.ietf.org/ietf/1id-abstracts.txt</a>.</p>
    343343      <p>The list of Internet-Draft Shadow Directories can be accessed at <a href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>.</p>
    344       <p>This Internet-Draft will expire in May 5, 2010.</p>
     344      <p>This Internet-Draft will expire on May 5, 2010.</p>
    345345      <h1>
    346346         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.trust200902.201006.iab.test.xhtml

    r799 r971  
    340340      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>.</p>
    341341      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress”.</p>
    342       <p>This Internet-Draft will expire in December 3, 2010.</p>
     342      <p>This Internet-Draft will expire on December 3, 2010.</p>
    343343      <h1>
    344344         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.trust200902.201006.ietf.test.xhtml

    r799 r971  
    340340      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>.</p>
    341341      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress”.</p>
    342       <p>This Internet-Draft will expire in December 3, 2010.</p>
     342      <p>This Internet-Draft will expire on December 3, 2010.</p>
    343343      <h1>
    344344         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.trust200902.201006.ind.test.xhtml

    r799 r971  
    340340      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>.</p>
    341341      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress”.</p>
    342       <p>This Internet-Draft will expire in December 3, 2010.</p>
     342      <p>This Internet-Draft will expire on December 3, 2010.</p>
    343343      <h1>
    344344         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.trust200902.201006.irtf.test.xhtml

    r799 r971  
    340340      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>.</p>
    341341      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress”.</p>
    342       <p>This Internet-Draft will expire in December 3, 2010.</p>
     342      <p>This Internet-Draft will expire on December 3, 2010.</p>
    343343      <h1>
    344344         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
  • rfc2629xslt/samples/sample.ipr.id.trust200902.201006.test.xhtml

    r799 r971  
    340340      <p>Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at <a href="http://datatracker.ietf.org/drafts/current/">http://datatracker.ietf.org/drafts/current/</a>.</p>
    341341      <p>Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress”.</p>
    342       <p>This Internet-Draft will expire in December 3, 2010.</p>
     342      <p>This Internet-Draft will expire on December 3, 2010.</p>
    343343      <h1>
    344344         <a id="rfc.copyrightnotice" href="#rfc.copyrightnotice">Copyright Notice</a>
Note: See TracChangeset for help on using the changeset viewer.