[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: Fri, 17 Sep 1999 12:11:54 +0530
xsl count gt
Hi David,

Following code is perfectly working.

<xsl:if test="count(*) @gt; 0">
</xsl:if>

But, <xsl:if test="['$CHILD>0']"> is also working, I'm not getting any
Syntax error.

Regards,
Surendra.



                                                                                                   
                    David Carlisle                                                                 
                    <davidc@xxxxxxxxx>           To:     xsl-list@xxxxxxxxxxxxxxxx                 
                    Sent by:                     cc:                                               
                    owner-xsl-list@mulber        Subject:     Re: xsl: descendent count?           
                    rytech.com                                                                     
                                                                                                   
                                                                                                   
                    09/16/1999 05:36 PM                                                            
                    Please respond to                                                              
                    xsl-list                                                                       
                                                                                                   
                                                                                                   




> I tried hard and now I got success.

I am pleased you got it working, but you couldn't have used the code you
posted

<xsl:if test="['$CHILD>0']">

just produces a syntax error on any xsl parsers that I tried it on,
as I would expect.

David


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





 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.