Hi,

In XSLT, you can use javascript (or other script languages), depends on what 
XSLT engine you use.
With that feature, you can easily insert the XSLFO generation date in your 
XSLFO (and then, anywher in your PDF, once it is created)

For example, if you use Xalan, read this first [1].
Note that with the bundle coming with FOP 0.93, you will need following 
versions of jar:
bsf v 2.3.0 and js 1.5r3 (other versions should not work, but you can try...).

Another way to get PDF generation date is to read directly the relevant file 
property.

[1] http://xml.apache.org/xalan-j/extensions.html

HTH,

Pascal

> -----Message d'origine-----
> De : Tomann, Daniel [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 5 avril 2007 14:16
>  
>             I haven't found any sufficient information if it 
> is possible to integrate acroscript within a xsl:fo stylesheet?!
>             The only thing I found was the use of the browser 
> javascript with the help of apache's bsf package which works well.
>  
>             But is it also possible to integrate Adobe's 
> javascript in a stylesheet as well? Just want to show the 
> actual date on a pdf-document, which was generated with a 
> xsl:fo stylesheet...
>  
>  Thanks in advance for any answer.
>  
> CU Daniel
>  
> Best Regards / Mit freundlichen Grüßen 
>  
> Daniel Tomann
> Software Entwickler


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to