Changeset 1368 for rfc2629xslt/rfc2629toXHTML.xslt
- Timestamp:
- 31/07/11 22:22:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629toXHTML.xslt
r1303 r1368 1334 1334 <xsl:when test="$ref and $bib/x:source/@href and $bib/x:source/@basename and $ref/@x:rel"> 1335 1335 <xsl:value-of select="concat($bib/x:source/@basename,'.html',$ref/@x:rel)"/> 1336 </xsl:when> 1337 <!-- tools.ietf.org won't have the "-latest" draft --> 1338 <xsl:when test="$bib/seriesInfo/@name='Internet-Draft' and $bib/x:source/@href and $bib/x:source/@basename and substring($bib/x:source/@basename, (string-length($bib/x:source/@basename) - string-length('-latest')) + 1)='-latest'"> 1339 <!-- TODO: should produce the right extension based on the format we're producing --> 1340 <xsl:value-of select="concat($bib/x:source/@basename,'.html')"/> 1336 1341 </xsl:when> 1337 1342 <xsl:when test="$bib/seriesInfo/@name='RFC'"> … … 2507 2512 2508 2513 <xsl:otherwise> 2509 <xsl:call-template name="error"> 2510 <xsl:with-param name="msg" select="concat('xref to unknown element: ',name($node))"/> 2511 </xsl:call-template> 2514 <xsl:if test="$node"> 2515 <xsl:call-template name="error"> 2516 <xsl:with-param name="msg" select="concat('xref to unknown element: ',name($node))"/> 2517 </xsl:call-template> 2518 </xsl:if> 2512 2519 </xsl:otherwise> 2513 2520 </xsl:choose> … … 4066 4073 </xsl:choose> 4067 4074 4075 <!-- warn about iprExtract without effect --> 4076 <xsl:if test="/rfc/@iprExtract and (/rfc/@ipr != 'noModification3667' and /rfc/@ipr != 'noDerivatives3667' and /rfc/@ipr != 'noModification3978' and /rfc/@ipr != 'noDerivatives3978')"> 4077 <xsl:call-template name="warning"> 4078 <xsl:with-param name="msg" select="concat('/rfc/@iprExtract does not have any effect for /rfc/@ipr=',/rfc/@ipr)"/> 4079 </xsl:call-template> 4080 </xsl:if> 4081 4068 4082 <!-- restrictions --> 4069 4083 <xsl:choose> … … 6170 6184 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6171 6185 <!-- when RCS keyword substitution in place, add version info --> 6172 <xsl:if test="contains('$Revision: 1.55 0$',':')">6173 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.55 0$', 'Revision: '),'$','')),', ')"/>6186 <xsl:if test="contains('$Revision: 1.553 $',':')"> 6187 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.553 $', 'Revision: '),'$','')),', ')"/> 6174 6188 </xsl:if> 6175 <xsl:if test="contains('$Date: 2011-0 5-30 14:02:12$',':')">6176 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-0 5-30 14:02:12$', 'Date: '),'$','')),', ')"/>6189 <xsl:if test="contains('$Date: 2011-07-27 17:45:31 $',':')"> 6190 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2011-07-27 17:45:31 $', 'Date: '),'$','')),', ')"/> 6177 6191 </xsl:if> 6178 6192 <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.