How can I retrieve the XML source file name using XSL 1.0 code?
There is no way to obtain the name or path of the file being transformed by XSL. Due to the nature of XSL, the data being transformed might not be from a file, it might just be transforming a stream of data.