RE: [xsl] Child Nodes

Subject: RE: [xsl] Child Nodes
From: Richard Mitchell <Richard.Mitchell@xxxxxxxxxxxxx>
Date: Fri, 7 Sep 2001 09:01:40 +0100
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


Current Thread