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] counting the number of nodes


Subject: RE: [xsl] counting the number of nodes
From: Edmund Mitchell <EMitchell@xxxxxxx>
Date: Fri, 29 Dec 2000 07:33:39 -0800

Hello John
There is no select attribute for the count function-just pass the node-set.

I hope that helps

Edmund



I'm trying to simply print out hte number of nodes with the following
expression:
<xsl:value-of select="count(select='page/content/paragraph')" />

Can someone point out what I'm doing wrong or suggest a better
approach?



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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