Subject: Docbook tag for latest NetBSD release number
To: None <netbsd-docs@NetBSD.org>
From: Klaus Heinz <k.heinz.apr.fuenf@onlinehome.de>
List: netbsd-docs
Date: 04/20/2005 02:19:03
Hi,
following the recent thread about using Docbook tags as much as
possible:
Any objections to use
<releaseinfo role="latest-release" />
to insert the latest NetBSD release number from share/xsl/global.xsl
and this XSLT template
<!-- insert number of latest NetBSD release -->
<xsl:template match="releaseinfo[@role='latest-release']">
<xsl:variable name="empty_string" />
<xsl:if test="normalize-space(.)=$empty_string">
<xsl:value-of select="$latest-release" />
</xsl:if>
</xsl:template>
?
ciao
Klaus