Do not consider things empty to easily : if tree produce text, has children or has attributes, we consider it not empty