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

Re: Is there any way to get the system directory or the full

Subject: Re: Is there any way to get the system directory or the full path to thecurrent xsl file?
From: David_Marston@xxxxxxxxx
Date: Wed, 13 Sep 2000 13:30:46 -0400
get system directory
Aaron Miller writes:
>I'm trying to include another xsl file into the one I'm using, and for
>some reason, the href attribute of the include must have an absolute
>file path for this to work.

Xalan supports relative file paths, and I believe several other
processors do. So the question becomes: relative to where? The answer
depends on the environment in which you're running the processor.

>Otherwise the xslt processor looks in the wrong directory for the file.
>What I would like to do to fix this is simply read the xsl root
>directory pathname into a variable, and attach it to the filename that
>way. Can this be done?

The path can be passed in via a parameter, but you can't use the
parameter in xsl:include!
.................David Marston


 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.