Re: [xsl] equivalent od #define

Subject: Re: [xsl] equivalent od #define
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 27 Nov 2005 11:09:57 +0000
>>>>> "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

Current Thread