You are here

function lingotek_current_xml_format in Lingotek Translation 7.7

1 call to lingotek_current_xml_format()
lingotek_entity_download in ./lingotek.module

File

./lingotek.util.inc, line 2745
Utility functions.

Code

function lingotek_current_xml_format($xml) {
  foreach ($xml as $field_name => $content) {
    foreach ($content as $column_name => $text) {
      if ($column_name == 'element' && !$text
        ->count()) {
        return FALSE;
      }
    }
  }
  return TRUE;
}