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/rfc2629.xslt

    r2461 r2499  
    14571457</xsl:template>
    14581458
    1459 <xsl:template match="list[starts-with(@style,'format ') and (contains(@style,'%c') or contains(@style,'%d'))]/t">
     1459<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">
    14601460  <xsl:variable name="list" select=".." />
    14611461  <xsl:variable name="format" select="substring-after(../@style,'format ')" />
     
    14761476        <xsl:value-of select="substring-before($format,'%c')"/><xsl:number value="$pos" format="a" /><xsl:value-of select="substring-after($format,'%c')"/>
    14771477      </xsl:when>
     1478      <xsl:when test="contains($format,'%C')">
     1479        <xsl:value-of select="substring-before($format,'%C')"/><xsl:number value="$pos" format="A" /><xsl:value-of select="substring-after($format,'%C')"/>
     1480      </xsl:when>
     1481      <xsl:when test="contains($format,'%d')">
     1482        <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos" /><xsl:value-of select="substring-after($format,'%d')"/>
     1483      </xsl:when>
     1484      <xsl:when test="contains($format,'%i')">
     1485        <xsl:value-of select="substring-before($format,'%i')"/><xsl:number value="$pos" format="i" /><xsl:value-of select="substring-after($format,'%i')"/>
     1486      </xsl:when>
     1487      <xsl:when test="contains($format,'%I')">
     1488        <xsl:value-of select="substring-before($format,'%I')"/><xsl:number value="$pos" format="I" /><xsl:value-of select="substring-after($format,'%I')"/>
     1489      </xsl:when>
    14781490      <xsl:otherwise>
    1479         <xsl:value-of select="substring-before($format,'%d')"/><xsl:number value="$pos" format="1" /><xsl:value-of select="substring-after($format,'%d')"/>
     1491        <xsl:value-of select="$format"/>
     1492        <xsl:call-template name="warning">
     1493          <xsl:with-param name="msg" select="concat('@format string ',$format,' not understood')"/>
     1494        </xsl:call-template>
    14801495      </xsl:otherwise>
    14811496    </xsl:choose>
     
    66876702    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    66886703    <!-- when RCS keyword substitution in place, add version info -->
    6689     <xsl:if test="contains('$Revision: 1.607 $',':')">
    6690       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.607 $', 'Revision: '),'$','')),', ')" />
     6704    <xsl:if test="contains('$Revision: 1.608 $',':')">
     6705      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.608 $', 'Revision: '),'$','')),', ')" />
    66916706    </xsl:if>
    6692     <xsl:if test="contains('$Date: 2013/10/15 13:23:22 $',':')">
    6693       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/10/15 13:23:22 $', 'Date: '),'$','')),', ')" />
     6707    <xsl:if test="contains('$Date: 2013/11/05 01:54:09 $',':')">
     6708      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/11/05 01:54:09 $', 'Date: '),'$','')),', ')" />
    66946709    </xsl:if>
    66956710    <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.