RE: [xsl] xsl:include from different server

Subject: RE: [xsl] xsl:include from different server
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 9 Jan 2002 08:36:48 -0000
> Is it possible to include a Stylesheet from a different server .
> Something that would look like or some other way around .
>    <xsl:include href="http://reports/header.xsl"/>
Yes, it is possible. Of course, the details of what is accessible depend on
your processor and the environment it is running in (e.g. firewalls).

Also, there is a security issue that not many people seem to know about. If
the stylesheet contains calls to extension functions, it can do arbitrary
damage to your machine. So don't invoke a stylesheet unless you trust it.

Recent releases of Saxon include a switch to disable calling of extension
functions, for this reason.

Mike Kay

 XSL-List info and archive:

Current Thread