xsl-list
[Top] [All Lists]

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

2009-08-21 03:56:14
 
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 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--