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

    r2499 r2501  
    700700      </xsl:when>
    701701      <xsl:otherwise>
    702         <img src="{@src}" alt="{.}">
     702        <xsl:variable name="alt">
     703          <xsl:choose>
     704            <xsl:when test="@alt!=''">
     705              <xsl:value-of select="@alt"/>
     706            </xsl:when>
     707            <xsl:otherwise>
     708              <xsl:value-of select="."/>
     709            </xsl:otherwise>
     710          </xsl:choose>
     711        </xsl:variable>
     712        <img src="{@src}">
     713          <xsl:if test="normalize-space($alt)!=''">
     714            <xsl:attribute name="alt"><xsl:value-of select="$alt"/></xsl:attribute>
     715          </xsl:if>
    703716          <xsl:if test="@width and @width!=''">
    704717            <xsl:copy-of select="@width"/>
     
    917930<xsl:template match="figure">
    918931  <xsl:call-template name="check-no-text-content"/>
     932  <!-- warn about the attributes that we do not support -->
     933  <xsl:for-each select="@*[local-name()!='title' and local-name()!='suppress-title' and local-name()!='anchor' and normalize-space(.)!='']">
     934    <xsl:if test="local-name(.)!='align' or normalize-space(.)!='left'">
     935      <xsl:call-template name="warning">
     936        <xsl:with-param name="msg" select="concat('unsupported attribute ',local-name(.),' on figure element')"/>
     937      </xsl:call-template>
     938    </xsl:if>
     939  </xsl:for-each>
    919940  <xsl:if test="@anchor!=''">
    920941    <xsl:call-template name="check-anchor"/>
     
    34193440  page-break-after: avoid;
    34203441}
    3421 h3, h4, h5, h6 {
     3442h3 {
    34223443  font-size: 110%;
     3444  page-break-after: avoid;
     3445}
     3446h4, h5, h6 {
    34233447  page-break-after: avoid;
    34243448}
     
    65596583    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    65606584    <!-- when RCS keyword substitution in place, add version info -->
    6561     <xsl:if test="contains('$Revision: 1.608 $',':')">
    6562       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.608 $', 'Revision: '),'$','')),', ')"/>
     6585    <xsl:if test="contains('$Revision: 1.611 $',':')">
     6586      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.611 $', 'Revision: '),'$','')),', ')"/>
    65636587    </xsl:if>
    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: '),'$','')),', ')"/>
     6588    <xsl:if test="contains('$Date: 2013/11/27 12:23:51 $',':')">
     6589      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/11/27 12:23:51 $', 'Date: '),'$','')),', ')"/>
    65666590    </xsl:if>
    65676591    <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.