Subject: FW: [xsl] xsl:include - problem setting relative path using href= "file://.. .." From: "Lo, May F [IT]" <may.f.lo@xxxxxxxx> Date: Thu, 3 May 2001 17:11:04 -0400 |
I am using James Clark XT Processor. Does anybody know of any workarounds to the problem? Issue: Using <xsl:include href="globalVar.xsl"/> requires a protocol to be defined using James Clark processor. Defining a protocol using <xsl:include href="file://globalVar.xsl"/> loses my ability to use relative path. -May -----Original Message----- From: Ingargiola, Tito [IT] Sent: Thursday, May 03, 2001 3:57 PM To: Lo, May F [IT] Subject: FW: [xsl] xsl:include - problem setting relative path using href= "file://.. .." -----Original Message----- From: Narinder Anand [mailto:Narinder.Anand@xxxxxxxxxxxx] Sent: Thursday, May 03, 2001 3:45 PM To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: RE: [xsl] 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@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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl:sort -- XSLT version, Michael Kay | Thread | Re: FW: [xsl] xsl:include - problem, David Carlisle |
[xsl] xsl:sort -- XSLT version 1.1, Eric Vermetten | Date | Re: [xsl] nesting xml, Thomas B. Passin |
Month |