Ignore:
Timestamp:
Nov 4, 2009, 7:04:59 AM (10 years ago)
Author:
julian.reschke@…
Message:

Update to latest version of xml2rfc and rfc2629.xslt, bump document dates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/rfc2629toXHTML.xslt

    r713 r723  
    175175    <xsl:with-param name="nodes" select="/processing-instruction('rfc-ext')"/>
    176176    <xsl:with-param name="attr" select="'parse-xml-in-artwork'"/>
     177    <xsl:with-param name="default" select="'no'"/>
     178  </xsl:call-template>
     179</xsl:param>
     180
     181<xsl:param name="xml2rfc-ext-trace-parse-xml">
     182  <xsl:call-template name="parse-pis">
     183    <xsl:with-param name="nodes" select="/processing-instruction('rfc-ext')"/>
     184    <xsl:with-param name="attr" select="'trace-parse-xml'"/>
    177185    <xsl:with-param name="default" select="'no'"/>
    178186  </xsl:call-template>
     
    46094617      <xsl:apply-templates mode="cleanup-edits"/>
    46104618    </xsl:variable>
     4619    <xsl:if test="$xml2rfc-ext-trace-parse-xml='yes'">
     4620      <xsl:call-template name="trace">
     4621        <xsl:with-param name="msg" select="concat('Parsing XML: ', $cleaned)"/>
     4622      </xsl:call-template>
     4623    </xsl:if>
    46114624    <xsl:choose>
    46124625      <xsl:when test="function-available('myns:parseXml')">
     
    52855298<!-- utilities for warnings -->
    52865299
     5300<xsl:template name="trace">
     5301  <xsl:param name="msg"/>
     5302  <xsl:param name="msg2"/>
     5303  <xsl:param name="inline"/>
     5304  <xsl:call-template name="emit-message">
     5305    <xsl:with-param name="level">TRACE</xsl:with-param>
     5306    <xsl:with-param name="msg" select="$msg"/>
     5307    <xsl:with-param name="msg2" select="$msg2"/>
     5308    <xsl:with-param name="inline" select="$inline"/>
     5309  </xsl:call-template>
     5310</xsl:template>
     5311
    52875312<xsl:template name="warning">
    52885313  <xsl:param name="msg"/>
     
    56245649    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    56255650    <!-- when RCS keyword substitution in place, add version info -->
    5626     <xsl:if test="contains('$Revision: 1.477 $',':')">
    5627       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.477 $', 'Revision: '),'$','')),', ')"/>
     5651    <xsl:if test="contains('$Revision: 1.478 $',':')">
     5652      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.478 $', 'Revision: '),'$','')),', ')"/>
    56285653    </xsl:if>
    5629     <xsl:if test="contains('$Date: 2009-10-09 21:33:42 $',':')">
    5630       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-10-09 21:33:42 $', 'Date: '),'$','')),', ')"/>
     5654    <xsl:if test="contains('$Date: 2009-10-16 14:30:15 $',':')">
     5655      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2009-10-16 14:30:15 $', 'Date: '),'$','')),', ')"/>
    56315656    </xsl:if>
    56325657    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/>
     
    59665991                      <xsl:when test="$attrname='parse-xml-in-artwork'"/>
    59675992                      <xsl:when test="$attrname='sec-no-trailing-dots'"/>
     5993                      <xsl:when test="$attrname='trace-parse-xml'"/>
    59685994                      <xsl:otherwise>
    59695995                        <xsl:call-template name="warning">
Note: See TracChangeset for help on using the changeset viewer.