RE: [xsl] Returning the file name of the input file

Subject: RE: [xsl] Returning the file name of the input file
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 28 Aug 2002 09:23:11 +0100
> 
> does anybody if the following is possible:
> 
> I want to use the name of the inputfile in the outputfile. So 
> if I want to transform the file c:\temp\test.xml, I want to 
> get in my output c:\temp\test.xml. I am afraid there is no 
> method to do this, but if anybody knows a solution I will be 
> very thankfull for that.
> 

Of course this is possible, but the logic belongs in the script that you
use to drive the XSLT transformation, not in the stylesheet itself.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread