Ignore:
Timestamp:
02/10/09 10:46:42 (11 years ago)
Author:
julian.reschke@…
Message:

Bump up document dates, update to latest versions of rfc2629.xslt and xml2rfc.tcl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rfc2629xslt/clean-for-DTD.xslt

    r681 r704  
    572572</xsl:template>
    573573
     574<xsl:template name="insert-begin-code"/>
     575<xsl:template name="insert-end-code"/>
     576<xsl:template match="@x:isCodeComponent" mode="cleanup"/>
     577
    574578<xsl:template match="artwork" mode="cleanup">
    575579  <xsl:variable name="content2"><xsl:apply-templates select="."/></xsl:variable>
     
    577581  <artwork>
    578582    <xsl:apply-templates select="@*" mode="cleanup" />
     583    <xsl:if test="@x:isCodeComponent='yes'">
     584      <xsl:if test="starts-with(.,'&#10;')">
     585        <xsl:text>&#10;</xsl:text>
     586      </xsl:if>
     587      <xsl:value-of select="@x:indent-with"/>
     588      <xsl:text>&lt;CODE BEGINS&gt;&#10;</xsl:text>
     589    </xsl:if>
    579590    <xsl:if test="starts-with(.,'&#10;')">
    580591      <xsl:text>&#10;</xsl:text>
     
    592603      </xsl:otherwise>
    593604    </xsl:choose>
     605    <xsl:if test="@x:isCodeComponent='yes'">&#10;&lt;CODE ENDS&gt;&#10;</xsl:if>
    594606  </artwork> 
    595607</xsl:template>
     
    618630</xsl:template>
    619631
    620 <!-- email repititions -->
     632<!-- email repetitions -->
    621633<xsl:template match="email" mode="cleanup">
    622634  <!-- combine in a single element -->
     
    640652</xsl:template>
    641653
     654<xsl:template match="cref//xref" mode="cleanup" priority="9">
     655  <xsl:variable name="text">
     656    <xsl:apply-templates select="."/>
     657  </xsl:variable>
     658  <xsl:value-of select="$text"/>
     659</xsl:template>
     660
    642661<!-- artwork extensions -->
    643662<xsl:template match="artwork/@x:extraction-note" mode="cleanup"/>
Note: See TracChangeset for help on using the changeset viewer.