Subject: RE: determining if one or more instances of a child are present in the current node element
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 18 Sep 2003 08:41:57 +0300
|
Hi,
> <xsl:if test="count(child::*[name()=('ParaItem')]) >=1">
> <!-- Check if this expression is correct -->
>
> Is this expression correct in being able to determine if the current
> node has one or more instances of the child ParaItem?
Yes, but the easies way would be just to test with
<xsl:if test="ParaItem"/>
Cheers,
Jarno - VNV Nation: Amhrain Comhrac
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|