xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How do I count the number of elements in a key ?


Subject: Re: [xsl] How do I count the number of elements in a key ?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 5 Oct 2006 22:59:33 +0100

> How do I count the number of elements in the key "systems" seeing that 
That's the basis of the "muenchian grouping" technique:
count(/inventory/row/serial[generate-id()=generate-id(key('systems',.))])

David


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor