RE: modifiable variables

Subject: RE: modifiable variables
From: "Nicolas DELAHAYE" <ndelahaye@xxxxxxxxxxxxxx>
Date: Mon, 29 Nov 1999 08:25:10 +0100
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


Current Thread