Changeset 1095 for rfc2629xslt/rfc2629toXHTML.xslt
- Timestamp:
- 01/12/10 12:07:53 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629toXHTML.xslt
r1072 r1095 337 337 <xsl:call-template name="error"> 338 338 <xsl:with-param name="msg" select="concat('Unsupported value for /rfc/@submissionType: ', /rfc/@submissionType)"/> 339 <xsl:with-param name="inline" select="'no'"/> 340 </xsl:call-template> 341 </xsl:otherwise> 342 </xsl:choose> 343 344 <!-- sanity check on @consensus --> 345 <xsl:if test="/rfc/@consensus and (/rfc/@submissionType='IAB' or /rfc/@submissionType='independent')"> 346 <xsl:call-template name="warning"> 347 <xsl:with-param name="msg" select="concat('/rfc/@consensus meaningless with a /rfc/@submissionType value of ', /rfc/@submissionType)"/> 348 <xsl:with-param name="inline" select="'no'"/> 349 </xsl:call-template> 350 </xsl:if> 351 </xsl:variable> 352 353 <xsl:variable name="consensus"> 354 <xsl:choose> 355 <xsl:when test="/rfc/@consensus='yes' or not(/rfc/@consensus)">yes</xsl:when> 356 <xsl:when test="/rfc/@consensus='no'">no</xsl:when> 357 <xsl:otherwise> 358 <xsl:value-of select="concat('(UNSUPPORTED VALUE FOR CONSENSUS: ',/rfc/@consensus,')')"/> 359 <xsl:call-template name="error"> 360 <xsl:with-param name="msg" select="concat('Unsupported value for /rfc/@consensus: ', /rfc/@consensus)"/> 339 361 <xsl:with-param name="inline" select="'no'"/> 340 362 </xsl:call-template> … … 3282 3304 margin-left: 0em; 3283 3305 } 3284 <xsl:if test="$has-index">ul.ind {3306 <xsl:if test="$has-index">ul.ind, ul.ind ul { 3285 3307 list-style: none; 3286 3308 margin-left: 1.5em; … … 4168 4190 (IETF). 4169 4191 <xsl:choose> 4170 <xsl:when test=" not(/rfc/@consensus) or /rfc/@consensus='yes'">4192 <xsl:when test="$consensus='yes'"> 4171 4193 It represents the consensus of the IETF community. It has 4172 4194 received public review and has been approved for publication by … … 4176 4198 It has been approved for publication by the Internet Engineering 4177 4199 Steering Group (IESG). 4200 <!-- sanity check of $consensus --> 4201 <xsl:if test="/rfc/@category='std' or /rfc/@category='bcp'"> 4202 <xsl:call-template name="error"> 4203 <xsl:with-param name="msg" select="'IETF BCPs and Standards Track documents require IETF consensus, check values of @category and @consensus!'"/> 4204 <xsl:with-param name="inline" select="'no'"/> 4205 </xsl:call-template> 4206 </xsl:if> 4178 4207 </xsl:otherwise> 4179 4208 </xsl:choose> … … 4190 4219 deployment. 4191 4220 <xsl:choose> 4192 <xsl:when test=" (not(/rfc/@consensus) or /rfc/@consensus='yes')and /rfc/front/workgroup!=''">4221 <xsl:when test="$consensus='yes' and /rfc/front/workgroup!=''"> 4193 4222 This RFC represents the consensus of the 4194 4223 <xsl:value-of select="/rfc/front/workgroup"/> Research Group of the Internet 4195 4224 Research Task Force (IRTF). 4196 4225 </xsl:when> 4197 <xsl:when test=" /rfc/@consensus='no' and /rfc/front/workgroup!=''">4226 <xsl:when test="$consensus='no' and /rfc/front/workgroup!=''"> 4198 4227 This RFC represents the individual opinion(s) of one or more 4199 4228 members of the <xsl:value-of select="/rfc/front/workgroup"/> Research Group of the … … 6025 6054 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6026 6055 <!-- when RCS keyword substitution in place, add version info --> 6027 <xsl:if test="contains('$Revision: 1.53 1$',':')">6028 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.53 1$', 'Revision: '),'$','')),', ')"/>6056 <xsl:if test="contains('$Revision: 1.536 $',':')"> 6057 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.536 $', 'Revision: '),'$','')),', ')"/> 6029 6058 </xsl:if> 6030 <xsl:if test="contains('$Date: 2010-1 0-31 21:50:52 $',':')">6031 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-1 0-31 21:50:52 $', 'Date: '),'$','')),', ')"/>6059 <xsl:if test="contains('$Date: 2010-11-29 12:56:12 $',':')"> 6060 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2010-11-29 12:56:12 $', 'Date: '),'$','')),', ')"/> 6032 6061 </xsl:if> 6033 6062 <xsl:value-of select="concat('XSLT vendor: ',system-property('xsl:vendor'),' ',system-property('xsl:vendor-url'))"/> … … 6528 6557 <xsl:text> (at line </xsl:text> 6529 6558 <xsl:value-of select="saxon-old:line-number()"/> 6559 <xsl:if test="function-available('saxon-old:systemId')"> 6560 <xsl:variable name="rootsys"> 6561 <xsl:for-each select="/*"> 6562 <xsl:value-of select="saxon-old:systemId()"/> 6563 </xsl:for-each> 6564 </xsl:variable> 6565 <xsl:if test="$rootsys != saxon-old:systemId()"> 6566 <xsl:text> of </xsl:text> 6567 <xsl:value-of select="saxon-old:systemId()"/> 6568 </xsl:if> 6569 </xsl:if> 6530 6570 <xsl:text>)</xsl:text> 6531 6571 </xsl:if> … … 6535 6575 <xsl:text> (at line </xsl:text> 6536 6576 <xsl:value-of select="saxon:line-number()"/> 6577 <xsl:if test="function-available('saxon:systemId')"> 6578 <xsl:variable name="rootsys"> 6579 <xsl:for-each select="/*"> 6580 <xsl:value-of select="saxon:systemId()"/> 6581 </xsl:for-each> 6582 </xsl:variable> 6583 <xsl:if test="$rootsys != saxon:systemId()"> 6584 <xsl:text> of </xsl:text> 6585 <xsl:value-of select="saxon:systemId()"/> 6586 </xsl:if> 6587 </xsl:if> 6537 6588 <xsl:text>)</xsl:text> 6538 6589 </xsl:if>
Note: See TracChangeset
for help on using the changeset viewer.