This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Returning the file name of the input file
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 28 Aug 2002 09:23:11 +0100
- Subject: RE: [xsl] Returning the file name of the input file
- Reply-to: xsl-list at lists dot mulberrytech dot com
>
> 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