This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to check is element has children.
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How to check is element has children.
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 15 Feb 2001 19:38:27 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I need to test if an element has children
Assuming it is the current element:
xsl:if test="node()" for any children, or
xsl:if test="*" for element children.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list