[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl: descendent count?

Subject: Re: xsl: descendent count?
From: smoghe@xxxxxxxxxxxx
Date: Thu, 16 Sep 1999 15:28:24 +0530
count children in xsl

>  How can I get CHILDREN count of an element.

<xsl:value-of select="count(*)"/>
for all children, or
<xsl:value-of select="count(PARA)"/>
to tell you how many PARA children the current node has.

David
------------------

Thanx David,

But still, I'm not able to compare the condition, I tried a lot.

e.g.

<xsl:if test='["cout(*)>5"]'>
<xsl:if>

The above condition is not working, can you help me out.


Thanx, in advance.

****************************
Surendra Moghe
surendra_moghe@xxxxxxxxxxxx
****************************



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.