Re: [xsl] Child Nodes

Subject: Re: [xsl] Child Nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 6 Sep 2001 17:18:53 +0100
> A predicate like [1<=count(*)] will do that for you.
or, simpler: *


<xsl:when test="*">there are children</xsl:when>
<xsl:otherwise>there are none</xsl:otherwise>

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread