[xsl] equivalent od #define

Subject: [xsl] equivalent od #define
From: "Robert Van Gemert" <rcvangemert@xxxxxxxxxxxxxxxx>
Date: Sun, 27 Nov 2005 21:35:49 +1100
Hi,

I am using msxml single pass transforms and am trying to implement #define and #ifdef statements. The aim is to establish the value of constants based on the value of another constant. The values need to be defined only once but are based on another value. I have tried using <xsl:choose> statements outside a template but this is not allowed. Can somebody suggest a strategy to achieve this as part of the stylesheet.

Thanks,

Robert Van Gemert

Current Thread