[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: How to check is element has children.
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 15 Feb 2001 19:38:27 -0000
> 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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member