This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Child Nodes
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Child Nodes
- From: Richard Mitchell <Richard dot Mitchell at vbnonline dot com>
- Date: Fri, 7 Sep 2001 09:01:40 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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