Subject: Re: [xsl] Count occurances of two' Yes' From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Tue, 12 Feb 2008 13:45:12 +0530 |
On Feb 12, 2008 12:35 PM, Arthur Maloney <ArthurM@xxxxxxxxxx> wrote: > Hello Xsl-list, > > I'm using Xml v1, Xslt v1 > > How do you total(count) the number of rows with two 'Yes' > Where ( row[annualHoliday='Yes'] and (row[promoHoliday='Yes'] ) is true > > This gives total for annualHoliday only > <xsl:value-of select="count(row[annualHoliday='Yes'])"/> You could do: <xsl:value-of select="count(row[(annualHoliday='Yes') and (promoHoliday='Yes')])"/> -- Regards, Mukul Gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Count occurances of two' Yes', Arthur Maloney | Thread | Re[2]: [xsl] Count occurances of tw, Arthur Maloney |
[xsl] Count occurances of two' Yes', Arthur Maloney | Date | RE: [xsl] Genreating a HTML file wi, W Charlton |
Month |