xsl-list
[Top] [All Lists]

Re: Import HREF

2003-06-10 11:31:06
This:
<xsl:import href="/utility/dbXMLContent_T.xsl" />
Doesn't seem to work.
My hierarchy looks something like this:

/ "WEB ROOT"
/utility/dbXMLContent_T.xsl
/admin/recordmaster/document/content.xsl


Content.xsl needs to import dbXMLContent_T.xsl.
The import works if I start the URI as "../../../utility" but not as
"/utitilty"

Karl


----- Original Message -----
From: "Mike Brown" <mike(_at_)skew(_dot_)org>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Tuesday, June 10, 2003 11:00 AM
Subject: Re: [xsl] Import HREF


Karl J. Stubsjoen wrote:
Hello,

With xsl:import... the following HREF specification resolves to a file
in my
utility folder off of my root directory:
href="../../../utility/dbXMLContent_T.xsl"

I don't believe this can be written as:
href="//utility/dbXMLContent_T.xsl"

But is there any other way to get to the root folder of the web page?

Without getting into the specifics of how URIs work, and assuming
you're using this in a fairly ordinary context,

  /utility/dbXMLContent_T.xsl

should work just fine. Can you be more specific about your folder
hierarchy
and what you're trying to accomplish / what is failing?

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





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



<Prev in Thread] Current Thread [Next in Thread>