xsl-list
[Top] [All Lists]

Re: equivalent od #define

2005-11-27 04:09:57
"Robert" == Robert Van Gemert 
<rcvangemert(_at_)optushome(_dot_)com(_dot_)au> 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

--~------------------------------------------------------------------
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>