This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


<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@ssmb.com]
Sent: Thursday, May 03, 2001 12:15 PM
To: 'XSL-List@lists.mulberrytech.com'
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]