[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: node count

Subject: RE: node count
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 6 Aug 2001 18:18:34 +0100
node count
> I want to know how many nodes are within the outlet

count(.//node())

But is that really what you want to know? Perhaps you want to know the
number of <row> elements:

count(row)

Both assume that the <outlet> is your context node.

Mike Kay
Software AG



 is there
> some type count
> feature or something, I need to know how many are there
> without much work?
> Any ideas?
>
>
> <outlet>
> 	<row>
> 	  <recordnum>03D-107C</station_id_num>
> 	  <name>test1</num_at_station>
> 	</row>
> 	<row>
> 	  <recordnum>555D-107C</station_id_num>
> 	  <name>test2</num_at_station>
> 	</row>
> 	<row>
> 	  <recordnum>03D-107C</station_id_num>
> 	  <name>test3</num_at_station>
> 	</row>
> </outlet>
>
>
>  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.