module MultiXml::Parsers::Rexml

def empty_content?(element)

XML element to be checked.
element::

Determines if a document element has text content
def empty_content?(element)
  element.texts.join.blank?
end