This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Count problem
- From: Jarno dot Elovirta at nokia dot com
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 13 May 2002 13:09:49 +0300
- Subject: RE: [xsl] Count problem
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi,
> and this return me total number of @Name ..means it also
> count those @Name
> which has ""(empty)value .
> So I want to know is it possible to count only those @Name
> ....which are
> not empty. if it is possible ..then anyone tell me how.
<xsl:variable name="total" select="count($t4-31.Envelop.TaskEnvelop.Contents.TaskSheet.TaskSheetInstructions.Instruction.DataSet.Query.WhereDetails.Description/@Name[not(. = '')])"/>
Santtu
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list