def _safe_get_text(element):
return unicode(element.text) if element.text is not None else u"<STR_LIT>"<EOL>
Retrieve the text from the element, safely handling empty elements.

Args:
    element (lxml.etree.Element): The XML element.

Returns:
    unicode