RE: [xsl] Getting the name the input data document

Subject: RE: [xsl] Getting the name the input data document
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 21 Aug 2009 08:55:28 +0100
> I need to know the file name of the file my XSLT style sheet 
> is acting upon so that I can write it out as part of the tile 
> of an XSL-FO output PDF document. Does XSLT 2.0 have a way of 
> getting the file name?

document-uri(/) will return the URI of the input document if known. You can
convert that to a file name if it is a file: URI.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread