[daisy] image update is not reflected in the pdf

Jorg Heymans jorg.heymans at gmail.com
Wed Mar 12 14:03:57 CET 2008


On Wed, Mar 12, 2008 at 1:41 PM, Jorg Heymans <jorg.heymans at gmail.com>
wrote:

> random() or now() don't seem to be supported in standard xslt though, so
> perhaps there is some random-enough data available elsewhere in the document
> that we can append to the URL each
>
actually it is possible to add a timestamp of some sort:

1. add xmlns:datetime="http://exslt.org/dates-and-times"
2. change the insertGraphic template to:
  <xsl:template name="insertGraphic">
    <xsl:variable name="now" select="datetime:date-time()" />
    <fo:external-graphic src="url('{@src}?$now')">

HTH
Jorg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20080312/6439ae24/attachment.htm


More information about the daisy mailing list