[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How do I count the number of elements in a key ?
On 10/5/06, David Carlisle <davidc@xxxxxxxxx> wrote:
I think DC missed off a [1] there... count(/inventory/row/serial[generate-id()=generate-id(key('systems',.)[1])]) It's also worth mentioning count(distinct-values(/inventory/row/serial)) if you are using XSLT 2.0 cheers andrew
|
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
|