This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: count all the following nodes of a perticular parent


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@mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]