xsl-list
[Top] [All Lists]

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

2003-09-17 22:11:15
<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(_dot_)sanwal(_at_)hp(_dot_)com


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