OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] stylesheet version on stdout and html


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
bobs@sagehill.net


----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]