I have a recommendation for a new method to be added to the org.dom4j.Node
interface:
public boolean hasChildren().

hasChildren should return true if this node has children and false if it
doesn't.  The reason for this request is, if you are creating a tree walking
class hasChildren simplifies the process of figuring out how deep the
nesting of nodes go.  If anyone needs justification via code sample I will
gladly whip one up.

Dane Foster
Equity Technology Group, Inc
http://www.equitytg.com.
954.360.9800


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to