Ignore:
Timestamp:
01/12/13 16:02:02 (7 years ago)
Author:
julian.reschke@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/samples/rfc2629.xslt

    r2499 r2501  
    832832      </xsl:when>
    833833      <xsl:otherwise>
    834         <img src="{@src}" alt="{.}">
     834        <xsl:variable name="alt">
     835          <xsl:choose>
     836            <xsl:when test="@alt!=''">
     837              <xsl:value-of select="@alt"/>
     838            </xsl:when>
     839            <xsl:otherwise>
     840              <xsl:value-of select="."/>
     841            </xsl:otherwise>
     842          </xsl:choose>
     843        </xsl:variable>
     844        <img src="{@src}">
     845          <xsl:if test="normalize-space($alt)!=''">
     846            <xsl:attribute name="alt"><xsl:value-of select="$alt"/></xsl:attribute>
     847          </xsl:if>
    835848          <xsl:if test="@width and @width!=''">
    836849            <xsl:copy-of select="@width"/>
     
    10491062<xsl:template match="figure">
    10501063  <xsl:call-template name="check-no-text-content"/>
     1064  <!-- warn about the attributes that we do not support -->
     1065  <xsl:for-each select="@*[local-name()!='title' and local-name()!='suppress-title' and local-name()!='anchor' and normalize-space(.)!='']">
     1066    <xsl:if test="local-name(.)!='align' or normalize-space(.)!='left'">
     1067      <xsl:call-template name="warning">
     1068        <xsl:with-param name="msg" select="concat('unsupported attribute ',local-name(.),' on figure element')"/>
     1069      </xsl:call-template>
     1070    </xsl:if>
     1071  </xsl:for-each>
    10511072  <xsl:if test="@anchor!=''">
    10521073    <xsl:call-template name="check-anchor"/>
     
    35513572  page-break-after: avoid;
    35523573}
    3553 h3, h4, h5, h6 {
     3574h3 {
    35543575  font-size: 110%;
     3576  page-break-after: avoid;
     3577}
     3578h4, h5, h6 {
    35553579  page-break-after: avoid;
    35563580}
     
    67026726    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    67036727    <!-- when RCS keyword substitution in place, add version info -->
    6704     <xsl:if test="contains('$Revision: 1.608 $',':')">
    6705       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.608 $', 'Revision: '),'$','')),', ')" />
     6728    <xsl:if test="contains('$Revision: 1.611 $',':')">
     6729      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.611 $', 'Revision: '),'$','')),', ')" />
    67066730    </xsl:if>
    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: '),'$','')),', ')" />
     6731    <xsl:if test="contains('$Date: 2013/11/27 12:23:51 $',':')">
     6732      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/11/27 12:23:51 $', 'Date: '),'$','')),', ')" />
    67096733    </xsl:if>
    67106734    <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.