xsl-list
[Top] [All Lists]

RE: [xsl] Alternate stylesheet based on availability

2006-05-02 11:57:30

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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>