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]

import / include using file: URI over windows networking


Hi, 

I'm new here. I just thought I'd share some info I found when using a file:
URI to import / include templates over Windows networking (UNC descriptor).
Hopefully I can save someone else some frustration.

The syntax that works in all cases so far is <xsl:import
href="file:///\\saturn\dev\test2.xsl" />.  It looks bad, but it works.

Here are the results of some tests I ran to compare the behavior of the
SAXON / MSXML command line parsers:

Can anyone test this on some other parsers?

------------------

    <xsl:import href="file:/\\saturn\dev\test2.xsl" />

doesn't work in msxsl
works in saxon

------------------

    <xsl:import href="file://\\saturn\dev\test2.xsl" />

works in msxsl
doesn't work in saxon

------------------

    <xsl:import href="file:///\\saturn\dev\test2.xsl" />

works in both!

------------------

    <xsl:import href="file:/v:\test2.xsl" />

works in both

------------------

    <xsl:import href="file://v:\test2.xsl" />

works in msxsl
fails in saxon

------------------

    <xsl:import href="file:///v:\test2.xsl" />

works in both


 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]