Ignore:
Timestamp:
Feb 17, 2008, 8:30:31 AM (12 years ago)
Author:
julian.reschke@…
Message:

Update to latest eUpdate to latest version of rfc2629.xslt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629.xslt

    r204 r213  
    38793879</xsl:template>
    38803880
     3881<!-- measuring lengths -->
     3882<xsl:template match="x:length-of">
     3883  <xsl:variable name="target" select="//*[@anchor=current()/@target]"/>
     3884  <xsl:if test="count($target)!=1">
     3885    <xsl:call-template name="error">
     3886      <xsl:with-param name="msg" select="concat('@target ',@target,' defined ',count($target),' times.')"/>
     3887    </xsl:call-template>
     3888  </xsl:if>
     3889  <xsl:variable name="content">
     3890    <xsl:apply-templates select="$target"/>
     3891  </xsl:variable>
     3892  <xsl:variable name="lineends" select="string-length($content) - string-length(translate($content,'&#10;',''))"/>
     3893  <xsl:variable name="indents">
     3894    <xsl:choose>
     3895      <xsl:when test="@indented">
     3896        <xsl:value-of select="number(@indented) * $lineends"/>
     3897      </xsl:when>
     3898      <xsl:otherwise>0</xsl:otherwise>
     3899    </xsl:choose>
     3900  </xsl:variable>
     3901  <xsl:value-of select="string-length($content) + $lineends - $indents"/>
     3902</xsl:template>
     3903
     3904<!-- Nop -->
     3905<xsl:template match="x:span">
     3906  <xsl:apply-templates/>
     3907</xsl:template>
     3908
    38813909<!-- box drawing -->
    38823910
     
    46744702    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    46754703    <!-- when RCS keyword substitution in place, add version info -->
    4676     <xsl:if test="contains('$Revision: 1.357 $',':')">
    4677       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.357 $', 'Revision: '),'$','')),', ')" />
     4704    <xsl:if test="contains('$Revision: 1.358 $',':')">
     4705      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.358 $', 'Revision: '),'$','')),', ')" />
    46784706    </xsl:if>
    4679     <xsl:if test="contains('$Date: 2008/02/06 14:33:26 $',':')">
    4680       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008/02/06 14:33:26 $', 'Date: '),'$','')),', ')" />
     4707    <xsl:if test="contains('$Date: 2008-02-17 16:03:10 $',':')">
     4708      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-02-17 16:03:10 $', 'Date: '),'$','')),', ')" />
    46814709    </xsl:if>
    46824710    <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.