|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl: descendent count?
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








