- Timestamp:
- Sep 11, 2021 12:05:14 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 146872
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/doc/manual/docbook-refentry-to-manpage.xsl ¶
r82969 r91217 26 26 --> 27 27 28 <!-- 29 Extract manual's date from an *info/pubdate node (cf. 30 get.refentry.date). Detect RCS Date keyword. 31 --> 32 <xsl:template match="pubdate"> 33 <xsl:choose> 34 <!-- careful with that keyword --> 35 <xsl:when test="starts-with(text(), concat('$', 'Date:'))"> 36 <!-- Fetch the ISO 8601 date from inside --> 37 <xsl:value-of select="substring(text(), 8, 10)"/> 38 </xsl:when> 39 <xsl:otherwise> 40 <!-- Use as-is --> 41 <xsl:value-of select="text()"/> 42 </xsl:otherwise> 43 </xsl:choose> 44 </xsl:template> 28 45 29 46 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.