|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Replacement for boolean !?
> Hi, > I have a need to use something like a boolean. I tried several things but I am running out of ideas to handle something like this in XSLT. I have several blocks of code in my stylesheet. Basically, what I need to do is set a boolean variable to true if some condition is satisfied and act accordingly, SEVERAL BLOCKS down. So, something like this does not seem to be an option: > <xsl:variable> > <xsl:choose> > <xsl:when test="..."> > </xsl:when> > <xsl:otherwise> > ... > </xsl:otherwise> > </xsl:choose> > </xsl:variable> > > Could anyone please give me an example as to how I could use boolean variables. This is what I need. > > 1. Set boolean to false, initially. > 2. Open FOR loop. > 3. Check condition. If true, set boolean to true. > 4. If boolean is true, do something. > 5. set boolean to false. > 6. close loop. > > Please advise. > Thanks, > Krish > p.s.: I have subscribed to the digest. So, is there anyway I could get any responses to my questions before the end of day? > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








