Changeset 1103 for rfc2629xslt/rfc2629.xslt
- Timestamp:
- 01/02/11 09:13:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629.xslt
r1099 r1103 2 2 XSLT transformation from RFC2629 XML format to HTML 3 3 4 Copyright (c) 2006-201 0, Julian Reschke (julian.reschke@greenbytes.de)4 Copyright (c) 2006-2011, Julian Reschke (julian.reschke@greenbytes.de) 5 5 All rights reserved. 6 6 … … 2667 2667 2668 2668 <xsl:template name="collectLeftHeaderColumn"> 2669 <xsl:param name="mode" />2670 2669 <!-- default case --> 2671 2670 <xsl:if test="$xml2rfc-private=''"> … … 3656 3655 } 3657 3656 @bottom-center { 3658 content: "<xsl:call-template name="get- category-long"/>";3657 content: "<xsl:call-template name="get-bottom-center"/>"; 3659 3658 } 3660 3659 @bottom-right { … … 3676 3675 } 3677 3676 @bottom-center { 3678 content: "<xsl:call-template name="get- category-long"/>";3677 content: "<xsl:call-template name="get-bottom-center"/>"; 3679 3678 } 3680 3679 @bottom-right { … … 3697 3696 } 3698 3697 @bottom-center { 3699 content: "<xsl:call-template name="get- category-long"/>";3698 content: "<xsl:call-template name="get-bottom-center"/>"; 3700 3699 } 3701 3700 @bottom-right { … … 6056 6055 <xsl:attribute name="title"> 6057 6056 <xsl:if test="@source"><xsl:value-of select="@source"/>: </xsl:if> 6058 <xsl:apply-templates select="text()|eref|xref"/> 6057 <xsl:variable name="content"> 6058 <xsl:apply-templates select="text()|eref|xref"/> 6059 </xsl:variable> 6060 <xsl:value-of select="$content"/> 6059 6061 </xsl:attribute> 6060 6062 <xsl:text>[</xsl:text> … … 6173 6175 </xsl:template> 6174 6176 6177 <xsl:template name="get-bottom-center"> 6178 <xsl:choose> 6179 <xsl:when test="/rfc/@docName"> 6180 <!-- for IDs, use the expiry date --> 6181 <xsl:text>Expires </xsl:text><xsl:call-template name="expirydate" /> 6182 </xsl:when> 6183 <xsl:otherwise> 6184 <xsl:call-template name="get-category-long"/> 6185 </xsl:otherwise> 6186 </xsl:choose> 6187 </xsl:template> 6188 6175 6189 <xsl:template name="get-category-long"> 6176 6190 <xsl:choose> … … 6210 6224 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6211 6225 <!-- when RCS keyword substitution in place, add version info --> 6212 <xsl:if test="contains('$Revision: 1.5 37$',':')">6213 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.5 37$', 'Revision: '),'$','')),', ')" />6226 <xsl:if test="contains('$Revision: 1.540 $',':')"> 6227 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.540 $', 'Revision: '),'$','')),', ')" /> 6214 6228 </xsl:if> 6215 <xsl:if test="contains('$Date: 201 0-12-30 14:21:59$',':')">6216 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 201 0-12-30 14:21:59$', 'Date: '),'$','')),', ')" />6229 <xsl:if test="contains('$Date: 2011-01-10 09:27:20 $',':')"> 6230 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-01-10 09:27:20 $', 'Date: '),'$','')),', ')" /> 6217 6231 </xsl:if> 6218 6232 <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.