Changeset 1845 for rfc2629xslt/samples
- Timestamp:
- 01/09/12 12:30:48 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/samples/rfc2629.xslt
r1825 r1845 1741 1741 </xsl:choose> 1742 1742 <xsl:if test="not(front/title/@x:quotes='false')">”</xsl:if> 1743 1744 <xsl:variable name="rfcs" select="count(seriesInfo[@name='RFC'])"/> 1743 1745 1744 1746 <xsl:for-each select="seriesInfo"> … … 1746 1748 <xsl:choose> 1747 1749 <xsl:when test="not(@name) and not(@value) and ./text()"><xsl:value-of select="." /></xsl:when> 1750 <xsl:when test="@name='RFC' and $rfcs > 1"> 1751 <a href="{concat($rfcUrlPrefix,@value,$rfcUrlPostfix)}"> 1752 <xsl:value-of select="@name" /> 1753 <xsl:if test="@value!=''"> <xsl:value-of select="@value" /></xsl:if> 1754 </a> 1755 </xsl:when> 1748 1756 <xsl:otherwise> 1749 1757 <xsl:value-of select="@name" /> … … 2223 2231 </xsl:template> 2224 2232 2225 <xsl:template match="spanx[@style='verb' ]">2233 <xsl:template match="spanx[@style='verb' or @style='vbare']"> 2226 2234 <samp> 2227 2235 <xsl:call-template name="copy-anchor"/> … … 6602 6610 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6603 6611 <!-- when RCS keyword substitution in place, add version info --> 6604 <xsl:if test="contains('$Revision: 1.58 6$',':')">6605 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.58 6$', 'Revision: '),'$','')),', ')" />6612 <xsl:if test="contains('$Revision: 1.588 $',':')"> 6613 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.588 $', 'Revision: '),'$','')),', ')" /> 6606 6614 </xsl:if> 6607 <xsl:if test="contains('$Date: 2012-0 7-23 18:36:34 $',':')">6608 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-0 7-23 18:36:34 $', 'Date: '),'$','')),', ')" />6615 <xsl:if test="contains('$Date: 2012-08-25 12:28:24 $',':')"> 6616 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2012-08-25 12:28:24 $', 'Date: '),'$','')),', ')" /> 6609 6617 </xsl:if> 6610 6618 <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.