Changeset 2218 for rfc2629xslt/rfc2629toXHTML.xslt
- Timestamp:
- 31/03/13 16:34:25 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629toXHTML.xslt
r2195 r2218 1660 1660 </xsl:for-each> 1661 1661 1662 <xsl:if test="not(front/date)"> 1663 <xsl:call-template name="warning"> 1664 <xsl:with-param name="msg"><date> missing in reference '<xsl:value-of select="@anchor"/>' (note that it can be empty)</xsl:with-param> 1665 </xsl:call-template> 1666 </xsl:if> 1667 1662 1668 <xsl:if test="front/date/@year != ''"> 1663 1669 <xsl:if test="string(number(front/date/@year)) = 'NaN'"> … … 2461 2467 <xsl:call-template name="get-section-number"/> 2462 2468 </xsl:for-each> 2469 </xsl:when> 2470 <xsl:when test="$xref/@x:rel and not(starts-with($xref/@x:rel,'#')) and not($xref/@x:sec)"> 2471 <xsl:call-template name="error"> 2472 <xsl:with-param name="msg">x:rel attribute '<xsl:value-of select="$xref/@x:rel"/>' in reference to <xsl:value-of select="$node/@anchor"/> is expected to start with '#'.</xsl:with-param> 2473 </xsl:call-template> 2463 2474 </xsl:when> 2464 2475 <xsl:otherwise> … … 6486 6497 <xsl:text>http://greenbytes.de/tech/webdav/rfc2629.xslt, </xsl:text> 6487 6498 <!-- when RCS keyword substitution in place, add version info --> 6488 <xsl:if test="contains('$Revision: 1.59 1$',':')">6489 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.59 1$', 'Revision: '),'$','')),', ')"/>6499 <xsl:if test="contains('$Revision: 1.593 $',':')"> 6500 <xsl:value-of select="concat('Revision ',normalize-space(translate(substring-after('$Revision: 1.593 $', 'Revision: '),'$','')),', ')"/> 6490 6501 </xsl:if> 6491 <xsl:if test="contains('$Date: 2013/0 2/27 12:53:51 $',':')">6492 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/0 2/27 12:53:51 $', 'Date: '),'$','')),', ')"/>6502 <xsl:if test="contains('$Date: 2013/03/13 16:48:21 $',':')"> 6503 <xsl:value-of select="concat(normalize-space(translate(substring-after('$Date: 2013/03/13 16:48:21 $', 'Date: '),'$','')),', ')"/> 6493 6504 </xsl:if> 6494 6505 <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.