This is the mail archive of the
mailing list .
Re: Retrieving XML document's name
John Putman writes:
> This is probably pretty simple, but I couldn't find the answer in the
> archives or books... how can you retrieve the name of the XML file that you
> are transforming?
you can't. after all, it may not be a file at all. in practice you can either
- pass in the file name as a parameter to the stylesheet
- use Saxon, which has an extension to retrieve the filename
life is strange, isnt it
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list