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] Adding a DateTime stamp to a PDF titlepage

On 24/09/09 12:56, Laurie Burley wrote:
> Hi,
> We are currently generating PDFs using xsltproc, and are building our
> PDF titlepages using an .svg image with the following code:

> We have been asked to include a date and time stamp on each pdf title
> page in addition to the graphic file.
> I’ve been able to get generic text placed in the correct location on the
> title page by adding the following entry directly after the
> external-graphic block:

> I’ve seen several examples using JavaScript but they tend to require
> either the Saxon or Xalan processors, which we are not using.
> Does anybody know if I can insert the date and time in that location? If
> so, could you provide or point me to an example?

Using xslt 2.0 it is easier, but with XSLT 1.0, easiest to pass
the date time, formatted as you want it, as a parameter
to the stylesheet, and use that value.


Dave Pawson

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