Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

# Re: [xsl] FW: xsl:document() and Access is Denied error

 Subject: Re: [xsl] FW: xsl:document() and Access is Denied error From: David Carlisle Date: Thu, 26 Jun 2003 15:23:24 +0100

```It may or may not be related but

select="document('\\intranet\FileName.xml')" />

refers to a file with name \\intranet\FileName.xml in the current
directory but as you are in windows I don't think you can have \
in file names.

The argument to document has to be a URI not a windows path, so
/ not \ is the path separator.

The mapping between URIs and windows lan \\ naming convenntion
is a bit of a black art though, but you could try

//intranet/FileName.xml
file://intranet/FileName.xml
file:///intranet/FileName.xml

If you have \\intranet mapped to a drive letter
so you can also see it as
x:FileName.xml
then
file:///x:FileName.xml
should work (I think)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The