Re: [xsl] xsl:include href - relative to document root?

Subject: Re: [xsl] xsl:include href - relative to document root?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 21 Jun 2005 16:43:12 +0100
I just tested msxsml3/asp and both

<xsl:include href="test2.xsl"/>
<xsl:include href="file:///e:/nagweb/Inetpub/wwwroot/external/test2.xsl"/>

work fetching a file in the local directory or in an explict directory on
the filesystem.

So so long as you know the position of your common files in the
filesystem you shoud be able to place your common files in a central
directory.



<xsl:include href="http://localhost/test2.xsl"/>

which (on saxon) fetches the same file  failed to work under ASP
claiming no data is returned, presumably security restrictions stop the
xsl engine fetching stuff by http in this configuration.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread