Subject: RE: Count tags with parent's attributes with nested named templat es From: Ben Robb <Ben@xxxxxxxxxx> Date: Thu, 1 Jun 2000 10:27:02 +0100 |
> -What I want: > I would like to count the number of Filename elements > that have a parent (DonwloadItem) with attribute > aggreement="yes" and with grand-parent attribute > (DownloadGroup) with attribute aggreement="yes". <xsl:value-of select="count(//DownloadGroup[@agreement='yes']/DownloadItem[@agreement='yes ']/Filename)"/> should work Rgs, Ben XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Pb: Count tags with parent's attrib, Xavier Outhier | Thread | xml in, xml out, Toby Stokes |
Pb: Count tags with parent's attrib, Xavier Outhier | Date | xml in, xml out, Toby Stokes |
Month |