The stylesheets have a global param named 'VERSION' that has the
release version. You can add this to your customization
layer to output the information to standard error:
<!-- side effect of this empty param is to output a message -->
<xsl:param name="foo">
<xsl:message>
<xsl:text>DocBook XSL stylesheet VERSION is: </xsl:text>
<xsl:value-of select="$VERSION"/>
</xsl:message>
</xsl:param>
Note that chunked HTML output already includes a meta element
name="generator"
with the $VERSION info.
Bob Stayton
Sagehill Enterprises
[email protected]
----- Original Message -----
From: "Sam Steingold" <[email protected]>
To: "docbook-apps" <[email protected]>
Sent: Monday, March 16, 2009 12:24 PM
Subject: [docbook-apps] stylesheet version on stdout and html
It is possible to arrange for the stylesheet version to be printed to
the stdout as it is being read and saved into the output (html and
nroff)?
Every now and then I am bitten by cataloging intricacies where I think
I am using the snapshot while I am not.
thanks.
--
Sam Steingold <http://sds.podval.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]