Ignore:
Timestamp:
01/02/11 09:13:55 (9 years ago)
Author:
julian.reschke@…
Message:

Upgrade to latest version of rfc2629.xslt and xml2rfc.tcl; bump up document dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/samples/rfc2629.xslt

    r1099 r1103  
    22    XSLT transformation from RFC2629 XML format to HTML
    33
    4     Copyright (c) 2006-2010, Julian Reschke (julian.reschke@greenbytes.de)
     4    Copyright (c) 2006-2011, Julian Reschke (julian.reschke@greenbytes.de)
    55    All rights reserved.
    66
     
    26672667
    26682668<xsl:template name="collectLeftHeaderColumn">
    2669   <xsl:param name="mode" />
    26702669  <!-- default case -->
    26712670  <xsl:if test="$xml2rfc-private=''">
     
    36563655  }
    36573656  @bottom-center {
    3658        content: "<xsl:call-template name="get-category-long"/>";
     3657       content: "<xsl:call-template name="get-bottom-center"/>";
    36593658  }
    36603659  @bottom-right {
     
    36763675  }
    36773676  @bottom-center {
    3678        content: "<xsl:call-template name="get-category-long"/>";
     3677       content: "<xsl:call-template name="get-bottom-center"/>";
    36793678  }
    36803679  @bottom-right {
     
    36973696  }
    36983697  @bottom-center {
    3699        content: "<xsl:call-template name="get-category-long"/>";
     3698       content: "<xsl:call-template name="get-bottom-center"/>";
    37003699  }
    37013700  @bottom-right {
     
    60566055          <xsl:attribute name="title">
    60576056            <xsl:if test="@source"><xsl:value-of select="@source"/>: </xsl:if>
    6058             <xsl:apply-templates select="text()|eref|xref"/>
     6057            <xsl:variable name="content">
     6058              <xsl:apply-templates select="text()|eref|xref"/>
     6059            </xsl:variable>
     6060            <xsl:value-of select="$content"/>
    60596061          </xsl:attribute>
    60606062          <xsl:text>[</xsl:text>
     
    61736175</xsl:template>
    61746176
     6177<xsl:template name="get-bottom-center">
     6178  <xsl:choose>
     6179    <xsl:when test="/rfc/@docName">
     6180      <!-- for IDs, use the expiry date -->
     6181      <xsl:text>Expires </xsl:text><xsl:call-template name="expirydate" />
     6182    </xsl:when>
     6183    <xsl:otherwise>
     6184      <xsl:call-template name="get-category-long"/>
     6185    </xsl:otherwise>
     6186  </xsl:choose>
     6187</xsl:template>
     6188
    61756189<xsl:template name="get-category-long">
    61766190  <xsl:choose>
     
    62106224    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    62116225    <!-- when RCS keyword substitution in place, add version info -->
    6212     <xsl:if test="contains('$Revision: 1.537 $',':')">
    6213       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.537 $', 'Revision: '),'$','')),', ')" />
     6226    <xsl:if test="contains('$Revision: 1.540 $',':')">
     6227      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.540 $', 'Revision: '),'$','')),', ')" />
    62146228    </xsl:if>
    6215     <xsl:if test="contains('$Date: 2010-12-30 14:21:59 $',':')">
    6216       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-12-30 14:21:59 $', 'Date: '),'$','')),', ')" />
     6229    <xsl:if test="contains('$Date: 2011-01-10 09:27:20 $',':')">
     6230      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-01-10 09:27:20 $', 'Date: '),'$','')),', ')" />
    62176231    </xsl:if>
    62186232    <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.