Ignore:
Timestamp:
01/05/13 08:13:40 (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

    r2218 r2232  
    4747                >
    4848
    49 <xsl:strip-space elements="back front list middle rfc section"/>               
     49<xsl:strip-space elements="back figure front list middle reference references rfc section"/>               
    5050               
    5151<xsl:output method="html" encoding="iso-8859-1" version="4.0" doctype-public="-//W3C//DTD HTML 4.01//EN" indent="no"/>
     
    10101010<!-- this is a named template because <back> may be absent -->
    10111011<xsl:template name="back">
     1012  <xsl:call-template name="check-no-text-content"/>
    10121013
    10131014  <!-- add editorial comments -->
     
    10651066
    10661067<xsl:template match="figure">
     1068  <xsl:call-template name="check-no-text-content"/>
    10671069  <xsl:if test="@anchor!=''">
    10681070    <xsl:call-template name="check-anchor"/>
     
    10811083
    10821084<xsl:template match="front">
     1085  <xsl:call-template name="check-no-text-content"/>
    10831086  <xsl:if test="$xml2rfc-topblock!='no'">
    10841087    <!-- collect information for left column -->
     
    13021305
    13031306<xsl:template match="list[@style='empty' or not(@style)]">
     1307  <xsl:call-template name="check-no-text-content"/>
    13041308  <ul class="empty">
    13051309    <xsl:call-template name="insertInsDelClass"/>
     
    13091313
    13101314<xsl:template match="list[starts-with(@style,'format ')]">
     1315  <xsl:call-template name="check-no-text-content"/>
    13111316  <dl>
    13121317    <xsl:call-template name="insertInsDelClass"/>
     
    13161321
    13171322<xsl:template match="list[@style='hanging']">
     1323  <xsl:call-template name="check-no-text-content"/>
    13181324  <dl>
    13191325    <xsl:call-template name="insertInsDelClass"/>
     
    13231329
    13241330<xsl:template match="list[@style='numbers']">
     1331  <xsl:call-template name="check-no-text-content"/>
    13251332  <ol>
    13261333    <xsl:call-template name="insertInsDelClass"/>
     
    13311338<!-- numbered list inside numbered list -->
    13321339<xsl:template match="list[@style='numbers']/t/list[@style='numbers']" priority="9">
     1340  <xsl:call-template name="check-no-text-content"/>
    13331341  <ol class="la">
    13341342    <xsl:call-template name="insertInsDelClass"/>
     
    13381346
    13391347<xsl:template match="list[@style='letters']">
     1348  <xsl:call-template name="check-no-text-content"/>
    13401349  <ol class="la">
    13411350    <xsl:call-template name="insertInsDelClass"/>
     
    13531362   
    13541363<xsl:template match="list[@style='symbols']">
     1364  <xsl:call-template name="check-no-text-content"/>
    13551365  <ul>
    13561366    <xsl:call-template name="insertInsDelClass"/>
     
    16071617
    16081618<xsl:template match="reference">
     1619  <xsl:call-template name="check-no-text-content"/>
    16091620
    16101621  <!-- check for reference to reference -->
     
    18301841
    18311842<xsl:template match="references">
     1843  <xsl:call-template name="check-no-text-content"/>
    18321844
    18331845  <xsl:variable name="name">
     
    19111923
    19121924<xsl:template match="rfc">
    1913  
     1925  <xsl:call-template name="check-no-text-content"/>
    19141926  <xsl:variable name="ignored">
    19151927    <xsl:call-template name="parse-pis">
     
    21712183
    21722184<xsl:template match="section|appendix">
     2185  <xsl:call-template name="check-no-text-content"/>
    21732186
    21742187  <xsl:if test="self::appendix">
     
    66406653    <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text>
    66416654    <!-- when RCS keyword substitution in place, add version info -->
    6642     <xsl:if test="contains('$Revision: 1.593 $',':')">
    6643       <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.593 $', 'Revision: '),'$','')),', ')" />
     6655    <xsl:if test="contains('$Revision: 1.594 $',':')">
     6656      <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.594 $', 'Revision: '),'$','')),', ')" />
    66446657    </xsl:if>
    6645     <xsl:if test="contains('$Date: 2013/03/13 16:48:21 $',':')">
    6646       <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/03/13 16:48:21 $', 'Date: '),'$','')),', ')" />
     6658    <xsl:if test="contains('$Date: 2013/04/30 16:11:28 $',':')">
     6659      <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/04/30 16:11:28 $', 'Date: '),'$','')),', ')" />
    66476660    </xsl:if>
    66486661    <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" />
     
    74047417</xsl:template>
    74057418
     7419<xsl:template name="check-no-text-content">
     7420  <xsl:if test="text()!=''">
     7421    <xsl:call-template name="warning">
     7422      <xsl:with-param name="msg">No text content allowed inside &lt;<xsl:value-of select="name(.)"/>&gt;, but found: <xsl:value-of select="text()"/></xsl:with-param>
     7423    </xsl:call-template>
     7424  </xsl:if>
     7425</xsl:template>
     7426
    74067427<!-- disabled for now because of https://bugzilla.gnome.org/show_bug.cgi?id=677901
    74077428<xsl:function name="exslt:node-set">
Note: See TracChangeset for help on using the changeset viewer.