Re: Access Input File Filename from within XSL

Well, you can always set the title for the generated PDF manually. If
you're using Apache FOP 0.92beta or later, you can set the title on the
FOUserAgent.

See:
http://xmlgraphics.apache.org/fop/0.92/embedding.html#user-agent

I assume you know best what the filenames are because FOP may only get a
SAX stream with the XSL-FO and may never know from which XML the
document was derived.

On 02.11.2006 21:45:21 Gregory Jungels wrote:
> Is there a way to access the filename of the input, and for that matter,
> all of the filenames that were used during the FOP run?
> 
>  
> 
> The XML files I am using have automatically generated filenames.  I
> would like to set the Title of my PDF document as whatever the input
> xml's filenamr is.
> 
>  
> 
> Thanks in advance.
> 



Jeremias Maerki

Received on Monday, 6 November 2006 15:19:37 UTC