[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] count all the following nodes of a perticular parent
Subject: RE: [xsl] count all the following nodes of a perticular parent
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 28 Jun 2001 12:38:45 +0100
|
Or
count(following-sibling::node()/descendent-or-self::node() |
following-sibling::node/descendent-or-self::node()/@*)
(depending on what you want).
Cheers,
Wendell
At 01:22 PM 6/28/01, Mike wrote:
> i want to count all the following nodes from the current node
> of the same
> parent
> can anybody give me a way to do this?
count(following-sibling::node())
Mike Kay
Software AG
======================================================================
Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|