[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Returning the file name of the input file

Subject: RE: Returning the file name of the input file
From: Cams Ismael <Ismael.Cams@xxxxxxxxxxxxxxx>
Date: Wed, 28 Aug 2002 13:01:01 +0200
cams files
Thanks all for trying to help, but I think I havn't explained myself well
enough. What I try to do is the following:
I have an xml file which refers to other xml files that can refer to other
xml files, etc.

E.g.

	<package type="expr" href="../../package1.xml"/>
	<package href="../../package2.xml"/>
	<package type="expr" href="../../package3.xml"/>

Out of this xml file I generate a list of all references of type 'expr'. So
I search through all xml files and generate a list of all references of type
'expr'. The result file is used by a Java program to execute another
process. The problem is because relative paths are used the Java program
can't find the files (the Java program is started from another place).
Therefore I would like to translate the relative paths into absolute paths.
But I don't find any function in xsl to do this, nor do I see a solution to
solve this with xsl. Hopefully somebody can help me.

Kind regards,
Ismaël

-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: Wednesday, August 28, 2002 9:57 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Returning the file name of the input file


Hi,

> Subject:  Returning the file name of the input file
> 
> 
> Hello,
> 
> 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.

Pass the input filename as a parameter.

Jarno

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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.