Colin,
Yes, but I need to change the varable based on the value of another variable
and all this need to be global. I cannot use <xsl:choose> outside a
template.
-rvg
----- Original Message -----
From: "Colin Paul Adams" <colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Sunday, November 27, 2005 10:09 PM
Subject: Re: [xsl] equivalent od #define
"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>
--~--
--~------------------------------------------------------------------
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>
--~--