Report question

Question: How to get elements which have no children, but may have text?