Ignore:
Timestamp:
01/03/11 09:24:49 (9 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

    r1103 r1145  
    744744    <xsl:otherwise>
    745745      <xsl:variable name="start" select="substring-before($content,'&#10;')"/>
    746       <xsl:variable name="end" select="substring-after($content,'&#10;')"/>
    747       <xsl:if test="string-length($start) > 69 + $indent">
     746      <xsl:variable name="end" select="substring-after($content,'&#10;')"/>
     747      <xsl:variable name="max">
     748        <xsl:choose>
     749          <xsl:when test="$indent!=''"><xsl:value-of select="69 + $indent"/></xsl:when>
     750          <xsl:otherwise>69</xsl:otherwise>
     751        </xsl:choose>         
     752      </xsl:variable>
     753      <xsl:if test="string-length($start) > $max">
    748754        <xsl:call-template name="warning">
    749755          <xsl:with-param name="inline" select="'no'"/>
     
    11581164  <xsl:apply-templates select="x:boilerplate"/>
    11591165  <xsl:apply-templates select="abstract" />
    1160   <xsl:apply-templates select="note" />
     1166 
     1167  <!-- Notes except IESG Notes -->
     1168  <xsl:apply-templates select="note[@title!='IESG Note' or $xml2rfc-private!='']" />
    11611169  <!-- show notes inside change tracking as well -->
    1162   <xsl:apply-templates select="ed:replace[.//note]" />
     1170  <xsl:apply-templates select="ed:replace[.//note[@title!='IESG Note' or $xml2rfc-private!='']]" />
    11631171   
    11641172  <xsl:if test="$xml2rfc-private='' and $abstract-first">
     
    12651273<!-- numbered list inside numbered list -->
    12661274<xsl:template match="list[@style='numbers']/t/list[@style='numbers']" priority="9">
    1267   <ol style="list-style-type: lower-alpha">
     1275  <ol class="la">
    12681276    <xsl:call-template name="insertInsDelClass"/>
    12691277    <xsl:apply-templates />
     
    12721280
    12731281<xsl:template match="list[@style='letters']">
    1274   <ol style="list-style-type: lower-alpha">
     1282  <ol class="la">
    12751283    <xsl:call-template name="insertInsDelClass"/>
    12761284    <xsl:apply-templates />
     
    12801288<!-- nested lettered list uses uppercase -->
    12811289<xsl:template match="list//t//list[@style='letters']" priority="9">
    1282   <ol style="list-style-type: upper-alpha">
     1290  <ol class="ua">
    12831291    <xsl:call-template name="insertInsDelClass"/>
    12841292    <xsl:apply-templates />
     
    32883296  margin-right: 2em;
    32893297}
     3298ol.la {
     3299  list-style-type: lower-alpha;
     3300}
     3301ol.ua {
     3302  list-style-type: upper-alpha;
     3303}
    32903304ol p {
    32913305  margin-left: 0em;
     
    44394453  </section>
    44404454 
     4455  <!-- IESG Note goes here; see http://www.rfc-editor.org/rfc-style-guide/rfc-style -->
     4456  <xsl:copy-of select="/rfc/front/note[@title='IESG Note']"/>
     4457 
    44414458  <xsl:choose>
    44424459    <xsl:when test="$ipr-2008-11">
     
    62246241    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    62256242    <!-- when RCS keyword substitution in place, add version info -->
    6226     <xsl:if test="contains('$Revision: 1.540 $',':')">
    6227       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.540 $', 'Revision: '),'$','')),', ')" />
     6243    <xsl:if test="contains('$Revision: 1.543 $',':')">
     6244      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.543 $', 'Revision: '),'$','')),', ')" />
    62286245    </xsl:if>
    6229     <xsl:if test="contains('$Date: 2011-01-10 09:27:20 $',':')">
    6230       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-01-10 09:27:20 $', 'Date: '),'$','')),', ')" />
     6246    <xsl:if test="contains('$Date: 2011-02-18 21:03:40 $',':')">
     6247      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-02-18 21:03:40 $', 'Date: '),'$','')),', ')" />
    62316248    </xsl:if>
    62326249    <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.