This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Child Nodes


David
> > 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>
> 
Hmmm won't this test for comments and processing instructions?

Richard

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]