|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: modifiable variables
David Carlisle has made the good 'xsl' for your problem. A+ Nicolas DELAHAYE > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Bill Abbas > Sent: Friday, November 26, 1999 6:49 PM > To: xsl-list@xxxxxxxxxxxxxxxx > Subject: RE: modifiable variables > > > > I've got some XML that looks roughly like this: > > <Whatever> > <Choice> > true > </Choice> > <Choice> > false > </Choice> > <Choice> > true > </Choice> > <Choice> > false > </Choice> > > ... you get the idea ... :-) > > </Whatever> > > What I want to count is the number of "Choice" nodes whose text is "true". > > -Bill > > -----Original Message----- > From: Nicolas DELAHAYE [mailto:ndelahaye@xxxxxxxxxxxxxx] > Sent: Thursday, November 25, 1999 12:00 AM > To: xsl-list@xxxxxxxxxxxxxxxx > Subject: RE: modifiable variables > > > what do you want count ? > if it is node-set, then you can use the count function (XPath). > > > Nicolas DELAHAYE > > ---- > The Gartner Group predicts that, by the year 2001, > between 50 and 80% of all electronic purchases > will be done through affiliate networks. > Think about it & visit : http://www.imediation.com > > > -----Original Message----- > > From: owner-xsl-list@xxxxxxxxxxxxxxxx > > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Bill Abbas > > Sent: Wednesday, November 24, 1999 9:41 PM > > To: xsl-list@xxxxxxxxxxxxxxxx > > Subject: modifiable variables > > > > > > > > My somewhat tentative understanding is that an xsl:variable is basically > > read-only. > > > > Does anyone have any advice on how to implement a counter in > XSL? Is this > > something I can do with xsl:param? > > > > -Bill > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > 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








