Subject: Re: [xsl] equivalent od #define|
From: "Robert Van Gemert" <rcvangemert@xxxxxxxxxxxxxxxx>
Date: Sun, 27 Nov 2005 22:15:53 +1100
"Robert" == Robert Van Gemert <rcvangemert@xxxxxxxxxxxxxxxx> writes:
Robert> Hi, I am using msxml single pass transforms and am trying Robert> to implement #define and #ifdef statements. The aim is to Robert> establish the value of constants based on the value of Robert> another constant. The values need to be defined only once Robert> but are based on another value. I have tried using Robert> <xsl:choose> statements outside a template but this is not Robert> allowed. Can somebody suggest a strategy to achieve this Robert> as part of the stylesheet.
Use xsl:variable. -- Colin Adams Preston Lancashire