Re: [xsl] Retrieving XML document's name

Subject: Re: [xsl] Retrieving XML document's name
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Jul 2001 00:16:35 +0100
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:

Current Thread