Changeset 230 for rfc2629xslt/rfc2629.xslt
- Timestamp:
- 08/03/08 09:17:34 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629.xslt
r227 r230 38 38 xmlns:msxsl="urn:schemas-microsoft-com:xslt" 39 39 xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt" 40 xmlns:saxon="http://icl.com/saxon" 40 xmlns:saxon-old="http://icl.com/saxon" 41 xmlns:saxon="http://saxon.sf.net/" 41 42 xmlns:x="http://purl.org/net/xml2rfc/ext" 42 43 xmlns:xhtml="http://www.w3.org/1999/xhtml" 43 44 44 exclude-result-prefixes="date ed exslt msxsl myns saxon x xhtml"45 exclude-result-prefixes="date ed exslt msxsl myns saxon saxon-old x xhtml" 45 46 > 46 47 … … 339 340 and /rfc/@number != 5065 340 341 and /rfc/@number != 5094) or 341 ($xml2rfc-ext-pub-year > 2008) or342 (not(/rfc/@number) and $xml2rfc-ext-pub-year > 2007 and $xml2rfc-ext-pub-month-numeric >= 9)342 ($xml2rfc-ext-pub-year >= 2008) or 343 (not(/rfc/@number) and $xml2rfc-ext-pub-year >= 2007 and $xml2rfc-ext-pub-month-numeric >= 9) 343 344 ) 344 345 )" /> … … 1537 1538 <xsl:template match="section|appendix"> 1538 1539 1540 <xsl:if test="self::appendix"> 1541 <xsl:call-template name="warning"> 1542 <xsl:with-param name="inline" select="'no'"/> 1543 <xsl:with-param name="msg">The "appendix" element is deprecated, use "section" inside "back" instead.</xsl:with-param> 1544 </xsl:call-template> 1545 </xsl:if> 1546 1539 1547 <xsl:variable name="sectionNumber"> 1540 1548 <xsl:choose> … … 3821 3829 <xsl:call-template name="warning"> 3822 3830 <xsl:with-param name="inline" select="'no'"/> 3823 <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$rfcNo,' for which there is no reference element')"/>3831 <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$rfcNo,' for which there is no reference element')"/> 3824 3832 </xsl:call-template> 3825 3833 </xsl:if> … … 4784 4792 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4785 4793 <!-- when RCS keyword substitution in place, add version info --> 4786 <xsl:if test="contains('$Revision: 1.36 2$',':')">4787 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.36 2$', 'Revision: '),'$','')),', ')" />4794 <xsl:if test="contains('$Revision: 1.365 $',':')"> 4795 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.365 $', 'Revision: '),'$','')),', ')" /> 4788 4796 </xsl:if> 4789 <xsl:if test="contains('$Date: 2008-0 2-29 17:10:19$',':')">4790 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-0 2-29 17:10:19$', 'Date: '),'$','')),', ')" />4797 <xsl:if test="contains('$Date: 2008-03-07 07:17:25 $',':')"> 4798 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-03-07 07:17:25 $', 'Date: '),'$','')),', ')" /> 4791 4799 </xsl:if> 4792 4800 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))" /> … … 4944 4952 <!-- diag support --> 4945 4953 <xsl:template name="lineno"> 4954 <xsl:if test="function-available('saxon-old:line-number')"> 4955 <xsl:if test="saxon-old:line-number() > 0"> 4956 <xsl:text> (at line </xsl:text> 4957 <xsl:value-of select="saxon-old:line-number()"/> 4958 <xsl:text>)</xsl:text> 4959 </xsl:if> 4960 </xsl:if> 4946 4961 <xsl:if test="function-available('saxon:line-number')"> 4947 4962 <xsl:if test="saxon:line-number() > 0">
Note: See TracChangeset
for help on using the changeset viewer.