Changeset 308 for rfc2629xslt/rfc2629.xslt
- Timestamp:
- 10/08/08 14:19:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629.xslt
r285 r308 2401 2401 <t> 2402 2402 This document and the information contained herein is provided on an 2403 “ ;AS IS” basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING2403 “AS IS” basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING 2404 2404 TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING 2405 2405 BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION … … 3868 3868 <xsl:when test="contains($list,',')"> 3869 3869 <xsl:variable name="rfcNo" select="substring-before($list,',')" /> 3870 <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$rfcNo])=0"> 3871 <xsl:call-template name="warning"> 3872 <xsl:with-param name="inline" select="'no'"/> 3873 <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$rfcNo,' for which there is no reference element')"/> 3874 </xsl:call-template> 3875 </xsl:if> 3870 <xsl:call-template name="check-front-matter-ref"> 3871 <xsl:with-param name="name" select="$rfcNo"/> 3872 </xsl:call-template> 3876 3873 <a href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo" /></a>, 3877 3874 <xsl:call-template name="rfclist"> … … 3881 3878 <xsl:otherwise> 3882 3879 <xsl:variable name="rfcNo" select="$list" /> 3883 <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$rfcNo])=0"> 3880 <xsl:call-template name="check-front-matter-ref"> 3881 <xsl:with-param name="name" select="$rfcNo"/> 3882 </xsl:call-template> 3883 <a href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo" /></a> 3884 </xsl:otherwise> 3885 </xsl:choose> 3886 </xsl:template> 3887 3888 <xsl:template name="check-front-matter-ref"> 3889 <xsl:param name="name"/> 3890 <xsl:choose> 3891 <xsl:when test="starts-with($name,'draft-')"> 3892 <xsl:if test="count(//references//reference/seriesInfo[@name='Internet-Draft' and @value=$name])=0"> 3884 3893 <xsl:call-template name="warning"> 3885 3894 <xsl:with-param name="inline" select="'no'"/> 3886 <xsl:with-param name="msg" select="concat('front matter mentions RFC',$rfcNo,' for which there is no reference element')"/>3895 <xsl:with-param name="msg" select="concat('front matter mentions I-D ',$name,' for which there is no reference element')"/> 3887 3896 </xsl:call-template> 3888 3897 </xsl:if> 3889 <a href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo" /></a> 3898 </xsl:when> 3899 <xsl:otherwise> 3900 <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$name])=0"> 3901 <xsl:call-template name="warning"> 3902 <xsl:with-param name="inline" select="'no'"/> 3903 <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$name,' for which there is no reference element')"/> 3904 </xsl:call-template> 3905 </xsl:if> 3890 3906 </xsl:otherwise> 3891 3907 </xsl:choose> … … 4995 5011 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4996 5012 <!-- when RCS keyword substitution in place, add version info --> 4997 <xsl:if test="contains('$Revision: 1.38 4$',':')">4998 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.38 4$', 'Revision: '),'$','')),', ')" />5013 <xsl:if test="contains('$Revision: 1.387 $',':')"> 5014 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.387 $', 'Revision: '),'$','')),', ')" /> 4999 5015 </xsl:if> 5000 <xsl:if test="contains('$Date: 2008-0 7-18 10:33:47$',':')">5001 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-0 7-18 10:33:47$', 'Date: '),'$','')),', ')" />5016 <xsl:if test="contains('$Date: 2008-08-08 13:06:55 $',':')"> 5017 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-08-08 13:06:55 $', 'Date: '),'$','')),', ')" /> 5002 5018 </xsl:if> 5003 5019 <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.