Changeset 308 for rfc2629xslt/rfc2629toXHTML.xslt
- Timestamp:
- 10/08/08 14:19:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629toXHTML.xslt
r285 r308 2214 2214 <t> 2215 2215 This document and the information contained herein is provided on an 2216 “ ;AS IS” basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING2216 “AS IS” basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING 2217 2217 TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING 2218 2218 BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION … … 3681 3681 <xsl:when test="contains($list,',')"> 3682 3682 <xsl:variable name="rfcNo" select="substring-before($list,',')"/> 3683 <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$rfcNo])=0"> 3684 <xsl:call-template name="warning"> 3685 <xsl:with-param name="inline" select="'no'"/> 3686 <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$rfcNo,' for which there is no reference element')"/> 3687 </xsl:call-template> 3688 </xsl:if> 3683 <xsl:call-template name="check-front-matter-ref"> 3684 <xsl:with-param name="name" select="$rfcNo"/> 3685 </xsl:call-template> 3689 3686 <a xmlns="http://www.w3.org/1999/xhtml" href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo"/></a>, 3690 3687 <xsl:call-template name="rfclist"> … … 3694 3691 <xsl:otherwise> 3695 3692 <xsl:variable name="rfcNo" select="$list"/> 3696 <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$rfcNo])=0"> 3693 <xsl:call-template name="check-front-matter-ref"> 3694 <xsl:with-param name="name" select="$rfcNo"/> 3695 </xsl:call-template> 3696 <a xmlns="http://www.w3.org/1999/xhtml" href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo"/></a> 3697 </xsl:otherwise> 3698 </xsl:choose> 3699 </xsl:template> 3700 3701 <xsl:template name="check-front-matter-ref"> 3702 <xsl:param name="name"/> 3703 <xsl:choose> 3704 <xsl:when test="starts-with($name,'draft-')"> 3705 <xsl:if test="count(//references//reference/seriesInfo[@name='Internet-Draft' and @value=$name])=0"> 3697 3706 <xsl:call-template name="warning"> 3698 3707 <xsl:with-param name="inline" select="'no'"/> 3699 <xsl:with-param name="msg" select="concat('front matter mentions RFC',$rfcNo,' for which there is no reference element')"/>3708 <xsl:with-param name="msg" select="concat('front matter mentions I-D ',$name,' for which there is no reference element')"/> 3700 3709 </xsl:call-template> 3701 3710 </xsl:if> 3702 <a xmlns="http://www.w3.org/1999/xhtml" href="{concat($rfcUrlPrefix,$rfcNo,$rfcUrlPostfix)}"><xsl:value-of select="$rfcNo"/></a> 3711 </xsl:when> 3712 <xsl:otherwise> 3713 <xsl:if test="count(//references//reference/seriesInfo[@name='RFC' and @value=$name])=0"> 3714 <xsl:call-template name="warning"> 3715 <xsl:with-param name="inline" select="'no'"/> 3716 <xsl:with-param name="msg" select="concat('front matter mentions RFC ',$name,' for which there is no reference element')"/> 3717 </xsl:call-template> 3718 </xsl:if> 3703 3719 </xsl:otherwise> 3704 3720 </xsl:choose> … … 4808 4824 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 4809 4825 <!-- when RCS keyword substitution in place, add version info --> 4810 <xsl:if test="contains('$Revision: 1.38 4$',':')">4811 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.38 4$', 'Revision: '),'$','')),', ')"/>4826 <xsl:if test="contains('$Revision: 1.387 $',':')"> 4827 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.387 $', 'Revision: '),'$','')),', ')"/> 4812 4828 </xsl:if> 4813 <xsl:if test="contains('$Date: 2008-0 7-18 10:33:47$',':')">4814 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-0 7-18 10:33:47$', 'Date: '),'$','')),', ')"/>4829 <xsl:if test="contains('$Date: 2008-08-08 13:06:55 $',':')"> 4830 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2008-08-08 13:06:55 $', 'Date: '),'$','')),', ')"/> 4815 4831 </xsl:if> 4816 4832 <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.