Changeset 2461 for rfc2629xslt/samples/rfc2629.xslt
- Timestamp:
- 01/11/13 09:28:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/samples/rfc2629.xslt
r2418 r2461 662 662 663 663 <xsl:template name="insert-begin-code"> 664 <xsl:if test="@x:is CodeComponent='yes'">664 <xsl:if test="@x:is-code-component='yes'"> 665 665 <pre class="ccmarker cct"><span><CODE BEGINS></span></pre> 666 666 </xsl:if> … … 668 668 669 669 <xsl:template name="insert-end-code"> 670 <xsl:if test="@x:is CodeComponent='yes'">670 <xsl:if test="@x:is-code-component='yes'"> 671 671 <pre class="ccmarker ccb"><span><CODE ENDS></span></pre> 672 672 </xsl:if> … … 1176 1176 <!-- check for conforming ipr attribute --> 1177 1177 <xsl:choose> 1178 <xsl:when test="not(/rfc/@ipr)" /> 1178 <xsl:when test="not(/rfc/@ipr)"> 1179 <xsl:if test="not(/rfc/@number) and $xml2rfc-private=''"> 1180 <xsl:call-template name="error"> 1181 <xsl:with-param name="msg">Either /rfc/@ipr or /rfc/@number is required</xsl:with-param> 1182 </xsl:call-template> 1183 </xsl:if> 1184 </xsl:when> 1179 1185 <xsl:when test="/rfc/@ipr = 'full2026'" /> 1180 1186 <xsl:when test="/rfc/@ipr = 'noDerivativeWorks'" /> … … 3566 3572 padding: .25em; 3567 3573 page-break-inside: avoid; 3568 }<xsl:if test="//artwork[@x:is CodeComponent='yes']"><!-- support "<CODE BEGINS>" and "<CODE ENDS>" markers-->3574 }<xsl:if test="//artwork[@x:is-code-component='yes']"><!-- support "<CODE BEGINS>" and "<CODE ENDS>" markers--> 3569 3575 pre.ccmarker { 3570 3576 background-color: white; … … 6681 6687 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6682 6688 <!-- when RCS keyword substitution in place, add version info --> 6683 <xsl:if test="contains('$Revision: 1.60 3$',':')">6684 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.60 3$', 'Revision: '),'$','')),', ')" />6689 <xsl:if test="contains('$Revision: 1.607 $',':')"> 6690 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.607 $', 'Revision: '),'$','')),', ')" /> 6685 6691 </xsl:if> 6686 <xsl:if test="contains('$Date: 2013/ 09/18 20:22:25$',':')">6687 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/ 09/18 20:22:25$', 'Date: '),'$','')),', ')" />6692 <xsl:if test="contains('$Date: 2013/10/15 13:23:22 $',':')"> 6693 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/10/15 13:23:22 $', 'Date: '),'$','')),', ')" /> 6688 6694 </xsl:if> 6689 6695 <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.