[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Count tags with parent's attributes with nested named te
> -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
|
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
|