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

Re: Q: Relative paths in xsl:import Was: Parameter in

Subject: Re: Q: Relative paths in xsl:import Was: Parameter in "xsl:include"
From: Teppo Peltonen <teppo.peltonen@xxxxxx>
Date: 03 Apr 2001 14:35:23 +0300
xsl import problem relative path
Peter Flynn <peter@xxxxxxxxxxx> writes:

<offtopic>
> Not only that, but a programming language can write a file of code
> in its own or another language, place a call to the OS which will
> ...

;-) Very funny. Let me rephrase: It is a common practise in Java
programs to dynamically load executable code based on runtime
information. How about that? However, don't ask me how "common
practise" is defined...  
</offtopic>

> *ought* to be used. If I give "foo/bar" as a href value, I mean "foo
> as a subdirectory of whatever directory you happen to be executing
> in".

Yep, and the problem which I thought I had was that I didn't know
where I was. But as Mike Kay said in the other reply,

|The relative URI is interpreted relative to the stylesheet location, not
|relative to the current working directory.

So, I suppose it should work, if the style sheet compiler gets access
to the URL of the original style sheet and not some input stream
abstraction, a DOM tree or whatever.

How is a relative location interpreted if the location of the original
style sheet is unknown? Well, maybe I don't need to know that... just
thinking aloud.

Thank you very much for your help, 

Teppo

-- 
Teppo Peltonen <mailto:teppo.peltonen@xxxxxx>     phone 09 4566080
VTT Information Technology                        mobile 040 5651878
Tekniikantie 4 B, P.O.Box 1201, Espoo 02044 VTT   telefax 09 4567052


 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.