[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Dynamically determine which XSLT files to include and import?


Subject: Re: [xsl] Dynamically determine which XSLT files to include and import?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 29 Jul 2013 17:10:58 +0100

No, XSLT programs cannot modify themselves at runtime. They share this
characteristics with many other modern programming languages.

Now tell us what problem you are trying to solve.

Michael Kay
Saxonica

On 29 Jul 2013, at 16:34, Costello, Roger L. wrote:

> Hi Folks,
>
> Is there a  way for an XSLT program to, at runtime, decide which XSLT files
to include and import?
>
> I imagine something like this at the top of the XSLT program:
>
>    if the input file has value X set then
>        include A.xsl, B.xsl
>    else
>        include C.xsl, D.xsl
>
> Any way to do this?
>
> /Roger


Current Thread
Keywords