[
Lists Home |
Date Index |
Thread Index
]
I tried
document('file://localhost/c:/temp/doc.xsl')
and
document('file://localhost/temp/doc.xsl')
on Saxon 6.5.1 with success. So long as the paths
referenced did not include spaces (as is common in Microsoft
platform path names), there wasn't a problem.
> The file URL scheme is unusual in that it does not specify an
> Internet protocol or access method for such files; as such, its
> utility in network protocols between hosts is limited.
AFAICT, file: is a reference to a local file, so the
machine name is rather meaningless. Is there some other
automagical behavior to which you refer (and of which I am
not aware)?
- Mitch
Dave Pawson wrote:
> 1994 I guess UNC's didn't cause much of a problem.
>
> Trying to work out how a UNC might fit into XSLT, the document() function,
> which requires a uri.
>
> Tried various combinations, and (possibly because of the java sandbox)
> I can't retrieve a document from, for instance
> document('file://\\machine\\path\file.xml')
> or the various combinations thereof.
>
> Anyone know how this might be written please?
>
> TIA, DaveP
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>
- References:
- rfc 1738
- From: Dave Pawson <dpawson@nildram.co.uk>
|