RE: [xsl] Alternate stylesheet based on availability

Subject: RE: [xsl] Alternate stylesheet based on availability
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 2 May 2006 19:57:07 +0100
> I would like to use a local stylesheet.xsl file (i.e. in the same
> directory) unless it doesn't exist and then I would like to 
> use one on a different server entirely.
> 

Selection of a stylesheet is done outside XSLT itself. The way you do it
depends on the language and API you are using to invoke the transformation.

You can't achieve this if you are invoking the transformation using the
<?xml-stylesheet?> processing instruction.

Michael Kay
http://www.saxonica.com/

Current Thread