[xsl] determining if one or more instances of a child are present in the current node element

Subject: [xsl] determining if one or more instances of a child are present in the current node element
From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx>
Date: Thu, 18 Sep 2003 00:11:15 -0500
<xsl:if test="count(child::*[name()=('ParaItem')]) &gt;=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?

Abhishek Sanwal
HP - Houston Campus
abhishek.sanwal@xxxxxx


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


Current Thread