Next in thread → Next in month →

Re: [docbook-apps] Copyright and dbtimestamp

From
Jirka Kosek <>
Date
2012-06-15T08:51:34+00:00
ID
Thread
Re: [docbook-apps] Copyright and dbtimestamp
On 14.6.2012 23:57,  wrote:

> However, this issue should be able to work easier than shutting off the  
> multi year combination parameters. I assume that the dbtimestamp is being  
> evaluated after the multi-year-combination template of the copyright/year?
>  
> Is there a way to get the dbtimestamp evaluated earlier?

It is very likely that dbtimestamp is not evaluated at all in this case.
<?dbtimestamp?> is evaluated during XSLT transformation when it's
template is called by using xsl:apply-templates. If you put
<?dbtimestamp?> into location of document on which xsl:apply-templates
is not invoked then you will get nothing in output.

You can add custom preprocessing step which will evaluate
<?dbtimestamp?> and otherwise just copy original document into your
pipeline.

				Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
Next in thread → Next in month →