<?php
try{
$data = new SimpleXMLElement('import/file.xml');
echo 'all ok!';
}catch (Exception $e){
echo 'error on parse';
}
echo '<table>';
while( $the_query->have_posts() ): $the_query->the_post();
if (get_field('fio',$post->ID) != ""){
echo '<tr>';
echo '<td>' . get_field('fio',$post->ID) . '</td>';
echo '<td>' . get_field('date',$post->ID) . '</td>';
echo '</tr>';
}
endwhile;
echo '</table>';
Не вижу проблемы.