This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Returning the file name of the input file


> 
> 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@ntlworld.com
work: Michael.Kay@softwareag.com 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]