Ignore:
Timestamp:
18/11/13 18:08:56 (8 years ago)
Author:
julian.reschke@…
Message:

update to latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629toXHTML.xslt

    r2461 r2499  
    13251325</xsl:template>
    13261326
    1327 <xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'%d'))]/t">
     1327<xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'%C') or contains(@style,'%d') or contains(@style,'%i') or contains(@style,'%I'))]/t">
    13281328  <xsl:variable name="list" select=".."/>
    13291329  <xsl:variable name="format" select="substring-after(../@style,'format ')"/>
     
    13441344        <xsl:value-of select="substring-before($format,'%c')"/><xsl:number value="$pos" format="a"/><xsl:value-of select="substring-after($format,'%c')"/>
    13451345      </xsl:when>
     1346      <xsl:when test="contains($format,'%C')">
     1347        <xsl:value-of select="substring-before($format,'%C')"/><xsl:number value="$pos" format="A"/><xsl:value-of select="substring-after($format,'%C')"/>
     1348      </xsl:when>
     1349      <xsl:when test="contains($format,'%d')">
     1350        <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos"/><xsl:value-of select="substring-after($format,'%d')"/>
     1351      </xsl:when>
     1352      <xsl:when test="contains($format,'%i')">
     1353        <xsl:value-of select="substring-before($format,'%i')"/><xsl:number value="$pos" format="i"/><xsl:value-of select="substring-after($format,'%i')"/>
     1354      </xsl:when>
     1355      <xsl:when test="contains($format,'%I')">
     1356        <xsl:value-of select="substring-before($format,'%I')"/><xsl:number value="$pos" format="I"/><xsl:value-of select="substring-after($format,'%I')"/>
     1357      </xsl:when>
    13461358      <xsl:otherwise>
    1347         <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos" format="1"/><xsl:value-of select="substring-after($format,'%d')"/>
     1359        <xsl:value-of select="$format"/>
     1360        <xsl:call-template name="warning">
     1361          <xsl:with-param name="msg" select="concat('@format string ',$format,' not understood')"/>
     1362        </xsl:call-template>
    13481363      </xsl:otherwise>
    13491364    </xsl:choose>
     
    65446559    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    65456560    <!-- when RCS keyword substitution in place, add version info -->
    6546     <xsl:if test="contains('$Revision: 1.607 $',':')">
    6547       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.607 $', 'Revision: '),'$','')),', ')"/>
     6561    <xsl:if test="contains('$Revision: 1.608 $',':')">
     6562      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.608 $', 'Revision: '),'$','')),', ')"/>
    65486563    </xsl:if>
    6549     <xsl:if test="contains('$Date: 2013/10/15 13:23:22 $',':')">
    6550       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/10/15 13:23:22 $', 'Date: '),'$','')),', ')"/>
     6564    <xsl:if test="contains('$Date: 2013/11/05 01:54:09 $',':')">
     6565      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/11/05 01:54:09 $', 'Date: '),'$','')),', ')"/>
    65516566    </xsl:if>
    65526567    <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.