RE: [xsl] xsl:include - problem setting relative path using href= "file://.. .."

Subject: RE: [xsl] xsl:include - problem setting relative path using href= "file://.. .."
From: Narinder Anand <Narinder.Anand@xxxxxxxxxxxx>
Date: Thu, 3 May 2001 12:44:32 -0700
<xsl:include href="globalVar.xsl"/> seems to be working fine... I'm using
SAXON for the parsing...

Narinder



-----Original Message-----
From: Lo, May F [IT] [mailto:may.f.lo@xxxxxxxx]
Sent: Thursday, May 03, 2001 12:15 PM
To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
Subject: [xsl] xsl:include - problem setting relative path using
href="file://.. .."


Hi,

I am having a problem setting a relative path to xsl:include.

I have tried using the following xsl:include:
  1st scenario:    <xsl:include href="file://globalVar.xsl"/>
  2nd scenario:    <xsl:include href="file:globalVar.xsl"/> 
In either scenario, the processor does not 
recognize that I am looking for a relative path. 

It works fine when I specify a full path such as
<xsl:include href="file://home/user1/globalVar.xsl"/>

Is there not a way to use relative path in the href?

I have tried just using the following code:
<xsl:include href="globalVar.xsl"/>
However, I get an error stating that I need a protocol, 
which is why I am having to append file://

If anybody has any suggestions or solutions to this
problem, please let me know.

Thanks.
 

 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