length() isn't needed here
sure it is, it clarifies intent
In reply to Re^3: xml - empty node by Anonymous Monk in thread xml - empty node by ambrill